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 'branding_dir': '../app/theme/<(branding_path_component)',
8 'version_py': '<(DEPTH)/build/util/version.py',
9 'version_path': '../../chrome/VERSION',
10 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
11 # 'branding_dir' is set in the 'conditions' section at the bottom.
12 'msvs_use_common_release': 0,
13 'msvs_use_common_linker_extras': 0,
16 '../../build/win_precompile.gypi',
22 # GN version: //chrome/installer/test:alternate_version_generator_lib
23 'target_name': 'alternate_version_generator_lib',
24 'type': 'static_library',
26 '../chrome.gyp:installer_util',
27 '../common_constants.gyp:common_constants',
28 '../../base/base.gyp:base',
34 'test/alternate_version_generator.cc',
35 'test/alternate_version_generator.h',
36 'test/pe_image_resources.cc',
37 'test/pe_image_resources.h',
38 'test/resource_loader.cc',
39 'test/resource_loader.h',
40 'test/resource_updater.cc',
41 'test/resource_updater.h',
43 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
44 'msvs_disabled_warnings': [4267, ],
47 # GN version: //chrome/installer/test:upgrade_test
48 'target_name': 'upgrade_test',
51 'alternate_version_generator_lib',
52 # This dependency, although correct, results in the mini installer
53 # being rebuilt every time upgrade_test is built. So disable it
55 # TODO(grt): fix rules/targets/etc for
56 # mini_installer.gyp:mini_installer so that it does no work if
57 # nothing has changed, then un-comment this next line:
58 # 'mini_installer.gyp:mini_installer',
59 '../../base/base.gyp:test_support_base',
60 '../../testing/gtest.gyp:gtest',
61 '../chrome.gyp:installer_util',
62 '../common_constants.gyp:common_constants',
68 'test/run_all_tests.cc',
69 'test/upgrade_test.cc',
73 # GN version: //chrome/installer/test:alternate_version_generator
74 'target_name': 'alternate_version_generator',
77 'alternate_version_generator_lib',
78 '../../base/base.gyp:test_support_base',
79 '../../testing/gtest.gyp:gtest',
80 '../chrome.gyp:installer_util',
81 '../common_constants.gyp:common_constants',
87 'test/alternate_version_generator_main.cc',
89 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
90 'msvs_disabled_warnings': [ 4267, ],