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

Side by Side Diff: net/BUILD.gn

Issue 1258273004: Annotate large GN targets for precompiled headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable 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 | « media/base/BUILD.gn ('k') | ppapi/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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 defines = [ 71 defines = [
72 # TODO(GYP) Note that the GYP file supports linux_link_kerberos (defaults to 72 # TODO(GYP) Note that the GYP file supports linux_link_kerberos (defaults to
73 # 0) which implies that we run pkg_config on kerberos and link to that 73 # 0) which implies that we run pkg_config on kerberos and link to that
74 # rather than setting this define which will dynamically open it. That 74 # rather than setting this define which will dynamically open it. That
75 # doesn't seem to be set in the regular builds, so we're skipping this 75 # doesn't seem to be set in the regular builds, so we're skipping this
76 # capability here. 76 # capability here.
77 "DLOPEN_KERBEROS", 77 "DLOPEN_KERBEROS",
78 "NET_IMPLEMENTATION", 78 "NET_IMPLEMENTATION",
79 ] 79 ]
80 80
81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 81 configs += [
82 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 82 "//build/config:precompiled_headers",
83
84 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
85 "//build/config/compiler:no_size_t_to_int_warning",
86 ]
83 public_configs = [ ":net_config" ] 87 public_configs = [ ":net_config" ]
84 include_dirs = [] 88 include_dirs = []
85 89
86 public_deps = [ 90 public_deps = [
87 ":net_quic_proto", 91 ":net_quic_proto",
88 "//crypto", 92 "//crypto",
89 "//crypto:platform", 93 "//crypto:platform",
90 "//url", 94 "//url",
91 ] 95 ]
92 deps = [ 96 deps = [
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 "test/url_request/url_request_mock_data_job.cc", 685 "test/url_request/url_request_mock_data_job.cc",
682 "test/url_request/url_request_mock_data_job.h", 686 "test/url_request/url_request_mock_data_job.h",
683 "test/url_request/url_request_slow_download_job.cc", 687 "test/url_request/url_request_slow_download_job.cc",
684 "test/url_request/url_request_slow_download_job.h", 688 "test/url_request/url_request_slow_download_job.h",
685 "url_request/test_url_fetcher_factory.cc", 689 "url_request/test_url_fetcher_factory.cc",
686 "url_request/test_url_fetcher_factory.h", 690 "url_request/test_url_fetcher_factory.h",
687 "url_request/url_request_test_util.cc", 691 "url_request/url_request_test_util.cc",
688 "url_request/url_request_test_util.h", 692 "url_request/url_request_test_util.h",
689 ] 693 ]
690 694
691 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 695 configs += [
692 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 696 "//build/config:precompiled_headers",
697
698 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
699 "//build/config/compiler:no_size_t_to_int_warning",
700 ]
693 701
694 public_deps = [ 702 public_deps = [
695 "//base", 703 "//base",
696 "//base/test:test_support", 704 "//base/test:test_support",
697 "//crypto", 705 "//crypto",
698 "//net", 706 "//net",
699 "//net/tools/tld_cleanup", 707 "//net/tools/tld_cleanup",
700 "//testing/gmock", 708 "//testing/gmock",
701 "//testing/gtest", 709 "//testing/gtest",
702 "//url", 710 "//url",
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 "//third_party/boringssl", 1309 "//third_party/boringssl",
1302 "//third_party/protobuf:protobuf_lite", 1310 "//third_party/protobuf:protobuf_lite",
1303 ] 1311 ]
1304 } 1312 }
1305 1313
1306 # TODO(GYP) bug 513775: Make this work on Mac. 1314 # TODO(GYP) bug 513775: Make this work on Mac.
1307 if (!is_mac) { 1315 if (!is_mac) {
1308 test("net_unittests") { 1316 test("net_unittests") {
1309 sources = gypi_values.net_test_sources 1317 sources = gypi_values.net_test_sources
1310 1318
1311 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1319 configs += [
1312 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 1320 "//build/config:precompiled_headers",
1321
1322 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1323 "//build/config/compiler:no_size_t_to_int_warning",
1324 ]
1313 defines = [] 1325 defines = []
1314 1326
1315 deps = [ 1327 deps = [
1316 ":balsa", 1328 ":balsa",
1317 ":extras", 1329 ":extras",
1318 ":http_server", 1330 ":http_server",
1319 ":net", 1331 ":net",
1320 ":simple_quic_tools", 1332 ":simple_quic_tools",
1321 ":test_support", 1333 ":test_support",
1322 "//base", 1334 "//base",
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 if (enable_websockets) { 1654 if (enable_websockets) {
1643 sources += [ "websockets/websocket_frame_perftest.cc" ] 1655 sources += [ "websockets/websocket_frame_perftest.cc" ]
1644 } 1656 }
1645 1657
1646 if (use_v8_in_net) { 1658 if (use_v8_in_net) {
1647 deps += [ ":net_with_v8" ] 1659 deps += [ ":net_with_v8" ]
1648 } else { 1660 } else {
1649 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1661 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1650 } 1662 }
1651 } 1663 }
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698