|
| 1 | +// swift-tools-version:5.3 |
| 2 | +// The swift-tools-version declares the minimum version of Swift required to build this package. |
| 3 | +// |
| 4 | +// Package.swift |
| 5 | +// mamba |
| 6 | +// |
| 7 | +// Copyright © 2020 Comcast Cable Communications Management, LLC |
| 8 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | +// you may not use this file except in compliance with the License. |
| 10 | +// You may obtain a copy of the License at |
| 11 | +// |
| 12 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | +// |
| 14 | +// Unless required by applicable law or agreed to in writing, software |
| 15 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | +// See the License for the specific language governing permissions and |
| 18 | +// limitations under the License. |
| 19 | +// |
| 20 | + |
| 21 | +import PackageDescription |
| 22 | + |
| 23 | +let package = Package( |
| 24 | + name: "mamba", |
| 25 | + products: [ |
| 26 | + .library( |
| 27 | + name: "mamba", |
| 28 | + targets: ["mamba"] |
| 29 | + ) |
| 30 | + ], |
| 31 | + targets: [ |
| 32 | + .target( |
| 33 | + name: "mamba", |
| 34 | + dependencies: [.target(name: "HLSObjectiveC")], |
| 35 | + path: "mambaSharedFramework", |
| 36 | + exclude: [ |
| 37 | + "HLS ObjectiveC", |
| 38 | + "PlaylistParserError", |
| 39 | + "mamba.h" |
| 40 | + ], |
| 41 | + resources: [ |
| 42 | + .process("Resources") |
| 43 | + ] |
| 44 | + ), |
| 45 | + .target( |
| 46 | + name: "PlaylistParserError", |
| 47 | + path: "mambaSharedFramework/PlaylistParserError" |
| 48 | + ), |
| 49 | + .target( |
| 50 | + name: "HLSObjectiveC", |
| 51 | + dependencies: ["PlaylistParserError"], |
| 52 | + path: "mambaSharedFramework/HLS ObjectiveC", |
| 53 | + exclude: [ |
| 54 | + "PrototypeRapidParseArray.include", |
| 55 | + "RapidParser_LookingForEForEXTINFState_ParseArray.include", |
| 56 | + "RapidParser_LookingForEForEXTState_ParseArray.include", |
| 57 | + "RapidParser_LookingForHashForEXTINFState_ParseArray.include", |
| 58 | + "RapidParser_LookingForHashForEXTState_ParseArray.include", |
| 59 | + "RapidParser_LookingForIForEXTINFState_ParseArray.include", |
| 60 | + "RapidParser_LookingForNewlineForEXTINFState_ParseArray.include", |
| 61 | + "RapidParser_LookingForNewLineForEXTState_ParseArray.include", |
| 62 | + "RapidParser_LookingForNewLineForHashState_ParseArray.include", |
| 63 | + "RapidParser_LookingForNForEXTINFState_ParseArray.include", |
| 64 | + "RapidParser_LookingForTForEXTINFState_ParseArray.include", |
| 65 | + "RapidParser_LookingForXForEXTINFState_ParseArray.include", |
| 66 | + "RapidParser_LookingForXForEXTState_ParseArray.include", |
| 67 | + "RapidParser_ScanningState_ParseArray.include", |
| 68 | + ] |
| 69 | + ) |
| 70 | + ] |
| 71 | +) |
0 commit comments