# Copyright (c) 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

action_foreach("registry_controlled_domains") {
  script = "//net/tools/tld_cleanup/make_dafsa.py"
  sources = [
    "effective_tld_names.gperf",
    "effective_tld_names_unittest1.gperf",
    "effective_tld_names_unittest2.gperf",
    "effective_tld_names_unittest3.gperf",
    "effective_tld_names_unittest4.gperf",
    "effective_tld_names_unittest5.gperf",
    "effective_tld_names_unittest6.gperf",
  ]
  outputs = [
    "${target_gen_dir}/{{source_name_part}}-inc.cc"
  ]
  args = [
    "{{source}}",
    rebase_path("${target_gen_dir}/{{source_name_part}}-inc.cc", root_build_dir)
  ]
}