2017-07-18 23:07:57 +02:00
|
|
|
//
|
|
|
|
// Copyright (C) 2017 The Android Open Source Project
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2021-02-17 04:02:14 +01:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2017-10-03 00:20:07 +02:00
|
|
|
cc_defaults {
|
|
|
|
name: "libasyncio_defaults",
|
2018-02-17 02:58:14 +01:00
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
"-Wextra",
|
|
|
|
],
|
2017-10-03 00:20:07 +02:00
|
|
|
}
|
2017-07-18 23:07:57 +02:00
|
|
|
|
|
|
|
cc_library {
|
|
|
|
name: "libasyncio",
|
2017-10-03 00:20:07 +02:00
|
|
|
defaults: ["libasyncio_defaults"],
|
2017-07-18 23:07:57 +02:00
|
|
|
vendor_available: true,
|
2018-05-24 07:11:00 +02:00
|
|
|
recovery_available: true,
|
2021-11-23 03:11:36 +01:00
|
|
|
min_sdk_version: "apex_inherit",
|
2020-03-23 15:40:50 +01:00
|
|
|
apex_available: [
|
|
|
|
"//apex_available:platform",
|
|
|
|
"com.android.adbd",
|
|
|
|
],
|
2017-07-18 23:07:57 +02:00
|
|
|
host_supported: true,
|
|
|
|
srcs: [
|
|
|
|
"AsyncIO.cpp",
|
|
|
|
],
|
|
|
|
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
target: {
|
|
|
|
darwin: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
|
|
|
linux_bionic: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
windows: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|