# Copyright 2017 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("//build/config/android/config.gni")
import("//build/config/android/rules.gni")

android_library("boundary_interface_java") {
  java_files = [
    "src/org/chromium/support_lib_boundary/SafeBrowsingResponseBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/ServiceWorkerControllerBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/ServiceWorkerWebSettingsBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/StaticsBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/SupportLibraryInfoBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/VisualStateCallbackBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/WebSettingsBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/WebViewProviderBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/WebViewProviderFactoryBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface.java",
    "src/org/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil.java",
    "src/org/chromium/support_lib_boundary/util/Features.java",
  ]

  proguard_configs = [ "proguard.flags" ]

  # We can't use ANY deps here, the support library should be able to build
  # these interfaces without any other chromium dependencies.
  deps = []
}