| 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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 testonly = true | 318 testonly = true |
| 319 sources = [ | 319 sources = [ |
| 320 "gl_mock.h", | 320 "gl_mock.h", |
| 321 "gl_mock.cc", | 321 "gl_mock.cc", |
| 322 "$gl_binding_output_dir/gl_bindings_autogen_mock.cc", | 322 "$gl_binding_output_dir/gl_bindings_autogen_mock.cc", |
| 323 "$gl_binding_output_dir/gl_bindings_autogen_mock.h", | 323 "$gl_binding_output_dir/gl_bindings_autogen_mock.h", |
| 324 "$gl_binding_output_dir/gl_mock_autogen_gl.h", | 324 "$gl_binding_output_dir/gl_mock_autogen_gl.h", |
| 325 ] | 325 ] |
| 326 | 326 |
| 327 configs += [ "//third_party/khronos:khronos_headers" ] | 327 configs += [ "//third_party/khronos:khronos_headers" ] |
| 328 direct_dependent_configs = [ ":gl_unittest_utils_config" ] | 328 public_configs = [ ":gl_unittest_utils_config" ] |
| 329 | 329 |
| 330 deps = [ | 330 deps = [ |
| 331 ":gl", | 331 ":gl", |
| 332 "//testing/gmock", | 332 "//testing/gmock", |
| 333 ] | 333 ] |
| 334 } | 334 } |
| 335 | 335 |
| 336 if (is_android) { | 336 if (is_android) { |
| 337 generate_jar_jni("surface_jni_headers") { | 337 generate_jar_jni("surface_jni_headers") { |
| 338 jni_package = "ui/gl" | 338 jni_package = "ui/gl" |
| 339 classes = [ "android/view/Surface.class" ] | 339 classes = [ "android/view/Surface.class" ] |
| 340 } | 340 } |
| 341 | 341 |
| 342 generate_jni("gl_jni_headers") { | 342 generate_jni("gl_jni_headers") { |
| 343 deps = [ ":surface_jni_headers" ] | 343 deps = [ ":surface_jni_headers" ] |
| 344 sources = [ | 344 sources = [ |
| 345 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 345 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 346 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 346 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 347 ] | 347 ] |
| 348 jni_package = "ui/gl" | 348 jni_package = "ui/gl" |
| 349 } | 349 } |
| 350 } | 350 } |
| OLD | NEW |