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