Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Side by Side Diff: net/BUILD.gn

Issue 1258753002: Add yet more GN isolates ... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isolates_4_2
Patch Set: fix net_unittests conditional on android, fix wow_helper dependency on win Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/common/BUILD.gn ('k') | printing/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/module_args/v8.gni") 8 import("//build/module_args/v8.gni")
9 import("//url/config.gni") 9 import("//url/config.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after
1306 ":net", 1306 ":net",
1307 ":simple_quic_tools", 1307 ":simple_quic_tools",
1308 "//base", 1308 "//base",
1309 "//third_party/boringssl", 1309 "//third_party/boringssl",
1310 "//third_party/protobuf:protobuf_lite", 1310 "//third_party/protobuf:protobuf_lite",
1311 ] 1311 ]
1312 } 1312 }
1313 1313
1314 # TODO(GYP) bug 513775: Make this work on Mac. 1314 # TODO(GYP) bug 513775: Make this work on Mac.
1315 if (!is_mac) { 1315 if (!is_mac) {
1316 # TODO(GYP): Delete this after we've converted everything to GN.
1317 # The _run targets exist only for compatibility w/ GYP.
1318 group("net_unittests_run") {
1319 testonly = true
1320 deps = [
1321 ":net_unittests",
1322 ]
1323 }
1324
1316 test("net_unittests") { 1325 test("net_unittests") {
1317 sources = gypi_values.net_test_sources 1326 sources = gypi_values.net_test_sources
1318 1327
1319 configs += [ 1328 configs += [
1320 "//build/config:precompiled_headers", 1329 "//build/config:precompiled_headers",
1321 1330
1322 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1331 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1323 "//build/config/compiler:no_size_t_to_int_warning", 1332 "//build/config/compiler:no_size_t_to_int_warning",
1324 ] 1333 ]
1325 defines = [] 1334 defines = []
(...skipping 18 matching lines...) Expand all
1344 "//sql", 1353 "//sql",
1345 "//testing/gmock", 1354 "//testing/gmock",
1346 "//testing/gtest", 1355 "//testing/gtest",
1347 "//third_party/zlib", 1356 "//third_party/zlib",
1348 "//url", 1357 "//url",
1349 ] 1358 ]
1350 1359
1351 data = [ 1360 data = [
1352 "data/", 1361 "data/",
1353 ] 1362 ]
1363
1354 if (is_linux || is_mac || is_win) { 1364 if (is_linux || is_mac || is_win) {
1355 deps += [ 1365 deps += [
1356 "//third_party/pyftpdlib/", 1366 "//third_party/pyftpdlib/",
1357 "//third_party/pywebsocket/", 1367 "//third_party/pywebsocket/",
1358 "//third_party/tlslite/", 1368 "//third_party/tlslite/",
1359 ] 1369 ]
1360 data += [ "tools/testserver/" ] 1370 data_deps = [
1371 "//third_party/pyftpdlib/",
1372 "//third_party/pywebsocket/",
1373 "//third_party/tlslite/",
1374 ]
1375 data += [
1376 "tools/testserver/",
1377 "//third_party/pyftpdlib/",
1378 "//third_party/pywebsocket/",
1379 "//third_party/tlslite/",
1380 "$root_out_dir/pyproto/google/",
1381 ]
1361 } 1382 }
1362 1383
1363 if (is_desktop_linux) { 1384 if (is_desktop_linux) {
1364 deps += [ ":epoll_quic_tools" ] 1385 deps += [ ":epoll_quic_tools" ]
1365 } 1386 }
1366 if (is_linux) { 1387 if (is_linux) {
1367 sources += gypi_values.net_linux_test_sources 1388 sources += gypi_values.net_linux_test_sources
1368 deps += [ 1389 deps += [
1369 ":balsa", 1390 ":balsa",
1370 ":epoll_quic_tools", 1391 ":epoll_quic_tools",
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 if (enable_websockets) { 1675 if (enable_websockets) {
1655 sources += [ "websockets/websocket_frame_perftest.cc" ] 1676 sources += [ "websockets/websocket_frame_perftest.cc" ]
1656 } 1677 }
1657 1678
1658 if (use_v8_in_net) { 1679 if (use_v8_in_net) {
1659 deps += [ ":net_with_v8" ] 1680 deps += [ ":net_with_v8" ]
1660 } else { 1681 } else {
1661 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1682 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1662 } 1683 }
1663 } 1684 }
OLDNEW
« no previous file with comments | « mojo/common/BUILD.gn ('k') | printing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698