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

Unified 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: Review feedback 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/registry_controlled_domains/effective_tld_names_unittest1.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index a6760e4fc5da665697d46f3f1c1fc544e492c72c..01fae89d80692c0a6bf4915b5343a9ea5754ccc6 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -62,6 +62,26 @@ config("net_win_size_truncation") {
}
}
+action_foreach("net_derived_sources") {
+ script = "tools/tld_cleanup/make_dafsa.py"
+ sources = [
+ "base/registry_controlled_domains/effective_tld_names.gperf",
+ "base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
+ "base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
+ "base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
+ "base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
+ "base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
+ "base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
+ ]
+ outputs = [
+ "${root_gen_dir}/net/base/registry_controlled_domains/{{source_name_part}}-inc.cc"
Ryan Sleevi 2014/05/07 22:54:25 It'd be great to be able to do something like "${r
brettw 2014/05/07 23:53:59 Ah, here's what you do: Move this action to a new
+ ]
+ args = [
+ "{{source}}",
+ rebase_path("${root_gen_dir}/net/base/registry_controlled_domains/{{source_name_part}}-inc.cc", root_build_dir)
+ ]
+}
+
component("net") {
sources =
gypi_values.net_nacl_common_sources +
@@ -82,6 +102,7 @@ component("net") {
include_dirs = []
deps = [
+ ":net_derived_sources",
":net_resources",
"//base",
"//base:i18n",
« no previous file with comments | « no previous file | net/base/registry_controlled_domains/effective_tld_names_unittest1.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698