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