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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 'conditions': [ | 429 'conditions': [ |
430 ['gyp_managed_install == 1', { | 430 ['gyp_managed_install == 1', { |
431 'variables': { | 431 'variables': { |
432 'libraries_top_dir': '<(intermediate_dir)/lib.stripped', | 432 'libraries_top_dir': '<(intermediate_dir)/lib.stripped', |
433 'libraries_source_dir': '<(libraries_top_dir)/lib/<(android_app_abi)
', | 433 'libraries_source_dir': '<(libraries_top_dir)/lib/<(android_app_abi)
', |
434 'device_library_dir': '<(device_intermediate_dir)/lib.stripped', | 434 'device_library_dir': '<(device_intermediate_dir)/lib.stripped', |
435 'configuration_name': '<(CONFIGURATION_NAME)', | 435 'configuration_name': '<(CONFIGURATION_NAME)', |
436 }, | 436 }, |
437 'dependencies': [ | 437 'dependencies': [ |
438 '<(DEPTH)/build/android/setup.gyp:get_build_device_configurations', | 438 '<(DEPTH)/build/android/setup.gyp:get_build_device_configurations', |
| 439 '<(DEPTH)/build/android/pylib/device/commands/commands.gyp:chromium_
commands', |
439 ], | 440 ], |
440 'actions': [ | 441 'actions': [ |
441 { | 442 { |
442 'includes': ['../build/android/push_libraries.gypi'], | 443 'includes': ['../build/android/push_libraries.gypi'], |
443 }, | 444 }, |
444 { | 445 { |
445 'action_name': 'create device library symlinks', | 446 'action_name': 'create device library symlinks', |
446 'message': 'Creating links on device for <(_target_name)', | 447 'message': 'Creating links on device for <(_target_name)', |
447 'inputs': [ | 448 'inputs': [ |
448 '<(DEPTH)/build/android/gyp/util/build_utils.py', | 449 '<(DEPTH)/build/android/gyp/util/build_utils.py', |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
912 '-DEMMA_INSTRUMENT=<(emma_instrument)', | 913 '-DEMMA_INSTRUMENT=<(emma_instrument)', |
913 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', | 914 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', |
914 | 915 |
915 '-Dbasedir=.', | 916 '-Dbasedir=.', |
916 '-buildfile', | 917 '-buildfile', |
917 '<(DEPTH)/build/android/ant/apk-package.xml', | 918 '<(DEPTH)/build/android/ant/apk-package.xml', |
918 ] | 919 ] |
919 }, | 920 }, |
920 ], | 921 ], |
921 } | 922 } |
OLD | NEW |