| 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 group("proto") { | 7 group("proto") { | 
| 8   public_deps = [ | 8   public_deps = [ | 
| 9     ":blimp_proto", | 9     ":blimp_proto", | 
| 10     "//third_party/protobuf:protobuf_lite", | 10     "//third_party/protobuf:protobuf_lite", | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
| 21 } | 21 } | 
| 22 | 22 | 
| 23 proto_library("proto_internal") { | 23 proto_library("proto_internal") { | 
| 24   # Only expose the target to the "blimp_proto" target. | 24   # Only expose the target to the "blimp_proto" target. | 
| 25   visibility = [ ":blimp_proto" ] | 25   visibility = [ ":blimp_proto" ] | 
| 26 | 26 | 
| 27   sources = [ | 27   sources = [ | 
| 28     "blimp_message.proto", | 28     "blimp_message.proto", | 
| 29     "blob_cache.proto", | 29     "blob_cache.proto", | 
| 30     "blob_channel.proto", | 30     "blob_channel.proto", | 
|  | 31     "common.proto", | 
| 31     "compositor.proto", | 32     "compositor.proto", | 
|  | 33     "geolocation.proto", | 
| 32     "ime.proto", | 34     "ime.proto", | 
| 33     "input.proto", | 35     "input.proto", | 
| 34     "navigation.proto", | 36     "navigation.proto", | 
| 35     "protocol_control.proto", | 37     "protocol_control.proto", | 
| 36     "render_widget.proto", | 38     "render_widget.proto", | 
| 37     "settings.proto", | 39     "settings.proto", | 
| 38     "tab_control.proto", | 40     "tab_control.proto", | 
| 39   ] | 41   ] | 
| 40 | 42 | 
| 41   cc_generator_options = "dllexport_decl=BLIMP_PROTO_EXPORT:" | 43   cc_generator_options = "dllexport_decl=BLIMP_PROTO_EXPORT:" | 
| 42   cc_include = "blimp/common/proto/blimp_proto_export.h" | 44   cc_include = "blimp/common/proto/blimp_proto_export.h" | 
| 43   component_build_force_source_set = true | 45   component_build_force_source_set = true | 
| 44 | 46 | 
| 45   defines = [ "BLIMP_PROTO_IMPLEMENTATION" ] | 47   defines = [ "BLIMP_PROTO_IMPLEMENTATION" ] | 
| 46 | 48 | 
| 47   # Warn if clang creates exit destructors | 49   # Warn if clang creates exit destructors | 
| 48   extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 50   extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 
| 49 } | 51 } | 
| OLD | NEW | 
|---|