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

Side by Side Diff: ui/gl/BUILD.gn

Issue 287343006: ui/base and some other GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 gl_binding_output_dir = target_gen_dir 7 gl_binding_output_dir = target_gen_dir
8 8
9 config("gl_config") { 9 config("gl_config") {
10 if (use_x11) { 10 if (use_x11) {
(...skipping 22 matching lines...) Expand all
33 "gl_context.h", 33 "gl_context.h",
34 "gl_context_android.cc", 34 "gl_context_android.cc",
35 "gl_context_mac.mm", 35 "gl_context_mac.mm",
36 "gl_context_osmesa.cc", 36 "gl_context_osmesa.cc",
37 "gl_context_osmesa.h", 37 "gl_context_osmesa.h",
38 "gl_context_stub.cc", 38 "gl_context_stub.cc",
39 "gl_context_stub.h", 39 "gl_context_stub.h",
40 "gl_context_stub_with_extensions.cc", 40 "gl_context_stub_with_extensions.cc",
41 "gl_context_stub_with_extensions.h", 41 "gl_context_stub_with_extensions.h",
42 "gl_context_win.cc", 42 "gl_context_win.cc",
43 "gl_context_x11.cc",
44 "gl_export.h", 43 "gl_export.h",
45 "gl_fence.cc", 44 "gl_fence.cc",
46 "gl_fence.h", 45 "gl_fence.h",
47 "gl_gl_api_implementation.cc", 46 "gl_gl_api_implementation.cc",
48 "gl_gl_api_implementation.h", 47 "gl_gl_api_implementation.h",
49 "gl_image.cc", 48 "gl_image.cc",
50 "gl_image.h", 49 "gl_image.h",
51 "gl_image_android.cc", 50 "gl_image_android.cc",
52 "gl_image_mac.cc", 51 "gl_image_mac.cc",
53 "gl_image_shm.cc", 52 "gl_image_shm.cc",
54 "gl_image_shm.h", 53 "gl_image_shm.h",
55 "gl_image_stub.cc", 54 "gl_image_stub.cc",
56 "gl_image_stub.h", 55 "gl_image_stub.h",
57 "gl_image_win.cc", 56 "gl_image_win.cc",
58 "gl_image_x11.cc",
59 "gl_implementation.cc", 57 "gl_implementation.cc",
60 "gl_implementation.h", 58 "gl_implementation.h",
61 "gl_implementation_android.cc", 59 "gl_implementation_android.cc",
62 "gl_implementation_mac.cc", 60 "gl_implementation_mac.cc",
63 "gl_implementation_win.cc", 61 "gl_implementation_win.cc",
64 "gl_implementation_x11.cc",
65 "gl_osmesa_api_implementation.cc", 62 "gl_osmesa_api_implementation.cc",
66 "gl_osmesa_api_implementation.h", 63 "gl_osmesa_api_implementation.h",
67 "gl_share_group.cc", 64 "gl_share_group.cc",
68 "gl_share_group.h", 65 "gl_share_group.h",
69 "gl_state_restorer.cc", 66 "gl_state_restorer.cc",
70 "gl_state_restorer.h", 67 "gl_state_restorer.h",
71 "gl_surface.cc", 68 "gl_surface.cc",
72 "gl_surface.h", 69 "gl_surface.h",
73 "gl_surface_android.cc", 70 "gl_surface_android.cc",
74 "gl_surface_mac.cc", 71 "gl_surface_mac.cc",
75 "gl_surface_stub.cc", 72 "gl_surface_stub.cc",
76 "gl_surface_stub.h", 73 "gl_surface_stub.h",
77 "gl_surface_win.cc", 74 "gl_surface_win.cc",
78 "gl_surface_x11.cc",
79 "gl_surface_osmesa.cc", 75 "gl_surface_osmesa.cc",
80 "gl_surface_osmesa.h", 76 "gl_surface_osmesa.h",
81 "gl_switches.cc", 77 "gl_switches.cc",
82 "gl_switches.h", 78 "gl_switches.h",
83 "gl_version_info.cc", 79 "gl_version_info.cc",
84 "gl_version_info.h", 80 "gl_version_info.h",
85 "gpu_switching_manager.cc", 81 "gpu_switching_manager.cc",
86 "gpu_switching_manager.h", 82 "gpu_switching_manager.h",
87 "io_surface_support_mac.cc", 83 "io_surface_support_mac.cc",
88 "io_surface_support_mac.h", 84 "io_surface_support_mac.h",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 if (is_android || is_linux) { 138 if (is_android || is_linux) {
143 sources += [ 139 sources += [
144 "gl_implementation_osmesa.cc", 140 "gl_implementation_osmesa.cc",
145 "gl_implementation_osmesa.h", 141 "gl_implementation_osmesa.h",
146 ] 142 ]
147 } 143 }
148 if (use_x11) { 144 if (use_x11) {
149 sources += [ 145 sources += [
150 "gl_context_glx.cc", 146 "gl_context_glx.cc",
151 "gl_context_glx.h", 147 "gl_context_glx.h",
148 "gl_context_x11.cc",
152 "gl_glx_api_implementation.cc", 149 "gl_glx_api_implementation.cc",
153 "gl_glx_api_implementation.h", 150 "gl_glx_api_implementation.h",
154 "gl_image_glx.cc", 151 "gl_image_glx.cc",
155 "gl_image_glx.h", 152 "gl_image_glx.h",
153 "gl_image_x11.cc",
154 "gl_implementation_x11.cc",
156 "gl_surface_glx.cc", 155 "gl_surface_glx.cc",
157 "gl_surface_glx.h", 156 "gl_surface_glx.h",
157 "gl_surface_x11.cc",
158 "gl_egl_api_implementation.cc", 158 "gl_egl_api_implementation.cc",
159 "gl_egl_api_implementation.h", 159 "gl_egl_api_implementation.h",
160 "$gl_binding_output_dir/gl_bindings_autogen_glx.cc", 160 "$gl_binding_output_dir/gl_bindings_autogen_glx.cc",
161 "$gl_binding_output_dir/gl_bindings_autogen_glx.h", 161 "$gl_binding_output_dir/gl_bindings_autogen_glx.h",
162 ] 162 ]
163 163
164 configs += [ 164 configs += [
165 "//build/config/linux:x11", 165 "//build/config/linux:x11",
166 "//build/config/linux:xcomposite", 166 "//build/config/linux:xcomposite",
167 "//build/config/linux:xext", 167 "//build/config/linux:xext",
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 "$gl_binding_output_dir/gl_mock_autogen_gl.h", 280 "$gl_binding_output_dir/gl_mock_autogen_gl.h",
281 ] 281 ]
282 282
283 args = [ 283 args = [
284 "--header-paths=" + 284 "--header-paths=" +
285 rebase_path("//third_party/khronos", root_build_dir) + ":" + 285 rebase_path("//third_party/khronos", root_build_dir) + ":" +
286 rebase_path("//third_party/mesa/src/include", root_build_dir), 286 rebase_path("//third_party/mesa/src/include", root_build_dir),
287 rebase_path(gl_binding_output_dir, root_build_dir), 287 rebase_path(gl_binding_output_dir, root_build_dir),
288 ] 288 ]
289 } 289 }
OLDNEW
« build/config/features.gni ('K') | « ui/base/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698