chromium/device/bluetooth/strings/BUILD.gn

# Copyright 2015 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/locales.gni")
import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni")

grit("strings") {
  source = "../bluetooth_strings.grd"
  outputs =
      [ "grit/bluetooth_strings.h" ] +
      process_file_template(all_chrome_locales,
                            [ "bluetooth_strings_{{source_name_part}}.pak" ])
}

repack("bluetooth_test_strings") {
  sources =
      [ "$root_gen_dir/device/bluetooth/strings/bluetooth_strings_en-US.pak" ]
  output = "$root_out_dir/bluetooth_test_strings.pak"
  deps = [ ":strings" ]
}