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

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: Changes from kinuko review. 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 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 "tools/quic/synchronous_host_resolver.h", 1256 "tools/quic/synchronous_host_resolver.h",
1257 ] 1257 ]
1258 deps = [ 1258 deps = [
1259 ":net", 1259 ":net",
1260 "//base", 1260 "//base",
1261 "//base/third_party/dynamic_annotations", 1261 "//base/third_party/dynamic_annotations",
1262 "//url", 1262 "//url",
1263 ] 1263 ]
1264 } 1264 }
1265 1265
1266 action_foreach("stale_while_revalidate_experiment_domains_dafsa") {
1267 script = "//net/tools/dafsa/make_dafsa.py"
1268 sources = [
1269 "base/stale_while_revalidate_experiment_domains.gperf",
1270 ]
1271 outputs = [
1272 "${target_gen_dir}/base/{{source_name_part}}-inc.cc",
1273 ]
1274 args = [
1275 "{{source}}",
1276 rebase_path("${target_gen_dir}/base/{{source_name_part}}-inc.cc",
1277 root_build_dir),
1278 ]
1279 }
1280
1281 source_set("stale_while_revalidate_experiment_domains") {
1282 sources = [
1283 "base/stale_while_revalidate_experiment_domains.cc",
1284 "base/stale_while_revalidate_experiment_domains.h",
1285 ]
1286 deps = [
1287 ":net",
1288 ":stale_while_revalidate_experiment_domains_dafsa",
1289 "//base",
1290 ]
1291 configs += net_shared_configs
1292 }
1293
1266 if (!is_ios) { 1294 if (!is_ios) {
1267 executable("quic_client") { 1295 executable("quic_client") {
1268 sources = [ 1296 sources = [
1269 "tools/quic/quic_simple_client_bin.cc", 1297 "tools/quic/quic_simple_client_bin.cc",
1270 ] 1298 ]
1271 deps = [ 1299 deps = [
1272 ":net", 1300 ":net",
1273 ":simple_quic_tools", 1301 ":simple_quic_tools",
1274 "//base", 1302 "//base",
1275 "//build/config/sanitizers:deps", 1303 "//build/config/sanitizers:deps",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 "//build/config/compiler:no_size_t_to_int_warning", 1346 "//build/config/compiler:no_size_t_to_int_warning",
1319 ] 1347 ]
1320 defines = [] 1348 defines = []
1321 1349
1322 deps = [ 1350 deps = [
1323 ":balsa", 1351 ":balsa",
1324 ":extras", 1352 ":extras",
1325 ":http_server", 1353 ":http_server",
1326 ":net", 1354 ":net",
1327 ":simple_quic_tools", 1355 ":simple_quic_tools",
1356 ":stale_while_revalidate_experiment_domains",
1328 ":test_support", 1357 ":test_support",
1329 "//base", 1358 "//base",
1330 "//base:i18n", 1359 "//base:i18n",
1331 "//base:prefs_test_support", 1360 "//base:prefs_test_support",
1332 "//base/allocator", 1361 "//base/allocator",
1333 "//base/third_party/dynamic_annotations", 1362 "//base/third_party/dynamic_annotations",
1334 "//crypto", 1363 "//crypto",
1335 "//crypto:platform", 1364 "//crypto:platform",
1336 "//crypto:test_support", 1365 "//crypto:test_support",
1337 "//net/base/registry_controlled_domains", 1366 "//net/base/registry_controlled_domains",
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 if (enable_websockets) { 1690 if (enable_websockets) {
1662 sources += [ "websockets/websocket_frame_perftest.cc" ] 1691 sources += [ "websockets/websocket_frame_perftest.cc" ]
1663 } 1692 }
1664 1693
1665 if (use_v8_in_net) { 1694 if (use_v8_in_net) {
1666 deps += [ ":net_with_v8" ] 1695 deps += [ ":net_with_v8" ]
1667 } else { 1696 } else {
1668 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1697 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1669 } 1698 }
1670 } 1699 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698