| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 ], | 238 ], |
| 239 'outputs': [ | 239 'outputs': [ |
| 240 '<(dex_path)', | 240 '<(dex_path)', |
| 241 ], | 241 ], |
| 242 'action': [ | 242 'action': [ |
| 243 'python', '<(DEPTH)/build/android/dex.py', | 243 'python', '<(DEPTH)/build/android/dex.py', |
| 244 '--dex-path=<(dex_path)', | 244 '--dex-path=<(dex_path)', |
| 245 '--android-sdk-root=<(android_sdk_root)', | 245 '--android-sdk-root=<(android_sdk_root)', |
| 246 | 246 |
| 247 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja
. | 247 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja
. |
| 248 '--ignore=>!(echo >(_inputs) | md5sum)', | 248 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', |
| 249 | 249 |
| 250 '<(jar_path)', | 250 '<(jar_path)', |
| 251 ] | 251 ] |
| 252 }, | 252 }, |
| 253 | 253 |
| 254 ], | 254 ], |
| 255 } | 255 } |
| OLD | NEW |