| # Copyright 2016 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//testing/test.gni") |
| |
| component("gl") { |
| sources = [ |
| "gl_image_ozone_native_pixmap.cc", |
| "gl_image_ozone_native_pixmap.h", |
| "ozone_gl_export.h", |
| ] |
| |
| defines = [ "OZONE_GL_IMPLEMENTATION" ] |
| |
| deps = [ |
| "//ui/gfx", |
| "//ui/gl", |
| "//ui/ozone:ozone_base", |
| ] |
| } |
| |
| test("ozone_gl_unittests") { |
| sources = [ |
| "gl_image_ozone_native_pixmap_unittest.cc", |
| ] |
| |
| deps = [ |
| "//base/test:test_support", |
| "//testing/gtest", |
| "//ui/gfx", |
| "//ui/gl:run_all_unittests", |
| "//ui/gl:test_support", |
| "//ui/ozone", |
| ] |
| |
| data_deps = [ |
| "//third_party/mesa:osmesa", |
| ] |
| } |