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_pak', |
| 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', |
| 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'], | |
306 'sources/': [ | 315 'sources/': [ |
307 ['exclude', '\\.cc$'], | 316 ['exclude', '\\.cc$'], |
308 ['exclude', '\\.mm$'], | 317 ['exclude', '\\.mm$'], |
309 ['include', '^test/run_all_unittests\\.cc$'], | 318 ['include', '^test/run_all_unittests\\.cc$'], |
310 ['include', '^auto_login_parser/'], | 319 ['include', '^auto_login_parser/'], |
311 ['include', '^autofill/core/'], | 320 ['include', '^autofill/core/'], |
312 ['include', '^dom_distiller/'], | 321 ['include', '^dom_distiller/'], |
313 ['include', '^json_schema/'], | 322 ['include', '^json_schema/'], |
314 ['include', '^keyed_service/core/'], | 323 ['include', '^keyed_service/core/'], |
315 ['include', '^language_usage_metrics/'], | 324 ['include', '^language_usage_metrics/'], |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 ], | 610 ], |
602 'defines': [ | 611 'defines': [ |
603 'HAS_OUT_OF_PROC_TEST_RUNNER', | 612 'HAS_OUT_OF_PROC_TEST_RUNNER', |
604 ], | 613 ], |
605 'sources': [ | 614 'sources': [ |
606 'autofill/content/browser/risk/fingerprint_browsertest.cc', | 615 'autofill/content/browser/risk/fingerprint_browsertest.cc', |
607 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', | 616 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', |
608 ], | 617 ], |
609 'actions': [ | 618 'actions': [ |
610 { | 619 { |
611 'action_name': 'repack_components_pack', | 620 'action_name': 'repack_components_pak', |
612 'variables': { | 621 'variables': { |
613 'pak_inputs': [ | 622 'pak_inputs': [ |
614 '<(SHARED_INTERMEDIATE_DIR)/components/component_resources.pak
', | 623 '<(SHARED_INTERMEDIATE_DIR)/components/component_resources.pak
', |
615 '<(SHARED_INTERMEDIATE_DIR)/components/strings/component_strin
gs_en-US.pak', | 624 '<(SHARED_INTERMEDIATE_DIR)/components/strings/component_strin
gs_en-US.pak', |
616 ], | 625 ], |
617 'pak_output': '<(PRODUCT_DIR)/components_resources.pak', | 626 'pak_output': '<(PRODUCT_DIR)/components_resources.pak', |
618 }, | 627 }, |
619 'includes': [ '../build/repack_action.gypi' ], | 628 'includes': [ '../build/repack_action.gypi' ], |
620 }, | 629 }, |
621 ], | 630 ], |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 'dependencies': [ | 680 'dependencies': [ |
672 '../base/allocator/allocator.gyp:allocator', | 681 '../base/allocator/allocator.gyp:allocator', |
673 ], | 682 ], |
674 }], | 683 }], |
675 ], | 684 ], |
676 }, | 685 }, |
677 ], | 686 ], |
678 }], | 687 }], |
679 ], | 688 ], |
680 } | 689 } |
OLD | NEW |