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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 # Awkwardly, we build a Debug APK even when gyp is in | 636 # Awkwardly, we build a Debug APK even when gyp is in |
637 # Release mode. I don't think it matters (e.g. we're | 637 # Release mode. I don't think it matters (e.g. we're |
638 # probably happy to not codesign) but naming should be | 638 # probably happy to not codesign) but naming should be |
639 # fixed. | 639 # fixed. |
640 '<(PRODUCT_DIR)/content_shell/ContentShell-debug.apk', | 640 '<(PRODUCT_DIR)/content_shell/ContentShell-debug.apk', |
641 ], | 641 ], |
642 'action': [ | 642 'action': [ |
643 # Pass the build type to ant. Currently it only assumes | 643 # Pass the build type to ant. Currently it only assumes |
644 # debug mode in java. Release mode will break the current | 644 # debug mode in java. Release mode will break the current |
645 # workflow. | 645 # workflow. |
646 # 'shell/content_shell_ant_helper.sh', | 646 'shell/content_shell_ant_helper.sh', |
647 'ant', | 647 'ant', |
648 '-DPRODUCT_DIR=<(ant_build_out)', | 648 '-DPRODUCT_DIR=<(ant_build_out)', |
649 '-DAPP_ABI=<(android_app_abi)', | 649 '-DAPP_ABI=<(android_app_abi)', |
650 '-DANDROID_SDK=<(android_sdk)', | 650 '-DANDROID_SDK=<(android_sdk)', |
651 '-DANDROID_SDK_ROOT=<(android_sdk_root)', | 651 '-DANDROID_SDK_ROOT=<(android_sdk_root)', |
652 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | 652 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', |
653 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | 653 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
654 '-DANDROID_TOOLCHAIN=<(android_toolchain)', | 654 '-DANDROID_TOOLCHAIN=<(android_toolchain)', |
655 '-buildfile', | 655 '-buildfile', |
656 'shell/android/java/content_shell_apk.xml', | 656 'shell/android/java/content_shell_apk.xml', |
657 # '<(CONFIGURATION_NAME)', | 657 '<(CONFIGURATION_NAME)', |
658 ], | 658 ], |
659 'dependencies': [ | 659 'dependencies': [ |
660 'content_java', | 660 'content_java', |
661 ], | 661 ], |
662 } | 662 } |
663 ], | 663 ], |
664 }, | 664 }, |
665 ], | 665 ], |
666 }], # OS=="android" | 666 }], # OS=="android" |
667 ] | 667 ] |
668 } | 668 } |
OLD | NEW |