• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5action_foreach("registry_controlled_domains") {
6  script = "//net/tools/dafsa/make_dafsa.py"
7  sources = [
8    "effective_tld_names.gperf",
9    "effective_tld_names_unittest1.gperf",
10    "effective_tld_names_unittest2.gperf",
11    "effective_tld_names_unittest3.gperf",
12    "effective_tld_names_unittest4.gperf",
13    "effective_tld_names_unittest5.gperf",
14    "effective_tld_names_unittest6.gperf",
15  ]
16  outputs = [ "${target_gen_dir}/{{source_name_part}}-reversed-inc.cc" ]
17  args = [
18    "--reverse",
19    "{{source}}",
20    rebase_path("${target_gen_dir}/{{source_name_part}}-reversed-inc.cc",
21                root_build_dir),
22  ]
23}
24
25action_foreach("lookup_strings_test_sets") {
26  script = "//net/tools/dafsa/make_dafsa.py"
27  sources = [
28    "effective_tld_names.gperf",
29    "effective_tld_names_unittest1.gperf",
30    "effective_tld_names_unittest2.gperf",
31    "effective_tld_names_unittest3.gperf",
32    "effective_tld_names_unittest4.gperf",
33    "effective_tld_names_unittest5.gperf",
34    "effective_tld_names_unittest6.gperf",
35  ]
36  outputs = [ "${target_gen_dir}/{{source_name_part}}-inc.cc" ]
37  args = [
38    "{{source}}",
39    rebase_path("${target_gen_dir}/{{source_name_part}}-inc.cc",
40                root_build_dir),
41  ]
42}
43