Index: cc/proto/BUILD.gn |
diff --git a/cc/proto/BUILD.gn b/cc/proto/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e361a00c0258540be4aba393d46336a6b81c632f |
--- /dev/null |
+++ b/cc/proto/BUILD.gn |
@@ -0,0 +1,34 @@ |
+# Copyright 2015 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("//third_party/protobuf/proto_library.gni") |
+ |
+component("cc_proto") { |
+ public_deps = [ |
+ ":proto_internal", |
+ ] |
+} |
+ |
+proto_library("proto_internal") { |
+ visibility = [ ":cc_proto" ] |
+ |
+ sources = [ |
+ # TODO(dtrainor): Move the ui/gfx related protos to ui/gfx/proto once it is |
+ # possible to include protos from other directories/targets. |
danakj
2015/10/14 23:10:10
can you file a bug and point to it?
David Trainor- moved to gerrit
2015/10/15 22:18:02
Done.
|
+ "point.proto", |
+ "pointf.proto", |
+ "rect.proto", |
+ "rectf.proto", |
+ "size.proto", |
+ "sizef.proto", |
+ "transform.proto", |
+ ] |
+ |
+ cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" |
+ cc_include = "cc/proto/cc_proto_export.h" |
+ |
+ defines = [ "CC_PROTO_IMPLEMENTATION" ] |
+ |
+ extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
danakj
2015/10/14 23:10:10
ditto
David Trainor- moved to gerrit
2015/10/15 22:18:02
Done.
|
+} |