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