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

Unified Diff: mojo/build/package_app.gypi

Issue 107473002: Make Mojo work on Android again (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 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 | « no previous file | mojo/mojo_examples.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/build/package_app.gypi
diff --git a/mojo/build/package_app.gypi b/mojo/build/package_app.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..d74cdc3ea0d940bf77d18ff98033920ba585eb83
--- /dev/null
+++ b/mojo/build/package_app.gypi
@@ -0,0 +1,31 @@
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'type': 'none',
+ 'dependencies': [
+ '<(app_name)',
+ ],
+ 'conditions': [
+ ['OS=="android"', {
+ 'variables': {
+ 'mojo_app_dir': '<(PRODUCT_DIR)/apps',
+ 'source_binary': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARED_LIB_SUFFIX)',
+ 'target_binary': '<(mojo_app_dir)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARED_LIB_SUFFIX)',
+ },
+ 'actions': [{
+ 'action_name': 'strip',
+ 'inputs': [ '<(source_binary)', ],
+ 'outputs': [ '<(target_binary)', ],
+ 'action': [
+ '<(android_strip)',
+ '<@(_inputs)',
+ '--strip-unneeded',
+ '-o',
+ '<@(_outputs)',
+ ],
+ }],
+ }],
+ ],
+}
« no previous file with comments | « no previous file | mojo/mojo_examples.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698