Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: components/mus/gpu/BUILD.gn

Issue 1923593003: Add mus::mojom::ChannelHandle for passing IPC::ChannelHandle via mojo IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/DEPS ('k') | components/mus/gpu/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gpu/BUILD.gn
diff --git a/components/mus/gpu/BUILD.gn b/components/mus/gpu/BUILD.gn
index 0bcf1fcc813ef46a8197aa918c988755a9eac1d6..a251efac67a60cec105d14e14ef82773ac34b5d1 100644
--- a/components/mus/gpu/BUILD.gn
+++ b/components/mus/gpu/BUILD.gn
@@ -2,16 +2,54 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/public/mojo_application_manifest.gni")
+import("//testing/test.gni")
+
source_set("gpu") {
output_name = "mus_gpu"
sources = [
"gpu_service_mus.cc",
"gpu_service_mus.h",
+ "gpu_type_converters.cc",
+ "gpu_type_converters.h",
]
deps = [
+ "//components/mus/public/interfaces",
"//gpu/ipc/common",
"//gpu/ipc/service",
+ "//ipc",
+ "//mojo/platform_handle:platform_handle",
+ ]
+}
+
+group("tests") {
+ testonly = true
+ deps = [
+ ":mus_gpu_unittests",
+ ]
+}
+
+test("mus_gpu_unittests") {
+ sources = [
+ "gpu_type_converters_unittest.cc",
+ ]
+
+ deps = [
+ ":gpu",
+ "//base",
+ "//ipc",
+ "//services/shell/public/cpp/test:run_all_shelltests",
+ "//testing/gtest",
]
+
+ data_deps = [
+ ":mus_gpu_unittests_app_manifest",
+ ]
+}
+
+mojo_application_manifest("mus_gpu_unittests_app_manifest") {
+ application_name = "mus_gpu_unittests_app"
+ source = "mus_gpu_unittests_app_manifest.json"
}
« no previous file with comments | « components/mus/DEPS ('k') | components/mus/gpu/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698