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 Android APKs in a consistent manner. | 6 # to build Android APKs 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_apk', | 10 # 'target_name': 'my_package_apk', |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 227 'includes': ['../build/android/strip_native_libraries.gypi'], | 227 'includes': ['../build/android/strip_native_libraries.gypi'], |
| 228 }, | 228 }, |
| 229 ], | 229 ], |
| 230 'conditions': [ | 230 'conditions': [ |
| 231 ['gyp_managed_install == 1', { | 231 ['gyp_managed_install == 1', { |
| 232 'variables': { | 232 'variables': { |
| 233 'libraries_source_dir': '<(intermediate_dir)/lib.stripped/<(android_ app_abi)', | 233 'libraries_source_dir': '<(intermediate_dir)/lib.stripped/<(android_ app_abi)', |
| 234 'device_library_dir': '<(device_intermediate_dir)/lib.stripped', | 234 'device_library_dir': '<(device_intermediate_dir)/lib.stripped', |
| 235 }, | 235 }, |
| 236 'dependencies': [ | 236 'dependencies': [ |
| 237 '<(DEPTH)/tools/android/md5sum/md5sum.gyp:md5sum', | 237 '<(DEPTH)/tools/android/timemodified/timemodified.gyp:timemodified', |
|
frankf
2013/06/20 22:52:38
Let's have a more specific name such 'timechecker'
| |
| 238 ], | 238 ], |
| 239 'actions': [ | 239 'actions': [ |
| 240 { | 240 { |
| 241 'includes': ['../build/android/push_libraries.gypi'], | 241 'includes': ['../build/android/push_libraries.gypi'], |
| 242 }, | 242 }, |
| 243 { | 243 { |
| 244 'action_name': 'create device library symlinks', | 244 'action_name': 'create device library symlinks', |
| 245 'message': 'Creating links on device for <(_target_name).', | 245 'message': 'Creating links on device for <(_target_name).', |
| 246 'inputs': [ | 246 'inputs': [ |
| 247 '<(DEPTH)/build/android/gyp/util/build_utils.py', | 247 '<(DEPTH)/build/android/gyp/util/build_utils.py', |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 600 '--unsigned-apk-path=<(unsigned_apk_path)', | 600 '--unsigned-apk-path=<(unsigned_apk_path)', |
| 601 '--final-apk-path=<(final_apk_path)', | 601 '--final-apk-path=<(final_apk_path)', |
| 602 '--keystore-path=<(keystore_path)', | 602 '--keystore-path=<(keystore_path)', |
| 603 | 603 |
| 604 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. | 604 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. |
| 605 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', | 605 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', |
| 606 ], | 606 ], |
| 607 }, | 607 }, |
| 608 ], | 608 ], |
| 609 } | 609 } |
| OLD | NEW |