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

Side by Side Diff: build/java_apk.gypi

Issue 383613002: Make android_apk template actually create an apk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-apk-dex
Patch Set: Created 6 years, 4 months 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to build Android APKs in a consistent manner. 6 # to build Android APKs in a consistent manner.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # { 9 # {
10 # 'target_name': 'my_package_apk', 10 # 'target_name': 'my_package_apk',
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 '<(obfuscate_stamp)', 860 '<(obfuscate_stamp)',
861 '<(resource_packaged_apk_path)', 861 '<(resource_packaged_apk_path)',
862 '>@(package_input_paths)', 862 '>@(package_input_paths)',
863 '>(inputs_list_file)', 863 '>(inputs_list_file)',
864 ], 864 ],
865 'outputs': [ 865 'outputs': [
866 '<(unsigned_apk_path)', 866 '<(unsigned_apk_path)',
867 ], 867 ],
868 'action': [ 868 'action': [
869 'python', '<(DEPTH)/build/android/gyp/ant.py', 869 'python', '<(DEPTH)/build/android/gyp/ant.py',
870 '--',
newt (away) 2014/07/30 21:23:14 why "--" ?
cjhopman 2014/07/31 22:15:05 Python's optparse will discard a "--" and stop pro
870 '-quiet', 871 '-quiet',
872 '-DDEX_FILE_PATH=<(intermediate_dir)/classes.dex',
871 '-DANDROID_SDK_ROOT=<(android_sdk_root)', 873 '-DANDROID_SDK_ROOT=<(android_sdk_root)',
872 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', 874 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
873 '-DRESOURCE_PACKAGED_APK_NAME=<(resource_packaged_apk_name)', 875 '-DRESOURCE_PACKAGED_APK_NAME=<(resource_packaged_apk_name)',
874 '-DAPK_NAME=<(apk_name)', 876 '-DAPK_NAME=<(apk_name)',
875 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)', 877 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)',
876 '-DNATIVE_LIBS_DIR=<(apk_package_native_libs_dir)', 878 '-DNATIVE_LIBS_DIR=<(apk_package_native_libs_dir)',
877 '-DOUT_DIR=<(intermediate_dir)', 879 '-DOUT_DIR=<(intermediate_dir)',
878 '-DUNSIGNED_APK_PATH=<(unsigned_apk_path)', 880 '-DUNSIGNED_APK_PATH=<(unsigned_apk_path)',
879 '-DEMMA_INSTRUMENT=<(emma_instrument)', 881 '-DEMMA_INSTRUMENT=<(emma_instrument)',
880 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', 882 '-DEMMA_DEVICE_JAR=<(emma_device_jar)',
881 883
882 '-Dbasedir=.', 884 '-Dbasedir=.',
883 '-buildfile', 885 '-buildfile',
884 '<(DEPTH)/build/android/ant/apk-package.xml', 886 '<(DEPTH)/build/android/ant/apk-package.xml',
885 ] 887 ]
886 }, 888 },
887 ], 889 ],
888 } 890 }
OLDNEW
« build/config/android/rules.gni ('K') | « build/config/android/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698