Commit cfdfb15e authored by jamesr@chromium.org's avatar jamesr@chromium.org

GN: ui/events/platform target from r270816

This adds the //ui/events/platform target and adds a dependency from //ui/gl

R=sadrul@chromium.org

Review URL: https://codereview.chromium.org/317823009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275474 0039d316-1c4b-4281-b951-d872f2087c98
parent d1d0d9e3
......@@ -44,6 +44,7 @@ component("events_base") {
"//base",
"//base/third_party/dynamic_annotations",
"//skia",
"//ui/events/platform",
"//ui/gfx",
"//ui/gfx/geometry",
]
......@@ -110,14 +111,6 @@ component("events") {
"gestures/gesture_types.h",
"gestures/velocity_calculator.cc",
"gestures/velocity_calculator.h",
"platform/platform_event_dispatcher.h",
"platform/platform_event_observer.h",
"platform/platform_event_source.cc",
"platform/platform_event_source.h",
"platform/platform_event_source_stub.cc",
"platform/platform_event_types.h",
"platform/scoped_event_dispatcher.cc",
"platform/scoped_event_dispatcher.h",
"platform/x11/x11_event_source.cc",
"platform/x11/x11_event_source.h",
"win/events_win.cc",
......
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ui.gni")
component("platform") {
deps = [
"//base"
]
defines = [
"EVENTS_IMPLEMENTATION",
]
sources = [
"platform_event_dispatcher.h",
"platform_event_observer.h",
"platform_event_source.cc",
"platform_event_source.h",
"platform_event_source_stub.cc",
"platform_event_types.h",
"scoped_event_dispatcher.cc",
"scoped_event_dispatcher.h",
]
if (use_x11) {
sources -= [ "platform_event_source_stub.cc" ]
}
}
......@@ -117,6 +117,7 @@ component("gl") {
"//gpu/command_buffer/common",
"//third_party/mesa:mesa_headers",
"//skia",
"//ui/events/platform",
"//ui/gfx",
"//ui/gfx/geometry",
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment