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("//build/split_static_library.gni") | 9 import("//build/split_static_library.gni") |
10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 | 984 |
985 #GYP: '//chrome/chrome_browser.gypi:delta_file_proto' | 985 #GYP: '//chrome/chrome_browser.gypi:delta_file_proto' |
986 proto_library("delta_file_proto") { | 986 proto_library("delta_file_proto") { |
987 sources = [ | 987 sources = [ |
988 "android/proto/delta_file.proto", | 988 "android/proto/delta_file.proto", |
989 ] | 989 ] |
990 } | 990 } |
991 } | 991 } |
992 | 992 |
993 if (is_win) { | 993 if (is_win) { |
994 source_set("chrome_process_finder") { | 994 static_library("chrome_process_finder") { |
995 sources = [ | 995 sources = [ |
996 "win/chrome_process_finder.cc", | 996 "win/chrome_process_finder.cc", |
997 "win/chrome_process_finder.h", | 997 "win/chrome_process_finder.h", |
998 ] | 998 ] |
999 deps = [ | 999 deps = [ |
1000 "//base", | 1000 "//base", |
1001 "//chrome/common:constants", | 1001 "//chrome/common:constants", |
1002 ] | 1002 ] |
1003 if (enable_configuration_policy) { | 1003 if (enable_configuration_policy) { |
1004 deps += [ "//chrome/browser/policy:path_parser" ] | 1004 deps += [ "//chrome/browser/policy:path_parser" ] |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 "media/pepper_cdm_test_helper.h", | 1318 "media/pepper_cdm_test_helper.h", |
1319 ] | 1319 ] |
1320 deps += [ | 1320 deps += [ |
1321 ":pepper_cdm_test_constants", | 1321 ":pepper_cdm_test_constants", |
1322 "//media:cdm_paths", | 1322 "//media:cdm_paths", |
1323 ] | 1323 ] |
1324 } | 1324 } |
1325 } | 1325 } |
1326 | 1326 |
1327 # In GYP this is part of test_support_ui. | 1327 # In GYP this is part of test_support_ui. |
1328 source_set("test_support_ui") { | 1328 static_library("test_support_ui") { |
1329 testonly = true | 1329 testonly = true |
1330 | 1330 |
1331 # Always include this via the main test support UI target. | 1331 # Always include this via the main test support UI target. |
1332 visibility = [ "//chrome/test:test_support_ui" ] | 1332 visibility = [ "//chrome/test:test_support_ui" ] |
1333 | 1333 |
1334 sources = [ | 1334 sources = [ |
1335 "password_manager/password_manager_test_base.cc", | 1335 "password_manager/password_manager_test_base.cc", |
1336 "password_manager/password_manager_test_base.h", | 1336 "password_manager/password_manager_test_base.h", |
1337 "signin/token_revoker_test_utils.cc", | 1337 "signin/token_revoker_test_utils.cc", |
1338 "signin/token_revoker_test_utils.h", | 1338 "signin/token_revoker_test_utils.h", |
1339 "ui/webui/signin/login_ui_test_utils.cc", | 1339 "ui/webui/signin/login_ui_test_utils.cc", |
1340 "ui/webui/signin/login_ui_test_utils.h", | 1340 "ui/webui/signin/login_ui_test_utils.h", |
1341 ] | 1341 ] |
1342 | 1342 |
1343 configs += [ "//build/config:precompiled_headers" ] | 1343 configs += [ "//build/config:precompiled_headers" ] |
1344 | 1344 |
1345 deps = [ | 1345 deps = [ |
1346 "//components/metrics:test_support", | 1346 "//components/metrics:test_support", |
1347 "//components/password_manager/content/public/interfaces", | 1347 "//components/password_manager/content/public/interfaces", |
1348 "//components/password_manager/core/browser:test_support", | 1348 "//components/password_manager/core/browser:test_support", |
1349 "//skia", | 1349 "//skia", |
1350 "//testing/gtest", | 1350 "//testing/gtest", |
1351 ] | 1351 ] |
1352 } | 1352 } |
1353 | 1353 |
1354 if (enable_rlz_support) { | 1354 if (enable_rlz_support) { |
1355 source_set("rlz") { | 1355 static_library("rlz") { |
1356 sources = | 1356 sources = |
1357 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") | 1357 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") |
1358 deps = [ | 1358 deps = [ |
1359 "//components/google/core/browser", | 1359 "//components/google/core/browser", |
1360 "//components/omnibox/browser", | 1360 "//components/omnibox/browser", |
1361 "//components/rlz", | 1361 "//components/rlz", |
1362 "//components/search_engines", | 1362 "//components/search_engines", |
1363 "//rlz:rlz_lib", | 1363 "//rlz:rlz_lib", |
1364 ] | 1364 ] |
1365 } | 1365 } |
1366 } | 1366 } |
1367 | 1367 |
1368 if (enable_pepper_cdms) { | 1368 if (enable_pepper_cdms) { |
1369 # These constants are separated so that test binaries can use them without | 1369 # These constants are separated so that test binaries can use them without |
1370 # linking all of the test support. | 1370 # linking all of the test support. |
1371 source_set("pepper_cdm_test_constants") { | 1371 static_library("pepper_cdm_test_constants") { |
1372 testonly = true | 1372 testonly = true |
1373 visibility = [ "//chrome/*" ] | 1373 visibility = [ "//chrome/*" ] |
1374 sources = [ | 1374 sources = [ |
1375 "media/pepper_cdm_test_constants.cc", | 1375 "media/pepper_cdm_test_constants.cc", |
1376 "media/pepper_cdm_test_constants.h", | 1376 "media/pepper_cdm_test_constants.h", |
1377 ] | 1377 ] |
1378 } | 1378 } |
1379 } | 1379 } |
OLD | NEW |