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 Java in a consistent manner. | 6 # to build Java 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_java', | 10 # 'target_name': 'my-package_java', |
(...skipping 11 matching lines...) Expand all Loading... |
22 # | 22 # |
23 # base/android/java/base.xml | 23 # base/android/java/base.xml |
24 # base/android/java/org/chromium/base/Foo.java | 24 # base/android/java/org/chromium/base/Foo.java |
25 # base/android/java/org/chromium/base/Bar.java | 25 # base/android/java/org/chromium/base/Bar.java |
26 # | 26 # |
27 # Finally, the generated jar-file will be: | 27 # Finally, the generated jar-file will be: |
28 # <(PRODUCT_DIR)/lib.java/chromium_base.jar | 28 # <(PRODUCT_DIR)/lib.java/chromium_base.jar |
29 | 29 |
30 { | 30 { |
31 'dependencies': [ | 31 'dependencies': [ |
32 '<(DEPTH)/build/all_android.gyp:build_output_dirs' | 32 '<(DEPTH)/build/build_output_dirs_android.gyp:build_output_dirs' |
33 ], | 33 ], |
34 'direct_dependent_settings': { | 34 'direct_dependent_settings': { |
35 'variables': { | 35 'variables': { |
36 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_<(package_name).jar
'], | 36 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_<(package_name).jar
'], |
37 }, | 37 }, |
38 }, | 38 }, |
39 'variables': { | 39 'variables': { |
40 'input_jars_paths': [], | 40 'input_jars_paths': [], |
41 'additional_src_dirs': [], | 41 'additional_src_dirs': [], |
42 }, | 42 }, |
(...skipping 21 matching lines...) Expand all Loading... |
64 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | 64 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', |
65 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | 65 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
66 '-DANDROID_GDBSERVER=<(android_gdbserver)', | 66 '-DANDROID_GDBSERVER=<(android_gdbserver)', |
67 '-Dbasedir=<(java_in_dir)', | 67 '-Dbasedir=<(java_in_dir)', |
68 '-buildfile', | 68 '-buildfile', |
69 '<(DEPTH)/build/android/ant/chromium-jars.xml' | 69 '<(DEPTH)/build/android/ant/chromium-jars.xml' |
70 ] | 70 ] |
71 }, | 71 }, |
72 ], | 72 ], |
73 } | 73 } |
OLD | NEW |