OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//third_party/protobuf/proto_library.gni") | |
6 | |
7 component("cc_proto") { | |
8 public_deps = [ | |
9 ":proto_internal", | |
10 ] | |
11 } | |
12 | |
13 proto_library("proto_internal") { | |
14 visibility = [ ":cc_proto" ] | |
15 | |
16 sources = [ | |
17 # TODO(dtrainor): Move the ui/gfx related protos to ui/gfx/proto once it is | |
18 # 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.
| |
19 "point.proto", | |
20 "pointf.proto", | |
21 "rect.proto", | |
22 "rectf.proto", | |
23 "size.proto", | |
24 "sizef.proto", | |
25 "transform.proto", | |
26 ] | |
27 | |
28 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" | |
29 cc_include = "cc/proto/cc_proto_export.h" | |
30 | |
31 defines = [ "CC_PROTO_IMPLEMENTATION" ] | |
32 | |
33 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.
| |
34 } | |
OLD | NEW |