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

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: Correct the build files. 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_histogram_domains',
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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 'tools/quic/quic_spdy_client_stream.cc', 839 'tools/quic/quic_spdy_client_stream.cc',
838 'tools/quic/quic_spdy_client_stream.h', 840 'tools/quic/quic_spdy_client_stream.h',
839 'tools/quic/quic_spdy_server_stream.cc', 841 'tools/quic/quic_spdy_server_stream.cc',
840 'tools/quic/quic_spdy_server_stream.h', 842 'tools/quic/quic_spdy_server_stream.h',
841 'tools/quic/quic_time_wait_list_manager.cc', 843 'tools/quic/quic_time_wait_list_manager.cc',
842 'tools/quic/quic_time_wait_list_manager.h', 844 'tools/quic/quic_time_wait_list_manager.h',
843 'tools/quic/synchronous_host_resolver.cc', 845 'tools/quic/synchronous_host_resolver.cc',
844 'tools/quic/synchronous_host_resolver.h', 846 'tools/quic/synchronous_host_resolver.h',
845 ], 847 ],
846 }, 848 },
849 {
850 # GN version: //net:swr_histogram_domains
851 'target_name': 'swr_histogram_domains',
852 'type': '<(component)',
853 'dependencies': [
854 '../base/base.gyp:base',
855 'net',
856 'net_derived_sources',
857 ],
858 'defines': [
859 'NET_IMPLEMENTATION',
860 ],
861 'sources': [
862 'base/swr_histogram_domains/swr_histogram_domains.cc',
863 'base/swr_histogram_domains/swr_histogram_domains.h',
864 ],
865 },
847 ], 866 ],
848 'conditions': [ 867 'conditions': [
849 ['use_v8_in_net == 1', { 868 ['use_v8_in_net == 1', {
850 'targets': [ 869 'targets': [
851 { 870 {
852 'target_name': 'net_with_v8', 871 'target_name': 'net_with_v8',
853 'type': '<(component)', 872 'type': '<(component)',
854 'variables': { 'enable_wexit_time_destructors': 1, }, 873 'variables': { 'enable_wexit_time_destructors': 1, },
855 'dependencies': [ 874 'dependencies': [
856 '../base/base.gyp:base', 875 '../base/base.gyp:base',
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 '../build/isolate.gypi', 1640 '../build/isolate.gypi',
1622 ], 1641 ],
1623 'sources': [ 1642 'sources': [
1624 'net_unittests.isolate', 1643 'net_unittests.isolate',
1625 ], 1644 ],
1626 }, 1645 },
1627 ], 1646 ],
1628 }], 1647 }],
1629 ], 1648 ],
1630 } 1649 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698