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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 ] | 1222 ] |
1220 | 1223 |
1221 configs += [ "//build/config:precompiled_headers" ] | 1224 configs += [ "//build/config:precompiled_headers" ] |
1222 | 1225 |
1223 deps = [ | 1226 deps = [ |
1224 ":browser_tests_runner", | 1227 ":browser_tests_runner", |
1225 ":repack_pseudo_locales", | 1228 ":repack_pseudo_locales", |
1226 ":test_support", | 1229 ":test_support", |
1227 "//base", | 1230 "//base", |
1228 "//components/sync:test_support_model", | 1231 "//components/sync:test_support_model", |
| 1232 "//extensions/features", |
1229 "//printing/features", | 1233 "//printing/features", |
1230 "//third_party/WebKit/public:features", | 1234 "//third_party/WebKit/public:features", |
1231 ] | 1235 ] |
1232 | 1236 |
1233 data_deps = [ | 1237 data_deps = [ |
1234 "//testing/buildbot/filters:browser_tests_filters", | 1238 "//testing/buildbot/filters:browser_tests_filters", |
1235 ] | 1239 ] |
1236 | 1240 |
1237 data = [] | 1241 data = [] |
1238 | 1242 |
(...skipping 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3344 "../test/base/v8_unit_test.h", | 3348 "../test/base/v8_unit_test.h", |
3345 "../test/logging/win/mof_data_parser_unittest.cc", | 3349 "../test/logging/win/mof_data_parser_unittest.cc", |
3346 | 3350 |
3347 # Duplicate these tests here because PathService has more items in | 3351 # Duplicate these tests here because PathService has more items in |
3348 # unit_tests than in base_unittests. | 3352 # unit_tests than in base_unittests. |
3349 "../../base/path_service_unittest.cc", | 3353 "../../base/path_service_unittest.cc", |
3350 "../../testing/gtest_mac_unittest.mm", | 3354 "../../testing/gtest_mac_unittest.mm", |
3351 "../../third_party/zlib/google/compression_utils_unittest.cc", | 3355 "../../third_party/zlib/google/compression_utils_unittest.cc", |
3352 "../../third_party/zlib/google/zip_reader_unittest.cc", | 3356 "../../third_party/zlib/google/zip_reader_unittest.cc", |
3353 "../../third_party/zlib/google/zip_unittest.cc", | 3357 "../../third_party/zlib/google/zip_unittest.cc", |
3354 "../../tools/json_schema_compiler/test/additional_properties_unittest.cc", | |
3355 "../../tools/json_schema_compiler/test/any_unittest.cc", | |
3356 "../../tools/json_schema_compiler/test/arrays_unittest.cc", | |
3357 "../../tools/json_schema_compiler/test/callbacks_unittest.cc", | |
3358 "../../tools/json_schema_compiler/test/choices_unittest.cc", | |
3359 "../../tools/json_schema_compiler/test/crossref_unittest.cc", | |
3360 "../../tools/json_schema_compiler/test/enums_unittest.cc", | |
3361 "../../tools/json_schema_compiler/test/error_generation_unittest.cc", | |
3362 "../../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc", | |
3363 "../../tools/json_schema_compiler/test/functions_on_types_unittest.cc", | |
3364 "../../tools/json_schema_compiler/test/idl_schemas_unittest.cc", | |
3365 "../../tools/json_schema_compiler/test/objects_unittest.cc", | |
3366 "../../tools/json_schema_compiler/test/simple_api_unittest.cc", | |
3367 ] | 3358 ] |
3368 | 3359 |
3369 configs += [ "//build/config:precompiled_headers" ] | 3360 configs += [ "//build/config:precompiled_headers" ] |
3370 | 3361 |
3371 data = [ | 3362 data = [ |
3372 "data/", | 3363 "data/", |
3373 "//base/test/data/", | 3364 "//base/test/data/", |
3374 "//chrome/third_party/mock4js/", | 3365 "//chrome/third_party/mock4js/", |
3375 "//components/test/data/", | 3366 "//components/test/data/", |
3376 "//extensions/test/data/", | 3367 "//extensions/test/data/", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3427 "//testing/gtest", | 3418 "//testing/gtest", |
3428 | 3419 |
3429 # 3) anything tests directly depend on | 3420 # 3) anything tests directly depend on |
3430 "//chrome:resources", | 3421 "//chrome:resources", |
3431 "//chrome:strings", | 3422 "//chrome:strings", |
3432 "//components/component_updater:test_support", | 3423 "//components/component_updater:test_support", |
3433 "//components/safe_browsing_db:test_database_manager", | 3424 "//components/safe_browsing_db:test_database_manager", |
3434 "//components/subresource_filter/core/browser:test_support", | 3425 "//components/subresource_filter/core/browser:test_support", |
3435 "//components/version_info:generate_version_info", | 3426 "//components/version_info:generate_version_info", |
3436 "//courgette:courgette_lib", | 3427 "//courgette:courgette_lib", |
| 3428 "//extensions/features", |
3437 "//google_apis", | 3429 "//google_apis", |
3438 "//ppapi/features", | 3430 "//ppapi/features", |
3439 "//skia", | 3431 "//skia", |
3440 "//third_party/cacheinvalidation", | 3432 "//third_party/cacheinvalidation", |
3441 "//third_party/icu", | 3433 "//third_party/icu", |
3442 "//third_party/libxml", | 3434 "//third_party/libxml", |
3443 "//ui/base:test_support", | 3435 "//ui/base:test_support", |
3444 "//ui/display:test_support", | 3436 "//ui/display:test_support", |
3445 "//ui/gfx:test_support", | 3437 "//ui/gfx:test_support", |
3446 "//ui/resources", | 3438 "//ui/resources", |
(...skipping 17 matching lines...) Expand all Loading... |
3464 "//device/base:mocks", | 3456 "//device/base:mocks", |
3465 "//device/bluetooth:mocks", | 3457 "//device/bluetooth:mocks", |
3466 "//device/usb:test_support", | 3458 "//device/usb:test_support", |
3467 "//gpu:test_support", | 3459 "//gpu:test_support", |
3468 "//media:test_support", | 3460 "//media:test_support", |
3469 "//third_party/leveldatabase", | 3461 "//third_party/leveldatabase", |
3470 "//third_party/libaddressinput", | 3462 "//third_party/libaddressinput", |
3471 "//third_party/libjingle", | 3463 "//third_party/libjingle", |
3472 "//third_party/libphonenumber", | 3464 "//third_party/libphonenumber", |
3473 "//third_party/webrtc/modules/desktop_capture", | 3465 "//third_party/webrtc/modules/desktop_capture", |
3474 "//tools/json_schema_compiler/test:schema_test", | |
3475 "//ui/gl", | 3466 "//ui/gl", |
3476 "//v8", | 3467 "//v8", |
3477 ] | 3468 ] |
3478 } | 3469 } |
3479 | 3470 |
3480 if (is_mac) { | 3471 if (is_mac) { |
3481 data_deps += [ "//chrome:chrome_framework" ] | 3472 data_deps += [ "//chrome:chrome_framework" ] |
3482 data += [ "$root_out_dir/Chromium Framework.framework/" ] | 3473 data += [ "$root_out_dir/Chromium Framework.framework/" ] |
3483 } | 3474 } |
3484 | 3475 |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4015 "../renderer/extensions/extension_localization_peer_unittest.cc", | 4006 "../renderer/extensions/extension_localization_peer_unittest.cc", |
4016 "../renderer/extensions/renderer_permissions_policy_delegate_unittest.cc", | 4007 "../renderer/extensions/renderer_permissions_policy_delegate_unittest.cc", |
4017 "../renderer/media/cast_ipc_dispatcher_unittest.cc", | 4008 "../renderer/media/cast_ipc_dispatcher_unittest.cc", |
4018 "../utility/image_writer/image_writer_unittest.cc", | 4009 "../utility/image_writer/image_writer_unittest.cc", |
4019 ] | 4010 ] |
4020 deps += [ | 4011 deps += [ |
4021 "//chrome/common/extensions/api", | 4012 "//chrome/common/extensions/api", |
4022 "//extensions:extensions_resources", | 4013 "//extensions:extensions_resources", |
4023 "//extensions/strings", | 4014 "//extensions/strings", |
4024 "//media/cast:test_support", | 4015 "//media/cast:test_support", |
4025 "//tools/json_schema_compiler/test:features_generation_test", | 4016 |
| 4017 # This will add all of the unit tests for the schema compiler to this |
| 4018 # target. |
| 4019 "//tools/json_schema_compiler/test:unit_tests", |
4026 ] | 4020 ] |
4027 if (enable_service_discovery) { | 4021 if (enable_service_discovery) { |
4028 sources += [ | 4022 sources += [ |
4029 "../browser/extensions/api/gcd_private/privet_v3_context_getter_unittest
.cc", | 4023 "../browser/extensions/api/gcd_private/privet_v3_context_getter_unittest
.cc", |
4030 "../browser/extensions/api/gcd_private/privet_v3_session_unittest.cc", | 4024 "../browser/extensions/api/gcd_private/privet_v3_session_unittest.cc", |
4031 "../browser/extensions/api/mdns/dns_sd_registry_unittest.cc", | 4025 "../browser/extensions/api/mdns/dns_sd_registry_unittest.cc", |
4032 "../browser/extensions/api/mdns/mdns_api_unittest.cc", | 4026 "../browser/extensions/api/mdns/mdns_api_unittest.cc", |
4033 ] | 4027 ] |
4034 } | 4028 } |
4035 if (!is_chromeos) { | 4029 if (!is_chromeos) { |
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4967 ":test_support_ui", | 4961 ":test_support_ui", |
4968 "//base", | 4962 "//base", |
4969 "//base:i18n", | 4963 "//base:i18n", |
4970 "//base/test:test_support", | 4964 "//base/test:test_support", |
4971 "//chrome/app:chrome_dll_resources", | 4965 "//chrome/app:chrome_dll_resources", |
4972 "//chrome/browser", | 4966 "//chrome/browser", |
4973 "//chrome/renderer", | 4967 "//chrome/renderer", |
4974 "//components/about_handler", | 4968 "//components/about_handler", |
4975 "//components/autofill/content/renderer:test_support", | 4969 "//components/autofill/content/renderer:test_support", |
4976 "//content/test:test_support", | 4970 "//content/test:test_support", |
| 4971 "//extensions/features", |
4977 "//media/cast:test_support", | 4972 "//media/cast:test_support", |
4978 "//testing/gmock", | 4973 "//testing/gmock", |
4979 "//testing/gtest", | 4974 "//testing/gtest", |
4980 "//testing/perf", | 4975 "//testing/perf", |
4981 ] | 4976 ] |
4982 | 4977 |
4983 if (is_win) { | 4978 if (is_win) { |
4984 configs -= [ "//build/config/win:default_incremental_linking" ] | 4979 configs -= [ "//build/config/win:default_incremental_linking" ] |
4985 configs += | 4980 configs += |
4986 [ "//build/config/win:default_large_module_incremental_linking" ] | 4981 [ "//build/config/win:default_large_module_incremental_linking" ] |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5062 "touch_hud", | 5057 "touch_hud", |
5063 "ui", | 5058 "ui", |
5064 ] | 5059 ] |
5065 | 5060 |
5066 if (is_linux && !is_android) { | 5061 if (is_linux && !is_android) { |
5067 deps += [ "//components/font_service:manifest" ] | 5062 deps += [ "//components/font_service:manifest" ] |
5068 packaged_services += [ "font_service" ] | 5063 packaged_services += [ "font_service" ] |
5069 } | 5064 } |
5070 } | 5065 } |
5071 } | 5066 } |
OLD | NEW |