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

Unified Diff: mojo/public/mojo_application.gni

Issue 754963008: Simplify //mojo/public/c/system targets (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « mojo/public/c/system/BUILD.gn ('k') | mojo/public/platform/native/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/mojo_application.gni
diff --git a/mojo/public/mojo_application.gni b/mojo/public/mojo_application.gni
index d28cb440aaa98fd709f101c697539f6c6d392cd2..4145d5bf6c03dc9800f75ab7421ceb510a47776b 100644
--- a/mojo/public/mojo_application.gni
+++ b/mojo/public/mojo_application.gni
@@ -62,7 +62,7 @@ template("mojo_native_application") {
if (use_prebuilt_mojo_shell) {
copy_mojo_shell =
- rebase_path("mojo/public/tools:copy_mojo_shell", ".", mojo_root)
+ rebase_path("mojo/public/tools:copy_mojo_shell", ".", mojo_root)
}
# Copy the prebuilt mojo_shell if using it.
@@ -73,12 +73,17 @@ template("mojo_native_application") {
}
} else {
if (use_prebuilt_mojo_shell) {
- datadeps = [ copy_mojo_shell ]
+ datadeps = [
+ copy_mojo_shell,
+ ]
}
}
deps = rebase_path([
- "mojo/public/c/system:for_shared_library",
- ], ".", mojo_root)
+ "mojo/public/c/system",
+ "mojo/public/platform/native:system",
+ ],
+ ".",
+ mojo_root)
if (defined(invoker.deps)) {
deps += invoker.deps
}
@@ -116,9 +121,7 @@ template("mojo_native_application") {
testonly = invoker.testonly
}
- visibility = [
- ":${final_target_name}",
- ]
+ visibility = [ ":${final_target_name}" ]
}
copy(final_target_name) {
@@ -131,8 +134,12 @@ template("mojo_native_application") {
deps = [
":${library_target_name}",
]
- sources = [ "${root_out_dir}/${library_name}" ]
- outputs = [ "${root_out_dir}/${output}" ]
+ sources = [
+ "${root_out_dir}/${library_name}",
+ ]
+ outputs = [
+ "${root_out_dir}/${output}",
+ ]
}
}
@@ -159,7 +166,9 @@ if (is_android) {
]
output = zip_action_output
- outputs = [ output ]
+ outputs = [
+ output,
+ ]
rebase_inputs = rebase_path(inputs, root_build_dir)
rebase_output = rebase_path(output, root_build_dir)
@@ -179,10 +188,14 @@ if (is_android) {
script = rebase_path("mojo/public/tools/prepend.py", ".", mojo_root)
input = zip_action_output
- inputs = [ input ]
+ inputs = [
+ input,
+ ]
output = mojo_output
- outputs = [ output ]
+ outputs = [
+ output,
+ ]
rebase_input = rebase_path(input, root_build_dir)
rebase_output = rebase_path(output, root_build_dir)
« no previous file with comments | « mojo/public/c/system/BUILD.gn ('k') | mojo/public/platform/native/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698