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

Side by Side Diff: content/content_tests.gypi

Issue 14932020: Add Create() function to AudioCodecBridge and VideoCodecBridge to allow return of null pointers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments Created 7 years, 7 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) 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 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 }], 957 }],
958 ['input_speech==0', { 958 ['input_speech==0', {
959 'sources/': [ 959 'sources/': [
960 ['exclude', '^browser/speech/'], 960 ['exclude', '^browser/speech/'],
961 ] 961 ]
962 }], 962 }],
963 ], 963 ],
964 }, 964 },
965 ], 965 ],
966 }], 966 }],
967 ['chromeos==1 or OS=="win"', { 967 ['chromeos==1 or OS=="win" or OS=="android"', {
968 # TODO(felipeg): Make video_decode_accelerator_unittest work on Android.
969 # http://crbug.com/178647
970 'targets': [ 968 'targets': [
971 { 969 {
972 'target_name': 'video_decode_accelerator_unittest', 970 'target_name': 'video_decode_accelerator_unittest',
973 'type': 'executable', 971 'type': '<(gtest_target_type)',
974 'dependencies': [ 972 'dependencies': [
975 'content', 973 'content',
976 '../base/base.gyp:base', 974 '../base/base.gyp:base',
977 '../testing/gtest.gyp:gtest', 975 '../testing/gtest.gyp:gtest',
978 '../media/media.gyp:media', 976 '../media/media.gyp:media',
979 '../ui/gl/gl.gyp:gl', 977 '../ui/gl/gl.gyp:gl',
980 '../ui/ui.gyp:ui', 978 '../ui/ui.gyp:ui',
981 ], 979 ],
982 'include_dirs': [ 980 'include_dirs': [
983 '<(DEPTH)/third_party/khronos', 981 '<(DEPTH)/third_party/khronos',
984 ], 982 ],
985 'sources': [ 983 'sources': [
984 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
986 'common/gpu/media/rendering_helper.h', 985 'common/gpu/media/rendering_helper.h',
987 'common/gpu/media/rendering_helper_gl.cc', 986 'common/gpu/media/rendering_helper_gl.cc',
988 'common/gpu/media/video_decode_accelerator_unittest.cc', 987 'common/gpu/media/video_decode_accelerator_unittest.cc',
989 ], 988 ],
990 'conditions': [ 989 'conditions': [
990 ['OS=="android"', {
991 'sources/': [
992 ['exclude', '^common/gpu/media/rendering_helper.h'],
993 ['exclude', '^common/gpu/media/rendering_helper_gl.cc'],
994 ['exclude', '^common/gpu/media/video_decode_accelerator_unitte st.cc'],
995 ],
996 'dependencies': [
997 '../testing/gmock.gyp:gmock',
998 '../testing/android/native_test.gyp:native_test_native_code',
999 '../gpu/gpu.gyp:gpu_unittest_utils',
1000 ],
1001 }, { # OS!="android"
1002 'sources/': [
1003 ['exclude', '^common/gpu/media/android_video_decode_accelerato r_unittest.cc'],
1004 ],
1005 }],
991 ['target_arch=="arm"', { 1006 ['target_arch=="arm"', {
992 'include_dirs': [ 1007 'include_dirs': [
993 '<(DEPTH)/third_party/openmax/il', 1008 '<(DEPTH)/third_party/openmax/il',
994 ], 1009 ],
995 }], 1010 }],
996 ['OS=="win"', { 1011 ['OS=="win"', {
997 'dependencies': [ 1012 'dependencies': [
998 '../third_party/angle/src/build_angle.gyp:libEGL', 1013 '../third_party/angle/src/build_angle.gyp:libEGL',
999 '../third_party/angle/src/build_angle.gyp:libGLESv2', 1014 '../third_party/angle/src/build_angle.gyp:libGLESv2',
1000 ], 1015 ],
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 'variables': { 1085 'variables': {
1071 'apk_name': 'content_browsertests', 1086 'apk_name': 'content_browsertests',
1072 'java_in_dir': 'shell/android/browsertests_apk', 1087 'java_in_dir': 'shell/android/browsertests_apk',
1073 'resource_dir': 'shell/android/browsertests_apk/res', 1088 'resource_dir': 'shell/android/browsertests_apk/res',
1074 'native_lib_target': 'libcontent_browsertests', 1089 'native_lib_target': 'libcontent_browsertests',
1075 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 1090 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
1076 'asset_location': '<(ant_build_out)/content_shell/assets', 1091 'asset_location': '<(ant_build_out)/content_shell/assets',
1077 }, 1092 },
1078 'includes': [ '../build/java_apk.gypi' ], 1093 'includes': [ '../build/java_apk.gypi' ],
1079 }, 1094 },
1095 {
1096 'target_name': 'video_decode_accelerator_unittest_apk',
1097 'type': 'none',
1098 'dependencies': [
1099 'video_decode_accelerator_unittest',
1100 ],
1101 'variables': {
1102 'test_suite_name': 'video_decode_accelerator_unittest',
1103 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)',
1104 },
1105 'includes': [ '../build/apk_test.gypi' ],
1106 },
1080 ], 1107 ],
1081 }], 1108 }],
1082 ['OS == "android"', { 1109 ['OS == "android"', {
1083 'targets': [ 1110 'targets': [
1084 { 1111 {
1085 'target_name': 'content_java_test_support', 1112 'target_name': 'content_java_test_support',
1086 'type': 'none', 1113 'type': 'none',
1087 'dependencies': [ 1114 'dependencies': [
1088 '../base/base.gyp:base', 1115 '../base/base.gyp:base',
1089 '../base/base.gyp:base_java_test_support', 1116 '../base/base.gyp:base_java_test_support',
(...skipping 27 matching lines...) Expand all
1117 'resource_dir': 'shell/android/shell_apk/res', 1144 'resource_dir': 'shell/android/shell_apk/res',
1118 'additional_src_dirs': ['public/android/javatests/',], 1145 'additional_src_dirs': ['public/android/javatests/',],
1119 'is_test_apk': 1, 1146 'is_test_apk': 1,
1120 }, 1147 },
1121 'includes': [ '../build/java_apk.gypi' ], 1148 'includes': [ '../build/java_apk.gypi' ],
1122 }, 1149 },
1123 ], 1150 ],
1124 }], 1151 }],
1125 ], 1152 ],
1126 } 1153 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698