summaryrefslogtreecommitdiffstats
path: root/sync/protocol/BUILD.gn
blob: b8258f90185f7f6375398c706d9d1dd80da8e178 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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")

proto_library("protocol") {
  sources = [
    "app_list_specifics.proto",
    "app_notification_specifics.proto",
    "app_setting_specifics.proto",
    "app_specifics.proto",
    "article_specifics.proto",
    "attachments.proto",
    "autofill_specifics.proto",
    "bookmark_specifics.proto",
    "client_commands.proto",
    "client_debug_info.proto",
    "device_info_specifics.proto",
    "dictionary_specifics.proto",
    "encryption.proto",
    "experiment_status.proto",
    "experiments_specifics.proto",
    "extension_setting_specifics.proto",
    "extension_specifics.proto",
    "favicon_image_specifics.proto",
    "favicon_tracking_specifics.proto",
    "get_updates_caller_info.proto",
    "history_delete_directive_specifics.proto",
    "managed_user_setting_specifics.proto",
    "managed_user_shared_setting_specifics.proto",
    "managed_user_specifics.proto",
    "managed_user_whitelist_specifics.proto",
    "nigori_specifics.proto",
    "password_specifics.proto",
    "preference_specifics.proto",
    "priority_preference_specifics.proto",
    "search_engine_specifics.proto",
    "session_specifics.proto",
    "sync.proto",
    "sync_enums.proto",
    "synced_notification_app_info_specifics.proto",
    "synced_notification_specifics.proto",
    "test.proto",
    "theme_specifics.proto",
    "typed_url_specifics.proto",
    "unique_position.proto",
    "wifi_credential_specifics.proto",
  ]

  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" ]
}