OLD | NEW |
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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 ['native_lib_target != ""', { | 853 ['native_lib_target != ""', { |
854 'inputs': [ '<(native_libraries_java_stamp)' ], | 854 'inputs': [ '<(native_libraries_java_stamp)' ], |
855 }], | 855 }], |
856 ], | 856 ], |
857 'outputs': [ | 857 'outputs': [ |
858 '<(compile_stamp)', | 858 '<(compile_stamp)', |
859 '<(javac_jar_path)', | 859 '<(javac_jar_path)', |
860 ], | 860 ], |
861 'action': [ | 861 'action': [ |
862 'python', '<(DEPTH)/build/android/gyp/javac.py', | 862 'python', '<(DEPTH)/build/android/gyp/javac.py', |
| 863 '--bootclasspath=<(android_sdk_jar)', |
863 '--classpath=>(input_jars_paths) <(android_sdk_jar)', | 864 '--classpath=>(input_jars_paths) <(android_sdk_jar)', |
864 '--src-gendirs=>(gen_src_dirs)', | 865 '--src-gendirs=>(gen_src_dirs)', |
865 '--javac-includes=<(javac_includes)', | 866 '--javac-includes=<(javac_includes)', |
866 '--chromium-code=<(chromium_code)', | 867 '--chromium-code=<(chromium_code)', |
867 '--jar-path=<(javac_jar_path)', | 868 '--jar-path=<(javac_jar_path)', |
868 '--jar-excluded-classes=<(jar_excluded_classes)', | 869 '--jar-excluded-classes=<(jar_excluded_classes)', |
869 '--stamp=<(compile_stamp)', | 870 '--stamp=<(compile_stamp)', |
870 '<@(extra_args)', | 871 '<@(extra_args)', |
871 '>@(java_sources)', | 872 '>@(java_sources)', |
872 ], | 873 ], |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1053 'native_libs_dir': '<(apk_package_native_libs_dir)', | 1054 'native_libs_dir': '<(apk_package_native_libs_dir)', |
1054 }, { | 1055 }, { |
1055 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 1056 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
1056 }], | 1057 }], |
1057 ], | 1058 ], |
1058 }, | 1059 }, |
1059 'includes': ['android/apkbuilder_action.gypi'], | 1060 'includes': ['android/apkbuilder_action.gypi'], |
1060 }, | 1061 }, |
1061 ], | 1062 ], |
1062 } | 1063 } |
OLD | NEW |