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

Unified Diff: mojo/public/mojo_application.gni

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More workarounds for MSVC 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/js/struct_unittests.js ('k') | mojo/public/python/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 4fb23c91e865fee2c4af8fd5219f8ebbbea55536..140e188e2773d2cc768dacf8bcb5916f960a2326 100644
--- a/mojo/public/mojo_application.gni
+++ b/mojo/public/mojo_application.gni
@@ -26,6 +26,14 @@ template("mojo_native_application") {
assert(false, "Platform not supported.")
}
+ if (is_android) {
+ # On android, use the stripped version of the library, because applications
+ # are always fetched over the network.
+ library_dir = "${root_out_dir}/lib.stripped"
+ } else {
+ library_dir = root_out_dir
+ }
+
final_target_name = target_name
shared_library(library_target_name) {
@@ -134,8 +142,9 @@ template("mojo_native_application") {
deps = [
":${library_target_name}",
]
+
sources = [
- "${root_out_dir}/${library_name}",
+ "${library_dir}/${library_name}",
]
outputs = [
"${root_out_dir}/${output}",
« no previous file with comments | « mojo/public/js/struct_unittests.js ('k') | mojo/public/python/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698