# Copyright 2014 The Chromium Authors # 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") group("proto_lite") { public_deps = [ ":proto", "//third_party/protobuf:protobuf_lite", ] } proto_library("proto") { sources = [ "action.proto", "audio.proto", "control.proto", "coordinates.proto", "do_nothing.proto", "empty.proto", "event.proto", "file_transfer.proto", "internal.proto", "layout_key_function.proto", "mux.proto", "remote_open_url.proto", "remote_webauthn.proto", "security_key.proto", "test_data_channel_manager.proto", "url_forwarder_control.proto", "video.proto", "video_stats.proto", ] } source_set("internal_structs") { public = [ "logging_service.h", "messaging_service.h", "remote_support_service.h", "session_authz_service.h", ] sources = [ "logging_service.cc", "logging_service.h", "messaging_service.cc", "messaging_service.h", "remote_support_service.cc", "remote_support_service.h", "service_common.h", "session_authz_service.cc", "session_authz_service.h", ] deps = [ "//base", "//remoting/base:authentication_method", "//remoting/base:errors", "//remoting/base:session_policies", ] # TODO(crbug.com/40031409): Fix code that adds exit-time destructors and # enable the diagnostic by removing this line. configs += [ "//build/config/compiler:no_exit_time_destructors" ] } source_set("internal_stubs") { public = [ "internal_stubs.h" ] sources = [ "internal_stubs.cc", "internal_stubs.h", ] deps = [ ":internal_structs", ":proto", "//base", ] # TODO(crbug.com/40031409): Fix code that adds exit-time destructors and # enable the diagnostic by removing this line. configs += [ "//build/config/compiler:no_exit_time_destructors" ] } proto_library("error_code_proto") { sources = [ "error_code.proto" ] }