Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
| 6 'conditions': [ | 6 'conditions': [ |
| 7 ['OS=="android"', { | 7 ['OS=="android"', { |
| 8 # TODO(mef): Consider moving all Cronet Android targets into separate | 8 # TODO(mef): Consider moving all Cronet Android targets into separate |
| 9 # file. Also figure out what needs to be done for gn script. | 9 # file. Also figure out what needs to be done for gn script. |
| 10 'targets': [ | 10 'targets': [ |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 133 'inputs': ['<(SHARED_LIB_DIR)/<(native_lib)'], | 133 'inputs': ['<(SHARED_LIB_DIR)/<(native_lib)'], |
| 134 'outputs': ['<(package_dir)/libs/<(android_app_abi)/<(native_lib)' ], | 134 'outputs': ['<(package_dir)/libs/<(android_app_abi)/<(native_lib)' ], |
| 135 'action': [ | 135 'action': [ |
| 136 '<(android_strip)', | 136 '<(android_strip)', |
| 137 '--strip-unneeded', | 137 '--strip-unneeded', |
| 138 '<@(_inputs)', | 138 '<@(_inputs)', |
| 139 '-o', | 139 '-o', |
| 140 '<@(_outputs)', | 140 '<@(_outputs)', |
| 141 ], | 141 ], |
| 142 }, | 142 }, |
| 143 { | |
| 144 'action_name': 'generate licenses', | |
| 145 'inputs': ['cronet/tools/cronet_licenses.py'] , | |
| 146 'outputs': ['<(package_dir)/LICENSE'], | |
| 147 'action': [ | |
| 148 'python', | |
| 149 '<@(_inputs)', | |
| 150 'license', | |
| 151 '<@(_outputs)', | |
| 152 ], | |
| 153 }, | |
| 143 ], | 154 ], |
| 144 'copies': [ | 155 'copies': [ |
| 145 { | 156 { |
| 157 'destination': '<(package_dir)', | |
| 158 'files': [ | |
| 159 '../AUTHORS', | |
| 160 '../chrome/VERSION', | |
| 161 ], | |
| 162 }, | |
| 163 { | |
| 146 'destination': '<(package_dir)/libs', | 164 'destination': '<(package_dir)/libs', |
| 147 'files': [ | 165 'files': [ |
| 148 '<(PRODUCT_DIR)/lib.java/<(java_lib)', | 166 '<(PRODUCT_DIR)/lib.java/<(java_lib)', |
| 149 '<(PRODUCT_DIR)/lib.java/base_java.jar', | 167 '<(PRODUCT_DIR)/lib.java/base_java.jar', |
| 150 '<(PRODUCT_DIR)/lib.java/net_java.jar', | 168 '<(PRODUCT_DIR)/lib.java/net_java.jar', |
| 169 '<(PRODUCT_DIR)/lib.java/url_java.jar', | |
|
mef
2014/05/19 21:38:03
I'd like to combine all these jars into one 'crone
| |
| 151 ], | 170 ], |
| 152 }, | 171 }, |
| 153 ], | 172 ], |
| 154 }, | 173 }, |
| 155 { | 174 { |
| 156 'target_name': 'cronet_sample_apk', | 175 'target_name': 'cronet_sample_apk', |
| 157 'type': 'none', | 176 'type': 'none', |
| 158 'dependencies': [ | 177 'dependencies': [ |
| 159 'cronet', | 178 'cronet', |
| 160 ], | 179 ], |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 196 'java_in_dir': 'cronet/android/sample/javatests', | 215 'java_in_dir': 'cronet/android/sample/javatests', |
| 197 'resource_dir': 'cronet/android/sample/res', | 216 'resource_dir': 'cronet/android/sample/res', |
| 198 'is_test_apk': 1, | 217 'is_test_apk': 1, |
| 199 }, | 218 }, |
| 200 'includes': [ '../build/java_apk.gypi' ], | 219 'includes': [ '../build/java_apk.gypi' ], |
| 201 }, | 220 }, |
| 202 ], | 221 ], |
| 203 }], # OS=="android" | 222 }], # OS=="android" |
| 204 ], | 223 ], |
| 205 } | 224 } |
| OLD | NEW |