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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'linux_link_kerberos%': 0, 8 'linux_link_kerberos%': 0,
9 'conditions': [ 9 'conditions': [
10 ['chromeos==1 or embedded==1 or OS=="ios"', { 10 ['chromeos==1 or embedded==1 or OS=="ios"', {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 'target_name': 'net_derived_sources', 46 'target_name': 'net_derived_sources',
47 'type': 'none', 47 'type': 'none',
48 'sources': [ 48 'sources': [
49 'base/registry_controlled_domains/effective_tld_names.gperf', 49 'base/registry_controlled_domains/effective_tld_names.gperf',
50 'base/registry_controlled_domains/effective_tld_names_unittest1.gperf', 50 'base/registry_controlled_domains/effective_tld_names_unittest1.gperf',
51 'base/registry_controlled_domains/effective_tld_names_unittest2.gperf', 51 'base/registry_controlled_domains/effective_tld_names_unittest2.gperf',
52 'base/registry_controlled_domains/effective_tld_names_unittest3.gperf', 52 'base/registry_controlled_domains/effective_tld_names_unittest3.gperf',
53 'base/registry_controlled_domains/effective_tld_names_unittest4.gperf', 53 'base/registry_controlled_domains/effective_tld_names_unittest4.gperf',
54 'base/registry_controlled_domains/effective_tld_names_unittest5.gperf', 54 'base/registry_controlled_domains/effective_tld_names_unittest5.gperf',
55 'base/registry_controlled_domains/effective_tld_names_unittest6.gperf', 55 'base/registry_controlled_domains/effective_tld_names_unittest6.gperf',
56 'base/swr_histogram_domains/swr_histogram_domains.gperf',
56 ], 57 ],
57 'rules': [ 58 'rules': [
58 { 59 {
59 'rule_name': 'dafsa', 60 'rule_name': 'dafsa',
60 'extension': 'gperf', 61 'extension': 'gperf',
61 'outputs': [ 62 'outputs': [
62 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_R OOT)-inc.cc', 63 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_R OOT)-inc.cc',
63 ], 64 ],
64 'inputs': [ 65 'inputs': [
65 'tools/tld_cleanup/make_dafsa.py', 66 'tools/dafsa/make_dafsa.py',
66 ], 67 ],
67 'action': [ 68 'action': [
68 'python', 69 'python',
69 'tools/tld_cleanup/make_dafsa.py', 70 'tools/dafsa/make_dafsa.py',
70 '<(RULE_INPUT_PATH)', 71 '<(RULE_INPUT_PATH)',
71 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_R OOT)-inc.cc', 72 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_R OOT)-inc.cc',
72 ], 73 ],
73 }, 74 },
74 ], 75 ],
75 'direct_dependent_settings': { 76 'direct_dependent_settings': {
76 'include_dirs': [ 77 'include_dirs': [
77 '<(SHARED_INTERMEDIATE_DIR)' 78 '<(SHARED_INTERMEDIATE_DIR)'
78 ], 79 ],
79 }, 80 },
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 '../third_party/zlib/zlib.gyp:zlib', 136 '../third_party/zlib/zlib.gyp:zlib',
136 '../url/url.gyp:url_lib', 137 '../url/url.gyp:url_lib',
137 'balsa', 138 'balsa',
138 'http_server', 139 'http_server',
139 'net', 140 'net',
140 'net_quic_proto', 141 'net_quic_proto',
141 'net_derived_sources', 142 'net_derived_sources',
142 'net_extras', 143 'net_extras',
143 'net_test_support', 144 'net_test_support',
144 'simple_quic_tools', 145 'simple_quic_tools',
146 'swr_domain_matcher',
145 ], 147 ],
146 'sources': [ 148 'sources': [
147 '<@(net_test_sources)', 149 '<@(net_test_sources)',
148 ], 150 ],
149 'conditions': [ 151 'conditions': [
150 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { 152 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
151 'dependencies': [ 153 'dependencies': [
152 'epoll_quic_tools', 154 'epoll_quic_tools',
153 'epoll_server', 155 'epoll_server',
154 'flip_in_mem_edsm_server_base', 156 'flip_in_mem_edsm_server_base',
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 'tools/quic/quic_spdy_client_stream.cc', 842 'tools/quic/quic_spdy_client_stream.cc',
841 'tools/quic/quic_spdy_client_stream.h', 843 'tools/quic/quic_spdy_client_stream.h',
842 'tools/quic/quic_spdy_server_stream.cc', 844 'tools/quic/quic_spdy_server_stream.cc',
843 'tools/quic/quic_spdy_server_stream.h', 845 'tools/quic/quic_spdy_server_stream.h',
844 'tools/quic/quic_time_wait_list_manager.cc', 846 'tools/quic/quic_time_wait_list_manager.cc',
845 'tools/quic/quic_time_wait_list_manager.h', 847 'tools/quic/quic_time_wait_list_manager.h',
846 'tools/quic/synchronous_host_resolver.cc', 848 'tools/quic/synchronous_host_resolver.cc',
847 'tools/quic/synchronous_host_resolver.h', 849 'tools/quic/synchronous_host_resolver.h',
848 ], 850 ],
849 }, 851 },
852 {
853 # GN version: //net:swr_domain_matcher
854 'target_name': 'swr_domain_matcher',
855 'type': '<(component)',
856 'dependencies': [
857 '../base/base.gyp:base',
858 'net',
859 'net_derived_sources',
860 ],
861 'defines': [
862 'NET_IMPLEMENTATION',
863 ],
864 'sources': [
865 'base/swr_histogram_domains/swr_histogram_domains.cc',
866 'base/swr_histogram_domains/swr_histogram_domains.h',
867 ],
868 },
850 ], 869 ],
851 'conditions': [ 870 'conditions': [
852 ['use_v8_in_net == 1', { 871 ['use_v8_in_net == 1', {
853 'targets': [ 872 'targets': [
854 { 873 {
855 'target_name': 'net_with_v8', 874 'target_name': 'net_with_v8',
856 'type': '<(component)', 875 'type': '<(component)',
857 'variables': { 'enable_wexit_time_destructors': 1, }, 876 'variables': { 'enable_wexit_time_destructors': 1, },
858 'dependencies': [ 877 'dependencies': [
859 '../base/base.gyp:base', 878 '../base/base.gyp:base',
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1631 '../build/isolate.gypi', 1650 '../build/isolate.gypi',
1632 ], 1651 ],
1633 'sources': [ 1652 'sources': [
1634 'net_unittests.isolate', 1653 'net_unittests.isolate',
1635 ], 1654 ],
1636 }, 1655 },
1637 ], 1656 ],
1638 }], 1657 }],
1639 ], 1658 ],
1640 } 1659 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698