blob: c26bcffa5f8158eb2c700d477b40079d88def689 [file] [log] [blame]
Jerry Zhangecee4342017-07-18 14:07:57 -07001//
2// Copyright (C) 2017 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
Bob Badour187b7d12021-02-12 17:48:16 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "system_core_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["system_core_license"],
24}
25
Chih-Hung Hsieh122352d2017-10-02 15:20:07 -070026cc_defaults {
27 name: "libasyncio_defaults",
Elliott Hughesdc699a22018-02-16 17:58:14 -080028 cflags: [
29 "-Wall",
30 "-Werror",
31 "-Wextra",
32 ],
Chih-Hung Hsieh122352d2017-10-02 15:20:07 -070033}
Jerry Zhangecee4342017-07-18 14:07:57 -070034
35cc_library {
36 name: "libasyncio",
Chih-Hung Hsieh122352d2017-10-02 15:20:07 -070037 defaults: ["libasyncio_defaults"],
Jerry Zhangecee4342017-07-18 14:07:57 -070038 vendor_available: true,
Jiyong Parka0e75042018-05-24 14:11:00 +090039 recovery_available: true,
Jiyong Park697134d2020-03-23 14:40:50 +000040 apex_available: [
41 "//apex_available:platform",
42 "com.android.adbd",
43 ],
Jerry Zhangecee4342017-07-18 14:07:57 -070044 host_supported: true,
45 srcs: [
46 "AsyncIO.cpp",
47 ],
Jerry Zhangecee4342017-07-18 14:07:57 -070048
49 export_include_dirs: ["include"],
50 target: {
51 darwin: {
52 enabled: false,
53 },
54 linux_bionic: {
55 enabled: true,
56 },
57 windows: {
58 enabled: false,
59 },
60 },
61}