OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 'web_resource/eula_accepted_notifier_unittest.cc', | 304 'web_resource/eula_accepted_notifier_unittest.cc', |
305 'web_resource/resource_request_allowed_notifier_unittest.cc', | 305 'web_resource/resource_request_allowed_notifier_unittest.cc', |
306 'webdata/common/web_database_migration_unittest.cc', | 306 'webdata/common/web_database_migration_unittest.cc', |
307 ], | 307 ], |
308 'include_dirs': [ | 308 'include_dirs': [ |
309 '..', | 309 '..', |
310 ], | 310 ], |
311 'dependencies': [ | 311 'dependencies': [ |
312 '../base/base.gyp:base_prefs_test_support', | 312 '../base/base.gyp:base_prefs_test_support', |
313 '../base/base.gyp:test_support_base', | 313 '../base/base.gyp:test_support_base', |
| 314 # TODO(blundell): Eliminate this dependency by having |
| 315 # components_unittests have its own pakfile. crbug.com/348563 |
| 316 '../chrome/chrome_resources.gyp:packed_extra_resources', |
314 # TODO(blundell): Eliminate the need for this dependency in code | 317 # TODO(blundell): Eliminate the need for this dependency in code |
315 # that iOS shares. crbug.com/325243 | 318 # that iOS shares. crbug.com/325243 |
316 '../content/content_shell_and_tests.gyp:test_support_content', | 319 '../content/content_shell_and_tests.gyp:test_support_content', |
317 '../sql/sql.gyp:test_support_sql', | 320 '../sql/sql.gyp:test_support_sql', |
318 '../sync/sync.gyp:sync', | 321 '../sync/sync.gyp:sync', |
319 '../sync/sync.gyp:test_support_sync_api', | 322 '../sync/sync.gyp:test_support_sync_api', |
320 '../testing/gmock.gyp:gmock', | 323 '../testing/gmock.gyp:gmock', |
321 '../testing/gtest.gyp:gtest', | 324 '../testing/gtest.gyp:gtest', |
322 '../ui/base/ui_base.gyp:ui_base', | 325 '../ui/base/ui_base.gyp:ui_base', |
323 '../ui/gfx/gfx.gyp:gfx', | 326 '../ui/gfx/gfx.gyp:gfx', |
324 '../ui/gfx/gfx.gyp:gfx_test_support', | 327 '../ui/gfx/gfx.gyp:gfx_test_support', |
325 '../ui/resources/ui_resources.gyp:ui_resources', | |
326 '../ui/strings/ui_strings.gyp:ui_strings', | |
327 | 328 |
328 'components_resources.gyp:components_resources', | 329 'components_resources.gyp:components_resources', |
329 | 330 |
330 # Dependencies of auto_login_parser | 331 # Dependencies of auto_login_parser |
331 'components.gyp:auto_login_parser', | 332 'components.gyp:auto_login_parser', |
332 | 333 |
333 # Dependencies of autofill | 334 # Dependencies of autofill |
334 'components.gyp:autofill_core_browser', | 335 'components.gyp:autofill_core_browser', |
335 'components.gyp:autofill_core_common', | 336 'components.gyp:autofill_core_common', |
336 'components.gyp:autofill_core_test_support', | 337 'components.gyp:autofill_core_test_support', |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 | 509 |
509 # Dependencies of variations | 510 # Dependencies of variations |
510 'components.gyp:variations', | 511 'components.gyp:variations', |
511 'components.gyp:variations_http_provider', | 512 'components.gyp:variations_http_provider', |
512 | 513 |
513 # Dependencies of web_resource | 514 # Dependencies of web_resource |
514 'components.gyp:web_resource', | 515 'components.gyp:web_resource', |
515 'components.gyp:web_resource_test_support', | 516 'components.gyp:web_resource_test_support', |
516 '../base/base.gyp:base', | 517 '../base/base.gyp:base', |
517 ], | 518 ], |
518 'actions': [ | |
519 { | |
520 'action_name': 'repack_components_pak', | |
521 'variables': { | |
522 'pak_inputs': [ | |
523 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pa
k', | |
524 '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_stri
ngs_en-US.pak', | |
525 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_perc
ent.pak', | |
526 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-
US.pak', | |
527 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', | |
528 ], | |
529 'pak_output': '<(PRODUCT_DIR)/components_unittests_resources.pak
', | |
530 }, | |
531 'includes': [ '../build/repack_action.gypi' ], | |
532 }, | |
533 ], | |
534 'mac_bundle_resources': [ | |
535 '<(PRODUCT_DIR)/components_unittests_resources.pak', | |
536 ], | |
537 'conditions': [ | 519 'conditions': [ |
538 ['toolkit_views == 1', { | 520 ['toolkit_views == 1', { |
539 'sources': [ | 521 'sources': [ |
540 'bookmarks/browser/bookmark_node_data_unittest.cc', | 522 'bookmarks/browser/bookmark_node_data_unittest.cc', |
541 'constrained_window/constrained_window_views_unittest.cc', | 523 'constrained_window/constrained_window_views_unittest.cc', |
542 ], | 524 ], |
543 'dependencies': [ | 525 'dependencies': [ |
544 '<(DEPTH)/ui/views/views.gyp:views_test_support', | 526 '<(DEPTH)/ui/views/views.gyp:views_test_support', |
545 'components.gyp:constrained_window', | 527 'components.gyp:constrained_window', |
546 ] | 528 ] |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 'components.gyp:web_modal_test_support', | 614 'components.gyp:web_modal_test_support', |
633 ], | 615 ], |
634 'conditions': [ | 616 'conditions': [ |
635 ['OS != "android"', { | 617 ['OS != "android"', { |
636 'sources': [ | 618 'sources': [ |
637 'sessions/session_backend_unittest.cc', | 619 'sessions/session_backend_unittest.cc', |
638 ], | 620 ], |
639 }], | 621 }], |
640 ], | 622 ], |
641 }, { # 'OS == "ios"' | 623 }, { # 'OS == "ios"' |
| 624 'includes': ['../chrome/chrome_ios_bundle_resources.gypi'], |
642 'sources': [ | 625 'sources': [ |
643 'webp_transcode/webp_decoder_unittest.mm', | 626 'webp_transcode/webp_decoder_unittest.mm', |
644 ], | 627 ], |
645 'sources/': [ | 628 'sources/': [ |
646 ['exclude', '\\.cc$'], | 629 ['exclude', '\\.cc$'], |
647 ['exclude', '\\.mm$'], | 630 ['exclude', '\\.mm$'], |
648 ['include', '^test/run_all_unittests\\.cc$'], | 631 ['include', '^test/run_all_unittests\\.cc$'], |
649 ['include', '^auto_login_parser/'], | 632 ['include', '^auto_login_parser/'], |
650 ['include', '^autofill/core/'], | 633 ['include', '^autofill/core/'], |
651 ['include', '^bookmarks/'], | 634 ['include', '^bookmarks/'], |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1073 'HAS_OUT_OF_PROC_TEST_RUNNER', | 1056 'HAS_OUT_OF_PROC_TEST_RUNNER', |
1074 ], | 1057 ], |
1075 'sources': [ | 1058 'sources': [ |
1076 'autofill/content/browser/risk/fingerprint_browsertest.cc', | 1059 'autofill/content/browser/risk/fingerprint_browsertest.cc', |
1077 'autofill/content/renderer/password_form_conversion_utils_browsertes
t.cc', | 1060 'autofill/content/renderer/password_form_conversion_utils_browsertes
t.cc', |
1078 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', | 1061 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', |
1079 'password_manager/content/renderer/credential_manager_client_browser
test.cc', | 1062 'password_manager/content/renderer/credential_manager_client_browser
test.cc', |
1080 ], | 1063 ], |
1081 'actions': [ | 1064 'actions': [ |
1082 { | 1065 { |
1083 'action_name': 'repack_components_pak', | 1066 'action_name': 'repack_components_pack', |
1084 'variables': { | 1067 'variables': { |
1085 'pak_inputs': [ | 1068 'pak_inputs': [ |
1086 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pa
k', | 1069 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pa
k', |
1087 '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_stri
ngs_en-US.pak', | 1070 '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_stri
ngs_en-US.pak', |
1088 ], | 1071 ], |
1089 'pak_output': '<(PRODUCT_DIR)/components_resources.pak', | 1072 'pak_output': '<(PRODUCT_DIR)/components_resources.pak', |
1090 }, | 1073 }, |
1091 'includes': [ '../build/repack_action.gypi' ], | 1074 'includes': [ '../build/repack_action.gypi' ], |
1092 }, | 1075 }, |
1093 ], | 1076 ], |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 '../build/isolate.gypi', | 1144 '../build/isolate.gypi', |
1162 ], | 1145 ], |
1163 'sources': [ | 1146 'sources': [ |
1164 'components_unittests.isolate', | 1147 'components_unittests.isolate', |
1165 ], | 1148 ], |
1166 }, | 1149 }, |
1167 ], | 1150 ], |
1168 }], | 1151 }], |
1169 ], | 1152 ], |
1170 } | 1153 } |
OLD | NEW |