blob: f7f0db77a2fcdf497d6e24b08b53bddee01f88ce [file] [log] [blame]
Ytai Ben-Tsvi387f2522020-02-04 15:02:32 -08001// Copyright 2020 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: "libwatchdog",
S Vasudev Prasad7cc6ec52020-07-10 11:33:14 +053017 host_supported: true,
Ytai Ben-Tsvi387f2522020-02-04 15:02:32 -080018 srcs: [
19 "Watchdog.cpp",
20 ],
21 export_include_dirs: ["include"],
22 shared_libs: [
Ytai Ben-Tsvi387f2522020-02-04 15:02:32 -080023 "libbase",
Jooyung Hanfce3ecd2020-03-09 16:12:26 +090024 "liblog",
Ytai Ben-Tsvi387f2522020-02-04 15:02:32 -080025 ],
26 target: {
27 windows: {
28 enabled: false,
29 },
30 darwin: {
31 enabled: false,
32 },
S Vasudev Prasad7cc6ec52020-07-10 11:33:14 +053033 linux_glibc: {
34 cflags: [
35 "-Dsigev_notify_thread_id=_sigev_un._tid",
36 ],
37 },
Ytai Ben-Tsvi387f2522020-02-04 15:02:32 -080038 },
39 apex_available: ["com.android.media"],
Jooyung Hane3cf41a2020-04-30 04:22:22 +090040 min_sdk_version: "29",
Ytai Ben-Tsvi387f2522020-02-04 15:02:32 -080041}