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/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//chrome/common/features.gni") | 9 import("//chrome/common/features.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 args = rebase_path(sources, root_build_dir) + | 1056 args = rebase_path(sources, root_build_dir) + |
1057 rebase_path(outputs, root_build_dir) | 1057 rebase_path(outputs, root_build_dir) |
1058 } | 1058 } |
1059 } else { | 1059 } else { |
1060 group("chrome_internal_resources_gen") { | 1060 group("chrome_internal_resources_gen") { |
1061 # Empty placeholder. | 1061 # Empty placeholder. |
1062 } | 1062 } |
1063 } | 1063 } |
1064 | 1064 |
1065 # In GYP this is part of test_support_common. | 1065 # In GYP this is part of test_support_common. |
1066 source_set("test_support") { | 1066 # |
| 1067 # Use a static library here because many test binaries depend on this but don't |
| 1068 # require many files from it. This makes linking more efficient. |
| 1069 static_library("test_support") { |
1067 testonly = true | 1070 testonly = true |
1068 | 1071 |
1069 # Always include this via the main test support target. | 1072 # Always include this via the main test support target. |
1070 visibility = [ "//chrome/test:test_support" ] | 1073 visibility = [ "//chrome/test:test_support" ] |
1071 | 1074 |
1072 sources = [ | 1075 sources = [ |
1073 "browsing_data/mock_browsing_data_appcache_helper.cc", | 1076 "browsing_data/mock_browsing_data_appcache_helper.cc", |
1074 "browsing_data/mock_browsing_data_appcache_helper.h", | 1077 "browsing_data/mock_browsing_data_appcache_helper.h", |
1075 "browsing_data/mock_browsing_data_cache_storage_helper.cc", | 1078 "browsing_data/mock_browsing_data_cache_storage_helper.cc", |
1076 "browsing_data/mock_browsing_data_cache_storage_helper.h", | 1079 "browsing_data/mock_browsing_data_cache_storage_helper.h", |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1363 # linking all of the test support. | 1366 # linking all of the test support. |
1364 source_set("pepper_cdm_test_constants") { | 1367 source_set("pepper_cdm_test_constants") { |
1365 testonly = true | 1368 testonly = true |
1366 visibility = [ "//chrome/*" ] | 1369 visibility = [ "//chrome/*" ] |
1367 sources = [ | 1370 sources = [ |
1368 "media/pepper_cdm_test_constants.cc", | 1371 "media/pepper_cdm_test_constants.cc", |
1369 "media/pepper_cdm_test_constants.h", | 1372 "media/pepper_cdm_test_constants.h", |
1370 ] | 1373 ] |
1371 } | 1374 } |
1372 } | 1375 } |
OLD | NEW |