# 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("strings") {
  source = "../bluetooth_strings.grd"

  #ifdef arkweb_i18n
  if (arkweb_i18n) {
    locales = all_chrome_locales + extra_locales
  }

  #endif
  outputs = [ "grit/bluetooth_strings.h" ]
  output_prefix = "bluetooth_strings_"
}

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" ]
}