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

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

Issue 1394353002: Add Protobuf support in cc for gfx objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. 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
(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 (see
19 # crbug.com/542423).
20 "point.proto",
21 "pointf.proto",
22 "rect.proto",
23 "rectf.proto",
24 "size.proto",
25 "sizef.proto",
26 "transform.proto",
27 ]
28
29 deps = [
30 "//third_party/protobuf:protobuf_lite",
31 ]
32
33 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:"
34 cc_include = "cc/proto/cc_proto_export.h"
35
36 defines = [ "CC_PROTO_IMPLEMENTATION" ]
37
38 # Warn if clang creates exit destructors.
39 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
40 }
OLDNEW
« cc/BUILD.gn ('K') | « cc/cc_tests.gyp ('k') | cc/proto/cc_proto_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698