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 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 'sources!': [ | 811 'sources!': [ |
812 'browser/accessibility/dump_accessibility_tree_browsertest.cc', | 812 'browser/accessibility/dump_accessibility_tree_browsertest.cc', |
813 'browser/accessibility/dump_accessibility_tree_helper.cc', | 813 'browser/accessibility/dump_accessibility_tree_helper.cc', |
814 # These are included via dependency on content_common and hence | 814 # These are included via dependency on content_common and hence |
815 # we get multiple definition errors in a shared library build. | 815 # we get multiple definition errors in a shared library build. |
816 # Other builds need it as the symbols are not exported. | 816 # Other builds need it as the symbols are not exported. |
817 'common/content_constants_internal.cc', | 817 'common/content_constants_internal.cc', |
818 'common/content_constants_internal.h', | 818 'common/content_constants_internal.h', |
819 ], | 819 ], |
820 'sources': [ | 820 'sources': [ |
821 'shell/android/browsertests_apk/content_browser_tests_android.cc
', | 821 'shell/android/shell_library_loader.cc', |
| 822 'shell/android/shell_library_loader.cc', |
| 823 'shell/android/shell_manager.cc', |
| 824 'shell/android/shell_manager.h', |
822 ], | 825 ], |
823 'dependencies': [ | 826 'dependencies': [ |
824 'content_shell_jni_headers', | 827 'content_shell_jni_headers', |
825 'content_shell_lib', | |
826 ], | 828 ], |
827 }], | 829 }], |
828 ['OS=="mac"', { | 830 ['OS=="mac"', { |
829 'dependencies': [ | 831 'dependencies': [ |
830 'content_shell', # Needed for Content Shell.app's Helper. | 832 'content_shell', # Needed for Content Shell.app's Helper. |
831 ], | 833 ], |
832 'sources': [ | 834 'sources': [ |
833 'renderer/external_popup_menu_browsertest.cc', | 835 'renderer/external_popup_menu_browsertest.cc', |
834 ], | 836 ], |
835 }], | 837 }], |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 'dependencies': [ | 956 'dependencies': [ |
955 'content_java', | 957 'content_java', |
956 'content_unittests', | 958 'content_unittests', |
957 ], | 959 ], |
958 'variables': { | 960 'variables': { |
959 'test_suite_name': 'content_unittests', | 961 'test_suite_name': 'content_unittests', |
960 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', | 962 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u
nittests<(SHARED_LIB_SUFFIX)', |
961 }, | 963 }, |
962 'includes': [ '../build/apk_test.gypi' ], | 964 'includes': [ '../build/apk_test.gypi' ], |
963 }, | 965 }, |
964 { | |
965 'target_name': 'content_browsertests_apk', | |
966 'type': 'none', | |
967 'dependencies': [ | |
968 'content_browsertests', | |
969 'content_java', | |
970 'content_shell_java', | |
971 ], | |
972 'variables': { | |
973 'package_name': 'content_browsertests_apk', | |
974 'apk_name': 'content_browsertests', | |
975 'java_in_dir': 'shell/android/browsertests_apk', | |
976 'resource_dir': 'res', | |
977 'native_libs_paths': ['<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content
_browsertests<(SHARED_LIB_SUFFIX)'], | |
978 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], | |
979 'asset_location': '<(ant_build_out)/content_shell/assets', | |
980 }, | |
981 'includes': [ '../build/java_apk.gypi' ], | |
982 }, | |
983 ], | 966 ], |
984 }], | 967 }], |
985 ['OS == "android"', { | 968 ['OS == "android"', { |
986 'targets': [ | 969 'targets': [ |
987 { | 970 { |
988 'target_name': 'content_java_test_support', | 971 'target_name': 'content_java_test_support', |
989 'type': 'none', | 972 'type': 'none', |
990 'dependencies': [ | 973 'dependencies': [ |
991 '../base/base.gyp:base', | 974 '../base/base.gyp:base', |
992 '../base/base.gyp:base_java_test_support', | 975 '../base/base.gyp:base_java_test_support', |
993 'content_common', | 976 'content_common', |
994 'content_java', | 977 'content_java', |
995 ], | 978 ], |
996 'variables': { | 979 'variables': { |
997 'package_name': 'content_java_test_support', | 980 'package_name': 'content_java_test_support', |
998 'java_in_dir': '../content/public/test/android/javatests', | 981 'java_in_dir': '../content/public/test/android/javatests', |
999 }, | 982 }, |
1000 'includes': [ '../build/java.gypi' ], | 983 'includes': [ '../build/java.gypi' ], |
1001 }, | 984 }, |
1002 { | 985 { |
1003 'target_name': 'content_shell_test_apk', | 986 'target_name': 'content_shell_test_apk', |
1004 'type': 'none', | 987 'type': 'none', |
1005 'dependencies': [ | 988 'dependencies': [ |
1006 'content_java', | 989 'content_java', |
1007 'content_java_test_support', | 990 'content_java_test_support', |
1008 'content_shell_apk_java', | 991 'content_shell_java', |
1009 '../base/base.gyp:base_java', | 992 '../base/base.gyp:base_java', |
1010 '../base/base.gyp:base_java_test_support', | 993 '../base/base.gyp:base_java_test_support', |
1011 '../media/media.gyp:media_java', | 994 '../media/media.gyp:media_java', |
1012 '../media/media.gyp:media_test_support', | 995 '../media/media.gyp:media_test_support', |
1013 '../net/net.gyp:net_java', | 996 '../net/net.gyp:net_java', |
1014 '../net/net.gyp:net_javatests', | 997 '../net/net.gyp:net_javatests', |
1015 '../tools/android/forwarder2/forwarder.gyp:forwarder2', | 998 '../tools/android/forwarder2/forwarder.gyp:forwarder2', |
1016 ], | 999 ], |
1017 'variables': { | 1000 'variables': { |
1018 'package_name': 'content_shell_test', | 1001 'package_name': 'content_shell_test', |
1019 'apk_name': 'ContentShellTest', | 1002 'apk_name': 'ContentShellTest', |
1020 'java_in_dir': '../content/shell/android/javatests', | 1003 'java_in_dir': '../content/shell/android/javatests', |
1021 'additional_src_dirs': ['../content/public/android/javatests/',], | 1004 'resource_dir': '../res', |
1022 'resource_dir': '../shell_apk/res', | 1005 'additional_src_dirs': ['../content/public/android/javatests/'], |
1023 'is_test_apk': 1, | 1006 'is_test_apk': 1, |
1024 }, | 1007 }, |
1025 'includes': [ '../build/java_apk.gypi' ], | 1008 'includes': [ '../build/java_apk.gypi' ], |
1026 }, | 1009 }, |
1027 ], | 1010 ], |
1028 }], | 1011 }], |
1029 ], | 1012 ], |
1030 } | 1013 } |
OLD | NEW |