OLD | NEW |
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 21 matching lines...) Expand all Loading... |
32 "begin_main_frame_and_commit_state.proto", | 32 "begin_main_frame_and_commit_state.proto", |
33 "commit_earlyout_reason.proto", | 33 "commit_earlyout_reason.proto", |
34 "compositor_message.proto", | 34 "compositor_message.proto", |
35 "compositor_message_to_impl.proto", | 35 "compositor_message_to_impl.proto", |
36 "compositor_message_to_main.proto", | 36 "compositor_message_to_main.proto", |
37 "display_item.proto", | 37 "display_item.proto", |
38 "element_id.proto", | 38 "element_id.proto", |
39 "layer.proto", | 39 "layer.proto", |
40 "layer_position_constraint.proto", | 40 "layer_position_constraint.proto", |
41 "layer_selection_bound.proto", | 41 "layer_selection_bound.proto", |
| 42 "layer_sticky_position_constraint.proto", |
42 "layer_tree.proto", | 43 "layer_tree.proto", |
43 "layer_tree_debug_state.proto", | 44 "layer_tree_debug_state.proto", |
44 "layer_tree_host.proto", | 45 "layer_tree_host.proto", |
45 "managed_memory_policy.proto", | 46 "managed_memory_policy.proto", |
46 "memory_allocation.proto", | 47 "memory_allocation.proto", |
47 "point.proto", | 48 "point.proto", |
48 "point3f.proto", | 49 "point3f.proto", |
49 "pointf.proto", | 50 "pointf.proto", |
50 "property_tree.proto", | 51 "property_tree.proto", |
51 "recording_source.proto", | 52 "recording_source.proto", |
(...skipping 18 matching lines...) Expand all Loading... |
70 ] | 71 ] |
71 | 72 |
72 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" | 73 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" |
73 cc_include = "cc/proto/cc_proto_export.h" | 74 cc_include = "cc/proto/cc_proto_export.h" |
74 component_build_force_source_set = true | 75 component_build_force_source_set = true |
75 defines = [ "CC_PROTO_IMPLEMENTATION" ] | 76 defines = [ "CC_PROTO_IMPLEMENTATION" ] |
76 | 77 |
77 # Warn if clang creates exit destructors. | 78 # Warn if clang creates exit destructors. |
78 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 79 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
79 } | 80 } |
OLD | NEW |