summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Cody Schuffelen <schuffelen@google.com>2020-11-17 20:24:20 -0800
committerA. Cody Schuffelen <schuffelen@google.com>2020-11-24 13:37:49 -0800
commit872259d4511ada025a400d8c607958bddc5056b2 (patch)
tree35004384eaa998b279b9a3fde6d7bcf1cd2ddbe3
parent6157fd6b7de3f9e7f53fc1d812efd8bd47791d7b (diff)
downloadlibwebm-872259d4511ada025a400d8c607958bddc5056b2.tar.gz
ANDROID: Add Android.bp for libwebm_mkvmuxer
Test: m -j libwebm_mkvmuxer Change-Id: I4b48ebcd97c9b0f89a0f48d213465db93476020e
-rw-r--r--Android.bp36
1 files changed, 36 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..9808a8c
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,36 @@
+//
+// Copyright (C) 2020 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+cc_library {
+ name: "libwebm_mkvmuxer",
+ host_supported: true,
+ vendor_available: true,
+ export_include_dirs: ["."],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
+ srcs: [
+ "mkvmuxer/mkvmuxer.cc",
+ "mkvmuxer/mkvmuxerutil.cc",
+ "mkvmuxer/mkvwriter.cc",
+ ],
+ min_sdk_version: "29",
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+}