Chromium Code Reviews| 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/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 use_egl = is_win || is_android || is_linux | 9 use_egl = is_win || is_android || is_linux |
| 10 use_glx = use_x11 | 10 use_glx = use_x11 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 304 "//ui/gl/init", | 304 "//ui/gl/init", |
| 305 ] | 305 ] |
| 306 deps = [ | 306 deps = [ |
| 307 "//testing/gtest", | 307 "//testing/gtest", |
| 308 ] | 308 ] |
| 309 | 309 |
| 310 if (use_x11) { | 310 if (use_x11) { |
| 311 configs += [ "//build/config/linux:x11" ] | 311 configs += [ "//build/config/linux:x11" ] |
| 312 deps += [ "//ui/platform_window/x11" ] | 312 deps += [ "//ui/platform_window/x11" ] |
| 313 } | 313 } |
| 314 | |
| 315 if (use_ozone) { | |
| 316 deps += [ "//ui/ozone" ] | |
|
rjkroege
2016/08/26 19:55:53
Would it be too hard to narrow the dependency?. Ca
kylechar
2016/08/29 15:38:14
Well, the DEPS only allows ui/ozone/public for #in
| |
| 317 } | |
| 314 } | 318 } |
| 315 | 319 |
| 316 source_set("run_all_unittests") { | 320 source_set("run_all_unittests") { |
| 317 testonly = true | 321 testonly = true |
| 318 | 322 |
| 319 sources = [ | 323 sources = [ |
| 320 "test/run_all_unittests.cc", | 324 "test/run_all_unittests.cc", |
| 321 ] | 325 ] |
| 322 | 326 |
| 323 deps = [ | 327 deps = [ |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 392 sources = [ | 396 sources = [ |
| 393 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 397 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 394 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", | 398 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", |
| 395 ] | 399 ] |
| 396 public_deps = [ | 400 public_deps = [ |
| 397 ":surface_jni_headers", | 401 ":surface_jni_headers", |
| 398 ] | 402 ] |
| 399 jni_package = "ui/gl" | 403 jni_package = "ui/gl" |
| 400 } | 404 } |
| 401 } | 405 } |
| OLD | NEW |