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

Unified Diff: ash/public/interfaces/BUILD.gn

Issue 2720203004: mash: makes ash/public/cpp bundle ash/public/interfaces (Closed)
Patch Set: merge Created 3 years, 10 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 | « ash/public/cpp/BUILD.gn ('k') | ash/public/interfaces/session_controller.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/BUILD.gn
diff --git a/ash/public/interfaces/BUILD.gn b/ash/public/interfaces/BUILD.gn
index b84f896b9c0668e70b1f5a5dfa242d4e032b1f49..3657070603faea48297dcc5e6b75d981bbd28267 100644
--- a/ash/public/interfaces/BUILD.gn
+++ b/ash/public/interfaces/BUILD.gn
@@ -4,7 +4,13 @@
import("//mojo/public/tools/bindings/mojom.gni")
-mojom("interfaces") {
+# Depend upon //ash/public/cpp:ash_public_cpp, which has a public_dep on this.
+# The two targets must be bundled together as the typemaps depend upon
+# //ash/public/cpp, and //ash/public/cpp needs to depend on this for generated
+# code (such as enums and constants).
+mojom("interfaces_internal") {
+ visibility = [ "//ash/public/cpp:ash_public_cpp" ]
+
sources = [
"accelerator_controller.mojom",
"cast_config.mojom",
@@ -27,4 +33,8 @@ mojom("interfaces") {
"//components/signin/public/interfaces",
"//skia/public/interfaces",
]
+
+ export_class_attribute = "ASH_PUBLIC_EXPORT"
+ export_define = "ASH_PUBLIC_IMPLEMENTATION=1"
+ export_header = "ash/public/cpp/ash_public_export.h"
}
« no previous file with comments | « ash/public/cpp/BUILD.gn ('k') | ash/public/interfaces/session_controller.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698