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

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

Issue 1867653002: Initial version of Blimp BlobCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git merge origin/master for good measure Created 4 years, 8 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 "compositor.proto", 30 "compositor.proto",
30 "ime.proto", 31 "ime.proto",
31 "input.proto", 32 "input.proto",
32 "navigation.proto", 33 "navigation.proto",
33 "protocol_control.proto", 34 "protocol_control.proto",
34 "render_widget.proto", 35 "render_widget.proto",
35 "settings.proto", 36 "settings.proto",
36 "tab_control.proto", 37 "tab_control.proto",
37 ] 38 ]
38 39
39 cc_generator_options = "dllexport_decl=BLIMP_PROTO_EXPORT:" 40 cc_generator_options = "dllexport_decl=BLIMP_PROTO_EXPORT:"
40 cc_include = "blimp/common/proto/blimp_proto_export.h" 41 cc_include = "blimp/common/proto/blimp_proto_export.h"
41 42
42 defines = [ "BLIMP_PROTO_IMPLEMENTATION" ] 43 defines = [ "BLIMP_PROTO_IMPLEMENTATION" ]
43 44
44 # Warn if clang creates exit destructors 45 # Warn if clang creates exit destructors
45 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 46 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
46 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698