blob: 24f22b1df95aa45daa94842c505000961be72bcf [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
38// GN: //third_party/zlib:zlib
39cc_library_static {
40 name: "cronet_aml_third_party_zlib_zlib",
41 srcs: [
42 ":cronet_aml_third_party_android_ndk_cpu_features",
43 "third_party/zlib/adler32.c",
44 "third_party/zlib/compress.c",
45 "third_party/zlib/cpu_features.c",
46 "third_party/zlib/crc32.c",
47 "third_party/zlib/deflate.c",
48 "third_party/zlib/gzclose.c",
49 "third_party/zlib/gzlib.c",
50 "third_party/zlib/gzread.c",
51 "third_party/zlib/gzwrite.c",
52 "third_party/zlib/infback.c",
53 "third_party/zlib/inffast.c",
54 "third_party/zlib/inflate.c",
55 "third_party/zlib/inftrees.c",
56 "third_party/zlib/trees.c",
57 "third_party/zlib/uncompr.c",
58 "third_party/zlib/zutil.c",
59 ],
60 defaults: [
61 "cronet_aml_defaults",
62 ],
63 cflags: [
64 "-DZLIB_DEBUG",
65 "-DZLIB_IMPLEMENTATION",
66 ],
67 local_include_dirs: [
68 "./",
69 "buildtools/third_party/libc++/",
70 "out/test/gen/",
71 "third_party/android_ndk/sources/android/cpufeatures/",
72 "third_party/zlib/",
73 ],
74}
75