| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 "$gl_binding_output_dir/gl_bindings_autogen_egl.cc", | 145 "$gl_binding_output_dir/gl_bindings_autogen_egl.cc", |
| 146 "$gl_binding_output_dir/gl_bindings_autogen_egl.h", | 146 "$gl_binding_output_dir/gl_bindings_autogen_egl.h", |
| 147 ] | 147 ] |
| 148 } | 148 } |
| 149 if (is_android || is_linux) { | 149 if (is_android || is_linux) { |
| 150 sources += [ | 150 sources += [ |
| 151 "gl_implementation_osmesa.cc", | 151 "gl_implementation_osmesa.cc", |
| 152 "gl_implementation_osmesa.h", | 152 "gl_implementation_osmesa.h", |
| 153 ] | 153 ] |
| 154 } | 154 } |
| 155 if (is_linux) { |
| 156 deps += [ "//third_party/libevent" ] |
| 157 } |
| 155 if (use_x11) { | 158 if (use_x11) { |
| 156 sources += [ | 159 sources += [ |
| 157 "gl_context_glx.cc", | 160 "gl_context_glx.cc", |
| 158 "gl_context_glx.h", | 161 "gl_context_glx.h", |
| 159 "gl_context_x11.cc", | 162 "gl_context_x11.cc", |
| 160 "gl_glx_api_implementation.cc", | 163 "gl_glx_api_implementation.cc", |
| 161 "gl_glx_api_implementation.h", | 164 "gl_glx_api_implementation.h", |
| 162 "gl_image_glx.cc", | 165 "gl_image_glx.cc", |
| 163 "gl_image_glx.h", | 166 "gl_image_glx.h", |
| 164 "gl_implementation_x11.cc", | 167 "gl_implementation_x11.cc", |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 generate_jni("gl_jni_headers") { | 342 generate_jni("gl_jni_headers") { |
| 340 deps = [ ":surface_jni_headers" ] | 343 deps = [ ":surface_jni_headers" ] |
| 341 forward_dependent_configs_from = [ ":surface_jni_headers" ] | 344 forward_dependent_configs_from = [ ":surface_jni_headers" ] |
| 342 sources = [ | 345 sources = [ |
| 343 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 346 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 344 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 347 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 345 ] | 348 ] |
| 346 jni_package = "ui/gl" | 349 jni_package = "ui/gl" |
| 347 } | 350 } |
| 348 } | 351 } |
| OLD | NEW |