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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
11 import("//chrome/chrome_repack_locales.gni") | 11 import("//chrome/chrome_repack_locales.gni") |
12 import("//chrome/test/base/js2gtest.gni") | 12 import("//chrome/test/base/js2gtest.gni") |
13 import("//components/os_crypt/features.gni") | 13 import("//components/os_crypt/features.gni") |
| 14 import("//extensions/features/features.gni") |
14 import("//ppapi/features/features.gni") | 15 import("//ppapi/features/features.gni") |
15 import("//remoting/remoting_enable.gni") | 16 import("//remoting/remoting_enable.gni") |
16 import("//services/service_manager/public/service_manifest.gni") | 17 import("//services/service_manager/public/service_manifest.gni") |
17 import("//testing/test.gni") | 18 import("//testing/test.gni") |
18 import("//v8/gni/v8.gni") | 19 import("//v8/gni/v8.gni") |
19 | 20 |
20 if (is_android) { | 21 if (is_android) { |
21 import("//build/config/android/rules.gni") | 22 import("//build/config/android/rules.gni") |
22 } | 23 } |
23 | 24 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 "//components/signin/core/browser:test_support", | 115 "//components/signin/core/browser:test_support", |
115 "//components/sync", | 116 "//components/sync", |
116 "//components/sync:test_support_driver", | 117 "//components/sync:test_support_driver", |
117 "//components/sync_preferences:test_support", | 118 "//components/sync_preferences:test_support", |
118 "//components/sync_sessions:test_support", | 119 "//components/sync_sessions:test_support", |
119 "//components/toolbar:test_support", | 120 "//components/toolbar:test_support", |
120 "//components/update_client:test_support", | 121 "//components/update_client:test_support", |
121 "//components/zoom:test_support", | 122 "//components/zoom:test_support", |
122 "//content/public/app:both", | 123 "//content/public/app:both", |
123 "//content/test:test_support", | 124 "//content/test:test_support", |
| 125 "//extensions/features", |
124 "//net", | 126 "//net", |
125 "//net:test_support", | 127 "//net:test_support", |
126 "//printing/features", | 128 "//printing/features", |
127 "//skia", | 129 "//skia", |
128 "//sql", | 130 "//sql", |
129 "//sql:test_support", | 131 "//sql:test_support", |
130 "//testing/gmock", | 132 "//testing/gmock", |
131 "//testing/gtest", | 133 "//testing/gtest", |
132 "//third_party/zlib", | 134 "//third_party/zlib", |
133 "//ui/gfx:test_support", | 135 "//ui/gfx:test_support", |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 "//chrome/browser", | 482 "//chrome/browser", |
481 "//chrome/browser/devtools", | 483 "//chrome/browser/devtools", |
482 "//chrome/renderer", | 484 "//chrome/renderer", |
483 "//components/resources", | 485 "//components/resources", |
484 "//components/sync", | 486 "//components/sync", |
485 "//components/sync:test_support_model", | 487 "//components/sync:test_support_model", |
486 "//content/app/resources", | 488 "//content/app/resources", |
487 "//content/test:test_support", | 489 "//content/test:test_support", |
488 "//crypto:platform", | 490 "//crypto:platform", |
489 "//crypto:test_support", | 491 "//crypto:test_support", |
| 492 "//extensions/features", |
490 "//google_apis:test_support", | 493 "//google_apis:test_support", |
491 "//net", | 494 "//net", |
492 "//net:net_resources", | 495 "//net:net_resources", |
493 "//net:test_support", | 496 "//net:test_support", |
494 "//skia", | 497 "//skia", |
495 "//testing/gmock", | 498 "//testing/gmock", |
496 "//testing/gtest", | 499 "//testing/gtest", |
497 "//third_party/hunspell", | 500 "//third_party/hunspell", |
498 "//third_party/icu", | 501 "//third_party/icu", |
499 "//third_party/libpng", | 502 "//third_party/libpng", |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1222 ] | 1225 ] |
1223 | 1226 |
1224 configs += [ "//build/config:precompiled_headers" ] | 1227 configs += [ "//build/config:precompiled_headers" ] |
1225 | 1228 |
1226 deps = [ | 1229 deps = [ |
1227 ":browser_tests_runner", | 1230 ":browser_tests_runner", |
1228 ":repack_pseudo_locales", | 1231 ":repack_pseudo_locales", |
1229 ":test_support", | 1232 ":test_support", |
1230 "//base", | 1233 "//base", |
1231 "//components/sync:test_support_model", | 1234 "//components/sync:test_support_model", |
| 1235 "//extensions/features", |
1232 "//printing/features", | 1236 "//printing/features", |
1233 "//third_party/WebKit/public:features", | 1237 "//third_party/WebKit/public:features", |
1234 ] | 1238 ] |
1235 | 1239 |
1236 data_deps = [] | 1240 data_deps = [] |
1237 | 1241 |
1238 data = [] | 1242 data = [] |
1239 | 1243 |
1240 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1244 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
1241 | 1245 |
(...skipping 2109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3351 "../test/logging/win/mof_data_parser_unittest.cc", | 3355 "../test/logging/win/mof_data_parser_unittest.cc", |
3352 "../utility/image_decoder_impl_unittest.cc", | 3356 "../utility/image_decoder_impl_unittest.cc", |
3353 | 3357 |
3354 # Duplicate these tests here because PathService has more items in | 3358 # Duplicate these tests here because PathService has more items in |
3355 # unit_tests than in base_unittests. | 3359 # unit_tests than in base_unittests. |
3356 "../../base/path_service_unittest.cc", | 3360 "../../base/path_service_unittest.cc", |
3357 "../../testing/gtest_mac_unittest.mm", | 3361 "../../testing/gtest_mac_unittest.mm", |
3358 "../../third_party/zlib/google/compression_utils_unittest.cc", | 3362 "../../third_party/zlib/google/compression_utils_unittest.cc", |
3359 "../../third_party/zlib/google/zip_reader_unittest.cc", | 3363 "../../third_party/zlib/google/zip_reader_unittest.cc", |
3360 "../../third_party/zlib/google/zip_unittest.cc", | 3364 "../../third_party/zlib/google/zip_unittest.cc", |
3361 "../../tools/json_schema_compiler/test/additional_properties_unittest.cc", | |
3362 "../../tools/json_schema_compiler/test/any_unittest.cc", | |
3363 "../../tools/json_schema_compiler/test/arrays_unittest.cc", | |
3364 "../../tools/json_schema_compiler/test/callbacks_unittest.cc", | |
3365 "../../tools/json_schema_compiler/test/choices_unittest.cc", | |
3366 "../../tools/json_schema_compiler/test/crossref_unittest.cc", | |
3367 "../../tools/json_schema_compiler/test/enums_unittest.cc", | |
3368 "../../tools/json_schema_compiler/test/error_generation_unittest.cc", | |
3369 "../../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc", | |
3370 "../../tools/json_schema_compiler/test/functions_on_types_unittest.cc", | |
3371 "../../tools/json_schema_compiler/test/idl_schemas_unittest.cc", | |
3372 "../../tools/json_schema_compiler/test/objects_unittest.cc", | |
3373 "../../tools/json_schema_compiler/test/simple_api_unittest.cc", | |
3374 ] | 3365 ] |
3375 | 3366 |
3376 configs += [ "//build/config:precompiled_headers" ] | 3367 configs += [ "//build/config:precompiled_headers" ] |
3377 | 3368 |
3378 data = [ | 3369 data = [ |
3379 "data/", | 3370 "data/", |
3380 "//base/test/data/", | 3371 "//base/test/data/", |
3381 "//chrome/third_party/mock4js/", | 3372 "//chrome/third_party/mock4js/", |
3382 "//components/test/data/", | 3373 "//components/test/data/", |
3383 "//extensions/test/data/", | 3374 "//extensions/test/data/", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3434 "//testing/gtest", | 3425 "//testing/gtest", |
3435 | 3426 |
3436 # 3) anything tests directly depend on | 3427 # 3) anything tests directly depend on |
3437 "//chrome:resources", | 3428 "//chrome:resources", |
3438 "//chrome:strings", | 3429 "//chrome:strings", |
3439 "//components/component_updater:test_support", | 3430 "//components/component_updater:test_support", |
3440 "//components/safe_browsing_db:test_database_manager", | 3431 "//components/safe_browsing_db:test_database_manager", |
3441 "//components/subresource_filter/core/browser:test_support", | 3432 "//components/subresource_filter/core/browser:test_support", |
3442 "//components/version_info:generate_version_info", | 3433 "//components/version_info:generate_version_info", |
3443 "//courgette:courgette_lib", | 3434 "//courgette:courgette_lib", |
| 3435 "//extensions/features", |
3444 "//google_apis", | 3436 "//google_apis", |
3445 "//ppapi/features", | 3437 "//ppapi/features", |
3446 "//skia", | 3438 "//skia", |
3447 "//third_party/cacheinvalidation", | 3439 "//third_party/cacheinvalidation", |
3448 "//third_party/icu", | 3440 "//third_party/icu", |
3449 "//third_party/libxml", | 3441 "//third_party/libxml", |
3450 "//ui/base:test_support", | 3442 "//ui/base:test_support", |
3451 "//ui/display:test_support", | 3443 "//ui/display:test_support", |
3452 "//ui/gfx:test_support", | 3444 "//ui/gfx:test_support", |
3453 "//ui/resources", | 3445 "//ui/resources", |
(...skipping 17 matching lines...) Expand all Loading... |
3471 "//device/base:mocks", | 3463 "//device/base:mocks", |
3472 "//device/bluetooth:mocks", | 3464 "//device/bluetooth:mocks", |
3473 "//device/usb:test_support", | 3465 "//device/usb:test_support", |
3474 "//gpu:test_support", | 3466 "//gpu:test_support", |
3475 "//media:test_support", | 3467 "//media:test_support", |
3476 "//third_party/leveldatabase", | 3468 "//third_party/leveldatabase", |
3477 "//third_party/libaddressinput", | 3469 "//third_party/libaddressinput", |
3478 "//third_party/libjingle", | 3470 "//third_party/libjingle", |
3479 "//third_party/libphonenumber", | 3471 "//third_party/libphonenumber", |
3480 "//third_party/webrtc/modules/desktop_capture", | 3472 "//third_party/webrtc/modules/desktop_capture", |
3481 "//tools/json_schema_compiler/test:schema_test", | |
3482 "//ui/gl", | 3473 "//ui/gl", |
3483 "//v8", | 3474 "//v8", |
3484 ] | 3475 ] |
3485 } | 3476 } |
3486 | 3477 |
3487 if (is_mac) { | 3478 if (is_mac) { |
3488 data_deps += [ "//chrome:chrome_framework" ] | 3479 data_deps += [ "//chrome:chrome_framework" ] |
3489 data += [ "$root_out_dir/Chromium Framework.framework/" ] | 3480 data += [ "$root_out_dir/Chromium Framework.framework/" ] |
3490 } | 3481 } |
3491 | 3482 |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4022 "../renderer/extensions/extension_localization_peer_unittest.cc", | 4013 "../renderer/extensions/extension_localization_peer_unittest.cc", |
4023 "../renderer/extensions/renderer_permissions_policy_delegate_unittest.cc", | 4014 "../renderer/extensions/renderer_permissions_policy_delegate_unittest.cc", |
4024 "../renderer/media/cast_ipc_dispatcher_unittest.cc", | 4015 "../renderer/media/cast_ipc_dispatcher_unittest.cc", |
4025 "../utility/image_writer/image_writer_unittest.cc", | 4016 "../utility/image_writer/image_writer_unittest.cc", |
4026 ] | 4017 ] |
4027 deps += [ | 4018 deps += [ |
4028 "//chrome/common/extensions/api", | 4019 "//chrome/common/extensions/api", |
4029 "//extensions:extensions_resources", | 4020 "//extensions:extensions_resources", |
4030 "//extensions/strings", | 4021 "//extensions/strings", |
4031 "//media/cast:test_support", | 4022 "//media/cast:test_support", |
4032 "//tools/json_schema_compiler/test:features_generation_test", | 4023 |
| 4024 # This will add all of the unit tests for the schema compiler to this |
| 4025 # target. |
| 4026 "//tools/json_schema_compiler/test:unit_tests", |
4033 ] | 4027 ] |
4034 if (enable_service_discovery) { | 4028 if (enable_service_discovery) { |
4035 sources += [ | 4029 sources += [ |
4036 "../browser/extensions/api/gcd_private/privet_v3_context_getter_unittest
.cc", | 4030 "../browser/extensions/api/gcd_private/privet_v3_context_getter_unittest
.cc", |
4037 "../browser/extensions/api/gcd_private/privet_v3_session_unittest.cc", | 4031 "../browser/extensions/api/gcd_private/privet_v3_session_unittest.cc", |
4038 "../browser/extensions/api/mdns/dns_sd_registry_unittest.cc", | 4032 "../browser/extensions/api/mdns/dns_sd_registry_unittest.cc", |
4039 "../browser/extensions/api/mdns/mdns_api_unittest.cc", | 4033 "../browser/extensions/api/mdns/mdns_api_unittest.cc", |
4040 ] | 4034 ] |
4041 } | 4035 } |
4042 if (!is_chromeos) { | 4036 if (!is_chromeos) { |
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4971 ":test_support_ui", | 4965 ":test_support_ui", |
4972 "//base", | 4966 "//base", |
4973 "//base:i18n", | 4967 "//base:i18n", |
4974 "//base/test:test_support", | 4968 "//base/test:test_support", |
4975 "//chrome/app:chrome_dll_resources", | 4969 "//chrome/app:chrome_dll_resources", |
4976 "//chrome/browser", | 4970 "//chrome/browser", |
4977 "//chrome/renderer", | 4971 "//chrome/renderer", |
4978 "//components/about_handler", | 4972 "//components/about_handler", |
4979 "//components/autofill/content/renderer:test_support", | 4973 "//components/autofill/content/renderer:test_support", |
4980 "//content/test:test_support", | 4974 "//content/test:test_support", |
| 4975 "//extensions/features", |
4981 "//media/cast:test_support", | 4976 "//media/cast:test_support", |
4982 "//testing/gmock", | 4977 "//testing/gmock", |
4983 "//testing/gtest", | 4978 "//testing/gtest", |
4984 "//testing/perf", | 4979 "//testing/perf", |
4985 ] | 4980 ] |
4986 | 4981 |
4987 if (is_win) { | 4982 if (is_win) { |
4988 configs -= [ "//build/config/win:default_incremental_linking" ] | 4983 configs -= [ "//build/config/win:default_incremental_linking" ] |
4989 configs += | 4984 configs += |
4990 [ "//build/config/win:default_large_module_incremental_linking" ] | 4985 [ "//build/config/win:default_large_module_incremental_linking" ] |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5066 "touch_hud", | 5061 "touch_hud", |
5067 "ui", | 5062 "ui", |
5068 ] | 5063 ] |
5069 | 5064 |
5070 if (is_linux && !is_android) { | 5065 if (is_linux && !is_android) { |
5071 deps += [ "//components/font_service:manifest" ] | 5066 deps += [ "//components/font_service:manifest" ] |
5072 packaged_services += [ "font_service" ] | 5067 packaged_services += [ "font_service" ] |
5073 } | 5068 } |
5074 } | 5069 } |
5075 } | 5070 } |
OLD | NEW |