Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 1 | // 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 |
| 18 | cc_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 |
| 31 | filegroup { |
| 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 Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 38 | // GN: //third_party/libevent:libevent |
| 39 | cc_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", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 63 | "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"", |
| 64 | "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 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", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 71 | "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 72 | "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 73 | "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 74 | "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| 75 | ], |
| 76 | local_include_dirs: [ |
| 77 | "./", |
| 78 | "buildtools/third_party/libc++/", |
| 79 | "out/test/gen/", |
| 80 | "third_party/libevent/android/", |
| 81 | ], |
| 82 | } |
| 83 | |
Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 84 | // GN: //third_party/zlib:zlib |
| 85 | cc_library_static { |
| 86 | name: "cronet_aml_third_party_zlib_zlib", |
| 87 | srcs: [ |
| 88 | ":cronet_aml_third_party_android_ndk_cpu_features", |
| 89 | "third_party/zlib/adler32.c", |
| 90 | "third_party/zlib/compress.c", |
| 91 | "third_party/zlib/cpu_features.c", |
| 92 | "third_party/zlib/crc32.c", |
| 93 | "third_party/zlib/deflate.c", |
| 94 | "third_party/zlib/gzclose.c", |
| 95 | "third_party/zlib/gzlib.c", |
| 96 | "third_party/zlib/gzread.c", |
| 97 | "third_party/zlib/gzwrite.c", |
| 98 | "third_party/zlib/infback.c", |
| 99 | "third_party/zlib/inffast.c", |
| 100 | "third_party/zlib/inflate.c", |
| 101 | "third_party/zlib/inftrees.c", |
| 102 | "third_party/zlib/trees.c", |
| 103 | "third_party/zlib/uncompr.c", |
| 104 | "third_party/zlib/zutil.c", |
| 105 | ], |
| 106 | defaults: [ |
| 107 | "cronet_aml_defaults", |
| 108 | ], |
| 109 | cflags: [ |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 110 | "-DANDROID", |
| 111 | "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| 112 | "-DCPU_NO_SIMD", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 113 | "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"", |
| 114 | "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 115 | "-DDCHECK_ALWAYS_ON=1", |
| 116 | "-DDYNAMIC_ANNOTATIONS_ENABLED=1", |
| 117 | "-DHAVE_SYS_UIO_H", |
Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 118 | "-DZLIB_DEBUG", |
| 119 | "-DZLIB_IMPLEMENTATION", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 120 | "-D_DEBUG", |
| 121 | "-D_GNU_SOURCE", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 122 | "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 123 | "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 124 | "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 125 | "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 126 | ], |
| 127 | local_include_dirs: [ |
| 128 | "./", |
| 129 | "buildtools/third_party/libc++/", |
| 130 | "out/test/gen/", |
| 131 | "third_party/android_ndk/sources/android/cpufeatures/", |
| 132 | "third_party/zlib/", |
| 133 | ], |
| 134 | } |
| 135 | |