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 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 }], | 779 }], |
780 # Special target to wrap a gtest_target_type==shared_library | 780 # Special target to wrap a gtest_target_type==shared_library |
781 # content_unittests into an android apk for execution. | 781 # content_unittests into an android apk for execution. |
782 # See base.gyp for TODO(jrg)s about this strategy. | 782 # See base.gyp for TODO(jrg)s about this strategy. |
783 ['OS == "android" and gtest_target_type == "shared_library"', { | 783 ['OS == "android" and gtest_target_type == "shared_library"', { |
784 'targets': [ | 784 'targets': [ |
785 { | 785 { |
786 'target_name': 'content_unittests_apk', | 786 'target_name': 'content_unittests_apk', |
787 'type': 'none', | 787 'type': 'none', |
788 'dependencies': [ | 788 'dependencies': [ |
789 '../base/base.gyp:base_java', | |
790 '../net/net.gyp:net_java', | |
791 'content_java', | 789 'content_java', |
792 'content_unittests', | 790 'content_unittests', |
793 ], | 791 ], |
794 'variables': { | 792 'variables': { |
795 'test_suite_name': 'content_unittests', | 793 'test_suite_name': 'content_unittests', |
796 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', | 794 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', |
797 }, | 795 }, |
798 'includes': [ '../build/apk_test.gypi' ], | 796 'includes': [ '../build/apk_test.gypi' ], |
799 }, | 797 }, |
800 ], | 798 ], |
801 }], | 799 }], |
802 ['OS == "android"', { | 800 ['OS == "android"', { |
803 'targets': [ | 801 'targets': [ |
804 { | 802 { |
805 'target_name': 'content_javatests', | 803 'target_name': 'content_javatests', |
806 'type': 'none', | 804 'type': 'none', |
807 'dependencies': [ | 805 'dependencies': [ |
808 '../base/base.gyp:base_java', | 806 '../base/base.gyp:base', |
809 '../base/base.gyp:base_java_test_support', | 807 '../base/base.gyp:base_java_test_support', |
810 'content_common', | 808 'content_common', |
811 'content_java', | 809 'content_java', |
812 ], | 810 ], |
813 'variables': { | 811 'variables': { |
814 'package_name': 'content_javatests', | 812 'package_name': 'content_javatests', |
815 'java_in_dir': '../content/public/android/javatests', | 813 'java_in_dir': '../content/public/android/javatests', |
816 }, | 814 }, |
817 'includes': [ '../build/java.gypi' ], | 815 'includes': [ '../build/java.gypi' ], |
818 }, | 816 }, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 '-buildfile', | 849 '-buildfile', |
852 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', | 850 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
853 ] | 851 ] |
854 } | 852 } |
855 ], | 853 ], |
856 }, | 854 }, |
857 ], | 855 ], |
858 }], | 856 }], |
859 ], | 857 ], |
860 } | 858 } |
OLD | NEW |