xref: /aosp_15_r20/frameworks/base/media/mca/filterfw/native/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1// Copyright (C) 2011 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//
15
16//####################
17// Build module libfilterfw_static
18
19package {
20    // See: http://go/android-license-faq
21    // A large-scale-change added 'default_applicable_licenses' to import
22    // all of the 'license_kinds' from "frameworks_base_license"
23    // to get the below license kinds:
24    //   SPDX-license-identifier-Apache-2.0
25    default_applicable_licenses: ["frameworks_base_license"],
26}
27
28cc_library_static {
29    name: "libfilterfw_native",
30
31    srcs: [
32        "core/geometry.cpp",
33        "core/gl_env.cpp",
34        "core/gl_frame.cpp",
35        "core/native_frame.cpp",
36        "core/native_program.cpp",
37        "core/shader_program.cpp",
38        "core/vertex_frame.cpp",
39        "core/value.cpp",
40    ],
41
42    cflags: [
43        "-Wall",
44        "-Werror",
45        "-Wunused",
46        "-Wunreachable-code",
47    ],
48
49    static_libs: ["libarect"],
50
51    shared_libs: ["libgui"],
52}
53