# Copyright 2015 The Chromium Authors
# 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("blink_features") {
defines = [ "IS_BLINK_FEATURES_IMPL" ]
sources = [
"blink_features.cc",
"blink_features.h",
]
deps = [ "//base" ]
}
source_set("blink") {
sources = [
"blink_event_util.cc",
"blink_event_util.h",
"did_overscroll_params.h",
"fling_booster.cc",
"fling_booster.h",
"web_input_event.cc",
"web_input_event.h",
"web_input_event_traits.cc",
"web_input_event_traits.h",
]
public_deps = [ ":blink_features" ]
deps = [
"//cc:cc",
"//services/tracing/public/cpp:cpp",
"//third_party/blink/public:blink_headers",
"//third_party/one_euro_filter",
"//ui/base:base",
"//ui/events",
"//ui/events:dom_keycode_converter",
"//ui/events:events_base",
"//ui/events:gesture_detection",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/latency",
]
if (is_win) {
sources += [
"web_input_event_builders_win.cc",
"web_input_event_builders_win.h",
]
deps += [ "//ui/display" ]
}
}