# Copyright 2016 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.

import("//blimp/client/core/config.gni")
import("//build/config/locales.gni")
import("//tools/grit/grit_rule.gni")

# Resources exposed to the embedder.
source_set("resources") {
  sources = [
    "blimp_strings.cc",
    "blimp_strings.h",
  ]

  public_deps = [
    ":strings",
  ]

  deps = [
    "//base",
    "//ui/base:base",
  ]
}

# Strings exposed to the embedder. The embedder will generate target to depend on this, so no
# visibility here.
grit("strings") {
  source = "blimp_support_strings.grd"
  use_qualified_include = true
  outputs = [
    "grit/blimp_strings.h",
  ]

  foreach(locale, locales_with_fake_bidi) {
    outputs += [ "blimp_strings_$locale.pak" ]
  }
}
