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

Side by Side Diff: net/BUILD.gn

Issue 1433893002: Add StaleWhileRevalidateExperiment histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-dafsa
Patch Set: Fix compile error. Created 5 years 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | net/base/stale_while_revalidate_experiment_domains.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//build_overrides/v8.gni") 10 import("//build_overrides/v8.gni")
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after
1258 "tools/quic/synchronous_host_resolver.h", 1258 "tools/quic/synchronous_host_resolver.h",
1259 ] 1259 ]
1260 deps = [ 1260 deps = [
1261 ":net", 1261 ":net",
1262 "//base", 1262 "//base",
1263 "//base/third_party/dynamic_annotations", 1263 "//base/third_party/dynamic_annotations",
1264 "//url", 1264 "//url",
1265 ] 1265 ]
1266 } 1266 }
1267 1267
1268 action_foreach("stale_while_revalidate_experiment_domains_dafsa") {
1269 script = "//net/tools/dafsa/make_dafsa.py"
1270 sources = [
1271 "base/stale_while_revalidate_experiment_domains.gperf",
1272 ]
1273 outputs = [
1274 "${target_gen_dir}/base/{{source_name_part}}-inc.cc",
1275 ]
1276 args = [
1277 "{{source}}",
1278 rebase_path("${target_gen_dir}/base/{{source_name_part}}-inc.cc",
1279 root_build_dir),
1280 ]
1281 }
1282
1283 source_set("stale_while_revalidate_experiment_domains") {
1284 sources = [
1285 "base/stale_while_revalidate_experiment_domains.cc",
1286 "base/stale_while_revalidate_experiment_domains.h",
1287 ]
1288 deps = [
1289 ":net",
1290 ":stale_while_revalidate_experiment_domains_dafsa",
1291 "//base",
1292 ]
1293 configs += net_shared_configs
1294 }
1295
1268 if (!is_ios) { 1296 if (!is_ios) {
1269 executable("quic_client") { 1297 executable("quic_client") {
1270 sources = [ 1298 sources = [
1271 "tools/quic/quic_simple_client_bin.cc", 1299 "tools/quic/quic_simple_client_bin.cc",
1272 ] 1300 ]
1273 deps = [ 1301 deps = [
1274 ":net", 1302 ":net",
1275 ":simple_quic_tools", 1303 ":simple_quic_tools",
1276 "//base", 1304 "//base",
1277 "//build/config/sanitizers:deps", 1305 "//build/config/sanitizers:deps",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 "//build/config/compiler:no_size_t_to_int_warning", 1348 "//build/config/compiler:no_size_t_to_int_warning",
1321 ] 1349 ]
1322 defines = [] 1350 defines = []
1323 1351
1324 deps = [ 1352 deps = [
1325 ":balsa", 1353 ":balsa",
1326 ":extras", 1354 ":extras",
1327 ":http_server", 1355 ":http_server",
1328 ":net", 1356 ":net",
1329 ":simple_quic_tools", 1357 ":simple_quic_tools",
1358 ":stale_while_revalidate_experiment_domains",
1330 ":test_support", 1359 ":test_support",
1331 "//base", 1360 "//base",
1332 "//base:i18n", 1361 "//base:i18n",
1333 "//base:prefs_test_support", 1362 "//base:prefs_test_support",
1334 "//base/allocator", 1363 "//base/allocator",
1335 "//base/third_party/dynamic_annotations", 1364 "//base/third_party/dynamic_annotations",
1336 "//crypto", 1365 "//crypto",
1337 "//crypto:platform", 1366 "//crypto:platform",
1338 "//crypto:test_support", 1367 "//crypto:test_support",
1339 "//net/base/registry_controlled_domains", 1368 "//net/base/registry_controlled_domains",
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 if (enable_websockets) { 1692 if (enable_websockets) {
1664 sources += [ "websockets/websocket_frame_perftest.cc" ] 1693 sources += [ "websockets/websocket_frame_perftest.cc" ]
1665 } 1694 }
1666 1695
1667 if (use_v8_in_net) { 1696 if (use_v8_in_net) {
1668 deps += [ ":net_with_v8" ] 1697 deps += [ ":net_with_v8" ]
1669 } else { 1698 } else {
1670 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1699 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1671 } 1700 }
1672 } 1701 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | net/base/stale_while_revalidate_experiment_domains.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698