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

Unified Diff: mojo/mojo_application_package.gni

Issue 1134753011: Fix missing GN dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « gin/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo_application_package.gni
diff --git a/mojo/mojo_application_package.gni b/mojo/mojo_application_package.gni
index 233ee97c6d96ffd44b9dce01626efe20e2a9576f..f5ace4f7fa7a312e18f70f2ebbda2af63dd19277 100644
--- a/mojo/mojo_application_package.gni
+++ b/mojo/mojo_application_package.gni
@@ -20,13 +20,18 @@ template("mojo_application_package") {
output_name = invoker.output_name
}
- copy("copy_mojo_application_resources") {
+ copy_step_name = "${target_name}__copy_resources"
+ copy(copy_step_name) {
sources = invoker.resources
outputs = [
"$root_out_dir/$output_name/resources/{{source_file_part}}",
]
+ if (defined(invoker.testonly)) {
+ testonly = invoker.testonly
+ }
+ deps = mojo_deps
}
- mojo_deps += [ ":copy_mojo_application_resources" ]
+ mojo_deps += [ ":$copy_step_name" ]
}
mojo_native_application(target_name) {
« no previous file with comments | « gin/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698