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

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

Issue 1110923003: Added switch to disable specified GL extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gl_unittests for windows 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 | « content/browser/gpu/gpu_process_host.cc ('k') | ui/gl/gl_api_unittest.cc » ('j') | 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 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 configs += [ "//third_party/khronos:khronos_headers" ] 273 configs += [ "//third_party/khronos:khronos_headers" ]
274 274
275 deps = [ 275 deps = [
276 ":gl", 276 ":gl",
277 "//testing/gmock", 277 "//testing/gmock",
278 ] 278 ]
279 } 279 }
280 280
281 test("gl_unittests") { 281 test("gl_unittests") {
282 sources = [ 282 sources = [
283 "gl_api_unittest.cc",
283 "test/run_all_unittests.cc", 284 "test/run_all_unittests.cc",
284 ] 285 ]
285 286
286 deps = [ 287 deps = [
287 ":gl", 288 ":gl",
288 "//base", 289 "//base",
289 "//base/test:test_support", 290 "//base/test:test_support",
290 "//testing/gtest", 291 "//testing/gtest",
291 ] 292 ]
292 } 293 }
293 294
294 if (is_android) { 295 if (is_android) {
295 generate_jar_jni("surface_jni_headers") { 296 generate_jar_jni("surface_jni_headers") {
296 jni_package = "ui/gl" 297 jni_package = "ui/gl"
297 classes = [ "android/view/Surface.class" ] 298 classes = [ "android/view/Surface.class" ]
298 } 299 }
299 300
300 generate_jni("gl_jni_headers") { 301 generate_jni("gl_jni_headers") {
301 deps = [ 302 deps = [
302 ":surface_jni_headers", 303 ":surface_jni_headers",
303 ] 304 ]
304 sources = [ 305 sources = [
305 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 306 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
306 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 307 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
307 ] 308 ]
308 jni_package = "ui/gl" 309 jni_package = "ui/gl"
309 } 310 }
310 } 311 }
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | ui/gl/gl_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698