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

Side by Side Diff: net/BUILD.gn

Issue 2533953005: Standardize "net" category trace events (Closed)
Patch Set: Move constants to its own target Created 4 years 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 | « no previous file | net/base/network_delegate.cc » ('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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ] 79 ]
80 80
81 if (use_glib && use_gconf && !is_chromeos) { 81 if (use_glib && use_gconf && !is_chromeos) {
82 net_configs += [ "//build/config/linux/gconf" ] 82 net_configs += [ "//build/config/linux/gconf" ]
83 } 83 }
84 84
85 if (is_linux) { 85 if (is_linux) {
86 net_configs += [ "//build/config/linux:libresolv" ] 86 net_configs += [ "//build/config/linux:libresolv" ]
87 } 87 }
88 88
89 source_set("constants") {
xunjieli 2016/12/02 22:35:53 Thanks so much for the ideas! I was able to reprod
90 sources = [
91 "base/trace_constants.cc",
92 "base/trace_constants.h",
93 ]
94 deps = [
95 "//base",
96 ]
97 }
98
89 component("net") { 99 component("net") {
90 sources = gypi_values.net_nacl_common_sources 100 sources = gypi_values.net_nacl_common_sources
91 net_unfiltered_sources = [] 101 net_unfiltered_sources = []
92 102
93 deps = [ 103 deps = [
104 ":constants",
94 ":net_resources", 105 ":net_resources",
95 "//base", 106 "//base",
96 "//net/base/registry_controlled_domains", 107 "//net/base/registry_controlled_domains",
97 "//third_party/protobuf:protobuf_lite", 108 "//third_party/protobuf:protobuf_lite",
98 "//url:url_features", 109 "//url:url_features",
99 ] 110 ]
100 111
101 public_deps = [ 112 public_deps = [
102 ":net_quic_proto", 113 ":net_quic_proto",
103 "//crypto", 114 "//crypto",
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 691
681 defines = [ "NET_IMPLEMENTATION" ] 692 defines = [ "NET_IMPLEMENTATION" ]
682 693
683 configs += [ 694 configs += [
684 "//build/config/compiler:no_size_t_to_int_warning", 695 "//build/config/compiler:no_size_t_to_int_warning",
685 "//build/config/compiler:wexit_time_destructors", 696 "//build/config/compiler:wexit_time_destructors",
686 "//v8:external_startup_data", 697 "//v8:external_startup_data",
687 ] 698 ]
688 699
689 public_deps = [ 700 public_deps = [
701 ":constants",
690 ":net", 702 ":net",
691 ] 703 ]
692 deps = [ 704 deps = [
693 "//base", 705 "//base",
694 "//gin", 706 "//gin",
695 "//url", 707 "//url",
696 "//v8", 708 "//v8",
697 ] 709 ]
698 } 710 }
699 } 711 }
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
2053 "http/http_security_headers_hpkp_report_only_fuzzer.cc", 2065 "http/http_security_headers_hpkp_report_only_fuzzer.cc",
2054 ] 2066 ]
2055 deps = [ 2067 deps = [
2056 ":net_fuzzer_test_support", 2068 ":net_fuzzer_test_support",
2057 "//base", 2069 "//base",
2058 "//net", 2070 "//net",
2059 "//url", 2071 "//url",
2060 ] 2072 ]
2061 dict = "data/fuzzer_dictionaries/net_http_security_headers_fuzzer.dict" 2073 dict = "data/fuzzer_dictionaries/net_http_security_headers_fuzzer.dict"
2062 } 2074 }
OLDNEW
« no previous file with comments | « no previous file | net/base/network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698