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

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

Issue 1460503004: Add support for converting cc::Region to and from protobuf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-more-conversions
Patch Set: 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 unified diff | Download patch
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 19 matching lines...) Expand all
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 "display_item.proto", 32 "display_item.proto",
33 "layer.proto", 33 "layer.proto",
34 "layer_position_constraint.proto", 34 "layer_position_constraint.proto",
35 "point.proto", 35 "point.proto",
36 "point3f.proto", 36 "point3f.proto",
37 "pointf.proto", 37 "pointf.proto",
38 "rect.proto", 38 "rect.proto",
39 "rectf.proto", 39 "rectf.proto",
40 "region.proto",
40 "scroll_offset.proto", 41 "scroll_offset.proto",
41 "size.proto", 42 "size.proto",
42 "sizef.proto", 43 "sizef.proto",
43 "skregion.proto", 44 "skregion.proto",
44 "skrrect.proto", 45 "skrrect.proto",
45 "skxfermode.proto", 46 "skxfermode.proto",
46 "transform.proto", 47 "transform.proto",
47 "vector2df.proto", 48 "vector2df.proto",
48 ] 49 ]
49 50
50 deps = [ 51 deps = [
51 "//third_party/protobuf:protobuf_lite", 52 "//third_party/protobuf:protobuf_lite",
52 ] 53 ]
53 54
54 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" 55 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:"
55 cc_include = "cc/proto/cc_proto_export.h" 56 cc_include = "cc/proto/cc_proto_export.h"
56 57
57 defines = [ "CC_PROTO_IMPLEMENTATION" ] 58 defines = [ "CC_PROTO_IMPLEMENTATION" ]
58 59
59 # Warn if clang creates exit destructors. 60 # Warn if clang creates exit destructors.
60 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 61 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
61 } 62 }
OLDNEW
« cc/base/region.cc ('K') | « cc/cc.gyp ('k') | cc/proto/region.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698