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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'test_support_content', | 8 'target_name': 'test_support_content', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'defines!': ['CONTENT_IMPLEMENTATION'], | 10 'defines!': ['CONTENT_IMPLEMENTATION'], |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 }], | 766 }], |
767 # Special target to wrap a gtest_target_type==shared_library | 767 # Special target to wrap a gtest_target_type==shared_library |
768 # content_unittests into an android apk for execution. | 768 # content_unittests into an android apk for execution. |
769 # See base.gyp for TODO(jrg)s about this strategy. | 769 # See base.gyp for TODO(jrg)s about this strategy. |
770 ['OS == "android" and gtest_target_type == "shared_library"', { | 770 ['OS == "android" and gtest_target_type == "shared_library"', { |
771 'targets': [ | 771 'targets': [ |
772 { | 772 { |
773 'target_name': 'content_unittests_apk', | 773 'target_name': 'content_unittests_apk', |
774 'type': 'none', | 774 'type': 'none', |
775 'dependencies': [ | 775 'dependencies': [ |
776 '../base/base.gyp:base_java', | |
777 '../net/net.gyp:net_java', | |
778 'content_java', | 776 'content_java', |
779 'content_unittests', | 777 'content_unittests', |
780 ], | 778 ], |
781 'variables': { | 779 'variables': { |
782 'test_suite_name': 'content_unittests', | 780 'test_suite_name': 'content_unittests', |
783 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', | 781 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', |
784 }, | 782 }, |
785 'includes': [ '../build/apk_test.gypi' ], | 783 'includes': [ '../build/apk_test.gypi' ], |
786 }, | 784 }, |
787 ], | 785 ], |
788 }], | 786 }], |
789 ['OS == "android"', { | 787 ['OS == "android"', { |
790 'targets': [ | 788 'targets': [ |
791 { | 789 { |
792 'target_name': 'content_javatests', | 790 'target_name': 'content_javatests', |
793 'type': 'none', | 791 'type': 'none', |
794 'dependencies': [ | 792 'dependencies': [ |
795 '../base/base.gyp:base_java', | 793 '../base/base.gyp:base', |
796 '../base/base.gyp:base_java_test_support', | 794 '../base/base.gyp:base_java_test_support', |
797 'content_common', | 795 'content_common', |
798 'content_java', | 796 'content_java', |
799 ], | 797 ], |
800 'variables': { | 798 'variables': { |
801 'package_name': 'content_javatests', | 799 'package_name': 'content_javatests', |
802 'java_in_dir': '../content/public/android/javatests', | 800 'java_in_dir': '../content/public/android/javatests', |
803 }, | 801 }, |
804 'includes': [ '../build/java.gypi' ], | 802 'includes': [ '../build/java.gypi' ], |
805 }, | 803 }, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 '-buildfile', | 847 '-buildfile', |
850 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', | 848 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
851 ] | 849 ] |
852 } | 850 } |
853 ], | 851 ], |
854 }, | 852 }, |
855 ], | 853 ], |
856 }], | 854 }], |
857 ], | 855 ], |
858 } | 856 } |
OLD | NEW |