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 3# found in the LICENSE file. 4 5import("//build/config/ui.gni") 6 7component("blink_features") { 8 defines = [ "IS_BLINK_FEATURES_IMPL" ] 9 10 sources = [ 11 "blink_features.cc", 12 "blink_features.h", 13 ] 14 15 deps = [ "//base" ] 16} 17 18source_set("blink") { 19 sources = [ 20 "blink_event_util.cc", 21 "blink_event_util.h", 22 "did_overscroll_params.h", 23 "fling_booster.cc", 24 "fling_booster.h", 25 "web_input_event.cc", 26 "web_input_event.h", 27 "web_input_event_traits.cc", 28 "web_input_event_traits.h", 29 ] 30 31 public_deps = [ ":blink_features" ] 32 33 deps = [ 34 "//cc:cc", 35 "//services/tracing/public/cpp:cpp", 36 "//third_party/blink/public:blink_headers", 37 "//third_party/one_euro_filter", 38 "//ui/base:base", 39 "//ui/events", 40 "//ui/events:dom_keycode_converter", 41 "//ui/events:events_base", 42 "//ui/events:gesture_detection", 43 "//ui/gfx", 44 "//ui/gfx/geometry", 45 "//ui/latency", 46 ] 47 48 if (use_x11) { 49 deps += [ "//ui/gfx/x" ] 50 } 51 52 if (is_win) { 53 sources += [ 54 "web_input_event_builders_win.cc", 55 "web_input_event_builders_win.h", 56 ] 57 deps += [ "//ui/display" ] 58 } 59} 60