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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 '<!@(find shell/android/res -name "*")', | 628 '<!@(find shell/android/res -name "*")', |
629 '>@(input_jars_paths)', | 629 '>@(input_jars_paths)', |
630 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak', | 630 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak', |
631 '<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/libcontent
_shell_content_view.so', | 631 '<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/libcontent
_shell_content_view.so', |
632 ], | 632 ], |
633 'outputs': [ | 633 'outputs': [ |
634 # Awkwardly, we build a Debug APK even when gyp is in | 634 # Awkwardly, we build a Debug APK even when gyp is in |
635 # Release mode. I don't think it matters (e.g. we're | 635 # Release mode. I don't think it matters (e.g. we're |
636 # probably happy to not codesign) but naming should be | 636 # probably happy to not codesign) but naming should be |
637 # fixed. | 637 # fixed. |
638 '<(PRODUCT_DIR)/content_shell/ContentShell-debug.apk', | 638 '<(PRODUCT_DIR)/apks/ContentShell-debug.apk', |
639 ], | 639 ], |
640 'action': [ | 640 'action': [ |
641 # Pass the build type to ant. Currently it only assumes | 641 # Pass the build type to ant. Currently it only assumes |
642 # debug mode in java. Release mode will break the current | 642 # debug mode in java. Release mode will break the current |
643 # workflow. | 643 # workflow. |
644 'ant', | 644 'ant', |
645 '-DPRODUCT_DIR=<(ant_build_out)', | 645 '-DPRODUCT_DIR=<(ant_build_out)', |
646 '-DAPP_ABI=<(android_app_abi)', | 646 '-DAPP_ABI=<(android_app_abi)', |
647 '-DANDROID_SDK=<(android_sdk)', | 647 '-DANDROID_SDK=<(android_sdk)', |
648 '-DANDROID_SDK_ROOT=<(android_sdk_root)', | 648 '-DANDROID_SDK_ROOT=<(android_sdk_root)', |
649 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | 649 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', |
650 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | 650 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
651 '-DANDROID_GDBSERVER=<(android_gdbserver)', | 651 '-DANDROID_GDBSERVER=<(android_gdbserver)', |
652 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)', | 652 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)', |
653 '-DINPUT_JARS_PATHS=>(input_jars_paths)', | 653 '-DINPUT_JARS_PATHS=>(input_jars_paths)', |
| 654 '-DCHROMIUM_SRC=<(ant_build_out)/../..', |
654 '-buildfile', | 655 '-buildfile', |
655 'shell/android/java/content_shell_apk.xml', | 656 'shell/android/java/content_shell_apk.xml', |
656 ], | 657 ], |
657 } | 658 } |
658 ], | 659 ], |
659 }, | 660 }, |
660 ], | 661 ], |
661 }], # OS=="android" | 662 }], # OS=="android" |
662 ] | 663 ] |
663 } | 664 } |
OLD | NEW |