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

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

Issue 1458353002: Port ChromeSyncShell build rules to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 7
7 # This must be a component for the dependency structure we have now, but the 8 # This must be a component for the dependency structure we have now, but the
8 # proto_library generates a source set. Link those into a component. 9 # proto_library generates a source set. Link those into a component.
9 component("protocol") { 10 component("protocol") {
10 public_deps = [ 11 public_deps = [
11 ":protocol_internal", 12 ":protocol_internal",
12 ] 13 ]
13 } 14 }
14 15
15 proto_library("protocol_internal") { 16 proto_library("protocol_internal") {
16 visibility = [ ":protocol" ] 17 visibility = [ ":protocol" ]
17 18
18 sources = [ 19 sources = sync_protocol_sources
19 "app_list_specifics.proto",
20 "app_notification_specifics.proto",
21 "app_setting_specifics.proto",
22 "app_specifics.proto",
23 "article_specifics.proto",
24 "attachments.proto",
25 "autofill_specifics.proto",
26 "bookmark_specifics.proto",
27 "client_commands.proto",
28 "client_debug_info.proto",
29 "device_info_specifics.proto",
30 "dictionary_specifics.proto",
31 "encryption.proto",
32 "entity_metadata.proto",
33 "experiment_status.proto",
34 "experiments_specifics.proto",
35 "extension_setting_specifics.proto",
36 "extension_specifics.proto",
37 "favicon_image_specifics.proto",
38 "favicon_tracking_specifics.proto",
39 "get_updates_caller_info.proto",
40 "history_delete_directive_specifics.proto",
41 "managed_user_setting_specifics.proto",
42 "managed_user_shared_setting_specifics.proto",
43 "managed_user_specifics.proto",
44 "managed_user_whitelist_specifics.proto",
45 "nigori_specifics.proto",
46 "password_specifics.proto",
47 "preference_specifics.proto",
48 "priority_preference_specifics.proto",
49 "search_engine_specifics.proto",
50 "session_specifics.proto",
51 "sync.proto",
52 "sync_enums.proto",
53 "synced_notification_app_info_specifics.proto",
54 "synced_notification_specifics.proto",
55 "test.proto",
56 "theme_specifics.proto",
57 "typed_url_specifics.proto",
58 "unique_position.proto",
59 "wifi_credential_specifics.proto",
60 ]
61 20
62 cc_generator_options = "dllexport_decl=SYNC_PROTO_EXPORT:" 21 cc_generator_options = "dllexport_decl=SYNC_PROTO_EXPORT:"
63 cc_include = "sync/protocol/sync_proto_export.h" 22 cc_include = "sync/protocol/sync_proto_export.h"
64 23
65 defines = [ "SYNC_PROTO_IMPLEMENTATION" ] 24 defines = [ "SYNC_PROTO_IMPLEMENTATION" ]
66 25
67 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 26 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
68 } 27 }
OLDNEW
« chrome/android/BUILD.gn ('K') | « sync/BUILD.gn ('k') | sync/protocol/protocol.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698