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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
560 '<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/libcontent _shell_content_view.so', | 560 '<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/libcontent _shell_content_view.so', |
561 ], | 561 ], |
562 'outputs': [ | 562 'outputs': [ |
563 # Awkwardly, we build a Debug APK even when gyp is in | 563 # Awkwardly, we build a Debug APK even when gyp is in |
564 # Release mode. I don't think it matters (e.g. we're | 564 # Release mode. I don't think it matters (e.g. we're |
565 # probably happy to not codesign) but naming should be | 565 # probably happy to not codesign) but naming should be |
566 # fixed. | 566 # fixed. |
567 '<(PRODUCT_DIR)/ContentShell-debug.apk', | 567 '<(PRODUCT_DIR)/ContentShell-debug.apk', |
568 ], | 568 ], |
569 'action': [ | 569 'action': [ |
570 # Pass the build type to ant. Currently it only assumes | |
571 # debug mode in java. Release mode will break the current | |
572 # workflow. | |
573 'shell/content_shell_ant_helper.sh', | |
570 'ant', | 574 'ant', |
571 '-DPRODUCT_DIR=<(ant_build_out)', | 575 '-DPRODUCT_DIR=<(ant_build_out)', |
572 '-DAPP_ABI=<(android_app_abi)', | 576 '-DAPP_ABI=<(android_app_abi)', |
573 '-buildfile', | 577 '-buildfile', |
574 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | 578 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
Mark Mentovai
2012/07/12 13:39:42
Well when you took the <(DEPTH) out above, you cou
| |
579 '<(CONFIGURATION_NAME)', | |
575 ] | 580 ] |
576 } | 581 } |
577 ], | 582 ], |
578 }, | 583 }, |
579 ], | 584 ], |
580 }], # OS=="android" | 585 }], # OS=="android" |
581 ] | 586 ] |
582 } | 587 } |
OLD | NEW |