Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: build/java_apk.gypi

Issue 1399273002: [Android] Add a configurable environment for devil/. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed: more non-default directory handling, especially for gyp_managed_install Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 'action': [ 529 'action': [
530 'python', '<(DEPTH)/build/android/gyp/create_device_library_link s.py', 530 'python', '<(DEPTH)/build/android/gyp/create_device_library_link s.py',
531 '--build-device-configuration=<(build_device_config_path)', 531 '--build-device-configuration=<(build_device_config_path)',
532 '--libraries=@FileArg(<(ordered_libraries_file):libraries)', 532 '--libraries=@FileArg(<(ordered_libraries_file):libraries)',
533 '--script-host-path=<(symlink_script_host_path)', 533 '--script-host-path=<(symlink_script_host_path)',
534 '--script-device-path=<(symlink_script_device_path)', 534 '--script-device-path=<(symlink_script_device_path)',
535 '--target-dir=<(device_library_dir)', 535 '--target-dir=<(device_library_dir)',
536 '--apk=<(incomplete_apk_path)', 536 '--apk=<(incomplete_apk_path)',
537 '--stamp=<(link_stamp)', 537 '--stamp=<(link_stamp)',
538 '--configuration-name=<(CONFIGURATION_NAME)', 538 '--configuration-name=<(CONFIGURATION_NAME)',
539 '--output-directory=<(PRODUCT_DIR)',
539 ], 540 ],
540 }, 541 },
541 ], 542 ],
542 'conditions': [ 543 'conditions': [
543 ['create_standalone_apk == 1', { 544 ['create_standalone_apk == 1', {
544 'actions': [ 545 'actions': [
545 { 546 {
546 'action_name': 'create standalone APK', 547 'action_name': 'create standalone APK',
547 'variables': { 548 'variables': {
548 'inputs': [ 549 'inputs': [
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 ], 677 ],
677 'outputs': [ 678 'outputs': [
678 '<(apk_install_record)', 679 '<(apk_install_record)',
679 ], 680 ],
680 'action': [ 681 'action': [
681 'python', '<(DEPTH)/build/android/gyp/apk_install.py', 682 'python', '<(DEPTH)/build/android/gyp/apk_install.py',
682 '--build-device-configuration=<(build_device_config_path)', 683 '--build-device-configuration=<(build_device_config_path)',
683 '--install-record=<(apk_install_record)', 684 '--install-record=<(apk_install_record)',
684 '--configuration-name=<(CONFIGURATION_NAME)', 685 '--configuration-name=<(CONFIGURATION_NAME)',
685 '--android-sdk-tools', '<(android_sdk_tools)', 686 '--android-sdk-tools', '<(android_sdk_tools)',
687 '--output-directory', '<(PRODUCT_DIR)',
686 ], 688 ],
687 'conditions': [ 689 'conditions': [
688 ['create_abi_split == 1', { 690 ['create_abi_split == 1', {
689 'inputs': [ 691 'inputs': [
690 '<(final_apk_path)', 692 '<(final_apk_path)',
691 ], 693 ],
692 'action': [ 694 'action': [
693 '--apk-path=<(final_apk_path)', 695 '--apk-path=<(final_apk_path)',
694 '--split-apk-path=<(incomplete_apk_path)', 696 '--split-apk-path=<(incomplete_apk_path)',
695 ], 697 ],
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 'native_libs_dir': '<(apk_package_native_libs_dir)', 1152 'native_libs_dir': '<(apk_package_native_libs_dir)',
1151 }, { 1153 }, {
1152 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', 1154 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res',
1153 }], 1155 }],
1154 ], 1156 ],
1155 }, 1157 },
1156 'includes': ['android/apkbuilder_action.gypi'], 1158 'includes': ['android/apkbuilder_action.gypi'],
1157 }, 1159 },
1158 ], 1160 ],
1159 } 1161 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698