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

Side by Side Diff: net/BUILD.gn

Issue 270363003: Reduce footprint of registry controlled domain table (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GN fixed Created 6 years, 7 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 | Annotate | Revision Log
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("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 9
10 if (is_android) { 10 if (is_android) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 56
57 # Disables Windows warning about size to int truncations. 57 # Disables Windows warning about size to int truncations.
58 # TODO(jschuh): crbug.com/167187 fix this and delete this config. 58 # TODO(jschuh): crbug.com/167187 fix this and delete this config.
59 config("net_win_size_truncation") { 59 config("net_win_size_truncation") {
60 if (is_win) { 60 if (is_win) {
61 cflags = [ "/wd4267" ] 61 cflags = [ "/wd4267" ]
62 } 62 }
63 } 63 }
64 64
65 config("net_derived_includes") {
66 include_dirs = [ "${root_gen_dir}/net" ]
brettw 2014/05/07 19:50:11 If possible, can you remove this (see comment on G
67 }
68
69 action_foreach("net_derived_sources") {
70 hard_dep = true
brettw 2014/05/07 19:50:11 Remove this line, it doesn't do anything any more
71
72 script = "tools/tld_cleanup/make_dafsa.py"
73 sources = [
74 "base/registry_controlled_domains/effective_tld_names.gperf",
75 "base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
76 "base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
77 "base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
78 "base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
79 "base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
80 "base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
81 ]
82 outputs = [
83 "${root_gen_dir}/net/{{source_name_part}}-inc.cc"
brettw 2014/05/07 19:50:11 Can you put a TODO here about moving these to the
Ryan Sleevi 2014/05/07 22:54:24 I don't think target_gen_dir is the right thing, s
84 ]
85 args = [
86 "{{source}}",
87 rebase_path("${root_gen_dir}/net/{{source_name_part}}-inc.cc", root_build_di r)
88 ]
89 direct_dependent_configs = [ ":net_derived_includes" ]
90 }
91
65 component("net") { 92 component("net") {
66 sources = 93 sources =
67 gypi_values.net_nacl_common_sources + 94 gypi_values.net_nacl_common_sources +
68 gypi_values.net_non_nacl_sources 95 gypi_values.net_non_nacl_sources
69 96
70 cflags = [] 97 cflags = []
71 defines = [ 98 defines = [
72 # TODO(GYP) Note that he GYP file supports linux_link_kerberos (defaults to 99 # TODO(GYP) Note that he GYP file supports linux_link_kerberos (defaults to
73 # 0) which implies that we run pkg_config on kerberos and link to that 100 # 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 101 # 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 102 # doesn't seem to be set in the regular builds, so we're skipping this
76 # capability here. 103 # capability here.
77 "DLOPEN_KERBEROS", 104 "DLOPEN_KERBEROS",
78 "NET_IMPLEMENTATION" 105 "NET_IMPLEMENTATION"
79 ] 106 ]
80 configs += [ ":net_win_size_truncation" ] 107 configs += [ ":net_win_size_truncation" ]
81 direct_dependent_configs = [ ":net_config" ] 108 direct_dependent_configs = [ ":net_config" ]
82 include_dirs = [] 109 include_dirs = []
83 110
84 deps = [ 111 deps = [
112 ":net_derived_sources",
85 ":net_resources", 113 ":net_resources",
86 "//base", 114 "//base",
87 "//base:i18n", 115 "//base:i18n",
88 "//base/third_party/dynamic_annotations", 116 "//base/third_party/dynamic_annotations",
89 "//crypto", 117 "//crypto",
90 "//crypto:platform", 118 "//crypto:platform",
91 "//sdch", 119 "//sdch",
92 "//third_party/icu", 120 "//third_party/icu",
93 "//third_party/zlib", 121 "//third_party/zlib",
94 "//url", 122 "//url",
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 971
944 if (is_android || is_linux) { 972 if (is_android || is_linux) {
945 executable("disk_cache_memory_test") { 973 executable("disk_cache_memory_test") {
946 sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ] 974 sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ]
947 deps = [ 975 deps = [
948 ":net", 976 ":net",
949 "//base", 977 "//base",
950 ] 978 ]
951 } 979 }
952 } 980 }
OLDNEW
« no previous file with comments | « no previous file | net/base/registry_controlled_domains/effective_tld_names_unittest1.cc » ('j') | net/net.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698