// swift-tools-version: 5.9

// Copyright 2013 The Flutter 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 PackageDescription

let package = Package(
  name: "webview_flutter_wkwebview",
  platforms: [
    .iOS("12.0"),
    .macOS("10.14"),
  ],
  products: [
    .library(name: "webview-flutter-wkwebview", targets: ["webview_flutter_wkwebview"])
  ],
  dependencies: [],
  targets: [
    .target(
      name: "webview_flutter_wkwebview",
      dependencies: [],
      exclude: ["include/FlutterWebView.modulemap", "include/webview-umbrella.h"],
      resources: [
        .process("Resources")
      ],
      cSettings: [
        .headerSearchPath("include/webview_flutter_wkwebview")
      ]
    )
  ]
)
