| 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//mojo/public/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 component("mus_common") { | 9 component("mus_common") { |
| 10 sources = [ | 10 sources = [ |
| 11 "event_matcher_util.cc", | 11 "event_matcher_util.cc", |
| 12 "event_matcher_util.h", | 12 "event_matcher_util.h", |
| 13 "event_param_traits.cc", | |
| 14 "event_param_traits.h", | |
| 15 "event_param_traits_macros.h", | |
| 16 "gpu_memory_buffer_impl.cc", | 13 "gpu_memory_buffer_impl.cc", |
| 17 "gpu_memory_buffer_impl.h", | 14 "gpu_memory_buffer_impl.h", |
| 18 "gpu_service.cc", | 15 "gpu_service.cc", |
| 19 "gpu_service.h", | 16 "gpu_service.h", |
| 20 "gpu_type_converters.cc", | 17 "gpu_type_converters.cc", |
| 21 "gpu_type_converters.h", | 18 "gpu_type_converters.h", |
| 22 "mojo_buffer_backing.cc", | 19 "mojo_buffer_backing.cc", |
| 23 "mojo_buffer_backing.h", | 20 "mojo_buffer_backing.h", |
| 24 "mojo_gpu_memory_buffer.cc", | 21 "mojo_gpu_memory_buffer.cc", |
| 25 "mojo_gpu_memory_buffer.h", | 22 "mojo_gpu_memory_buffer.h", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 "//services/shell/background:main", | 63 "//services/shell/background:main", |
| 67 ] | 64 ] |
| 68 | 65 |
| 69 if (use_ozone) { | 66 if (use_ozone) { |
| 70 deps += [ "//ui/ozone" ] | 67 deps += [ "//ui/ozone" ] |
| 71 } | 68 } |
| 72 } | 69 } |
| 73 | 70 |
| 74 test("mus_common_unittests") { | 71 test("mus_common_unittests") { |
| 75 sources = [ | 72 sources = [ |
| 76 "event_param_traits_unittest.cc", | |
| 77 "gpu_type_converters_unittest.cc", | 73 "gpu_type_converters_unittest.cc", |
| 78 ] | 74 ] |
| 79 public_deps = [ | 75 public_deps = [ |
| 80 ":mus_common", | 76 ":mus_common", |
| 81 ] | 77 ] |
| 82 deps = [ | 78 deps = [ |
| 83 ":run_all_shelltests", | 79 ":run_all_shelltests", |
| 84 "//base", | 80 "//base", |
| 85 "//base/test:test_config", | 81 "//base/test:test_config", |
| 86 "//components/mus/public/interfaces", | 82 "//components/mus/public/interfaces", |
| 87 "//ipc:ipc", | 83 "//ipc:ipc", |
| 88 "//mojo/edk/test:test_support", | 84 "//mojo/edk/test:test_support", |
| 89 "//testing/gtest", | 85 "//testing/gtest", |
| 90 "//ui/events:events", | |
| 91 "//ui/gfx:test_support", | 86 "//ui/gfx:test_support", |
| 92 "//ui/gfx/ipc", | 87 "//ui/gfx/ipc", |
| 93 ] | 88 ] |
| 94 } | 89 } |
| 95 | 90 |
| 96 mojo_application_manifest("mus_common_unittests_app_manifest") { | 91 mojo_application_manifest("mus_common_unittests_app_manifest") { |
| 97 application_name = "mus_common_unittests_app" | 92 application_name = "mus_common_unittests_app" |
| 98 source = "mus_common_unittests_app_manifest.json" | 93 source = "mus_common_unittests_app_manifest.json" |
| 99 } | 94 } |
| OLD | NEW |