Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Side by Side Diff: ui/ozone/platform/eglheadless/BUILD.gn

Issue 1410123003: Rename "test" ozone platform to "headless" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed egltest => eglheadless, test => headless Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("eglheadless") {
9 sources = [ 9 sources = [
10 "client_native_pixmap_factory_egltest.cc", 10 "client_native_pixmap_factory_eglheadless.cc",
11 "client_native_pixmap_factory_egltest.h", 11 "client_native_pixmap_factory_eglheadless.h",
12 "ozone_platform_egltest.cc", 12 "ozone_platform_eglheadless.cc",
13 "ozone_platform_egltest.h", 13 "ozone_platform_eglheadless.h",
14 ] 14 ]
15 15
16 deps = [ 16 deps = [
17 ":eglplatform_shim", 17 ":eglplatform_shim",
18 "//base", 18 "//base",
19 "//ui/events/devices", 19 "//ui/events/devices",
20 "//ui/events/ozone:events_ozone_evdev", 20 "//ui/events/ozone:events_ozone_evdev",
21 "//ui/events/ozone:events_ozone_layout", 21 "//ui/events/ozone:events_ozone_layout",
22 "//ui/events/platform", 22 "//ui/events/platform",
23 "//ui/gfx", 23 "//ui/gfx",
24 ] 24 ]
25 } 25 }
26 26
27 generate_library_loader("eglplatform_shim") { 27 generate_library_loader("eglplatform_shim") {
28 name = "LibeglplatformShimLoader" 28 name = "LibeglplatformShimLoader"
29 output_h = "libeglplatform_shim.h" 29 output_h = "libeglplatform_shim.h"
30 output_cc = "libeglplatform_shim_loader.cc" 30 output_cc = "libeglplatform_shim_loader.cc"
31 header = "\"ui/ozone/platform/egltest/eglplatform_shim.h\"" 31 header = "\"ui/ozone/platform/eglheadless/eglplatform_shim.h\""
32 32
33 functions = [ 33 functions = [
34 "ShimQueryString", 34 "ShimQueryString",
35 "ShimInitialize", 35 "ShimInitialize",
36 "ShimTerminate", 36 "ShimTerminate",
37 "ShimCreateWindow", 37 "ShimCreateWindow",
38 "ShimQueryWindow", 38 "ShimQueryWindow",
39 "ShimDestroyWindow", 39 "ShimDestroyWindow",
40 "ShimGetNativeDisplay", 40 "ShimGetNativeDisplay",
41 "ShimGetNativeWindow", 41 "ShimGetNativeWindow",
42 "ShimReleaseNativeWindow", 42 "ShimReleaseNativeWindow",
43 ] 43 ]
44 } 44 }
45 45
46 # TODO(spang): eglplatform_shim_x11 should become a loadable_module once 46 # TODO(spang): eglplatform_shim_x11 should become a loadable_module once
47 # support lands: http://crbug.com/380327. Until then, it is not valid on 47 # support lands: http://crbug.com/380327. Until then, it is not valid on
48 # platforms other than Linux. 48 # platforms other than Linux.
49 49
50 # GYP version: "ui/ozone/platform/egltest/egltest.gypi:eglplatform_shim_x11" 50 # GYP version: "ui/ozone/platform/eglheadless/eglheadless.gypi:eglplatform_shim_ x11"
51 if (is_linux && ozone_platform_ozonex) { 51 if (is_linux && ozone_platform_ozonex) {
52 shared_library("eglplatform_shim_x11") { 52 shared_library("eglplatform_shim_x11") {
53 output_name = "libeglplatform_shim" 53 output_name = "libeglplatform_shim"
54 54
55 output_extension = "so.1" 55 output_extension = "so.1"
56 56
57 sources = [ 57 sources = [
58 "eglplatform_shim.h", 58 "eglplatform_shim.h",
59 "eglplatform_shim_xeleven.cc", 59 "eglplatform_shim_xeleven.cc",
60 ] 60 ]
61 61
62 configs += [ "//build/config/linux:x11" ] 62 configs += [ "//build/config/linux:x11" ]
63 63
64 deps = [ 64 deps = [
65 "//build/config/sanitizers:deps", 65 "//build/config/sanitizers:deps",
66 ] 66 ]
67 } 67 }
68 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698