| 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("mus_common") { | 7 component("mus_common") { |
| 8 sources = [ | 8 sources = [ |
| 9 "args.cc", | 9 "args.cc", |
| 10 "args.h", | 10 "args.h", |
| 11 "event_param_traits.cc", | 11 "event_param_traits.cc", |
| 12 "event_param_traits.h", | 12 "event_param_traits.h", |
| 13 "event_param_traits_macros.h", | 13 "event_param_traits_macros.h", |
| 14 "mus_common_export.h", | 14 "mus_common_export.h", |
| 15 "transient_window_utils.h", | 15 "transient_window_utils.h", |
| 16 "types.h", | 16 "types.h", |
| 17 "util.h", | 17 "util.h", |
| 18 "window_tracker.h", | 18 "window_tracker.h", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 defines = [ "MUS_IPC_IMPLEMENTATION" ] | 21 defines = [ "MUS_IPC_IMPLEMENTATION" ] |
| 22 | 22 |
| 23 deps = [ | 23 deps = [ |
| 24 "//components/mus/public/interfaces", | 24 "//components/mus/public/interfaces", |
| 25 "//gpu/ipc/common:command_buffer_traits", |
| 25 "//ipc:ipc", | 26 "//ipc:ipc", |
| 26 "//mojo/public/c/system:for_component", | 27 "//mojo/public/c/system:for_component", |
| 27 "//ui/events:events", | 28 "//ui/events:events", |
| 28 "//ui/gfx/ipc", | 29 "//ui/gfx/ipc", |
| 29 ] | 30 ] |
| 30 } | 31 } |
| 31 | 32 |
| 32 test("mus_common_unittests") { | 33 test("mus_common_unittests") { |
| 33 sources = [ | 34 sources = [ |
| 34 "event_param_traits_unittest.cc", | 35 "event_param_traits_unittest.cc", |
| 35 ] | 36 ] |
| 36 public_deps = [ | 37 public_deps = [ |
| 37 ":mus_common", | 38 ":mus_common", |
| 38 ] | 39 ] |
| 39 deps = [ | 40 deps = [ |
| 40 "//base", | 41 "//base", |
| 41 "//base/test:run_all_unittests", | 42 "//base/test:run_all_unittests", |
| 42 "//base/test:test_config", | 43 "//base/test:test_config", |
| 43 "//ipc:ipc", | 44 "//ipc:ipc", |
| 44 "//mojo/edk/test:test_support", | 45 "//mojo/edk/test:test_support", |
| 45 "//testing/gtest", | 46 "//testing/gtest", |
| 46 "//ui/events:events", | 47 "//ui/events:events", |
| 47 "//ui/gfx:test_support", | 48 "//ui/gfx:test_support", |
| 48 "//ui/gfx/ipc", | 49 "//ui/gfx/ipc", |
| 49 ] | 50 ] |
| 50 } | 51 } |
| OLD | NEW |