| Index: net/BUILD.gn
|
| diff --git a/net/BUILD.gn b/net/BUILD.gn
|
| index 0bba8a461811592ef21e08f544bcf9db430db049..7cbc219815b04d9782a47a4fc6d85fadfd1ba35e 100644
|
| --- a/net/BUILD.gn
|
| +++ b/net/BUILD.gn
|
| @@ -1265,6 +1265,34 @@ source_set("simple_quic_tools") {
|
| ]
|
| }
|
|
|
| +action_foreach("stale_while_revalidate_experiment_domains_dafsa") {
|
| + script = "//net/tools/dafsa/make_dafsa.py"
|
| + sources = [
|
| + "base/stale_while_revalidate_experiment_domains.gperf",
|
| + ]
|
| + outputs = [
|
| + "${target_gen_dir}/base/{{source_name_part}}-inc.cc",
|
| + ]
|
| + args = [
|
| + "{{source}}",
|
| + rebase_path("${target_gen_dir}/base/{{source_name_part}}-inc.cc",
|
| + root_build_dir),
|
| + ]
|
| +}
|
| +
|
| +source_set("stale_while_revalidate_experiment_domains") {
|
| + sources = [
|
| + "base/stale_while_revalidate_experiment_domains.cc",
|
| + "base/stale_while_revalidate_experiment_domains.h",
|
| + ]
|
| + deps = [
|
| + ":net",
|
| + ":stale_while_revalidate_experiment_domains_dafsa",
|
| + "//base",
|
| + ]
|
| + configs += net_shared_configs
|
| +}
|
| +
|
| if (!is_ios) {
|
| executable("quic_client") {
|
| sources = [
|
| @@ -1327,6 +1355,7 @@ test("net_unittests") {
|
| ":http_server",
|
| ":net",
|
| ":simple_quic_tools",
|
| + ":stale_while_revalidate_experiment_domains",
|
| ":test_support",
|
| "//base",
|
| "//base:i18n",
|
|
|