A. Cody Schuffelen | 872259d | 2020-11-17 20:24:20 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2020 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | |
Bob Badour | a26f339 | 2021-02-12 15:50:51 -0800 | [diff] [blame] | 16 | package { |
| 17 | default_applicable_licenses: ["external_libwebm_license"], |
| 18 | } |
| 19 | |
| 20 | // Added automatically by a large-scale-change |
| 21 | // |
| 22 | // large-scale-change included anything that looked like it might be a license |
| 23 | // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. |
| 24 | // |
| 25 | // Please consider removing redundant or irrelevant files from 'license_text:'. |
| 26 | // See: http://go/android-license-faq |
| 27 | license { |
| 28 | name: "external_libwebm_license", |
| 29 | visibility: [":__subpackages__"], |
| 30 | license_kinds: [ |
| 31 | "SPDX-license-identifier-BSD", |
| 32 | ], |
| 33 | license_text: [ |
| 34 | "LICENSE.TXT", |
| 35 | "PATENTS.TXT", |
| 36 | ], |
| 37 | } |
| 38 | |
A. Cody Schuffelen | 872259d | 2020-11-17 20:24:20 -0800 | [diff] [blame] | 39 | cc_library { |
| 40 | name: "libwebm_mkvmuxer", |
| 41 | host_supported: true, |
| 42 | vendor_available: true, |
| 43 | export_include_dirs: ["."], |
| 44 | cflags: [ |
| 45 | "-Wall", |
| 46 | "-Werror", |
| 47 | ], |
| 48 | srcs: [ |
| 49 | "mkvmuxer/mkvmuxer.cc", |
| 50 | "mkvmuxer/mkvmuxerutil.cc", |
| 51 | "mkvmuxer/mkvwriter.cc", |
| 52 | ], |
| 53 | min_sdk_version: "29", |
| 54 | target: { |
| 55 | darwin: { |
| 56 | enabled: false, |
| 57 | }, |
| 58 | }, |
| 59 | } |