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

Side by Side Diff: ui/gfx/gfx_tests.gyp

Issue 1110923003: Added switch to disable specified GL extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also export GLApiBase Created 5 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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | ui/gl/gl_api_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'gfx_unittests', 11 'target_name': 'gfx_unittests',
12 'type': '<(gtest_target_type)', 12 'type': '<(gtest_target_type)',
13 # iOS uses a small subset of ui. common_sources are the only files that 13 # iOS uses a small subset of ui. common_sources are the only files that
14 # are built on iOS. 14 # are built on iOS.
15 'common_sources' : [ 15 'common_sources' : [
16 'font_unittest.cc', 16 'font_unittest.cc',
17 'image/image_family_unittest.cc', 17 'image/image_family_unittest.cc',
18 'image/image_ios_unittest.mm', 18 'image/image_ios_unittest.mm',
19 'image/image_skia_unittest.cc', 19 'image/image_skia_unittest.cc',
20 'image/image_unittest.cc', 20 'image/image_unittest.cc',
21 'ios/NSString+CrStringDrawing_unittest.mm', 21 'ios/NSString+CrStringDrawing_unittest.mm',
22 'ios/uikit_util_unittest.mm', 22 'ios/uikit_util_unittest.mm',
23 'screen_unittest.cc', 23 'screen_unittest.cc',
24 'test/run_all_unittests.cc', 24 'test/run_all_unittests.cc',
25 'text_elider_unittest.cc', 25 'text_elider_unittest.cc',
26 'text_utils_unittest.cc', 26 'text_utils_unittest.cc',
27 ], 27 ],
28 'gl_test_sources' : [
29 '../gl/gl_api_unittest.cc',
danakj 2015/05/04 17:45:12 we shouldn't be including '../*' as sources in a g
30 ],
28 'all_sources': [ 31 'all_sources': [
29 '<@(_common_sources)', 32 '<@(_common_sources)',
30 'animation/animation_container_unittest.cc', 33 'animation/animation_container_unittest.cc',
31 'animation/animation_unittest.cc', 34 'animation/animation_unittest.cc',
32 'animation/multi_animation_unittest.cc', 35 'animation/multi_animation_unittest.cc',
33 'animation/slide_animation_unittest.cc', 36 'animation/slide_animation_unittest.cc',
34 'animation/tween_unittest.cc', 37 'animation/tween_unittest.cc',
35 'blit_unittest.cc', 38 'blit_unittest.cc',
36 'break_list_unittest.cc', 39 'break_list_unittest.cc',
37 'canvas_unittest.cc', 40 'canvas_unittest.cc',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 '../base/ui_base.gyp:ui_base', 88 '../base/ui_base.gyp:ui_base',
86 '../resources/ui_resources.gyp:ui_test_pak', 89 '../resources/ui_resources.gyp:ui_test_pak',
87 'gfx.gyp:gfx', 90 'gfx.gyp:gfx',
88 'gfx.gyp:gfx_geometry', 91 'gfx.gyp:gfx_geometry',
89 'gfx.gyp:gfx_test_support', 92 'gfx.gyp:gfx_test_support',
90 ], 93 ],
91 'conditions': [ 94 'conditions': [
92 ['OS == "ios"', { 95 ['OS == "ios"', {
93 'sources': ['<@(_common_sources)'], 96 'sources': ['<@(_common_sources)'],
94 }, { # OS != "ios" 97 }, { # OS != "ios"
95 'sources': ['<@(_all_sources)'], 98 'sources': [
99 '<@(_all_sources)',
100 '<@(_gl_test_sources)',
101 ],
102 'dependencies': [
103 '../gl/gl.gyp:gl',
104 ],
96 }], 105 }],
97 ['OS != "mac" and OS != "ios"', { 106 ['OS != "mac" and OS != "ios"', {
98 'sources': [ 107 'sources': [
99 'interpolated_transform_unittest.cc', 108 'interpolated_transform_unittest.cc',
100 'transform_unittest.cc', 109 'transform_unittest.cc',
101 ], 110 ],
102 }], 111 }],
103 ['OS == "android"', { 112 ['OS == "android"', {
104 'dependencies': [ 113 'dependencies': [
105 '../../testing/android/native_test.gyp:native_test_native_code', 114 '../../testing/android/native_test.gyp:native_test_native_code',
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 'dependencies': [ 202 'dependencies': [
194 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 203 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
195 ], 204 ],
196 }], 205 }],
197 ], 206 ],
198 }, 207 },
199 ], 208 ],
200 }], 209 }],
201 ], 210 ],
202 } 211 }
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | ui/gl/gl_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698