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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 gl_binding_output_dir, | 110 gl_binding_output_dir, |
111 ] | 111 ] |
112 | 112 |
113 all_dependent_configs = [ ":gl_config" ] | 113 all_dependent_configs = [ ":gl_config" ] |
114 | 114 |
115 deps = [ | 115 deps = [ |
116 ":generate_gl_bindings", | 116 ":generate_gl_bindings", |
117 "//base", | 117 "//base", |
118 "//base/third_party/dynamic_annotations", | 118 "//base/third_party/dynamic_annotations", |
119 "//gpu/command_buffer/common", | 119 "//gpu/command_buffer/common", |
| 120 "//third_party/mesa:mesa_headers", |
120 "//skia", | 121 "//skia", |
121 # TODO(GYP) hook up once this is converted. | |
122 # Also uncomment forward statement below. | |
123 #"//third_party/mesa:mesa_headers", | |
124 "//ui/gfx", | 122 "//ui/gfx", |
125 "//ui/gfx/geometry", | 123 "//ui/gfx/geometry", |
126 ] | 124 ] |
127 | 125 |
128 # TODO(GYP) hook up once this is converted. | 126 # TODO(GYP) hook up once this is converted. |
129 #forward_dependent_configs_from = [ "//third_party/mesa:mesa_headers" ] | 127 forward_dependent_configs_from = [ "//third_party/mesa:mesa_headers" ] |
130 | 128 |
131 if (is_win || is_android || is_linux) { | 129 if (is_win || is_android || is_linux) { |
132 sources += [ | 130 sources += [ |
133 "egl_util.cc", | 131 "egl_util.cc", |
134 "egl_util.h", | 132 "egl_util.h", |
135 "gl_context_egl.cc", | 133 "gl_context_egl.cc", |
136 "gl_context_egl.h", | 134 "gl_context_egl.h", |
137 "gl_image_egl.cc", | 135 "gl_image_egl.cc", |
138 "gl_image_egl.h", | 136 "gl_image_egl.h", |
139 "gl_surface_egl.cc", | 137 "gl_surface_egl.cc", |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 | 323 |
326 if (is_android) { | 324 if (is_android) { |
327 generate_jni("gl_jni_headers") { | 325 generate_jni("gl_jni_headers") { |
328 sources = [ | 326 sources = [ |
329 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 327 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
330 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 328 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
331 ] | 329 ] |
332 jni_package = "ui/gl" | 330 jni_package = "ui/gl" |
333 } | 331 } |
334 } | 332 } |
OLD | NEW |