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("//testing/test.gni") 6 7component("blink") { 8 output_name = "mojo_blink_lib" 9 10 sources = [ 11 "blink_input_events_type_converters.cc", 12 "blink_input_events_type_converters.h", 13 "mojo_blink_export.h", 14 ] 15 16 defines = [ "MOJO_CONVERTERS_BLINK_IMPLEMENTATION" ] 17 18 public_deps = [ 19 "//mojo/public/cpp/bindings", 20 ] 21 22 deps = [ 23 "//base", 24 "//third_party/WebKit/public:blink", 25 "//ui/events", 26 "//ui/events:dom_keycode_converter", 27 ] 28} 29 30test("blink_converters_unittests") { 31 sources = [ 32 "blink_input_events_type_converters_unittest.cc", 33 ] 34 deps = [ 35 ":blink", 36 "//base:message_loop_tests", 37 "//base/test:run_all_unittests", 38 "//base/test:test_support", 39 "//mojo/public/cpp/bindings:bindings", 40 "//testing/gtest", 41 "//third_party/WebKit/public:blink", 42 "//ui/events", 43 ] 44} 45