# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
  'targets': [
    {
      'target_name': 'assert',
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'cr',
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'event_tracker',
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'load_time_data',
      'variables': {
        'depends': [
          '../../../../third_party/jstemplate/util.js',
          '../../../../third_party/jstemplate/jsevalcontext.js',
          '../../../../third_party/jstemplate/jstemplate.js',
        ],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'util',
      'variables': {
        'depends': ['cr.js'],
        # TODO(jlklein): Get <(VARIABLES) in transient externs/depends working.
        'externs': ['../../../../third_party/closure_compiler/externs/chrome_send_externs.js'],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'parse_html_subset',
      'variables': {
        'externs': ['../../../../third_party/closure_compiler/externs/pending_compiler_externs.js'],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'i18n_template_no_process',
      'variables': {
        'depends': ['compiled_resources.gyp:load_time_data'],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'i18n_template2',
      'variables': {
        'depends': ['compiled_resources.gyp:load_time_data'],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'analytics',
      'variables': {
        'depends': ['../../../../third_party/analytics/google-analytics-bundle.js'],
        'externs': ['../../../../third_party/analytics/externs.js']
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
  ],
}

# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
  'targets': [
    {
      'target_name': 'assert',
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'cr',
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'event_tracker',
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'load_time_data',
      'variables': {
        'depends': [
          '../../../../third_party/jstemplate/util.js',
          '../../../../third_party/jstemplate/jsevalcontext.js',
          '../../../../third_party/jstemplate/jstemplate.js',
        ],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'util',
      'variables': {
        'depends': ['cr.js'],
        # TODO(jlklein): Get <(VARIABLES) in transient externs/depends working.
        'externs': ['../../../../third_party/closure_compiler/externs/chrome_send_externs.js'],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'parse_html_subset',
      'variables': {
        'externs': ['../../../../third_party/closure_compiler/externs/pending_compiler_externs.js'],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'i18n_template_no_process',
      'variables': {
        'depends': ['compiled_resources.gyp:load_time_data'],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
    {
      'target_name': 'i18n_template2',
      'variables': {
        'depends': ['compiled_resources.gyp:load_time_data'],
      },
      'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
    },
  ],
}

Fix closure compile.