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

Unified Diff: ui/gfx/image/mojo/BUILD.gn

Issue 2770693002: ash: HiDPI user avatar for SessionController (Closed)
Patch Set: fix gn check Created 3 years, 9 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
Index: ui/gfx/image/mojo/BUILD.gn
diff --git a/ui/gfx/image/mojo/BUILD.gn b/ui/gfx/image/mojo/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..fec03ae078d8d36c63b3edc55ce1e156935e952f
--- /dev/null
+++ b/ui/gfx/image/mojo/BUILD.gn
@@ -0,0 +1,54 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/tools/bindings/mojom.gni")
+
+mojom("interfaces") {
+ sources = [
+ "image_skia.mojom",
msw 2017/03/23 20:47:51 optional: do you think it'd make sense to name thi
xiyuan 2017/03/24 05:45:19 Done.
+ ]
+
+ public_deps = [
+ "//skia/public/interfaces",
msw 2017/03/23 20:47:51 I'm not sure this dependency is necessary (not use
xiyuan 2017/03/24 05:45:19 Done.
+ ]
+}
+
+source_set("struct_traits") {
+ sources = [
+ "image_skia_struct_traits.cc",
+ "image_skia_struct_traits.h",
+ ]
+
+ public_deps = [
+ ":interfaces_shared_cpp_sources",
+ "//skia/public/interfaces",
+ "//ui/gfx",
+ ]
+}
+
+mojom("test_interfaces") {
+ sources = [
+ "image_traits_test_service.mojom",
msw 2017/03/23 20:47:51 Hopefully we can testing the struct traits without
xiyuan 2017/03/24 05:45:19 Good to know. Ken confirmed that it does not suppo
+ ]
+
+ public_deps = [
+ ":interfaces",
+ ]
+}
+
+source_set("unit_test") {
+ testonly = true
+
+ sources = [
+ "image_traits_unittest.cc",
+ ]
+
+ deps = [
+ ":struct_traits",
+ ":test_interfaces",
+ "//base",
+ "//mojo/public/cpp/bindings",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698