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