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 | 110 |
111 all_dependent_configs = [ ":gl_config" ] | 111 all_dependent_configs = [ ":gl_config" ] |
112 | 112 |
113 deps = [ | 113 deps = [ |
114 ":generate_gl_bindings", | 114 ":generate_gl_bindings", |
115 "//base", | 115 "//base", |
116 "//base/third_party/dynamic_annotations", | 116 "//base/third_party/dynamic_annotations", |
117 "//gpu/command_buffer/common", | 117 "//gpu/command_buffer/common", |
118 "//third_party/mesa:mesa_headers", | 118 "//third_party/mesa:mesa_headers", |
119 "//skia", | 119 "//skia", |
| 120 "//ui/events/platform", |
120 "//ui/gfx", | 121 "//ui/gfx", |
121 "//ui/gfx/geometry", | 122 "//ui/gfx/geometry", |
122 ] | 123 ] |
123 | 124 |
124 # TODO(GYP) hook up once this is converted. | 125 # TODO(GYP) hook up once this is converted. |
125 forward_dependent_configs_from = [ "//third_party/mesa:mesa_headers" ] | 126 forward_dependent_configs_from = [ "//third_party/mesa:mesa_headers" ] |
126 | 127 |
127 if (is_win || is_android || is_linux) { | 128 if (is_win || is_android || is_linux) { |
128 sources += [ | 129 sources += [ |
129 "egl_util.cc", | 130 "egl_util.cc", |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 generate_jni("gl_jni_headers") { | 329 generate_jni("gl_jni_headers") { |
329 deps = [ ":surface_jni_headers" ] | 330 deps = [ ":surface_jni_headers" ] |
330 forward_dependent_configs_from = [ ":surface_jni_headers" ] | 331 forward_dependent_configs_from = [ ":surface_jni_headers" ] |
331 sources = [ | 332 sources = [ |
332 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 333 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
333 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 334 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
334 ] | 335 ] |
335 jni_package = "ui/gl" | 336 jni_package = "ui/gl" |
336 } | 337 } |
337 } | 338 } |
OLD | NEW |