OLD | NEW |
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 if (is_android) { | 6 if (is_android) { |
7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
8 } | 8 } |
9 | 9 |
10 gl_binding_output_dir = target_gen_dir | 10 gl_binding_output_dir = target_gen_dir |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 "$gl_binding_output_dir/gl_bindings_autogen_glx.h", | 165 "$gl_binding_output_dir/gl_bindings_autogen_glx.h", |
166 ] | 166 ] |
167 | 167 |
168 configs += [ | 168 configs += [ |
169 "//build/config/linux:x11", | 169 "//build/config/linux:x11", |
170 "//build/config/linux:xcomposite", | 170 "//build/config/linux:xcomposite", |
171 "//build/config/linux:xext", | 171 "//build/config/linux:xext", |
172 ] | 172 ] |
173 | 173 |
174 deps += [ | 174 deps += [ |
175 "//ui/gfx:gfx_x11", | 175 "//ui/gfx/x", |
176 ] | 176 ] |
177 } | 177 } |
178 if (is_win) { | 178 if (is_win) { |
179 sources += [ | 179 sources += [ |
180 "gl_context_wgl.cc", | 180 "gl_context_wgl.cc", |
181 "gl_context_wgl.h", | 181 "gl_context_wgl.h", |
182 "gl_egl_api_implementation.cc", | 182 "gl_egl_api_implementation.cc", |
183 "gl_egl_api_implementation.h", | 183 "gl_egl_api_implementation.h", |
184 "gl_surface_wgl.cc", | 184 "gl_surface_wgl.cc", |
185 "gl_surface_wgl.h", | 185 "gl_surface_wgl.h", |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 generate_jni("gl_jni_headers") { | 332 generate_jni("gl_jni_headers") { |
333 deps = [ ":surface_jni_headers" ] | 333 deps = [ ":surface_jni_headers" ] |
334 forward_dependent_configs_from = [ ":surface_jni_headers" ] | 334 forward_dependent_configs_from = [ ":surface_jni_headers" ] |
335 sources = [ | 335 sources = [ |
336 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 336 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
337 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 337 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
338 ] | 338 ] |
339 jni_package = "ui/gl" | 339 jni_package = "ui/gl" |
340 } | 340 } |
341 } | 341 } |
OLD | NEW |