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", |