# Copyright 2014 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") # Meta target that includes both ax/ui_strings and app_locale_settings. Most # targets want them all. You can depend on the individually if you need to. group("strings") { public_deps = [ ":app_locale_settings", ":ax_strings", ":ui_strings", ] } grit("ax_strings") { source = "ax_strings.grd" outputs = [ "grit/ax_strings.h" ] foreach(locale, all_chrome_locales) { outputs += [ "ax_strings_$locale.pak" ] } } grit("ui_strings") { source = "ui_strings.grd" outputs = [ "grit/ui_strings.h" ] foreach(locale, all_chrome_locales) { outputs += [ "ui_strings_$locale.pak" ] } } grit("app_locale_settings") { source = "app_locale_settings.grd" outputs = [ "grit/app_locale_settings.h" ] foreach(locale, all_chrome_locales) { outputs += [ "app_locale_settings_$locale.pak" ] } }