Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: content/content_tests.gypi

Issue 12047068: Add apk for running content_browsertests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 'sources!': [ 808 'sources!': [
809 'browser/accessibility/dump_accessibility_tree_browsertest.cc', 809 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
810 'browser/accessibility/dump_accessibility_tree_helper.cc', 810 'browser/accessibility/dump_accessibility_tree_helper.cc',
811 # These are included via dependency on content_common and hence 811 # These are included via dependency on content_common and hence
812 # we get multiple definition errors in a shared library build. 812 # we get multiple definition errors in a shared library build.
813 # Other builds need it as the symbols are not exported. 813 # Other builds need it as the symbols are not exported.
814 'common/content_constants_internal.cc', 814 'common/content_constants_internal.cc',
815 'common/content_constants_internal.h', 815 'common/content_constants_internal.h',
816 ], 816 ],
817 'sources': [ 817 'sources': [
818 'shell/android/shell_library_loader.cc', 818 'shell/android/browsertests_apk/content_browser_tests_android.cc ',
819 'shell/android/shell_library_loader.cc',
820 'shell/android/shell_manager.cc',
821 'shell/android/shell_manager.h',
822 ], 819 ],
823 'dependencies': [ 820 'dependencies': [
824 'content_shell_jni_headers', 821 'content_shell_jni_headers',
822 'content_shell_lib',
825 ], 823 ],
826 }], 824 }],
827 ['OS=="mac"', { 825 ['OS=="mac"', {
828 'dependencies': [ 826 'dependencies': [
829 'content_shell', # Needed for Content Shell.app's Helper. 827 'content_shell', # Needed for Content Shell.app's Helper.
830 ], 828 ],
831 'sources': [ 829 'sources': [
832 'renderer/external_popup_menu_browsertest.cc', 830 'renderer/external_popup_menu_browsertest.cc',
833 ], 831 ],
834 }], 832 }],
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 'dependencies': [ 951 'dependencies': [
954 'content_java', 952 'content_java',
955 'content_unittests', 953 'content_unittests',
956 ], 954 ],
957 'variables': { 955 'variables': {
958 'test_suite_name': 'content_unittests', 956 'test_suite_name': 'content_unittests',
959 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)', 957 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)',
960 }, 958 },
961 'includes': [ '../build/apk_test.gypi' ], 959 'includes': [ '../build/apk_test.gypi' ],
962 }, 960 },
961 {
962 'target_name': 'content_browsertests_apk',
963 'type': 'none',
964 'dependencies': [
965 'content_browsertests',
966 'content_java',
967 'content_shell_java',
968 ],
969 'variables': {
970 'package_name': 'content_browsertests_apk',
971 'apk_name': 'content_browsertests',
972 'java_in_dir': 'shell/android/browsertests_apk',
973 'resource_dir': 'res',
974 'native_libs_paths': ['<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content _browsertests<(SHARED_LIB_SUFFIX)'],
975 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
976 'asset_location': '<(ant_build_out)/content_shell/assets',
977 },
978 'includes': [ '../build/java_apk.gypi' ],
979 },
963 ], 980 ],
964 }], 981 }],
965 ['OS == "android"', { 982 ['OS == "android"', {
966 'targets': [ 983 'targets': [
967 { 984 {
968 'target_name': 'content_java_test_support', 985 'target_name': 'content_java_test_support',
969 'type': 'none', 986 'type': 'none',
970 'dependencies': [ 987 'dependencies': [
971 '../base/base.gyp:base', 988 '../base/base.gyp:base',
972 '../base/base.gyp:base_java_test_support', 989 '../base/base.gyp:base_java_test_support',
973 'content_common', 990 'content_common',
974 'content_java', 991 'content_java',
975 ], 992 ],
976 'variables': { 993 'variables': {
977 'package_name': 'content_java_test_support', 994 'package_name': 'content_java_test_support',
978 'java_in_dir': '../content/public/test/android/javatests', 995 'java_in_dir': '../content/public/test/android/javatests',
979 }, 996 },
980 'includes': [ '../build/java.gypi' ], 997 'includes': [ '../build/java.gypi' ],
981 }, 998 },
982 { 999 {
983 'target_name': 'content_shell_test_apk', 1000 'target_name': 'content_shell_test_apk',
984 'type': 'none', 1001 'type': 'none',
985 'dependencies': [ 1002 'dependencies': [
986 'content_java', 1003 'content_java',
987 'content_java_test_support', 1004 'content_java_test_support',
988 'content_shell_java', 1005 'content_shell_apk_java',
989 '../base/base.gyp:base_java', 1006 '../base/base.gyp:base_java',
990 '../base/base.gyp:base_java_test_support', 1007 '../base/base.gyp:base_java_test_support',
991 '../media/media.gyp:media_java', 1008 '../media/media.gyp:media_java',
992 '../media/media.gyp:media_test_support', 1009 '../media/media.gyp:media_test_support',
993 '../net/net.gyp:net_java', 1010 '../net/net.gyp:net_java',
994 '../net/net.gyp:net_javatests', 1011 '../net/net.gyp:net_javatests',
995 '../tools/android/forwarder2/forwarder.gyp:forwarder2', 1012 '../tools/android/forwarder2/forwarder.gyp:forwarder2',
996 ], 1013 ],
997 'variables': { 1014 'variables': {
998 'package_name': 'content_shell_test', 1015 'package_name': 'content_shell_test',
999 'apk_name': 'ContentShellTest', 1016 'apk_name': 'ContentShellTest',
1000 'java_in_dir': '../content/shell/android/javatests', 1017 'java_in_dir': '../content/shell/android/javatests',
1001 'resource_dir': '../res', 1018 'additional_src_dirs': ['../content/public/android/javatests/',],
1002 'additional_src_dirs': ['../content/public/android/javatests/'], 1019 'resource_dir': '../shell_apk/res',
1003 'is_test_apk': 1, 1020 'is_test_apk': 1,
1004 }, 1021 },
1005 'includes': [ '../build/java_apk.gypi' ], 1022 'includes': [ '../build/java_apk.gypi' ],
1006 }, 1023 },
1007 ], 1024 ],
1008 }], 1025 }],
1009 ], 1026 ],
1010 } 1027 }
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | content/public/android/javatests/src/org/chromium/content/browser/CommandLineTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698