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

Side by Side Diff: blimp/common/proto/BUILD.gn

Issue 1970463004: Blimp: Add BlobChannel Helium messages and delegate impls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: haibinlu feedback Created 4 years, 7 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 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",
11 ] 11 ]
12 } 12 }
13 13
14 component("blimp_proto") { 14 component("blimp_proto") {
15 # Only expose the target to the "proto" group. 15 # Only expose the target to the "proto" group.
16 visibility = [ ":proto" ] 16 visibility = [ ":proto" ]
17 17
18 public_deps = [ 18 public_deps = [
19 ":proto_internal", 19 ":proto_internal",
20 ] 20 ]
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 "compositor.proto", 31 "compositor.proto",
31 "ime.proto", 32 "ime.proto",
32 "input.proto", 33 "input.proto",
33 "navigation.proto", 34 "navigation.proto",
34 "protocol_control.proto", 35 "protocol_control.proto",
35 "render_widget.proto", 36 "render_widget.proto",
36 "settings.proto", 37 "settings.proto",
37 "tab_control.proto", 38 "tab_control.proto",
38 ] 39 ]
39 40
40 cc_generator_options = "dllexport_decl=BLIMP_PROTO_EXPORT:" 41 cc_generator_options = "dllexport_decl=BLIMP_PROTO_EXPORT:"
41 cc_include = "blimp/common/proto/blimp_proto_export.h" 42 cc_include = "blimp/common/proto/blimp_proto_export.h"
42 43
43 defines = [ "BLIMP_PROTO_IMPLEMENTATION" ] 44 defines = [ "BLIMP_PROTO_IMPLEMENTATION" ]
44 45
45 # Warn if clang creates exit destructors 46 # Warn if clang creates exit destructors
46 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 47 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
47 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698