| Index: headless/BUILD.gn
|
| diff --git a/headless/BUILD.gn b/headless/BUILD.gn
|
| index 55afe1f2833a2df59119165ab9391dc0350a1be4..11dd554b25b19fcd4e044919dbd0f1419a65feab 100644
|
| --- a/headless/BUILD.gn
|
| +++ b/headless/BUILD.gn
|
| @@ -25,10 +25,32 @@ group("headless") {
|
| ]
|
| }
|
|
|
| +repack_locales("locale_pak") {
|
| + input_locales = [ "en-US" ]
|
| +
|
| + if (!is_mac) {
|
| + output_locales = [ "en-US" ]
|
| + } else {
|
| + output_locales = [ "locale" ]
|
| + }
|
| +
|
| + source_patterns = [
|
| + "$root_gen_dir/ui/strings/app_locale_settings_",
|
| + "$root_gen_dir/ui/strings/ui_strings_",
|
| + ]
|
| +
|
| + deps = [
|
| + "//ui/strings",
|
| + ]
|
| +
|
| + output_dir = "$root_out_dir/headless_locales"
|
| +}
|
| +
|
| repack("pak") {
|
| sources = [
|
| "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak",
|
| "$root_gen_dir/blink/public/resources/blink_resources.pak",
|
| + "$root_gen_dir/components/components_resources.pak",
|
| "$root_gen_dir/components/strings/components_strings_en-US.pak",
|
| "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
|
| "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
|
| @@ -51,6 +73,7 @@ repack("pak") {
|
|
|
| deps = [
|
| ":resources",
|
| + "//components/resources:components_resources",
|
| "//components/strings",
|
| "//content:resources",
|
| "//content/app/resources",
|
| @@ -323,6 +346,7 @@ static_library("headless_lib") {
|
|
|
| deps = [
|
| ":gen_devtools_client_api",
|
| + ":locale_pak",
|
| ":tab_socket",
|
| ":version_header",
|
| "//components/crash/content/browser",
|
|
|