| 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 import("//ui/ozone/ozone.gni") |
| 6 | 7 |
| 7 source_set("egltest") { | 8 source_set("egltest") { |
| 8 sources = [ | 9 sources = [ |
| 9 "ozone_platform_egltest.cc", | 10 "ozone_platform_egltest.cc", |
| 10 "ozone_platform_egltest.h", | 11 "ozone_platform_egltest.h", |
| 11 ] | 12 ] |
| 12 | 13 |
| 13 deps = [ | 14 deps = [ |
| 14 ":eglplatform_shim", | 15 ":eglplatform_shim", |
| 15 "//base", | 16 "//base", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 32 "ShimInitialize", | 33 "ShimInitialize", |
| 33 "ShimTerminate", | 34 "ShimTerminate", |
| 34 "ShimCreateWindow", | 35 "ShimCreateWindow", |
| 35 "ShimQueryWindow", | 36 "ShimQueryWindow", |
| 36 "ShimDestroyWindow", | 37 "ShimDestroyWindow", |
| 37 "ShimGetNativeDisplay", | 38 "ShimGetNativeDisplay", |
| 38 "ShimGetNativeWindow", | 39 "ShimGetNativeWindow", |
| 39 "ShimReleaseNativeWindow", | 40 "ShimReleaseNativeWindow", |
| 40 ] | 41 ] |
| 41 } | 42 } |
| 42 # TODO(spang): eglplatform_shim_x11 once support lands: http://crbug.com/380327 | 43 |
| 44 # TODO(spang): eglplatform_shim_x11 should become a loadable_module once |
| 45 # support lands: http://crbug.com/380327. Until then, it is not valid on |
| 46 # platforms other than Linux. |
| 47 |
| 48 # GYP version: "ui/ozone/platform/egltest/egltest.gypi:eglplatform_shim_x11" |
| 49 if (is_linux && ozone_platform_ozonex) { |
| 50 shared_library("eglplatform_shim_x11") { |
| 51 output_name = "libeglplatform_shim" |
| 52 |
| 53 output_extension = "so.1" |
| 54 |
| 55 sources = [ |
| 56 "eglplatform_shim.h", |
| 57 "eglplatform_shim_xeleven.cc", |
| 58 ] |
| 59 |
| 60 configs += [ "//build/config/linux:x11" ] |
| 61 } |
| 62 } |
| OLD | NEW |