| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 component("gl") { | |
| 8 sources = [ | |
| 9 "gl_image_ozone_native_pixmap.cc", | |
| 10 "gl_image_ozone_native_pixmap.h", | |
| 11 "ozone_gl_export.h", | |
| 12 ] | |
| 13 | |
| 14 defines = [ "OZONE_GL_IMPLEMENTATION" ] | |
| 15 | |
| 16 deps = [ | |
| 17 "//ui/gfx", | |
| 18 "//ui/gl", | |
| 19 "//ui/ozone:ozone_base", | |
| 20 ] | |
| 21 } | |
| 22 | |
| 23 test("ozone_gl_unittests") { | 7 test("ozone_gl_unittests") { |
| 24 sources = [ | 8 sources = [ |
| 25 "gl_image_ozone_native_pixmap_unittest.cc", | 9 "gl_image_ozone_native_pixmap_unittest.cc", |
| 26 ] | 10 ] |
| 27 | 11 |
| 28 deps = [ | 12 deps = [ |
| 29 "//base/test:test_support", | 13 "//base/test:test_support", |
| 30 "//testing/gtest", | 14 "//testing/gtest", |
| 31 "//ui/gfx", | 15 "//ui/gfx", |
| 32 "//ui/gl:run_all_unittests", | 16 "//ui/gl:run_all_unittests", |
| 33 "//ui/gl:test_support", | 17 "//ui/gl:test_support", |
| 34 "//ui/ozone", | 18 "//ui/ozone", |
| 35 ] | 19 ] |
| 36 | 20 |
| 37 data_deps = [ | 21 data_deps = [ |
| 38 "//third_party/mesa:osmesa", | 22 "//third_party/mesa:osmesa", |
| 39 ] | 23 ] |
| 40 } | 24 } |
| OLD | NEW |