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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
551 ], | 551 ], |
552 'conditions': [ | 552 'conditions': [ |
553 ['android_build_type==1', { | 553 ['android_build_type==1', { |
554 'ldflags': [ | 554 'ldflags': [ |
555 '-lgabi++', # For rtti | 555 '-lgabi++', # For rtti |
556 ], | 556 ], |
557 }], | 557 }], |
558 ], | 558 ], |
559 }, | 559 }, |
560 { | 560 { |
561 'target_name': 'content_javatests', | |
Ted C
2012/07/24 21:01:28
any reason why this doesn't live within content_te
Yusuf
2012/07/24 22:37:56
I think the reason was to keep this target and the
Yaron
2012/07/24 23:28:22
I tend to agree that this should be in content_tes
| |
562 'type': 'none', | |
563 'dependencies': [ | |
564 '../base/base.gyp:base_java', | |
565 '../base/base.gyp:base_javatests', | |
566 'content_common', | |
567 'content_java', | |
568 ], | |
569 'variables': { | |
570 'package_name': 'content_javatests', | |
571 'java_in_dir': '../content/public/android/javatests', | |
572 }, | |
573 'includes': [ '../build/java.gypi' ], | |
574 }, | |
575 { | |
561 'target_name': 'content_shell_apk', | 576 'target_name': 'content_shell_apk', |
562 'type': 'none', | 577 'type': 'none', |
563 'actions': [ | 578 'actions': [ |
564 { | 579 { |
565 'action_name': 'copy_base_jar', | 580 'action_name': 'copy_base_jar', |
566 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar'], | 581 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar'], |
567 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_base. jar'], | 582 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_base. jar'], |
568 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | 583 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
569 }, | 584 }, |
570 { | 585 { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
631 '<(CONFIGURATION_NAME)', | 646 '<(CONFIGURATION_NAME)', |
632 ] | 647 ] |
633 } | 648 } |
634 ], | 649 ], |
635 }, | 650 }, |
636 { | 651 { |
637 'target_name': 'content_shell_test_apk', | 652 'target_name': 'content_shell_test_apk', |
638 'type': 'none', | 653 'type': 'none', |
639 'dependencies': [ | 654 'dependencies': [ |
640 'content_shell_apk', | 655 'content_shell_apk', |
656 'content_javatests', | |
657 '../tools/android/forwarder/forwarder.gyp:forwarder', | |
641 ], | 658 ], |
642 'actions': [ | 659 'actions': [ |
643 { | 660 { |
661 'action_name': 'copy_base_javatests_jar', | |
662 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base_javatests.jar'], | |
663 'outputs': ['<(PRODUCT_DIR)/content_shell_test/java/libs/chromium_ base_javatests.jar'], | |
664 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | |
665 }, | |
666 { | |
667 'action_name': 'copy_content_javatests_jar', | |
668 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_content_javatests.jar '], | |
669 'outputs': ['<(PRODUCT_DIR)/content_shell_test/java/libs/chromium_ content_javatests.jar'], | |
670 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | |
671 }, | |
672 { | |
644 'action_name': 'content_shell_test_generate_apk', | 673 'action_name': 'content_shell_test_generate_apk', |
645 'inputs': [ | 674 'inputs': [ |
646 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', | 675 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', |
647 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', | 676 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', |
648 ], | 677 ], |
649 'outputs': [ | 678 'outputs': [ |
650 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', | 679 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', |
651 ], | 680 ], |
652 'action': [ | 681 'action': [ |
653 'ant', | 682 'ant', |
654 '-DPRODUCT_DIR=<(ant_build_out)', | 683 '-DPRODUCT_DIR=<(ant_build_out)', |
655 '-DAPP_ABI=<(android_app_abi)', | 684 '-DAPP_ABI=<(android_app_abi)', |
656 '-buildfile', | 685 '-buildfile', |
657 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', | 686 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', |
658 ] | 687 ] |
659 } | 688 } |
660 ], | 689 ], |
661 }, | 690 }, |
662 ], | 691 ], |
663 }], # OS=="android" | 692 }], # OS=="android" |
664 ] | 693 ] |
665 } | 694 } |
OLD | NEW |