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