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

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

Issue 1407793002: Add protobuf serialization to DisplayItemList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_display2
Patch Set: Remove unused header. Added a few more comments to the unit test Created 5 years, 2 months 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 component("cc_proto") { 7 component("cc_proto") {
8 public_deps = [ 8 public_deps = [
9 ":proto_internal", 9 ":proto_internal",
10 ] 10 ]
11 } 11 }
12 12
13 proto_library("proto_internal") { 13 proto_library("proto_internal") {
14 visibility = [ ":cc_proto" ] 14 visibility = [ ":cc_proto" ]
15 15
16 sources = [ 16 sources = [
17 # TODO(dtrainor): Move protos to their correct packages once it's possible 17 # TODO(dtrainor): Move protos to their correct packages once it's possible
18 # to include protos from other directories/targets. 18 # to include protos from other directories/targets.
19 "display_item.proto",
19 "point.proto", 20 "point.proto",
20 "pointf.proto", 21 "pointf.proto",
21 "rect.proto", 22 "rect.proto",
22 "rectf.proto", 23 "rectf.proto",
23 "size.proto", 24 "size.proto",
24 "sizef.proto", 25 "sizef.proto",
25 "skregion.proto", 26 "skregion.proto",
26 "skrrect.proto", 27 "skrrect.proto",
27 "skxfermode.proto", 28 "skxfermode.proto",
28 "transform.proto", 29 "transform.proto",
29 ] 30 ]
30 31
31 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" 32 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:"
32 cc_include = "cc/proto/cc_proto_export.h" 33 cc_include = "cc/proto/cc_proto_export.h"
33 34
34 defines = [ "CC_PROTO_IMPLEMENTATION" ] 35 defines = [ "CC_PROTO_IMPLEMENTATION" ]
35 36
36 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 37 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
37 } 38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698