| 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 package prebuilt Java JARs in a consistent manner. | 6 # to package prebuilt Java JARs 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 29 matching lines...) Expand all Loading... |
| 40 '<(DEPTH)/build/android/gyp/dex.py', | 40 '<(DEPTH)/build/android/gyp/dex.py', |
| 41 '<(jar_path)', | 41 '<(jar_path)', |
| 42 ], | 42 ], |
| 43 'outputs': [ | 43 'outputs': [ |
| 44 '<(dex_path)', | 44 '<(dex_path)', |
| 45 ], | 45 ], |
| 46 'action': [ | 46 'action': [ |
| 47 'python', '<(DEPTH)/build/android/gyp/dex.py', | 47 'python', '<(DEPTH)/build/android/gyp/dex.py', |
| 48 '--dex-path=<(dex_path)', | 48 '--dex-path=<(dex_path)', |
| 49 '--android-sdk-root=<(android_sdk_root)', | 49 '--android-sdk-root=<(android_sdk_root)', |
| 50 '--android-sdk-build-tools=<(android_sdk_build_tools)', |
| 50 | 51 |
| 51 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja
. | 52 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja
. |
| 52 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', | 53 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', |
| 53 | 54 |
| 54 '<(jar_path)', | 55 '<(jar_path)', |
| 55 ] | 56 ] |
| 56 }, | 57 }, |
| 57 | 58 |
| 58 ], | 59 ], |
| 59 } | 60 } |
| OLD | NEW |