naiveproxy/ios/chrome/search_widget_extension/strings/BUILD.gn
2018-12-09 21:59:24 -05:00

49 lines
1.5 KiB
Plaintext

# Copyright 2017 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("//build/config/locales.gni")
import("//tools/grit/grit_rule.gni")
group("strings") {
public_deps = [
":ios_search_widget_extension_chromium_strings",
":ios_search_widget_extension_google_chrome_strings",
":ios_search_widget_extension_strings",
]
}
grit("ios_search_widget_extension_strings") {
source = "ios_search_widget_extension_strings.grd"
output_dir = "$root_gen_dir/ios/search_widget_extension"
outputs = [
"grit/ios_search_widget_extension_strings.h",
]
foreach(locale, locales_with_fake_bidi) {
outputs += [ "ios_search_widget_extension_strings_$locale.pak" ]
}
}
grit("ios_search_widget_extension_chromium_strings") {
source = "ios_search_widget_extension_chromium_strings.grd"
output_dir = "$root_gen_dir/ios/search_widget_extension"
outputs = [
"grit/ios_search_widget_extension_chromium_strings.h",
]
foreach(locale, locales_with_fake_bidi) {
outputs += [ "ios_search_widget_extension_chromium_strings_$locale.pak" ]
}
}
grit("ios_search_widget_extension_google_chrome_strings") {
source = "ios_search_widget_extension_google_chrome_strings.grd"
output_dir = "$root_gen_dir/ios/search_widget_extension"
outputs = [
"grit/ios_search_widget_extension_google_chrome_strings.h",
]
foreach(locale, locales_with_fake_bidi) {
outputs +=
[ "ios_search_widget_extension_google_chrome_strings_$locale.pak" ]
}
}