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

Side by Side Diff: ui/gl/gl_tests.gyp

Issue 2306743002: Nukes the gyp/gypi files in ui (Closed)
Patch Set: keep webui Created 4 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
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/init/gl_init.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'gl_unittests',
12 'type': '<(gtest_target_type)',
13 'sources': [
14 'test/run_all_unittests.cc',
15 'gpu_timing_unittest.cc',
16 'gl_api_unittest.cc',
17 'gl_image_ref_counted_memory_unittest.cc',
18 'gl_image_shared_memory_unittest.cc',
19 'gl_version_info_unittest.cc',
20 ],
21 'include_dirs': [
22 '<(DEPTH)/third_party/khronos',
23 ],
24 'dependencies': [
25 '<(DEPTH)/base/base.gyp:base',
26 '<(DEPTH)/base/base.gyp:test_support_base',
27 '<(DEPTH)/testing/gmock.gyp:gmock',
28 '<(DEPTH)/testing/gtest.gyp:gtest',
29 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
30 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
31 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
32 '<(DEPTH)/ui/gl/gl.gyp:gl',
33 '<(DEPTH)/ui/gl/init/gl_init.gyp:gl_init',
34 '<(DEPTH)/ui/gl/gl.gyp:gl_test_support',
35 '<(DEPTH)/ui/gl/gl.gyp:gl_unittest_utils',
36 ],
37 'conditions': [
38 ['OS == "android"', {
39 'dependencies': [
40 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
41 ],
42 }],
43 ['OS in ("win", "android", "linux")', {
44 'sources': [
45 'egl_api_unittest.cc',
46 'test/egl_initialization_displays_unittest.cc',
47 ],
48 }],
49 ['OS == "linux" and use_x11 == 1', {
50 'sources': [
51 'glx_api_unittest.cc',
52 ],
53 }],
54 ['OS == "mac"', {
55 'sources': [
56 'gl_image_io_surface_unittest.cc',
57 ],
58 }],
59 ['OS == "win"', {
60 'sources': [
61 'wgl_api_unittest.cc',
62 ],
63 }],
64 ['use_ozone==1', {
65 'dependencies': [
66 '../ozone/gl/ozone_gl.gyp:ozone_gl',
67 '../ozone/ozone.gyp:ozone',
68 ],
69 'sources': [
70 'gl_image_ozone_native_pixmap_unittest.cc',
71 ],
72 }],
73 ],
74 }
75 ],
76 'conditions': [
77 ['OS == "android"', {
78 'targets': [
79 {
80 'target_name': 'gl_unittests_apk',
81 'type': 'none',
82 'dependencies': [
83 'gl_unittests',
84 ],
85 'variables': {
86 'test_suite_name': 'gl_unittests',
87 },
88 'includes': [ '../../build/apk_test.gypi' ],
89 },
90 ],
91 'conditions': [
92 ['test_isolation_mode != "noop"',
93 {
94 'targets': [
95 {
96 'target_name': 'gl_unittests_apk_run',
97 'type': 'none',
98 'dependencies': [
99 'gl_unittests_apk',
100 ],
101 'includes': [
102 '../../build/isolate.gypi',
103 ],
104 'sources': [
105 'gl_unittests_apk.isolate',
106 ],
107 },
108 ]
109 }
110 ],
111 ],
112 }],
113 ['test_isolation_mode != "noop" and OS != "android"', {
114 'targets': [
115 {
116 'target_name': 'gl_unittests_run',
117 'type': 'none',
118 'dependencies': [
119 'gl_unittests',
120 ],
121 'includes': [
122 '../../build/isolate.gypi',
123 ],
124 'sources': [
125 'gl_unittests.isolate',
126 ],
127 'conditions': [
128 ['use_x11 == 1', {
129 'dependencies': [
130 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
131 ],
132 }],
133 ],
134 },
135 ],
136 }],
137 ],
138 }
OLDNEW
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/init/gl_init.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698