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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 '--classpath=>(input_jars_paths)', | 74 '--classpath=>(input_jars_paths)', |
75 ] | 75 ] |
76 }, | 76 }, |
77 ], | 77 ], |
78 }], | 78 }], |
79 ], | 79 ], |
80 'actions': [ | 80 'actions': [ |
81 { | 81 { |
82 'action_name': 'dex_<(_target_name)', | 82 'action_name': 'dex_<(_target_name)', |
83 'message': 'Dexing <(_target_name) jar', | 83 'message': 'Dexing <(_target_name) jar', |
84 'inputs': [ | 84 'variables': { |
85 '<(DEPTH)/build/android/gyp/util/build_utils.py', | 85 'dex_input_paths': [ |
86 '<(DEPTH)/build/android/gyp/dex.py', | 86 '<(dex_input_jar_path)', |
87 '<(dex_input_jar_path)', | 87 ], |
88 ], | 88 'output_path': '<(dex_path)', |
89 'outputs': [ | 89 }, |
90 '<(dex_path)', | 90 'includes': [ 'android/dex_action.gypi' ], |
91 ], | |
92 'action': [ | |
93 'python', '<(DEPTH)/build/android/gyp/dex.py', | |
94 '--dex-path=<(dex_path)', | |
95 '--android-sdk-tools=<(android_sdk_tools)', | |
96 '<(dex_input_jar_path)', | |
97 ] | |
98 }, | 91 }, |
99 | |
100 ], | 92 ], |
101 } | 93 } |
OLD | NEW |