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

Unified Diff: blimp/common/proto/BUILD.gn

Issue 1422363008: Add a basic UI to the Android Blimp client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused icon Created 5 years, 1 month 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: blimp/common/proto/BUILD.gn
diff --git a/blimp/common/proto/BUILD.gn b/blimp/common/proto/BUILD.gn
index ecaa29c7efc892624baae97514e6f032093a4c18..5ca8283784c28078b0b7f7af69fdccb5ea510128 100644
--- a/blimp/common/proto/BUILD.gn
+++ b/blimp/common/proto/BUILD.gn
@@ -6,17 +6,38 @@ import("//third_party/protobuf/proto_library.gni")
group("proto") {
public_deps = [
- ":proto_lib",
+ ":blimp_proto",
"//third_party/protobuf:protobuf_lite",
]
}
-proto_library("proto_lib") {
+component("blimp_proto") {
+ # Only expose the target to the "proto" group.
+ visibility = [ ":proto" ]
+
+ public_deps = [
+ ":proto_internal",
+ ]
+}
+
+proto_library("proto_internal") {
+ # Only expose the target to the "blimp_proto" target.
+ visibility = [ ":blimp_proto" ]
+
sources = [
"blimp_message.proto",
"common.proto",
"compositor.proto",
"control.proto",
"input.proto",
+ "navigation.proto",
]
+
+ cc_generator_options = "dllexport_decl=BLIMP_PROTO_EXPORT:"
+ cc_include = "blimp/common/proto/blimp_proto_export.h"
+
+ defines = [ "BLIMP_PROTO_IMPLEMENTATION" ]
+
+ # Warn if clang creates exit destructors
+ extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
}

Powered by Google App Engine
This is Rietveld 408576698