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