chromium/chrome/browser/web_applications/proto/BUILD.gn

# Copyright 2018 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")

proto_library("proto") {
  proto_in_dir = "//"
  sources = [
    "web_app.proto",
    "web_app_install_state.proto",
    "web_app_isolation_data.proto",
    "web_app_launch_handler.proto",
    "web_app_os_integration_state.proto",
    "web_app_proto_package.proto",
    "web_app_share_target.proto",
    "web_app_tab_strip.proto",
    "web_app_translations.proto",
    "web_app_url_pattern.proto",
  ]
  link_deps = [
    "//chrome/browser/ash/system_web_apps/types/proto",
    "//components/sync/protocol",
    "//content/browser/background_fetch:background_fetch_proto",
  ]
}

source_set("proto_helpers") {
  sources = [
    "proto_helpers.cc",
    "proto_helpers.h",
  ]
  public_deps = [ ":proto" ]
}