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