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

Side by Side Diff: content/content_tests.gypi

Issue 23455019: Compile content_gl_tests on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix component build Created 7 years, 3 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
« no previous file with comments | « build/all_android.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', 236 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
237 ], 237 ],
238 }], 238 }],
239 ['OS!="android" and OS!="ios"', { 239 ['OS!="android" and OS!="ios"', {
240 'dependencies': [ 240 'dependencies': [
241 '../third_party/libvpx/libvpx.gyp:libvpx', 241 '../third_party/libvpx/libvpx.gyp:libvpx',
242 ], 242 ],
243 }], 243 }],
244 ['OS=="android"', { 244 ['OS=="android"', {
245 'dependencies': [ 245 'dependencies': [
246 '../ui/ui.gyp:shell_dialogs',
246 'test_support_content_jni_headers', 247 'test_support_content_jni_headers',
247 ], 248 ],
248 }], 249 }],
249 ], 250 ],
250 }, 251 },
251 { 252 {
252 'target_name': 'content_unittests', 253 'target_name': 'content_unittests',
253 'type': '<(gtest_target_type)', 254 'type': '<(gtest_target_type)',
254 'defines!': ['CONTENT_IMPLEMENTATION'], 255 'defines!': ['CONTENT_IMPLEMENTATION'],
255 'dependencies': [ 256 'dependencies': [
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 ['branding=="Chrome"', { 699 ['branding=="Chrome"', {
699 'sources!': [ 700 'sources!': [
700 # These tests depend on single process mode, which is disabled in 701 # These tests depend on single process mode, which is disabled in
701 # official builds. 702 # official builds.
702 'renderer/dom_serializer_browsertest.cc', 703 'renderer/dom_serializer_browsertest.cc',
703 'renderer/resource_fetcher_browsertest.cc', 704 'renderer/resource_fetcher_browsertest.cc',
704 'renderer/savable_resources_browsertest.cc', 705 'renderer/savable_resources_browsertest.cc',
705 ], 706 ],
706 }], 707 }],
707 ['OS == "android"', { 708 ['OS == "android"', {
708 'dependencies': [
709 '../ui/ui.gyp:shell_dialogs',
710 ],
711 'sources!': [ 709 'sources!': [
712 'browser/geolocation/gps_location_provider_unittest_linux.cc', 710 'browser/geolocation/gps_location_provider_unittest_linux.cc',
713 'browser/geolocation/network_location_provider_unittest.cc', 711 'browser/geolocation/network_location_provider_unittest.cc',
714 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc', 712 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
715 'browser/geolocation/wifi_data_provider_common_unittest.cc', 713 'browser/geolocation/wifi_data_provider_common_unittest.cc',
716 'browser/geolocation/wifi_data_provider_linux_unittest.cc', 714 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
717 ], 715 ],
718 }], 716 }],
719 ['OS != "android" and OS != "ios"', { 717 ['OS != "android" and OS != "ios"', {
720 'dependencies': [ 718 'dependencies': [
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 '../webkit/support/webkit_support.gyp:glue', 1006 '../webkit/support/webkit_support.gyp:glue',
1009 '../webkit/support/webkit_support.gyp:glue_child', 1007 '../webkit/support/webkit_support.gyp:glue_child',
1010 ], 1008 ],
1011 'include_dirs': [ 1009 'include_dirs': [
1012 '..', 1010 '..',
1013 ], 1011 ],
1014 'sources': [ 1012 'sources': [
1015 'common/gpu/client/gl_helper_unittests.cc', 1013 'common/gpu/client/gl_helper_unittests.cc',
1016 'common/gpu/client/gpu_in_process_context_tests.cc', 1014 'common/gpu/client/gpu_in_process_context_tests.cc',
1017 ], 1015 ],
1016 'conditions': [
1017 ['OS=="android"', {
1018 'dependencies': [
1019 '../testing/android/native_test.gyp:native_test_native_code',
1020 ],
1021 }],
1022 ],
1018 }, 1023 },
1019 { 1024 {
1020 'target_name': 'content_gl_benchmark', 1025 'target_name': 'content_gl_benchmark',
1021 'type': '<(gtest_target_type)', 1026 'type': '<(gtest_target_type)',
1022 'defines!': ['CONTENT_IMPLEMENTATION'], 1027 'defines!': ['CONTENT_IMPLEMENTATION'],
1023 'dependencies': [ 1028 'dependencies': [
1024 'content_common', 1029 'content_common',
1025 'test_support_content', 1030 'test_support_content',
1026 '../base/base.gyp:test_support_base', 1031 '../base/base.gyp:test_support_base',
1027 '../testing/gtest.gyp:gtest', 1032 '../testing/gtest.gyp:gtest',
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 ], 1148 ],
1144 } 1149 }
1145 ], 1150 ],
1146 }], 1151 }],
1147 # Special target to wrap a gtest_target_type==shared_library 1152 # Special target to wrap a gtest_target_type==shared_library
1148 # content_unittests into an android apk for execution. 1153 # content_unittests into an android apk for execution.
1149 # See base.gyp for TODO(jrg)s about this strategy. 1154 # See base.gyp for TODO(jrg)s about this strategy.
1150 ['OS == "android" and gtest_target_type == "shared_library"', { 1155 ['OS == "android" and gtest_target_type == "shared_library"', {
1151 'targets': [ 1156 'targets': [
1152 { 1157 {
1158 'target_name': 'content_gl_tests_apk',
1159 'type': 'none',
1160 'dependencies': [
1161 'content_gl_tests',
1162 'content_java_test_support',
1163 ],
1164 'variables': {
1165 'test_suite_name': 'content_gl_tests',
1166 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_g l_tests<(SHARED_LIB_SUFFIX)',
1167 },
1168 'includes': [
1169 '../build/apk_test.gypi',
1170 ],
1171 },
1172 {
1153 'target_name': 'content_unittests_apk', 1173 'target_name': 'content_unittests_apk',
1154 'type': 'none', 1174 'type': 'none',
1155 'dependencies': [ 1175 'dependencies': [
1156 'content_java', 1176 'content_java',
1157 'content_unittests', 1177 'content_unittests',
1158 ], 1178 ],
1159 'variables': { 1179 'variables': {
1160 'test_suite_name': 'content_unittests', 1180 'test_suite_name': 'content_unittests',
1161 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)', 1181 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)',
1162 }, 1182 },
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 1412 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1393 }, 1413 },
1394 ], 1414 ],
1395 }], 1415 }],
1396 ], 1416 ],
1397 }, 1417 },
1398 ], 1418 ],
1399 }], 1419 }],
1400 ], 1420 ],
1401 } 1421 }
OLDNEW
« no previous file with comments | « build/all_android.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698