1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # This file is meant to be included into an action to provide an action that
6 # combines a directory of shared libraries and an incomplete APK into a
9 # To use this, create a gyp action with the following form:
11 # 'action_name': 'some descriptive action name',
13 # 'inputs': [ 'input_path1', 'input_path2' ],
14 # 'input_apk_path': '<(unsigned_apk_path)',
15 # 'output_apk_path': '<(unsigned_standalone_apk_path)',
16 # 'libraries_top_dir': '<(libraries_top_dir)',
18 # 'includes': [ 'relative/path/to/create_standalone_apk_action.gypi' ],
22 'message': 'Creating standalone APK: <(output_apk_path)',
27 '<(DEPTH)/build/android/gyp/util/build_utils.py',
28 '<(DEPTH)/build/android/gyp/create_standalone_apk.py',
36 'python', '<(DEPTH)/build/android/gyp/create_standalone_apk.py',
37 '--libraries-top-dir=<(libraries_top_dir)',
38 '--input-apk-path=<(input_apk_path)',
39 '--output-apk-path=<(output_apk_path)',