| 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("//tools/generate_library_loader/generate_library_loader.gni") | 5 import("//tools/generate_library_loader/generate_library_loader.gni") |
| 6 | 6 |
| 7 source_set("egltest") { | 7 source_set("egltest") { |
| 8 sources = [ | 8 sources = [ |
| 9 "ozone_platform_egltest.cc", | 9 "ozone_platform_egltest.cc", |
| 10 "ozone_platform_egltest.h", | 10 "ozone_platform_egltest.h", |
| 11 ] | 11 ] |
| 12 | 12 |
| 13 deps = [ | 13 deps = [ |
| 14 ":eglplatform_shim", | 14 ":eglplatform_shim", |
| 15 "//base", | 15 "//base", |
| 16 "//ui/events/ozone:events_ozone_evdev", | 16 "//ui/events/ozone:events_ozone_evdev", |
| 17 "//ui/events/ozone:events_ozone_layout", |
| 17 "//ui/gfx", | 18 "//ui/gfx", |
| 18 ] | 19 ] |
| 19 } | 20 } |
| 20 | 21 |
| 21 generate_library_loader("eglplatform_shim") { | 22 generate_library_loader("eglplatform_shim") { |
| 22 name = "LibeglplatformShimLoader" | 23 name = "LibeglplatformShimLoader" |
| 23 output_h = "libeglplatform_shim.h" | 24 output_h = "libeglplatform_shim.h" |
| 24 output_cc = "libeglplatform_shim_loader.cc" | 25 output_cc = "libeglplatform_shim_loader.cc" |
| 25 header = "\"ui/ozone/platform/egltest/eglplatform_shim.h\"" | 26 header = "\"ui/ozone/platform/egltest/eglplatform_shim.h\"" |
| 26 | 27 |
| 27 functions = [ | 28 functions = [ |
| 28 "ShimQueryString", | 29 "ShimQueryString", |
| 29 "ShimInitialize", | 30 "ShimInitialize", |
| 30 "ShimTerminate", | 31 "ShimTerminate", |
| 31 "ShimCreateWindow", | 32 "ShimCreateWindow", |
| 32 "ShimQueryWindow", | 33 "ShimQueryWindow", |
| 33 "ShimDestroyWindow", | 34 "ShimDestroyWindow", |
| 34 "ShimGetNativeDisplay", | 35 "ShimGetNativeDisplay", |
| 35 "ShimGetNativeWindow", | 36 "ShimGetNativeWindow", |
| 36 "ShimReleaseNativeWindow", | 37 "ShimReleaseNativeWindow", |
| 37 ] | 38 ] |
| 38 } | 39 } |
| 39 | 40 |
| 40 # TODO(spang): eglplatform_shim_x11 once support lands: http://crbug.com/380327 | 41 # TODO(spang): eglplatform_shim_x11 once support lands: http://crbug.com/380327 |
| OLD | NEW |