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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |