Chromium Code Reviews| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 53 'action': [ | 53 'action': [ |
| 54 'ant', | 54 'ant', |
| 55 '-DPRODUCT_DIR=<(ant_build_out)', | 55 '-DPRODUCT_DIR=<(ant_build_out)', |
| 56 '-DPACKAGE_NAME=<(package_name)', | 56 '-DPACKAGE_NAME=<(package_name)', |
| 57 '-DINPUT_JARS_PATHS=>(input_jars_paths)', | 57 '-DINPUT_JARS_PATHS=>(input_jars_paths)', |
| 58 '-DADDITIONAL_SRC_DIRS=>(additional_src_dirs)', | 58 '-DADDITIONAL_SRC_DIRS=>(additional_src_dirs)', |
| 59 '-DANDROID_SDK=<(android_sdk)', | 59 '-DANDROID_SDK=<(android_sdk)', |
| 60 '-DANDROID_SDK_ROOT=<(android_sdk_root)', | 60 '-DANDROID_SDK_ROOT=<(android_sdk_root)', |
| 61 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | 61 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', |
| 62 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | 62 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
| 63 '-DANDROID_TOOLCHAIN=<(android_toolchain)', | 63 '-DANDROID_TOOLCHAIN=<(android_toolchain)', |
|
Yaron
2012/08/25 00:14:14
Why is ANDROID_TOOLCHAIN still specified? Is this
michaelbai
2012/08/29 19:26:52
Removed
On 2012/08/25 00:14:14, Yaron wrote:
| |
| 64 '-DANDROID_GDBSERVER=<(android_gdbserver)', | |
| 64 '-Dbasedir=<(java_in_dir)', | 65 '-Dbasedir=<(java_in_dir)', |
| 65 '-buildfile', | 66 '-buildfile', |
| 66 '<(DEPTH)/build/android/ant/chromium-jars.xml' | 67 '<(DEPTH)/build/android/ant/chromium-jars.xml' |
| 67 ] | 68 ] |
| 68 }, | 69 }, |
| 69 ], | 70 ], |
| 70 } | 71 } |
| OLD | NEW |