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. 4 5 import("//third_party/protobuf/proto_library.gni") 6 7 proto_library("protocol") { 8 sources = [ 9 "app_notification_specifics.proto", 10 "app_setting_specifics.proto", 11 "app_specifics.proto", 12 "app_list_specifics.proto", 13 "article_specifics.proto", 14 "attachments.proto", 15 "autofill_specifics.proto", 16 "bookmark_specifics.proto", 17 "client_commands.proto", 18 "client_debug_info.proto", 19 "device_info_specifics.proto", 20 "dictionary_specifics.proto", 21 "encryption.proto", 22 "experiment_status.proto", 23 "experiments_specifics.proto", 24 "extension_setting_specifics.proto", 25 "extension_specifics.proto", 26 "favicon_image_specifics.proto", 27 "favicon_tracking_specifics.proto", 28 "get_updates_caller_info.proto", 29 "history_delete_directive_specifics.proto", 30 "nigori_specifics.proto", 31 "managed_user_setting_specifics.proto", 32 "managed_user_shared_setting_specifics.proto", 33 "managed_user_specifics.proto", 34 "password_specifics.proto", 35 "preference_specifics.proto", 36 "priority_preference_specifics.proto", 37 "search_engine_specifics.proto", 38 "session_specifics.proto", 39 "sync.proto", 40 "sync_enums.proto", 41 "synced_notification_app_info_specifics.proto", 42 "synced_notification_data.proto", 43 "synced_notification_render.proto", 44 "synced_notification_specifics.proto", 45 "test.proto", 46 "theme_specifics.proto", 47 "typed_url_specifics.proto", 48 "unique_position.proto", 49 ] 50 51 cc_generator_options = "dllexport_decl=SYNC_PROTO_EXPORT:" 52 cc_include = "sync/protocol/sync_proto_export.h" 53 54 defines = [ "SYNC_PROTO_IMPLEMENTATION" ] 55 56 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 57 } 58