Index: build/android/finalize_apk_action.gypi |
=================================================================== |
--- build/android/finalize_apk_action.gypi (revision 0) |
+++ build/android/finalize_apk_action.gypi (revision 0) |
@@ -0,0 +1,46 @@ |
+# Copyright 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. |
+ |
+# This file is meant to be included into an action to provide an action that |
+# signs and zipaligns an APK. |
+# |
+# To use this, create a gyp action with the following form: |
+# { |
+# 'action_name': 'some descriptive action name', |
+# 'variables': { |
+# 'inputs': [ 'input_path1', 'input_path2' ], |
+# 'input_apk_path': 'relative/path/to/input.apk', |
+# 'output_apk_path': 'relative/path/to/output.apk', |
+# }, |
+# 'includes': [ '../../build/android/finalize_apk.gypi' ], |
+# }, |
+# |
+ |
+{ |
+ 'message': 'Signing/aligning <(_target_name) APK: <(input_apk_path).', |
+ 'variables': { |
+ 'inputs': [], |
+ 'keystore_path%': '<(DEPTH)/build/android/ant/chromium-debug.keystore', |
+ }, |
+ 'inputs': [ |
+ '<(DEPTH)/build/android/gyp/util/build_utils.py', |
+ '<(DEPTH)/build/android/gyp/finalize_apk.py', |
+ '<(keystore_path)', |
+ '<(input_apk_path)', |
+ '>@(inputs)', |
+ ], |
+ 'outputs': [ |
+ '<(output_apk_path)', |
+ ], |
+ 'action': [ |
+ 'python', '<(DEPTH)/build/android/gyp/finalize_apk.py', |
+ '--android-sdk-root=<(android_sdk_root)', |
+ '--unsigned-apk-path=<(input_apk_path)', |
+ '--final-apk-path=<(output_apk_path)', |
+ '--keystore-path=<(keystore_path)', |
+ |
+ # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. |
+ '--ignore=>!(echo \'>(_inputs)\' | md5sum)', |
+ ], |
+} |
Property changes on: build/android/finalize_apk_action.gypi |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |