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 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | 7 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
8 # 'branding_dir' is set in the 'conditions' section at the bottom. | 8 # 'branding_dir' is set in the 'conditions' section at the bottom. |
9 }, | 9 }, |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 'installer/util/browser_distribution_unittest.cc', | 79 'installer/util/browser_distribution_unittest.cc', |
80 'installer/util/channel_info_unittest.cc', | 80 'installer/util/channel_info_unittest.cc', |
81 'installer/util/copy_tree_work_item_unittest.cc', | 81 'installer/util/copy_tree_work_item_unittest.cc', |
82 'installer/util/create_dir_work_item_unittest.cc', | 82 'installer/util/create_dir_work_item_unittest.cc', |
83 'installer/util/create_reg_key_work_item_unittest.cc', | 83 'installer/util/create_reg_key_work_item_unittest.cc', |
84 'installer/util/delete_after_reboot_helper_unittest.cc', | 84 'installer/util/delete_after_reboot_helper_unittest.cc', |
85 'installer/util/delete_reg_value_work_item_unittest.cc', | 85 'installer/util/delete_reg_value_work_item_unittest.cc', |
86 'installer/util/delete_tree_work_item_unittest.cc', | 86 'installer/util/delete_tree_work_item_unittest.cc', |
87 'installer/util/google_chrome_distribution_unittest.cc', | 87 'installer/util/google_chrome_distribution_unittest.cc', |
88 'installer/util/google_update_settings_unittest.cc', | 88 'installer/util/google_update_settings_unittest.cc', |
89 'installer/util/helper_unittest.cc', | |
90 'installer/util/install_util_unittest.cc', | 89 'installer/util/install_util_unittest.cc', |
| 90 'installer/util/installer_state_unittest.cc', |
91 'installer/util/installer_util_unittests.rc', | 91 'installer/util/installer_util_unittests.rc', |
92 'installer/util/installer_util_unittests_resource.h', | 92 'installer/util/installer_util_unittests_resource.h', |
93 'installer/util/language_selector_unittest.cc', | 93 'installer/util/language_selector_unittest.cc', |
94 'installer/util/lzma_util_unittest.cc', | 94 'installer/util/lzma_util_unittest.cc', |
95 'installer/util/master_preferences_unittest.cc', | 95 'installer/util/master_preferences_unittest.cc', |
96 'installer/util/move_tree_work_item_unittest.cc', | 96 'installer/util/move_tree_work_item_unittest.cc', |
97 'installer/util/package_properties_unittest.cc', | |
98 'installer/util/package_unittest.cc', | |
99 'installer/util/product_unittest.h', | 97 'installer/util/product_unittest.h', |
100 'installer/util/product_unittest.cc', | 98 'installer/util/product_unittest.cc', |
| 99 'installer/util/product_state_unittest.cc', |
101 'installer/util/run_all_unittests.cc', | 100 'installer/util/run_all_unittests.cc', |
102 'installer/util/set_reg_value_work_item_unittest.cc', | 101 'installer/util/set_reg_value_work_item_unittest.cc', |
103 'installer/util/shell_util_unittest.cc', | 102 'installer/util/shell_util_unittest.cc', |
104 'installer/util/wmi_unittest.cc', | 103 'installer/util/wmi_unittest.cc', |
105 'installer/util/work_item_list_unittest.cc', | 104 'installer/util/work_item_list_unittest.cc', |
106 ], | 105 ], |
107 'msvs_settings': { | 106 'msvs_settings': { |
108 'VCManifestTool': { | 107 'VCManifestTool': { |
109 'AdditionalManifestFiles': '$(ProjectDir)\\installer\\mini_install
er\\mini_installer.exe.manifest', | 108 'AdditionalManifestFiles': '$(ProjectDir)\\installer\\mini_install
er\\mini_installer.exe.manifest', |
110 }, | 109 }, |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 }, | 301 }, |
303 }], | 302 }], |
304 ], | 303 ], |
305 }, | 304 }, |
306 { | 305 { |
307 'target_name': 'setup_unittests', | 306 'target_name': 'setup_unittests', |
308 'type': 'executable', | 307 'type': 'executable', |
309 'msvs_guid': 'C0AE4E06-F023-460F-BC14-6302CEAC51F8', | 308 'msvs_guid': 'C0AE4E06-F023-460F-BC14-6302CEAC51F8', |
310 'dependencies': [ | 309 'dependencies': [ |
311 'installer_util', | 310 'installer_util', |
| 311 'installer_util_strings', |
312 '<(DEPTH)/base/base.gyp:base', | 312 '<(DEPTH)/base/base.gyp:base', |
313 '<(DEPTH)/base/base.gyp:base_i18n', | 313 '<(DEPTH)/base/base.gyp:base_i18n', |
314 '<(DEPTH)/base/base.gyp:test_support_base', | 314 '<(DEPTH)/base/base.gyp:test_support_base', |
315 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 315 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
316 '<(DEPTH)/testing/gmock.gyp:gmock', | 316 '<(DEPTH)/testing/gmock.gyp:gmock', |
317 '<(DEPTH)/testing/gtest.gyp:gtest', | 317 '<(DEPTH)/testing/gtest.gyp:gtest', |
318 ], | 318 ], |
319 'include_dirs': [ | 319 'include_dirs': [ |
320 '<(DEPTH)', | 320 '<(DEPTH)', |
321 ], | 321 ], |
322 # TODO(robertshield): Move the items marked with "Move to lib" | 322 # TODO(robertshield): Move the items marked with "Move to lib" |
323 # below into a separate lib and then link both setup.exe and | 323 # below into a separate lib and then link both setup.exe and |
324 # setup_unittests.exe against that. | 324 # setup_unittests.exe against that. |
325 'sources': [ | 325 'sources': [ |
326 'installer/setup/install_worker.cc', # Move to lib | 326 'installer/setup/install_worker.cc', # Move to lib |
327 'installer/setup/install_worker.h', # Move to lib | 327 'installer/setup/install_worker.h', # Move to lib |
328 'installer/setup/install_worker_unittest.cc', | 328 'installer/setup/install_worker_unittest.cc', |
329 'installer/setup/run_all_unittests.cc', | 329 'installer/setup/run_all_unittests.cc', |
330 'installer/setup/setup_constants.cc', # Move to lib | 330 'installer/setup/setup_constants.cc', # Move to lib |
331 'installer/setup/setup_constants.h', # Move to lib | 331 'installer/setup/setup_constants.h', # Move to lib |
| 332 'installer/setup/setup_unittests.rc', |
| 333 'installer/setup/setup_unittests.rc', |
| 334 'installer/setup/setup_unittests_resource.h', |
332 'installer/setup/setup_util.cc', | 335 'installer/setup/setup_util.cc', |
333 'installer/setup/setup_util_unittest.cc', | 336 'installer/setup/setup_util_unittest.cc', |
334 ], | 337 ], |
335 }, | 338 }, |
336 ], | 339 ], |
337 }], | 340 }], |
338 ['OS=="linux" and branding=="Chrome"', { | 341 ['OS=="linux" and branding=="Chrome"', { |
339 'variables': { | 342 'variables': { |
340 # Always google_chrome since this only applies to branding==Chrome. | 343 # Always google_chrome since this only applies to branding==Chrome. |
341 'branding_dir': 'app/theme/google_chrome', | 344 'branding_dir': 'app/theme/google_chrome', |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 }, | 886 }, |
884 }], | 887 }], |
885 ], | 888 ], |
886 } | 889 } |
887 | 890 |
888 # Local Variables: | 891 # Local Variables: |
889 # tab-width:2 | 892 # tab-width:2 |
890 # indent-tabs-mode:nil | 893 # indent-tabs-mode:nil |
891 # End: | 894 # End: |
892 # vim: set expandtab tabstop=2 shiftwidth=2: | 895 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |