| 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 = [
|
|
|