OLD | NEW |
---|---|
1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 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 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
159 'variations/variations_seed_simulator_unittest.cc', | 159 'variations/variations_seed_simulator_unittest.cc', |
160 'visitedlink/test/visitedlink_unittest.cc', | 160 'visitedlink/test/visitedlink_unittest.cc', |
161 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 161 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
162 ], | 162 ], |
163 'include_dirs': [ | 163 'include_dirs': [ |
164 '..', | 164 '..', |
165 ], | 165 ], |
166 'dependencies': [ | 166 'dependencies': [ |
167 '../base/base.gyp:base_prefs_test_support', | 167 '../base/base.gyp:base_prefs_test_support', |
168 '../base/base.gyp:test_support_base', | 168 '../base/base.gyp:test_support_base', |
169 # TODO(blundell): Eliminate this dependency by having | |
170 # components_unittests have its own pakfile. crbug.com/348563 | |
171 '../chrome/chrome_resources.gyp:packed_extra_resources', | |
172 # TODO(blundell): Eliminate the need for this dependency in code | 169 # TODO(blundell): Eliminate the need for this dependency in code |
173 # that iOS shares. crbug.com/325243 | 170 # that iOS shares. crbug.com/325243 |
174 '../content/content_shell_and_tests.gyp:test_support_content', | 171 '../content/content_shell_and_tests.gyp:test_support_content', |
175 '../sync/sync.gyp:sync', | 172 '../sync/sync.gyp:sync', |
176 '../sync/sync.gyp:test_support_sync_api', | 173 '../sync/sync.gyp:test_support_sync_api', |
177 '../testing/gmock.gyp:gmock', | 174 '../testing/gmock.gyp:gmock', |
178 '../testing/gtest.gyp:gtest', | 175 '../testing/gtest.gyp:gtest', |
179 '../ui/base/ui_base.gyp:ui_base', | 176 '../ui/base/ui_base.gyp:ui_base', |
180 '../ui/gfx/gfx.gyp:gfx', | 177 '../ui/gfx/gfx.gyp:gfx', |
181 | 178 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
242 'components.gyp:sync_driver_test_support', | 239 'components.gyp:sync_driver_test_support', |
243 | 240 |
244 # Dependencies of translate. | 241 # Dependencies of translate. |
245 'components.gyp:translate_core_browser', | 242 'components.gyp:translate_core_browser', |
246 'components.gyp:translate_core_common', | 243 'components.gyp:translate_core_common', |
247 'components.gyp:translate_language_detection', | 244 'components.gyp:translate_language_detection', |
248 | 245 |
249 # Dependencies of variations | 246 # Dependencies of variations |
250 'components.gyp:variations', | 247 'components.gyp:variations', |
251 ], | 248 ], |
249 'actions': [ | |
250 { | |
251 'action_name': 'repack_components_pack', | |
tfarina
2014/04/29 15:58:25
I like this. s/repack_components_pack/repack_compo
tony
2014/04/29 16:36:53
I don't think it matters much either way. If you'
| |
252 'variables': { | |
253 'pak_inputs': [ | |
254 '<(SHARED_INTERMEDIATE_DIR)/components/component_resources.pak ', | |
255 '<(SHARED_INTERMEDIATE_DIR)/components/strings/component_strin gs_en-US.pak', | |
tony
2014/04/29 16:36:53
Do you need to include ui_strings* or ui_resources
| |
256 ], | |
257 'pak_output': '<(PRODUCT_DIR)/components_unittests_resources.pak ', | |
258 }, | |
259 'includes': [ '../build/repack_action.gypi' ], | |
260 }, | |
261 ], | |
252 'conditions': [ | 262 'conditions': [ |
253 ['OS != "ios"', { | 263 ['OS != "ios"', { |
254 'sources': [ | 264 'sources': [ |
255 'autofill/content/renderer/renderer_save_password_progress_logge r_unittest.cc', | 265 'autofill/content/renderer/renderer_save_password_progress_logge r_unittest.cc', |
256 'dom_distiller/content/dom_distiller_viewer_source_unittest.cc', | 266 'dom_distiller/content/dom_distiller_viewer_source_unittest.cc', |
257 'usb_service/usb_context_unittest.cc', | 267 'usb_service/usb_context_unittest.cc', |
258 ], | 268 ], |
259 'dependencies': [ | 269 'dependencies': [ |
260 # Dependencies of autofill | 270 # Dependencies of autofill |
261 'components.gyp:autofill_content_browser', | 271 'components.gyp:autofill_content_browser', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
295 # Dependencies of visitedlink | 305 # Dependencies of visitedlink |
296 'components.gyp:visitedlink_browser', | 306 'components.gyp:visitedlink_browser', |
297 'components.gyp:visitedlink_renderer', | 307 'components.gyp:visitedlink_renderer', |
298 '../content/content_resources.gyp:content_resources', | 308 '../content/content_resources.gyp:content_resources', |
299 | 309 |
300 # Dependencies of web_modal | 310 # Dependencies of web_modal |
301 'components.gyp:web_modal', | 311 'components.gyp:web_modal', |
302 'components.gyp:web_modal_test_support', | 312 'components.gyp:web_modal_test_support', |
303 ], | 313 ], |
304 }, { # 'OS == "ios"' | 314 }, { # 'OS == "ios"' |
305 'includes': ['../chrome/chrome_ios_bundle_resources.gypi'], | 315 'includes': ['../chrome/chrome_ios_bundle_resources.gypi'], |
tfarina
2014/05/02 22:26:59
Can this also be removed?
| |
306 'sources/': [ | 316 'sources/': [ |
307 ['exclude', '\\.cc$'], | 317 ['exclude', '\\.cc$'], |
308 ['exclude', '\\.mm$'], | 318 ['exclude', '\\.mm$'], |
309 ['include', '^test/run_all_unittests\\.cc$'], | 319 ['include', '^test/run_all_unittests\\.cc$'], |
310 ['include', '^auto_login_parser/'], | 320 ['include', '^auto_login_parser/'], |
311 ['include', '^autofill/core/'], | 321 ['include', '^autofill/core/'], |
312 ['include', '^dom_distiller/'], | 322 ['include', '^dom_distiller/'], |
313 ['include', '^json_schema/'], | 323 ['include', '^json_schema/'], |
314 ['include', '^keyed_service/core/'], | 324 ['include', '^keyed_service/core/'], |
315 ['include', '^language_usage_metrics/'], | 325 ['include', '^language_usage_metrics/'], |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
671 'dependencies': [ | 681 'dependencies': [ |
672 '../base/allocator/allocator.gyp:allocator', | 682 '../base/allocator/allocator.gyp:allocator', |
673 ], | 683 ], |
674 }], | 684 }], |
675 ], | 685 ], |
676 }, | 686 }, |
677 ], | 687 ], |
678 }], | 688 }], |
679 ], | 689 ], |
680 } | 690 } |
OLD | NEW |