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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 'history/core/browser/top_sites_database_unittest.cc', | 236 'history/core/browser/top_sites_database_unittest.cc', |
237 'history/core/browser/top_sites_impl_unittest.cc', | 237 'history/core/browser/top_sites_impl_unittest.cc', |
238 'history/core/browser/typed_url_syncable_service_unittest.cc', | 238 'history/core/browser/typed_url_syncable_service_unittest.cc', |
239 'history/core/browser/url_database_unittest.cc', | 239 'history/core/browser/url_database_unittest.cc', |
240 'history/core/browser/url_utils_unittest.cc', | 240 'history/core/browser/url_utils_unittest.cc', |
241 'history/core/browser/visit_database_unittest.cc', | 241 'history/core/browser/visit_database_unittest.cc', |
242 'history/core/browser/visit_filter_unittest.cc', | 242 'history/core/browser/visit_filter_unittest.cc', |
243 'history/core/browser/visit_tracker_unittest.cc', | 243 'history/core/browser/visit_tracker_unittest.cc', |
244 'history/core/common/thumbnail_score_unittest.cc', | 244 'history/core/common/thumbnail_score_unittest.cc', |
245 ], | 245 ], |
| 246 'image_decoder_unittest_sources': [ |
| 247 'image_decoder/image_decoder_impl_unittest.cc', |
| 248 ], |
246 'instance_id_unittest_sources': [ | 249 'instance_id_unittest_sources': [ |
247 'gcm_driver/instance_id/instance_id_driver_unittest.cc', | 250 'gcm_driver/instance_id/instance_id_driver_unittest.cc', |
248 ], | 251 ], |
249 'invalidation_unittest_sources': [ | 252 'invalidation_unittest_sources': [ |
250 'invalidation/fake_invalidator_unittest.cc', | 253 'invalidation/fake_invalidator_unittest.cc', |
251 'invalidation/gcm_network_channel_unittest.cc', | 254 'invalidation/gcm_network_channel_unittest.cc', |
252 'invalidation/invalidation_logger_unittest.cc', | 255 'invalidation/invalidation_logger_unittest.cc', |
253 'invalidation/invalidation_notifier_unittest.cc', | 256 'invalidation/invalidation_notifier_unittest.cc', |
254 'invalidation/invalidator_registrar_unittest.cc', | 257 'invalidation/invalidator_registrar_unittest.cc', |
255 'invalidation/non_blocking_invalidator_unittest.cc', | 258 'invalidation/non_blocking_invalidator_unittest.cc', |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 [ 'cld_version==0 or cld_version==2', { | 854 [ 'cld_version==0 or cld_version==2', { |
852 'dependencies': [ | 855 'dependencies': [ |
853 # Unit tests should always use statically-linked CLD data. | 856 # Unit tests should always use statically-linked CLD data. |
854 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ], | 857 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ], |
855 }], | 858 }], |
856 ['OS != "ios"', { | 859 ['OS != "ios"', { |
857 'sources': [ | 860 'sources': [ |
858 '<@(devtools_http_handler_unittest_sources)', | 861 '<@(devtools_http_handler_unittest_sources)', |
859 '<@(error_page_unittest_sources)', | 862 '<@(error_page_unittest_sources)', |
860 '<@(guest_view_unittest_sources)', | 863 '<@(guest_view_unittest_sources)', |
| 864 '<@(image_decoder_unittest_sources)', |
861 '<@(navigation_interception_unittest_sources)', | 865 '<@(navigation_interception_unittest_sources)', |
862 '<@(network_hints_unittest_sources)', | 866 '<@(network_hints_unittest_sources)', |
863 '<@(power_unittest_sources)', | 867 '<@(power_unittest_sources)', |
864 '<@(scheduler_unittest_sources)', | 868 '<@(scheduler_unittest_sources)', |
865 '<@(storage_monitor_unittest_sources)', | 869 '<@(storage_monitor_unittest_sources)', |
866 '<@(ui_unittest_sources)', | 870 '<@(ui_unittest_sources)', |
867 '<@(visitedlink_unittest_sources)', | 871 '<@(visitedlink_unittest_sources)', |
868 '<@(web_cache_unittest_sources)', | 872 '<@(web_cache_unittest_sources)', |
869 '<@(webcrypto_unittest_sources)', | 873 '<@(webcrypto_unittest_sources)', |
870 '<@(web_modal_unittest_sources)', | 874 '<@(web_modal_unittest_sources)', |
871 ], | 875 ], |
872 'dependencies': [ | 876 'dependencies': [ |
873 '../skia/skia.gyp:skia', | 877 '../skia/skia.gyp:skia', |
874 'components.gyp:autofill_content_browser', | 878 'components.gyp:autofill_content_browser', |
875 'components.gyp:autofill_content_renderer', | 879 'components.gyp:autofill_content_renderer', |
876 'components.gyp:autofill_content_test_support', | 880 'components.gyp:autofill_content_test_support', |
877 'components.gyp:data_reduction_proxy_content_browser', | 881 'components.gyp:data_reduction_proxy_content_browser', |
878 'components.gyp:devtools_http_handler', | 882 'components.gyp:devtools_http_handler', |
879 'components.gyp:dom_distiller_content', | 883 'components.gyp:dom_distiller_content', |
880 'components.gyp:error_page_renderer', | 884 'components.gyp:error_page_renderer', |
881 'components.gyp:favicon_content', | 885 'components.gyp:favicon_content', |
882 'components.gyp:history_content_browser', | 886 'components.gyp:history_content_browser', |
| 887 'components.gyp:image_decoder', |
883 'components.gyp:keyed_service_content', | 888 'components.gyp:keyed_service_content', |
884 'components.gyp:navigation_interception', | 889 'components.gyp:navigation_interception', |
885 'components.gyp:network_hints_renderer', | 890 'components.gyp:network_hints_renderer', |
886 'components.gyp:password_manager_content_browser', | 891 'components.gyp:password_manager_content_browser', |
887 'components.gyp:password_manager_content_common', | 892 'components.gyp:password_manager_content_common', |
888 'components.gyp:power', | 893 'components.gyp:power', |
889 'components.gyp:precache_content', | 894 'components.gyp:precache_content', |
890 'components.gyp:sessions_content', | 895 'components.gyp:sessions_content', |
891 'components.gyp:storage_monitor', | 896 'components.gyp:storage_monitor', |
892 'components.gyp:storage_monitor_test_support', | 897 'components.gyp:storage_monitor_test_support', |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1440 ['use_x11==1', { | 1445 ['use_x11==1', { |
1441 'dependencies': [ | 1446 'dependencies': [ |
1442 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1447 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1443 ], | 1448 ], |
1444 }], | 1449 }], |
1445 ], | 1450 ], |
1446 }, | 1451 }, |
1447 ], | 1452 ], |
1448 }], | 1453 }], |
1449 ['OS == "android"', { | 1454 ['OS == "android"', { |
| 1455 'variables': { |
| 1456 'conditions': [ |
| 1457 ['v8_use_external_startup_data==1', { |
| 1458 'components_unittests_pak_input_resources': [ |
| 1459 '<(PRODUCT_DIR)/natives_blob.bin', |
| 1460 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 1461 ], |
| 1462 }], |
| 1463 ], |
| 1464 }, |
1450 'targets': [ | 1465 'targets': [ |
1451 { | 1466 { |
| 1467 'target_name': 'components_unittests_paks_copy', |
| 1468 'type': 'none', |
| 1469 'dependencies': [ |
| 1470 'components_unittests', |
| 1471 ], |
| 1472 'copies': [ |
| 1473 { |
| 1474 'destination': '<(PRODUCT_DIR)/components_unittests_apk/assets', |
| 1475 'files': [ |
| 1476 '<@(components_unittests_pak_input_resources)', |
| 1477 ], |
| 1478 } |
| 1479 ], |
| 1480 }, |
| 1481 { |
1452 'target_name': 'components_unittests_apk', | 1482 'target_name': 'components_unittests_apk', |
1453 'type': 'none', | 1483 'type': 'none', |
1454 'dependencies': [ | 1484 'dependencies': [ |
1455 'components_unittests', | 1485 'components_unittests', |
| 1486 'components_unittests_paks_copy', |
1456 'components.gyp:invalidation_java', | 1487 'components.gyp:invalidation_java', |
1457 ], | 1488 ], |
1458 'variables': { | 1489 'variables': { |
1459 'test_suite_name': 'components_unittests', | 1490 'test_suite_name': 'components_unittests', |
| 1491 'asset_location': '<(PRODUCT_DIR)/components_unittests_apk/assets', |
1460 }, | 1492 }, |
1461 'includes': [ '../build/apk_test.gypi' ], | 1493 'includes': [ '../build/apk_test.gypi' ], |
1462 }, | 1494 }, |
1463 ], | 1495 ], |
1464 }], | 1496 }], |
1465 ], | 1497 ], |
1466 } | 1498 } |
OLD | NEW |