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