Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Side by Side Diff: ui/gl/BUILD.gn

Issue 1108173002: Roll //build, //native_client, and a few more targets of opportunity. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Test fix Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 "gl_image_surface_texture.h", 185 "gl_image_surface_texture.h",
186 ] 186 ]
187 187
188 defines += [ 188 defines += [
189 "GL_GLEXT_PROTOTYPES", 189 "GL_GLEXT_PROTOTYPES",
190 "EGL_EGLEXT_PROTOTYPES", 190 "EGL_EGLEXT_PROTOTYPES",
191 ] 191 ]
192 192
193 libs = [ "android" ] 193 libs = [ "android" ]
194 194
195 deps += [ ":gl_jni_headers" ] 195 deps += [
196 ":gl_jni_headers",
197 "//ui/android:ui_java",
198 ]
196 } 199 }
197 if (use_ozone) { 200 if (use_ozone) {
198 sources += [ 201 sources += [
199 "gl_context_ozone.cc", 202 "gl_context_ozone.cc",
200 "gl_egl_api_implementation.cc", 203 "gl_egl_api_implementation.cc",
201 "gl_egl_api_implementation.h", 204 "gl_egl_api_implementation.h",
202 "gl_implementation_ozone.cc", 205 "gl_implementation_ozone.cc",
203 "gl_surface_ozone.cc", 206 "gl_surface_ozone.cc",
204 ] 207 ]
205 deps += [ 208 deps += [
206 "//ui/ozone", 209 "//ui/ozone",
207 "//ui/ozone:ozone_base", 210 "//ui/ozone:ozone_base",
208 ] 211 ]
209 } 212 }
210
211 if (is_android && !is_android_webview_build) {
212 deps += [ "//ui/android:ui_java" ]
213 }
214 } 213 }
215 214
216 source_set("gl_unittest_utils") { 215 source_set("gl_unittest_utils") {
217 testonly = true 216 testonly = true
218 sources = [ 217 sources = [
219 "gl_bindings_autogen_mock.cc", 218 "gl_bindings_autogen_mock.cc",
220 "gl_bindings_autogen_mock.h", 219 "gl_bindings_autogen_mock.h",
221 "gl_mock.cc", 220 "gl_mock.cc",
222 "gl_mock.h", 221 "gl_mock.h",
223 "gl_mock_autogen_gl.h", 222 "gl_mock_autogen_gl.h",
(...skipping 17 matching lines...) Expand all
241 deps = [ 240 deps = [
242 ":surface_jni_headers", 241 ":surface_jni_headers",
243 ] 242 ]
244 sources = [ 243 sources = [
245 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 244 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
246 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 245 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
247 ] 246 ]
248 jni_package = "ui/gl" 247 jni_package = "ui/gl"
249 } 248 }
250 } 249 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698