| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 "rect.proto", | 51 "rect.proto", |
| 52 "rectf.proto", | 52 "rectf.proto", |
| 53 "region.proto", | 53 "region.proto", |
| 54 "renderer_settings.proto", | 54 "renderer_settings.proto", |
| 55 "scroll_offset.proto", | 55 "scroll_offset.proto", |
| 56 "size.proto", | 56 "size.proto", |
| 57 "sizef.proto", | 57 "sizef.proto", |
| 58 "skregion.proto", | 58 "skregion.proto", |
| 59 "skrrect.proto", | 59 "skrrect.proto", |
| 60 "skxfermode.proto", | 60 "skxfermode.proto", |
| 61 "synced_property.proto", |
| 61 "transform.proto", | 62 "transform.proto", |
| 62 "vector2d.proto", | 63 "vector2d.proto", |
| 63 "vector2df.proto", | 64 "vector2df.proto", |
| 64 ] | 65 ] |
| 65 | 66 |
| 66 deps = [ | 67 deps = [ |
| 67 "//third_party/protobuf:protobuf_lite", | 68 "//third_party/protobuf:protobuf_lite", |
| 68 ] | 69 ] |
| 69 | 70 |
| 70 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" | 71 cc_generator_options = "dllexport_decl=CC_PROTO_EXPORT:" |
| 71 cc_include = "cc/proto/cc_proto_export.h" | 72 cc_include = "cc/proto/cc_proto_export.h" |
| 72 | 73 |
| 73 defines = [ "CC_PROTO_IMPLEMENTATION" ] | 74 defines = [ "CC_PROTO_IMPLEMENTATION" ] |
| 74 | 75 |
| 75 # Warn if clang creates exit destructors. | 76 # Warn if clang creates exit destructors. |
| 76 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 77 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| 77 } | 78 } |
| OLD | NEW |