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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 "gl_surface_egl.cc", | 152 "gl_surface_egl.cc", |
153 "gl_surface_egl.h", | 153 "gl_surface_egl.h", |
154 ] | 154 ] |
155 } | 155 } |
156 if (is_android || is_linux) { | 156 if (is_android || is_linux) { |
157 sources += [ | 157 sources += [ |
158 "gl_implementation_osmesa.cc", | 158 "gl_implementation_osmesa.cc", |
159 "gl_implementation_osmesa.h", | 159 "gl_implementation_osmesa.h", |
160 ] | 160 ] |
161 } | 161 } |
162 if (is_linux) { | |
163 deps += [ "//third_party/libevent" ] | |
164 } | |
165 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | 162 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
166 deps += [ "//third_party/mesa:osmesa" ] | 163 deps += [ "//third_party/mesa:osmesa" ] |
167 } | 164 } |
168 if (use_x11) { | 165 if (use_x11) { |
169 sources += [ | 166 sources += [ |
170 "gl_bindings_autogen_glx.cc", | 167 "gl_bindings_autogen_glx.cc", |
171 "gl_bindings_autogen_glx.h", | 168 "gl_bindings_autogen_glx.h", |
172 "gl_context_glx.cc", | 169 "gl_context_glx.cc", |
173 "gl_context_glx.h", | 170 "gl_context_glx.h", |
174 "gl_context_x11.cc", | 171 "gl_context_x11.cc", |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 sources = [ | 392 sources = [ |
396 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 393 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
397 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 394 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
398 ] | 395 ] |
399 public_deps = [ | 396 public_deps = [ |
400 ":surface_jni_headers", | 397 ":surface_jni_headers", |
401 ] | 398 ] |
402 jni_package = "ui/gl" | 399 jni_package = "ui/gl" |
403 } | 400 } |
404 } | 401 } |
OLD | NEW |