Index: services/navigation/BUILD.gn |
diff --git a/services/navigation/BUILD.gn b/services/navigation/BUILD.gn |
index 6d34ef3e8da8d70e43ebd02ffdf6d1807e3f686b..ef542469e62a76d23fbda214fbf388cbbf89a39c 100644 |
--- a/services/navigation/BUILD.gn |
+++ b/services/navigation/BUILD.gn |
@@ -5,6 +5,7 @@ |
import("//mojo/public/mojo_application.gni") |
import("//mojo/public/mojo_application_manifest.gni") |
import("//testing/test.gni") |
+import("//tools/grit/repack.gni") |
group("all") { |
testonly = true |
@@ -21,14 +22,20 @@ executable("navigation") { |
] |
deps = [ |
+ ":lib", |
+ ":pak", |
"//base", |
"//build/win:default_exe_manifest", |
+ "//components/mus/public/cpp", |
"//content", |
"//content/public/app:both", |
"//mojo/public/cpp/bindings", |
"//services/navigation/content_client", |
"//services/shell/runner:init", |
"//services/shell/runner/common", |
+ "//ui/views", |
+ "//ui/views/controls/webview", |
+ "//ui/views/mus", |
] |
data_deps = [ |
@@ -92,3 +99,39 @@ mojo_application_manifest("unittest_manifest") { |
application_name = "navigation_unittests" |
source = "unittest_manifest.json" |
} |
+ |
+repack("pak") { |
+ sources = [ |
+ "$root_gen_dir/blink/devtools_resources.pak", |
+ "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak", |
+ "$root_gen_dir/blink/public/resources/blink_resources.pak", |
+ "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", |
+ "$root_gen_dir/content/app/strings/content_strings_en-US.pak", |
+ "$root_gen_dir/content/browser/tracing/tracing_resources.pak", |
+ "$root_gen_dir/content/content_resources.pak", |
+ "$root_gen_dir/content/shell/shell_resources.pak", |
+ "$root_gen_dir/net/net_resources.pak", |
+ "$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", |
+ "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
+ "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak", |
+ ] |
+ |
+ deps = [ |
+ "//content:resources", |
+ "//content/app/resources", |
+ "//content/app/strings", |
+ "//content/browser/devtools:resources", |
+ "//content/browser/tracing:resources", |
+ "//content/shell:resources", |
+ "//net:net_resources", |
+ "//third_party/WebKit/public:image_resources", |
+ "//third_party/WebKit/public:resources", |
+ "//ui/resources", |
+ "//ui/strings", |
+ "//ui/views/resources", |
+ ] |
+ |
+ output = "$root_out_dir/navigation.pak" |
+} |