blob: 9a394e76cbe9ff7ca74eb023191053eeefca1313 [file] [log] [blame]
Motomu Utsumifcac4852022-10-26 19:28:31 +09001// Copyright (C) 2022 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//
15// This file is automatically generated by gen_android_bp. Do not edit.
16
17// GN: //gn:default_deps
18cc_defaults {
19 name: "cronet_aml_defaults",
20 cflags: [
21 "-O2",
22 "-Wno-error=return-type",
23 "-Wno-sign-compare",
24 "-Wno-sign-promo",
25 "-Wno-unused-parameter",
26 "-fvisibility=hidden",
27 ],
28}
29
30// GN: //third_party/android_ndk:cpu_features
31filegroup {
32 name: "cronet_aml_third_party_android_ndk_cpu_features",
33 srcs: [
34 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
35 ],
36}
37
Motomu Utsumifa7e9262022-10-26 19:43:02 +090038// GN: //third_party/libevent:libevent
39cc_library_static {
40 name: "cronet_aml_third_party_libevent_libevent",
41 srcs: [
42 "third_party/libevent/buffer.c",
43 "third_party/libevent/epoll.c",
44 "third_party/libevent/evbuffer.c",
45 "third_party/libevent/evdns.c",
46 "third_party/libevent/event.c",
47 "third_party/libevent/event_tagging.c",
48 "third_party/libevent/evrpc.c",
49 "third_party/libevent/evutil.c",
50 "third_party/libevent/http.c",
51 "third_party/libevent/log.c",
52 "third_party/libevent/poll.c",
53 "third_party/libevent/select.c",
54 "third_party/libevent/signal.c",
55 "third_party/libevent/strlcpy.c",
56 ],
57 defaults: [
58 "cronet_aml_defaults",
59 ],
60 cflags: [
61 "-DANDROID",
62 "-DANDROID_NDK_VERSION_ROLL=r23_1",
63 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8189-g97196a2d-1\"",
64 "-DCR_LIBCXX_REVISION=166132d607a5b33487d523bd9cc2ba9176ddffef",
65 "-DDCHECK_ALWAYS_ON=1",
66 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
67 "-DHAVE_CONFIG_H",
68 "-DHAVE_SYS_UIO_H",
69 "-D_DEBUG",
70 "-D_GNU_SOURCE",
71 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
72 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
73 ],
74 local_include_dirs: [
75 "./",
76 "buildtools/third_party/libc++/",
77 "out/test/gen/",
78 "third_party/libevent/android/",
79 ],
80}
81
Motomu Utsumifcac4852022-10-26 19:28:31 +090082// GN: //third_party/zlib:zlib
83cc_library_static {
84 name: "cronet_aml_third_party_zlib_zlib",
85 srcs: [
86 ":cronet_aml_third_party_android_ndk_cpu_features",
87 "third_party/zlib/adler32.c",
88 "third_party/zlib/compress.c",
89 "third_party/zlib/cpu_features.c",
90 "third_party/zlib/crc32.c",
91 "third_party/zlib/deflate.c",
92 "third_party/zlib/gzclose.c",
93 "third_party/zlib/gzlib.c",
94 "third_party/zlib/gzread.c",
95 "third_party/zlib/gzwrite.c",
96 "third_party/zlib/infback.c",
97 "third_party/zlib/inffast.c",
98 "third_party/zlib/inflate.c",
99 "third_party/zlib/inftrees.c",
100 "third_party/zlib/trees.c",
101 "third_party/zlib/uncompr.c",
102 "third_party/zlib/zutil.c",
103 ],
104 defaults: [
105 "cronet_aml_defaults",
106 ],
107 cflags: [
Motomu Utsumifa7e9262022-10-26 19:43:02 +0900108 "-DANDROID",
109 "-DANDROID_NDK_VERSION_ROLL=r23_1",
110 "-DCPU_NO_SIMD",
111 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8189-g97196a2d-1\"",
112 "-DCR_LIBCXX_REVISION=166132d607a5b33487d523bd9cc2ba9176ddffef",
113 "-DDCHECK_ALWAYS_ON=1",
114 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
115 "-DHAVE_SYS_UIO_H",
Motomu Utsumifcac4852022-10-26 19:28:31 +0900116 "-DZLIB_DEBUG",
117 "-DZLIB_IMPLEMENTATION",
Motomu Utsumifa7e9262022-10-26 19:43:02 +0900118 "-D_DEBUG",
119 "-D_GNU_SOURCE",
120 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
121 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumifcac4852022-10-26 19:28:31 +0900122 ],
123 local_include_dirs: [
124 "./",
125 "buildtools/third_party/libc++/",
126 "out/test/gen/",
127 "third_party/android_ndk/sources/android/cpufeatures/",
128 "third_party/zlib/",
129 ],
130}
131