Home | History | Annotate | Download | only in installer
      1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 {
      6   'variables': {
      7     'version_py': '<(DEPTH)/build/util/version.py',
      8     'version_path': '<(DEPTH)/chrome/VERSION',
      9     'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
     10     # 'branding_dir' is set in the 'conditions' section at the bottom.
     11     'msvs_use_common_release': 0,
     12     'msvs_use_common_linker_extras': 0,
     13   },
     14   'conditions': [
     15     ['OS=="win"', {
     16       'targets': [
     17         {
     18           'target_name': 'validate_installation',
     19           'type': 'executable',
     20           'dependencies': [
     21             '<(DEPTH)/base/base.gyp:base',
     22             '<(DEPTH)/chrome/chrome.gyp:installer_util',
     23             '<(DEPTH)/chrome/chrome.gyp:installer_util_strings',
     24             '<(DEPTH)/chrome/common_constants.gyp:common_constants',
     25           ],
     26           'include_dirs': [
     27             '<(DEPTH)',
     28           ],
     29           'sources': [
     30             'tools/validate_installation_main.cc',
     31             'tools/validate_installation.rc',
     32             'tools/validate_installation_resource.h',
     33           ],
     34         },
     35       ],
     36     }],
     37     [ 'branding == "Chrome"', {
     38       'variables': {
     39          'branding_dir': '<(DEPTH)/chrome/app/theme/google_chrome',
     40       },
     41     }, { # else branding!="Chrome"
     42       'variables': {
     43          'branding_dir': '<(DEPTH)/chrome/app/theme/chromium',
     44       },
     45     }],
     46   ],
     47 }
     48