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

Unified Diff: net/net.gyp

Issue 1303973009: [DO NOT COMMIT] Re-use the dafsa code for s-w-r histograms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to fix patch errors on try bots. Created 5 years, 1 month 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 61b2c7541ea6a16019c31db6eaf0a0183e254944..c76e1fca96e874bc73f8713659f7e27e3c935c6c 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -53,6 +53,7 @@
'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',
+ 'base/swr_histogram_domains/swr_histogram_domains.gperf',
],
'rules': [
{
@@ -62,11 +63,11 @@
'<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc',
],
'inputs': [
- 'tools/tld_cleanup/make_dafsa.py',
+ 'tools/dafsa/make_dafsa.py',
],
'action': [
'python',
- 'tools/tld_cleanup/make_dafsa.py',
+ 'tools/dafsa/make_dafsa.py',
'<(RULE_INPUT_PATH)',
'<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc',
],
@@ -142,6 +143,7 @@
'net_extras',
'net_test_support',
'simple_quic_tools',
+ 'swr_domain_matcher',
],
'sources': [
'<@(net_test_sources)',
@@ -847,6 +849,23 @@
'tools/quic/synchronous_host_resolver.h',
],
},
+ {
+ # GN version: //net:swr_domain_matcher
+ 'target_name': 'swr_domain_matcher',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ 'net',
+ 'net_derived_sources',
+ ],
+ 'defines': [
+ 'NET_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'base/swr_histogram_domains/swr_histogram_domains.cc',
+ 'base/swr_histogram_domains/swr_histogram_domains.h',
+ ],
+ },
],
'conditions': [
['use_v8_in_net == 1', {

Powered by Google App Engine
This is Rietveld 408576698