chromium/remoting/proto/BUILD.gn

# 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",
    "empty.proto",
    "event.proto",
    "file_transfer.proto",
    "internal.proto",
    "layout_key_function.proto",
    "mux.proto",
    "remote_open_url.proto",
    "remote_webauthn.proto",
    "test_data_channel_manager.proto",
    "url_forwarder_control.proto",
    "video.proto",
    "video_stats.proto",
  ]
}

source_set("internal_structs") {
  public = [
    "logging_service.h",
    "session_authz_service.h",
  ]
  sources = [
    "logging_service.h",
    "session_authz_service.cc",
    "session_authz_service.h",
  ]
  deps = [
    "//base",
    "//remoting/base:errors",
    "//remoting/base:session_policies",
  ]
}

source_set("internal_stubs") {
  public = [ "internal_stubs.h" ]

  sources = [
    "internal_stubs.cc",
    "internal_stubs.h",
  ]

  deps = [
    ":internal_structs",
    "//base",
    "//third_party/protobuf:protobuf_lite",
  ]
}

proto_library("error_code_proto") {
  sources = [ "error_code.proto" ]
}