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

Side by Side Diff: components/sync/protocol/BUILD.gn

Issue 2240613002: [Sync] Convert sync to a static library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try getting rid of sync_core source set. Created 4 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("protocol_sources.gni") 6 import("protocol_sources.gni")
7 7
8 # This must be a component for the dependency structure we have now, but the 8 proto_library("protocol") {
9 # proto_library generates a source set. Link those into a component.
10 component("protocol") {
11 public_deps = [
12 ":protocol_internal",
13 ]
14 }
15
16 proto_library("protocol_internal") {
17 visibility = [ ":protocol" ]
18
19 sources = sync_protocol_sources 9 sources = sync_protocol_sources
20
21 cc_generator_options = "dllexport_decl=SYNC_PROTO_EXPORT:"
22 cc_include = "components/sync/protocol/sync_proto_export.h"
23 component_build_force_source_set = true
24
25 defines = [ "SYNC_PROTO_IMPLEMENTATION" ]
26
27 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 10 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
28 } 11 }
OLDNEW
« no previous file with comments | « components/sync/js/sync_js_controller.h ('k') | components/sync/protocol/proto_enum_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698