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

Side by Side Diff: net/BUILD.gn

Issue 1653003006: Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 ":net", 1362 ":net",
1363 ":simple_quic_tools", 1363 ":simple_quic_tools",
1364 "//base", 1364 "//base",
1365 "//build/config/sanitizers:deps", 1365 "//build/config/sanitizers:deps",
1366 "//third_party/boringssl", 1366 "//third_party/boringssl",
1367 "//third_party/protobuf:protobuf_lite", 1367 "//third_party/protobuf:protobuf_lite",
1368 ] 1368 ]
1369 } 1369 }
1370 } 1370 }
1371 1371
1372 # TODO(GYP): Delete this after we've converted everything to GN.
1373 # The _run targets exist only for compatibility w/ GYP.
1374 group("net_unittests_run") {
1375 testonly = true
1376 deps = [
1377 ":net_unittests",
1378 ]
1379 }
1380
1381 test("net_unittests") { 1372 test("net_unittests") {
1382 sources = gypi_values.net_test_sources 1373 sources = gypi_values.net_test_sources
1383 1374
1384 if (is_ios) { 1375 if (is_ios) {
1385 sources -= [ 1376 sources -= [
1386 "websockets/websocket_stream_cookie_test.cc", 1377 "websockets/websocket_stream_cookie_test.cc",
1387 "websockets/websocket_stream_create_test_base.cc", 1378 "websockets/websocket_stream_create_test_base.cc",
1388 "websockets/websocket_stream_create_test_base.h", 1379 "websockets/websocket_stream_create_test_base.h",
1389 ] 1380 ]
1390 } 1381 }
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1742 } else { 1733 } else {
1743 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1734 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1744 } 1735 }
1745 } 1736 }
1746 1737
1747 buildflag_header("features") { 1738 buildflag_header("features") {
1748 header = "net_features.h" 1739 header = "net_features.h"
1749 1740
1750 flags = [ "ENABLE_BIDIRECTIONAL_STREAM=$enable_bidirectional_stream" ] 1741 flags = [ "ENABLE_BIDIRECTIONAL_STREAM=$enable_bidirectional_stream" ]
1751 } 1742 }
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