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

Unified Diff: net/net.gyp

Issue 274443003: Reduce footprint of registry controlled domain table (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: net/net.gyp
diff --git a/net/net.gyp b/net/net.gyp
index 3e176bd8724cdd47da9be9dc6693f27e9297ef9c..4af1f7b00833997ad1b34f0adde22de4ef4b7960 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -45,6 +45,37 @@
],
'targets': [
{
+ 'target_name': 'net_derived_sources',
+ 'type': 'none',
+ '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',
+ ],
+ 'rules': [
+ {
+ 'rule_name': 'dafsa',
+ 'extension': 'gperf',
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT)-inc.cc',
+ ],
+ 'inputs': [
+ 'tools/tld_cleanup/make_dafsa.py',
+ ],
+ 'action': [
+ 'python',
+ 'tools/tld_cleanup/make_dafsa.py',
+ '<(RULE_INPUT_PATH)',
+ '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT)-inc.cc',
+ ],
+ },
+ ],
+ },
+ {
'target_name': 'net',
'type': '<(component)',
'variables': { 'enable_wexit_time_destructors': 1, },
@@ -59,6 +90,10 @@
'../third_party/zlib/zlib.gyp:zlib',
'../url/url.gyp:url_lib',
'net_resources',
+ 'net_derived_sources',
+ ],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)/net',
],
'sources': [
'<@(net_nacl_common_sources)',
@@ -473,6 +508,9 @@
'net',
'net_test_support'
],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)/net',
+ ],
'sources': [
'<@(net_test_sources)',
],
« no previous file with comments | « net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc ('k') | net/tools/tld_cleanup/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698