| 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 ], | 539 ], |
| 540 'conditions': [ | 540 'conditions': [ |
| 541 ['android_build_type==1', { | 541 ['android_build_type==1', { |
| 542 'ldflags': [ | 542 'ldflags': [ |
| 543 '-lgabi++', # For rtti | 543 '-lgabi++', # For rtti |
| 544 ], | 544 ], |
| 545 }], | 545 }], |
| 546 ], | 546 ], |
| 547 }, | 547 }, |
| 548 { | 548 { |
| 549 'target_name': 'content_javatests', |
| 550 'type': 'none', |
| 551 'dependencies': [ |
| 552 '../base/base.gyp:base_java', |
| 553 '../base/base.gyp:base_javatests', |
| 554 'content_common', |
| 555 ], |
| 556 'variables': { |
| 557 'package_name': 'content_javatests', |
| 558 'java_in_dir': '../content/public/android/javatests', |
| 559 }, |
| 560 'includes': [ '../build/java.gypi' ], |
| 561 }, |
| 562 { |
| 549 'target_name': 'content_shell_apk', | 563 'target_name': 'content_shell_apk', |
| 550 'type': 'none', | 564 'type': 'none', |
| 551 'actions': [ | 565 'actions': [ |
| 552 { | 566 { |
| 553 'action_name': 'copy_base_jar', | 567 'action_name': 'copy_base_jar', |
| 554 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar'], | 568 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar'], |
| 555 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.
jar'], | 569 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.
jar'], |
| 556 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | 570 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
| 557 }, | 571 }, |
| 558 { | 572 { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 # '<(CONFIGURATION_NAME)', | 633 # '<(CONFIGURATION_NAME)', |
| 620 ] | 634 ] |
| 621 } | 635 } |
| 622 ], | 636 ], |
| 623 }, | 637 }, |
| 624 { | 638 { |
| 625 'target_name': 'content_shell_test_apk', | 639 'target_name': 'content_shell_test_apk', |
| 626 'type': 'none', | 640 'type': 'none', |
| 627 'dependencies': [ | 641 'dependencies': [ |
| 628 'content_shell_apk', | 642 'content_shell_apk', |
| 643 'content_javatests', |
| 629 ], | 644 ], |
| 630 'actions': [ | 645 'actions': [ |
| 631 { | 646 { |
| 647 'action_name': 'copy_base_javatests_jar', |
| 648 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base_javatests.jar'], |
| 649 'outputs': ['<(PRODUCT_DIR)/content_shell_test/java/libs/chromium_
base_javatests.jar'], |
| 650 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
| 651 }, |
| 652 { |
| 653 'action_name': 'copy_content_javatests_jar', |
| 654 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_content_javatests.jar
'], |
| 655 'outputs': ['<(PRODUCT_DIR)/content_shell_test/java/libs/chromium_
content_javatests.jar'], |
| 656 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
| 657 }, |
| 658 { |
| 632 'action_name': 'content_shell_test_generate_apk', | 659 'action_name': 'content_shell_test_generate_apk', |
| 633 'inputs': [ | 660 'inputs': [ |
| 634 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', | 661 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
| 635 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', | 662 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', |
| 636 ], | 663 ], |
| 637 'outputs': [ | 664 'outputs': [ |
| 638 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', | 665 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', |
| 639 ], | 666 ], |
| 640 'action': [ | 667 'action': [ |
| 641 'ant', | 668 'ant', |
| 642 '-DPRODUCT_DIR=<(ant_build_out)', | 669 '-DPRODUCT_DIR=<(ant_build_out)', |
| 643 '-DAPP_ABI=<(android_app_abi)', | 670 '-DAPP_ABI=<(android_app_abi)', |
| 644 '-buildfile', | 671 '-buildfile', |
| 645 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', | 672 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
| 646 ] | 673 ] |
| 647 } | 674 } |
| 648 ], | 675 ], |
| 649 }, | 676 }, |
| 650 ], | 677 ], |
| 651 }], # OS=="android" | 678 }], # OS=="android" |
| 652 ] | 679 ] |
| 653 } | 680 } |
| OLD | NEW |