# 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': { # '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': { 'keystore_path%': '<(DEPTH)/build/android/ant/chromium-debug.keystore', 'keystore_name%': 'chromiumdebugkey', 'keystore_password%': 'chromium', 'conditions': [ # Webview doesn't use zipalign or rezip. ['android_webview_build==0', { 'zipalign_path%': ['