Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//ui/ozone/ozone.gni") | |
| 7 | 8 |
| 8 if (use_xkbcommon) { | 9 if (use_xkbcommon) { |
| 9 pkg_config("xkbcommon") { | 10 pkg_config("xkbcommon") { |
| 10 packages = [ "xkbcommon" ] | 11 packages = [ "xkbcommon" ] |
| 11 } | 12 } |
| 12 } | 13 } |
| 13 | 14 |
| 14 if (use_ozone) { | 15 if (use_ozone) { |
| 15 pkg_config("libdrm") { | 16 pkg_config("libdrm") { |
| 16 packages = [ "libdrm" ] | 17 packages = [ "libdrm" ] |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 82 } | 83 } |
| 83 | 84 |
| 84 executable("wayland_motion_events") { | 85 executable("wayland_motion_events") { |
| 85 sources = [ | 86 sources = [ |
| 86 "clients/motion_events.cc", | 87 "clients/motion_events.cc", |
| 87 ] | 88 ] |
| 88 | 89 |
| 89 deps = [ | 90 deps = [ |
| 90 "//base", | 91 "//base", |
| 91 "//third_party/wayland:wayland_client", | 92 "//third_party/wayland:wayland_client", |
| 93 "//third_party/wayland-protocols:linux_dmabuf_protocol", | |
| 94 "//ui/gfx/geometry", | |
| 95 "//ui/gl", | |
| 96 "//ui/gl/init", | |
| 92 ] | 97 ] |
| 98 | |
| 99 if (ozone_platform_gbm) { | |
| 100 configs += [ | |
| 101 ":libdrm", | |
| 102 "//ui/gl:gl_config", | |
| 103 ] | |
| 104 defines = [ "OZONE_PLATFORM_GBM" ] | |
| 105 deps += [ "//third_party/minigbm" ] | |
| 106 ldflags = [ | |
| 107 "-lEGL", | |
| 108 "-lGLESv2", | |
|
reveman
2016/11/04 22:34:14
do we need these?
Daniele Castagna
2016/11/05 21:05:11
No, removed.
| |
| 109 ] | |
| 110 } | |
| 93 } | 111 } |
| OLD | NEW |