Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: ui/resources/BUILD.gn

Issue 552963002: Simplify test locales in ui_unittests Framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ui_base_tests_bundle.gypi ('k') | ui/resources/ui_resources.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/resources/BUILD.gn
diff --git a/ui/resources/BUILD.gn b/ui/resources/BUILD.gn
index 3f7a0df78cd84abf9b9d7a79352518df928d727c..fb9e225149b1c1c1e56ea6fd32d17389f150bed7 100644
--- a/ui/resources/BUILD.gn
+++ b/ui/resources/BUILD.gn
@@ -52,12 +52,12 @@ if (!is_mac) {
}
}
-# On iOS the output needs to additionally be copied to another location, so
-# we have this intermediate step.
+# On iOS and Mac the output needs to additionally be copied to another location,
+# so we have this intermediate step.
#
# GYP version: ui/resources/ui_resources.gyp:ui_test_pak
# (copy_ui_test_pak action)
-if (is_ios) {
+if (is_ios || is_mac) {
copy("ui_test_pak") {
sources = [ "$root_out_dir/ui_test.pak" ]
outputs = [ "$root_out_dir/ui/en.lproj/locale.pak" ]
@@ -74,7 +74,7 @@ repack("repack_ui_test_pak") {
# Depend on ui_test_pak instead of this one.
visibility = [ ":ui_test_pak" ]
- sources = [
+ sources = [
"$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
"$root_gen_dir/ui/resources/webui_resources.pak",
"$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
« no previous file with comments | « ui/base/ui_base_tests_bundle.gypi ('k') | ui/resources/ui_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698