| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//mojo/public/mojo_application_manifest.gni") |
| 6 import("//testing/test.gni") |
| 7 |
| 5 source_set("gpu") { | 8 source_set("gpu") { |
| 6 output_name = "mus_gpu" | 9 output_name = "mus_gpu" |
| 7 | 10 |
| 8 sources = [ | 11 sources = [ |
| 9 "gpu_service_mus.cc", | 12 "gpu_service_mus.cc", |
| 10 "gpu_service_mus.h", | 13 "gpu_service_mus.h", |
| 14 "gpu_type_converters.cc", |
| 15 "gpu_type_converters.h", |
| 11 ] | 16 ] |
| 12 | 17 |
| 13 deps = [ | 18 deps = [ |
| 19 "//components/mus/public/interfaces", |
| 14 "//gpu/ipc/common", | 20 "//gpu/ipc/common", |
| 15 "//gpu/ipc/service", | 21 "//gpu/ipc/service", |
| 22 "//ipc", |
| 23 "//mojo/platform_handle:platform_handle", |
| 16 ] | 24 ] |
| 17 } | 25 } |
| 26 |
| 27 group("tests") { |
| 28 testonly = true |
| 29 deps = [ |
| 30 ":mus_gpu_unittests", |
| 31 ] |
| 32 } |
| 33 |
| 34 test("mus_gpu_unittests") { |
| 35 sources = [ |
| 36 "gpu_type_converters_unittest.cc", |
| 37 ] |
| 38 |
| 39 deps = [ |
| 40 ":gpu", |
| 41 "//base", |
| 42 "//ipc", |
| 43 "//services/shell/public/cpp/test:run_all_shelltests", |
| 44 "//testing/gtest", |
| 45 ] |
| 46 |
| 47 data_deps = [ |
| 48 ":mus_gpu_unittests_app_manifest", |
| 49 ] |
| 50 } |
| 51 |
| 52 mojo_application_manifest("mus_gpu_unittests_app_manifest") { |
| 53 application_name = "mus_gpu_unittests_app" |
| 54 source = "mus_gpu_unittests_app_manifest.json" |
| 55 } |
| OLD | NEW |