blob: f90ae702651dd1a8a9ae6c91996d662f3af91122 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/protobuf/proto_library.gni")
import("protocol_sources.gni")
# This must be a component for the dependency structure we have now, but the
# proto_library generates a source set. Link those into a component.
component("protocol") {
public_deps = [
":protocol_internal",
]
}
proto_library("protocol_internal") {
visibility = [ ":protocol" ]
sources = sync_protocol_sources
cc_generator_options = "dllexport_decl=SYNC_PROTO_EXPORT:"
cc_include = "sync/protocol/sync_proto_export.h"
defines = [ "SYNC_PROTO_IMPLEMENTATION" ]
extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
}
|