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

Unified Diff: ui/resources/BUILD.gn

Issue 1865483002: [Mac/GN] Initial framework bundle support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove _package_target Created 4 years, 8 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/BUILD.gn ('k') | no next file » | 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 6cd6537393686aaf91175feace7a2ec48560c5d7..1b407f3712ffff3582911bdc94b7a14bea6099c4 100644
--- a/ui/resources/BUILD.gn
+++ b/ui/resources/BUILD.gn
@@ -75,8 +75,9 @@ if (is_ios || is_mac) {
# This needs to be a separate target from ui_test_pak as ui_base_unittests
# wants the generate .pak file in the bundle to be named en.lpro/locale.pak
# while components_unittests wants it to be named ui_test.pak.
- bundle_data("ui_test_pak_bundle_data") {
+ bundle_data("ui_test_pak_bundle_data_locale") {
testonly = true
+ visibility = [ ":ui_test_pak_bundle_data" ]
public_deps = [
":ui_test_pak",
]
@@ -87,6 +88,43 @@ if (is_ios || is_mac) {
"{{bundle_resources_dir}}/en.lproj/locale.pak",
]
}
+
+ bundle_data("ui_test_pak_bundle_data_test_pak") {
+ testonly = true
+ visibility = [ ":ui_test_pak_bundle_data" ]
+ public_deps = [
+ ":ui_test_pak",
+ ]
+ sources = [
+ "$root_out_dir/ui_test.pak",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/ui_test.pak",
+ ]
+ }
+
+ bundle_data("ui_test_pak_bundle_data_100_percent") {
+ testonly = true
+ visibility = [ ":ui_test_pak_bundle_data" ]
+ public_deps = [
+ ":ui_test_pak",
+ ]
+ sources = [
+ "$root_out_dir/ui_test.pak",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/chrome_100_percent.pak",
+ ]
+ }
+
+ group("ui_test_pak_bundle_data") {
+ testonly = true
+ public_deps = [
+ ":ui_test_pak_bundle_data_100_percent",
+ ":ui_test_pak_bundle_data_locale",
+ ":ui_test_pak_bundle_data_test_pak",
+ ]
+ }
} else {
copy("ui_test_pak") {
sources = [
« no previous file with comments | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698