blob: 22840ea877b70a08f4049728db85d8ab008338bf [file] [log] [blame]
Yuntao Xue60c3642021-04-28 11:13:57 -07001// Copyright (C) 2015 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 // See: http://go/android-license-faq
17 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_library_shared {
21 name: "libgiftranscode",
22 static_libs: ["libgif"],
23 // Link to Android logging (liblog.so) and dynamic linker (libdl.so) libraries
24 shared_libs: [
25 "liblog",
26 "libdl",
27 ],
28 // for including the jni.h file
29 header_libs: ["jni_headers"],
30 include_dirs: ["external/giflib"],
31 srcs: ["GifTranscoder.cpp"],
32 cflags: [
33 "-Wno-unused-parameter",
34 "-Wno-switch",
35 ],
36 sdk_version: "19",
37 // LLVM libc++
38 stl: "c++_static",
39 product_specific: true,
40}