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

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: 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 (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 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 "tools/quic/synchronous_host_resolver.h", 1271 "tools/quic/synchronous_host_resolver.h",
1272 ] 1272 ]
1273 deps = [ 1273 deps = [
1274 ":net", 1274 ":net",
1275 "//base", 1275 "//base",
1276 "//base/third_party/dynamic_annotations", 1276 "//base/third_party/dynamic_annotations",
1277 "//url", 1277 "//url",
1278 ] 1278 ]
1279 } 1279 }
1280 1280
1281 action_foreach("stale_while_revalidate_experiment_domains_dafsa") {
1282 script = "//net/tools/dafsa/make_dafsa.py"
1283 sources = [
1284 "base/stale_while_revalidate_experiment_domains.gperf",
1285 ]
1286 outputs = [
1287 "${target_gen_dir}/base/{{source_name_part}}-inc.cc",
1288 ]
1289 args = [
1290 "{{source}}",
1291 rebase_path("${target_gen_dir}/base/{{source_name_part}}-inc.cc",
1292 root_build_dir),
1293 ]
1294 }
1295
1296 source_set("stale_while_revalidate_experiment_domains") {
1297 sources = [
1298 "base/stale_while_revalidate_experiment_domains.cc",
1299 "base/stale_while_revalidate_experiment_domains.h",
1300 ]
1301 deps = [
1302 ":net",
1303 ":stale_while_revalidate_experiment_domains_dafsa",
1304 "//base",
1305 ]
1306 configs += net_shared_configs
1307 }
1308
1281 if (!is_ios) { 1309 if (!is_ios) {
1282 executable("quic_client") { 1310 executable("quic_client") {
1283 sources = [ 1311 sources = [
1284 "tools/quic/quic_simple_client_bin.cc", 1312 "tools/quic/quic_simple_client_bin.cc",
1285 ] 1313 ]
1286 deps = [ 1314 deps = [
1287 ":net", 1315 ":net",
1288 ":simple_quic_tools", 1316 ":simple_quic_tools",
1289 "//base", 1317 "//base",
1290 "//build/config/sanitizers:deps", 1318 "//build/config/sanitizers:deps",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 "//build/config/compiler:no_size_t_to_int_warning", 1361 "//build/config/compiler:no_size_t_to_int_warning",
1334 ] 1362 ]
1335 defines = [] 1363 defines = []
1336 1364
1337 deps = [ 1365 deps = [
1338 ":balsa", 1366 ":balsa",
1339 ":extras", 1367 ":extras",
1340 ":http_server", 1368 ":http_server",
1341 ":net", 1369 ":net",
1342 ":simple_quic_tools", 1370 ":simple_quic_tools",
1371 ":stale_while_revalidate_experiment_domains",
1343 ":test_support", 1372 ":test_support",
1344 "//base", 1373 "//base",
1345 "//base:i18n", 1374 "//base:i18n",
1346 "//base:prefs_test_support", 1375 "//base:prefs_test_support",
1347 "//base/allocator", 1376 "//base/allocator",
1348 "//base/third_party/dynamic_annotations", 1377 "//base/third_party/dynamic_annotations",
1349 "//crypto", 1378 "//crypto",
1350 "//crypto:platform", 1379 "//crypto:platform",
1351 "//crypto:test_support", 1380 "//crypto:test_support",
1352 "//net/base/registry_controlled_domains", 1381 "//net/base/registry_controlled_domains",
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 if (enable_websockets) { 1706 if (enable_websockets) {
1678 sources += [ "websockets/websocket_frame_perftest.cc" ] 1707 sources += [ "websockets/websocket_frame_perftest.cc" ]
1679 } 1708 }
1680 1709
1681 if (use_v8_in_net) { 1710 if (use_v8_in_net) {
1682 deps += [ ":net_with_v8" ] 1711 deps += [ ":net_with_v8" ]
1683 } else { 1712 } else {
1684 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1713 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1685 } 1714 }
1686 } 1715 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698