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

Side by Side Diff: cc/proto/BUILD.gn

Issue 1417963011: Added serialization to protobufs for property trees. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments. Created 5 years 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 unified diff | Download patch
« no previous file with comments | « cc/cc.gyp ('k') | cc/proto/gfx_conversions_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 # Use a group here to allow external targets to depend on "cc/proto" instead of 7 # Use a group here to allow external targets to depend on "cc/proto" instead of
8 # cc/proto:cc_proto. We need a group because other component targets are named 8 # cc/proto:cc_proto. We need a group because other component targets are named
9 # "proto" which breaks component builds. A group doesn't have the same issue. 9 # "proto" which breaks component builds. A group doesn't have the same issue.
10 group("proto") { 10 group("proto") {
(...skipping 18 matching lines...) Expand all
29 sources = [ 29 sources = [
30 # TODO(dtrainor): Move protos to their correct packages once it's possible 30 # TODO(dtrainor): Move protos to their correct packages once it's possible
31 # to include protos from other directories/targets (crbug.com/542423). 31 # to include protos from other directories/targets (crbug.com/542423).
32 "compositor_message.proto", 32 "compositor_message.proto",
33 "display_item.proto", 33 "display_item.proto",
34 "layer.proto", 34 "layer.proto",
35 "layer_position_constraint.proto", 35 "layer_position_constraint.proto",
36 "point.proto", 36 "point.proto",
37 "point3f.proto", 37 "point3f.proto",
38 "pointf.proto", 38 "pointf.proto",
39 "property_tree.proto",
39 "rect.proto", 40 "rect.proto",
40 "rectf.proto", 41 "rectf.proto",
41 "region.proto", 42 "region.proto",
42 "scroll_offset.proto", 43 "scroll_offset.proto",
43 "size.proto", 44 "size.proto",
44 "sizef.proto", 45 "sizef.proto",
45 "skregion.proto", 46 "skregion.proto",
46 "skrrect.proto", 47 "skrrect.proto",
47 "skxfermode.proto", 48 "skxfermode.proto",
48 "transform.proto", 49 "transform.proto",
49 "vector2df.proto", 50 "vector2df.proto",
50 ] 51 ]
51 52
52 deps = [ 53 deps = [
53 "//third_party/protobuf:protobuf_lite", 54 "//third_party/protobuf:protobuf_lite",
54 ] 55 ]
55 56
56 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" 57 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:"
57 cc_include = "cc/proto/cc_proto_export.h" 58 cc_include = "cc/proto/cc_proto_export.h"
58 59
59 defines = [ "CC_PROTO_IMPLEMENTATION" ] 60 defines = [ "CC_PROTO_IMPLEMENTATION" ]
60 61
61 # Warn if clang creates exit destructors. 62 # Warn if clang creates exit destructors.
62 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 63 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
63 } 64 }
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/proto/gfx_conversions_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698