| 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 ] | 18 ] |
| 19 | 19 |
| 20 defines = [ "MUS_IPC_IMPLEMENTATION" ] | 20 defines = [ "MUS_IPC_IMPLEMENTATION" ] |
| 21 | 21 |
| 22 deps = [ | 22 deps = [ |
| 23 "//components/mus/public/interfaces", | 23 "//components/mus/public/interfaces", |
| 24 "//gpu/ipc/common:command_buffer_traits", | 24 "//gpu/ipc/common:command_buffer_traits", |
| 25 "//ipc:ipc", | 25 "//ipc:ipc", |
| 26 "//mojo/public/c/system:for_component", | 26 "//mojo/public/c/system:for_component", |
| 27 "//ui/events:events", | 27 "//ui/events:events", |
| 28 "//ui/gfx/ipc", | 28 "//ui/gfx/ipc/geometry", |
| 29 ] | 29 ] |
| 30 | 30 |
| 31 public_deps = [ | 31 public_deps = [ |
| 32 "//ui/base", | 32 "//ui/base", |
| 33 ] | 33 ] |
| 34 } | 34 } |
| 35 | 35 |
| 36 test("mus_common_unittests") { | 36 test("mus_common_unittests") { |
| 37 sources = [ | 37 sources = [ |
| 38 "event_param_traits_unittest.cc", | 38 "event_param_traits_unittest.cc", |
| 39 ] | 39 ] |
| 40 public_deps = [ | 40 public_deps = [ |
| 41 ":mus_common", | 41 ":mus_common", |
| 42 ] | 42 ] |
| 43 deps = [ | 43 deps = [ |
| 44 "//base", | 44 "//base", |
| 45 "//base/test:run_all_unittests", | 45 "//base/test:run_all_unittests", |
| 46 "//base/test:test_config", | 46 "//base/test:test_config", |
| 47 "//ipc:ipc", | 47 "//ipc:ipc", |
| 48 "//mojo/edk/test:test_support", | 48 "//mojo/edk/test:test_support", |
| 49 "//testing/gtest", | 49 "//testing/gtest", |
| 50 "//ui/events:events", | 50 "//ui/events:events", |
| 51 "//ui/gfx:test_support", | 51 "//ui/gfx:test_support", |
| 52 "//ui/gfx/ipc", | 52 "//ui/gfx/ipc", |
| 53 ] | 53 ] |
| 54 } | 54 } |
| OLD | NEW |