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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 "test/run_all_unittests.cc", | 321 "test/run_all_unittests.cc", |
322 ] | 322 ] |
323 | 323 |
324 if (is_win || is_android || is_linux) { | 324 if (is_win || is_android || is_linux) { |
325 sources += [ | 325 sources += [ |
326 "egl_api_unittest.cc", | 326 "egl_api_unittest.cc", |
327 "test/egl_initialization_displays_unittest.cc", | 327 "test/egl_initialization_displays_unittest.cc", |
328 ] | 328 ] |
329 } | 329 } |
330 | 330 |
| 331 if (use_x11) { |
| 332 sources += [ "glx_api_unittest.cc" ] |
| 333 } |
| 334 |
331 include_dirs = [ "//third_party/khronos" ] | 335 include_dirs = [ "//third_party/khronos" ] |
332 | 336 |
333 deps = [ | 337 deps = [ |
334 ":gl", | 338 ":gl", |
335 ":gl_unittest_utils", | 339 ":gl_unittest_utils", |
336 ":test_support", | 340 ":test_support", |
337 "//base", | 341 "//base", |
338 "//base/test:test_support", | 342 "//base/test:test_support", |
339 "//testing/gmock", | 343 "//testing/gmock", |
340 "//testing/gtest", | 344 "//testing/gtest", |
(...skipping 10 matching lines...) Expand all Loading... |
351 deps = [ | 355 deps = [ |
352 ":surface_jni_headers", | 356 ":surface_jni_headers", |
353 ] | 357 ] |
354 sources = [ | 358 sources = [ |
355 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 359 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
356 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 360 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
357 ] | 361 ] |
358 jni_package = "ui/gl" | 362 jni_package = "ui/gl" |
359 } | 363 } |
360 } | 364 } |
OLD | NEW |