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.
7 'version_py': '../../chrome/tools/build/version.py',
8 'version_path': '../../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,
15 '../../build/win_precompile.gypi',
21 'target_name': 'alternate_version_generator_lib',
22 'type': 'static_library',
24 '../chrome.gyp:installer_util',
25 '../common_constants.gyp:common_constants',
26 '../../base/base.gyp:base',
32 'test/alternate_version_generator.cc',
33 'test/alternate_version_generator.h',
34 'test/pe_image_resources.cc',
35 'test/pe_image_resources.h',
36 'test/resource_loader.cc',
37 'test/resource_loader.h',
38 'test/resource_updater.cc',
39 'test/resource_updater.h',
41 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
42 'msvs_disabled_warnings': [4267, ],
45 'target_name': 'upgrade_test',
48 'alternate_version_generator_lib',
49 # This dependency, although correct, results in the mini installer
50 # being rebuilt every time upgrade_test is built. So disable it
52 # TODO(grt): fix rules/targets/etc for
53 # mini_installer.gyp:mini_installer so that it does no work if
54 # nothing has changed, then un-comment this next line:
55 # 'mini_installer.gyp:mini_installer',
56 '../../base/base.gyp:test_support_base',
57 '../../testing/gtest.gyp:gtest',
58 '../chrome.gyp:installer_util',
59 '../common_constants.gyp:common_constants',
65 'test/run_all_tests.cc',
66 'test/upgrade_test.cc',
70 'target_name': 'alternate_version_generator',
73 'alternate_version_generator_lib',
74 '../../base/base.gyp:test_support_base',
75 '../../testing/gtest.gyp:gtest',
76 '../chrome.gyp:installer_util',
77 '../common_constants.gyp:common_constants',
83 'test/alternate_version_generator_main.cc',
85 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
86 'msvs_disabled_warnings': [ 4267, ],
90 [ 'branding == "Chrome"', {
92 'branding_dir': '../app/theme/google_chrome',
94 }, { # else branding!="Chrome"
96 'branding_dir': '../app/theme/chromium',