blob: 9a637acb7bab7f0c6d42a83d72ccd4fea505e65c [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
17libasyncio_cppflags = [
18 "-Wall",
19 "-Wextra",
20 "-Werror",
21]
22
23cc_library {
24 name: "libasyncio",
25 vendor_available: true,
26 host_supported: true,
27 srcs: [
28 "AsyncIO.cpp",
29 ],
30 cppflags: libasyncio_cppflags,
31
32 export_include_dirs: ["include"],
33 target: {
34 darwin: {
35 enabled: false,
36 },
37 linux_bionic: {
38 enabled: true,
39 },
40 windows: {
41 enabled: false,
42 },
43 },
44}