Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / sync / protocol / BUILD.gn
bloba8da5ac0e199ab55c50bdeb8f285748e3088280e
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
3 # found in the LICENSE file.
5 import("//third_party/protobuf/proto_library.gni")
7 # 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 component("protocol") {
10   public_deps = [
11     ":protocol_internal",
12   ]
15 proto_library("protocol_internal") {
16   visibility = [ ":protocol" ]
18   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     "experiment_status.proto",
33     "experiments_specifics.proto",
34     "extension_setting_specifics.proto",
35     "extension_specifics.proto",
36     "favicon_image_specifics.proto",
37     "favicon_tracking_specifics.proto",
38     "get_updates_caller_info.proto",
39     "history_delete_directive_specifics.proto",
40     "managed_user_setting_specifics.proto",
41     "managed_user_shared_setting_specifics.proto",
42     "managed_user_specifics.proto",
43     "managed_user_whitelist_specifics.proto",
44     "nigori_specifics.proto",
45     "password_specifics.proto",
46     "preference_specifics.proto",
47     "priority_preference_specifics.proto",
48     "search_engine_specifics.proto",
49     "session_specifics.proto",
50     "sync.proto",
51     "sync_enums.proto",
52     "synced_notification_app_info_specifics.proto",
53     "synced_notification_specifics.proto",
54     "test.proto",
55     "theme_specifics.proto",
56     "typed_url_specifics.proto",
57     "unique_position.proto",
58     "wifi_credential_specifics.proto",
59   ]
61   cc_generator_options = "dllexport_decl=SYNC_PROTO_EXPORT:"
62   cc_include = "sync/protocol/sync_proto_export.h"
64   defines = [ "SYNC_PROTO_IMPLEMENTATION" ]
66   extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]