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