1// Copyright (C) 2016 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
15cc_library {
16    name: "libfmq",
17    shared_libs: [
18        "libbase",
19        "liblog",
20        "libcutils",
21        "libutils",
22    ],
23    export_shared_lib_headers: [
24        "libcutils",
25        "libutils",
26    ],
27    apex_available: [
28        "//apex_available:platform",
29        "com.android.neuralnetworks",
30        "test_com.android.neuralnetworks",
31    ],
32    export_include_dirs: ["include"],
33    local_include_dirs: ["include"],
34    srcs: [
35        "EventFlag.cpp",
36        "FmqInternal.cpp",
37    ],
38    cflags: [
39        "-Wall",
40        "-Werror",
41    ],
42    vendor_available: true,
43    // TODO(b/153609531): remove when no longer needed.
44    native_bridge_supported: true,
45    vndk: {
46        enabled: true,
47    },
48    double_loadable: true,
49    min_sdk_version: "29",
50}
51