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