1*9356374aSAndroid Build Coastguard Worker# GENERATED! DO NOT MANUALLY EDIT THIS FILE. 2*9356374aSAndroid Build Coastguard Worker# 3*9356374aSAndroid Build Coastguard Worker# (1) Edit absl/copts/copts.py. 4*9356374aSAndroid Build Coastguard Worker# (2) Run `python <path_to_absl>/copts/generate_copts.py`. 5*9356374aSAndroid Build Coastguard Worker 6*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_CLANG_CL_FLAGS 7*9356374aSAndroid Build Coastguard Worker "/W3" 8*9356374aSAndroid Build Coastguard Worker "/DNOMINMAX" 9*9356374aSAndroid Build Coastguard Worker "/DWIN32_LEAN_AND_MEAN" 10*9356374aSAndroid Build Coastguard Worker "/D_CRT_SECURE_NO_WARNINGS" 11*9356374aSAndroid Build Coastguard Worker "/D_SCL_SECURE_NO_WARNINGS" 12*9356374aSAndroid Build Coastguard Worker "/D_ENABLE_EXTENDED_ALIGNED_STORAGE" 13*9356374aSAndroid Build Coastguard Worker) 14*9356374aSAndroid Build Coastguard Worker 15*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_CLANG_CL_TEST_FLAGS 16*9356374aSAndroid Build Coastguard Worker "/W3" 17*9356374aSAndroid Build Coastguard Worker "/DNOMINMAX" 18*9356374aSAndroid Build Coastguard Worker "/DWIN32_LEAN_AND_MEAN" 19*9356374aSAndroid Build Coastguard Worker "/D_CRT_SECURE_NO_WARNINGS" 20*9356374aSAndroid Build Coastguard Worker "/D_SCL_SECURE_NO_WARNINGS" 21*9356374aSAndroid Build Coastguard Worker "/D_ENABLE_EXTENDED_ALIGNED_STORAGE" 22*9356374aSAndroid Build Coastguard Worker "-Wno-deprecated-declarations" 23*9356374aSAndroid Build Coastguard Worker "-Wno-implicit-int-conversion" 24*9356374aSAndroid Build Coastguard Worker "-Wno-missing-prototypes" 25*9356374aSAndroid Build Coastguard Worker "-Wno-missing-variable-declarations" 26*9356374aSAndroid Build Coastguard Worker "-Wno-shadow" 27*9356374aSAndroid Build Coastguard Worker "-Wno-shorten-64-to-32" 28*9356374aSAndroid Build Coastguard Worker "-Wno-sign-compare" 29*9356374aSAndroid Build Coastguard Worker "-Wno-sign-conversion" 30*9356374aSAndroid Build Coastguard Worker "-Wno-unreachable-code-loop-increment" 31*9356374aSAndroid Build Coastguard Worker "-Wno-unused-function" 32*9356374aSAndroid Build Coastguard Worker "-Wno-unused-member-function" 33*9356374aSAndroid Build Coastguard Worker "-Wno-unused-parameter" 34*9356374aSAndroid Build Coastguard Worker "-Wno-unused-private-field" 35*9356374aSAndroid Build Coastguard Worker "-Wno-unused-template" 36*9356374aSAndroid Build Coastguard Worker "-Wno-used-but-marked-unused" 37*9356374aSAndroid Build Coastguard Worker "-Wno-gnu-zero-variadic-macro-arguments" 38*9356374aSAndroid Build Coastguard Worker) 39*9356374aSAndroid Build Coastguard Worker 40*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_GCC_FLAGS 41*9356374aSAndroid Build Coastguard Worker "-Wall" 42*9356374aSAndroid Build Coastguard Worker "-Wextra" 43*9356374aSAndroid Build Coastguard Worker "-Wcast-qual" 44*9356374aSAndroid Build Coastguard Worker "-Wconversion-null" 45*9356374aSAndroid Build Coastguard Worker "-Wformat-security" 46*9356374aSAndroid Build Coastguard Worker "-Wmissing-declarations" 47*9356374aSAndroid Build Coastguard Worker "-Wnon-virtual-dtor" 48*9356374aSAndroid Build Coastguard Worker "-Woverlength-strings" 49*9356374aSAndroid Build Coastguard Worker "-Wpointer-arith" 50*9356374aSAndroid Build Coastguard Worker "-Wundef" 51*9356374aSAndroid Build Coastguard Worker "-Wunused-local-typedefs" 52*9356374aSAndroid Build Coastguard Worker "-Wunused-result" 53*9356374aSAndroid Build Coastguard Worker "-Wvarargs" 54*9356374aSAndroid Build Coastguard Worker "-Wvla" 55*9356374aSAndroid Build Coastguard Worker "-Wwrite-strings" 56*9356374aSAndroid Build Coastguard Worker "-DNOMINMAX" 57*9356374aSAndroid Build Coastguard Worker) 58*9356374aSAndroid Build Coastguard Worker 59*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_GCC_TEST_FLAGS 60*9356374aSAndroid Build Coastguard Worker "-Wall" 61*9356374aSAndroid Build Coastguard Worker "-Wextra" 62*9356374aSAndroid Build Coastguard Worker "-Wcast-qual" 63*9356374aSAndroid Build Coastguard Worker "-Wconversion-null" 64*9356374aSAndroid Build Coastguard Worker "-Wformat-security" 65*9356374aSAndroid Build Coastguard Worker "-Wnon-virtual-dtor" 66*9356374aSAndroid Build Coastguard Worker "-Woverlength-strings" 67*9356374aSAndroid Build Coastguard Worker "-Wpointer-arith" 68*9356374aSAndroid Build Coastguard Worker "-Wundef" 69*9356374aSAndroid Build Coastguard Worker "-Wunused-local-typedefs" 70*9356374aSAndroid Build Coastguard Worker "-Wunused-result" 71*9356374aSAndroid Build Coastguard Worker "-Wvarargs" 72*9356374aSAndroid Build Coastguard Worker "-Wvla" 73*9356374aSAndroid Build Coastguard Worker "-Wwrite-strings" 74*9356374aSAndroid Build Coastguard Worker "-DNOMINMAX" 75*9356374aSAndroid Build Coastguard Worker "-Wno-deprecated-declarations" 76*9356374aSAndroid Build Coastguard Worker "-Wno-missing-declarations" 77*9356374aSAndroid Build Coastguard Worker "-Wno-self-move" 78*9356374aSAndroid Build Coastguard Worker "-Wno-sign-compare" 79*9356374aSAndroid Build Coastguard Worker "-Wno-unused-function" 80*9356374aSAndroid Build Coastguard Worker "-Wno-unused-parameter" 81*9356374aSAndroid Build Coastguard Worker "-Wno-unused-private-field" 82*9356374aSAndroid Build Coastguard Worker) 83*9356374aSAndroid Build Coastguard Worker 84*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_LLVM_FLAGS 85*9356374aSAndroid Build Coastguard Worker "-Wall" 86*9356374aSAndroid Build Coastguard Worker "-Wextra" 87*9356374aSAndroid Build Coastguard Worker "-Wc++98-compat-extra-semi" 88*9356374aSAndroid Build Coastguard Worker "-Wcast-qual" 89*9356374aSAndroid Build Coastguard Worker "-Wconversion" 90*9356374aSAndroid Build Coastguard Worker "-Wdeprecated-pragma" 91*9356374aSAndroid Build Coastguard Worker "-Wfloat-overflow-conversion" 92*9356374aSAndroid Build Coastguard Worker "-Wfloat-zero-conversion" 93*9356374aSAndroid Build Coastguard Worker "-Wfor-loop-analysis" 94*9356374aSAndroid Build Coastguard Worker "-Wformat-security" 95*9356374aSAndroid Build Coastguard Worker "-Wgnu-redeclared-enum" 96*9356374aSAndroid Build Coastguard Worker "-Winfinite-recursion" 97*9356374aSAndroid Build Coastguard Worker "-Winvalid-constexpr" 98*9356374aSAndroid Build Coastguard Worker "-Wliteral-conversion" 99*9356374aSAndroid Build Coastguard Worker "-Wmissing-declarations" 100*9356374aSAndroid Build Coastguard Worker "-Woverlength-strings" 101*9356374aSAndroid Build Coastguard Worker "-Wpointer-arith" 102*9356374aSAndroid Build Coastguard Worker "-Wself-assign" 103*9356374aSAndroid Build Coastguard Worker "-Wshadow-all" 104*9356374aSAndroid Build Coastguard Worker "-Wshorten-64-to-32" 105*9356374aSAndroid Build Coastguard Worker "-Wsign-conversion" 106*9356374aSAndroid Build Coastguard Worker "-Wstring-conversion" 107*9356374aSAndroid Build Coastguard Worker "-Wtautological-overlap-compare" 108*9356374aSAndroid Build Coastguard Worker "-Wtautological-unsigned-zero-compare" 109*9356374aSAndroid Build Coastguard Worker "-Wundef" 110*9356374aSAndroid Build Coastguard Worker "-Wuninitialized" 111*9356374aSAndroid Build Coastguard Worker "-Wunreachable-code" 112*9356374aSAndroid Build Coastguard Worker "-Wunused-comparison" 113*9356374aSAndroid Build Coastguard Worker "-Wunused-local-typedefs" 114*9356374aSAndroid Build Coastguard Worker "-Wunused-result" 115*9356374aSAndroid Build Coastguard Worker "-Wvla" 116*9356374aSAndroid Build Coastguard Worker "-Wwrite-strings" 117*9356374aSAndroid Build Coastguard Worker "-Wno-float-conversion" 118*9356374aSAndroid Build Coastguard Worker "-Wno-implicit-float-conversion" 119*9356374aSAndroid Build Coastguard Worker "-Wno-implicit-int-float-conversion" 120*9356374aSAndroid Build Coastguard Worker "-Wno-unknown-warning-option" 121*9356374aSAndroid Build Coastguard Worker "-DNOMINMAX" 122*9356374aSAndroid Build Coastguard Worker) 123*9356374aSAndroid Build Coastguard Worker 124*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_LLVM_TEST_FLAGS 125*9356374aSAndroid Build Coastguard Worker "-Wall" 126*9356374aSAndroid Build Coastguard Worker "-Wextra" 127*9356374aSAndroid Build Coastguard Worker "-Wc++98-compat-extra-semi" 128*9356374aSAndroid Build Coastguard Worker "-Wcast-qual" 129*9356374aSAndroid Build Coastguard Worker "-Wconversion" 130*9356374aSAndroid Build Coastguard Worker "-Wdeprecated-pragma" 131*9356374aSAndroid Build Coastguard Worker "-Wfloat-overflow-conversion" 132*9356374aSAndroid Build Coastguard Worker "-Wfloat-zero-conversion" 133*9356374aSAndroid Build Coastguard Worker "-Wfor-loop-analysis" 134*9356374aSAndroid Build Coastguard Worker "-Wformat-security" 135*9356374aSAndroid Build Coastguard Worker "-Wgnu-redeclared-enum" 136*9356374aSAndroid Build Coastguard Worker "-Winfinite-recursion" 137*9356374aSAndroid Build Coastguard Worker "-Winvalid-constexpr" 138*9356374aSAndroid Build Coastguard Worker "-Wliteral-conversion" 139*9356374aSAndroid Build Coastguard Worker "-Wmissing-declarations" 140*9356374aSAndroid Build Coastguard Worker "-Woverlength-strings" 141*9356374aSAndroid Build Coastguard Worker "-Wpointer-arith" 142*9356374aSAndroid Build Coastguard Worker "-Wself-assign" 143*9356374aSAndroid Build Coastguard Worker "-Wshadow-all" 144*9356374aSAndroid Build Coastguard Worker "-Wstring-conversion" 145*9356374aSAndroid Build Coastguard Worker "-Wtautological-overlap-compare" 146*9356374aSAndroid Build Coastguard Worker "-Wtautological-unsigned-zero-compare" 147*9356374aSAndroid Build Coastguard Worker "-Wundef" 148*9356374aSAndroid Build Coastguard Worker "-Wuninitialized" 149*9356374aSAndroid Build Coastguard Worker "-Wunreachable-code" 150*9356374aSAndroid Build Coastguard Worker "-Wunused-comparison" 151*9356374aSAndroid Build Coastguard Worker "-Wunused-local-typedefs" 152*9356374aSAndroid Build Coastguard Worker "-Wunused-result" 153*9356374aSAndroid Build Coastguard Worker "-Wvla" 154*9356374aSAndroid Build Coastguard Worker "-Wwrite-strings" 155*9356374aSAndroid Build Coastguard Worker "-Wno-float-conversion" 156*9356374aSAndroid Build Coastguard Worker "-Wno-implicit-float-conversion" 157*9356374aSAndroid Build Coastguard Worker "-Wno-implicit-int-float-conversion" 158*9356374aSAndroid Build Coastguard Worker "-Wno-unknown-warning-option" 159*9356374aSAndroid Build Coastguard Worker "-DNOMINMAX" 160*9356374aSAndroid Build Coastguard Worker "-Wno-deprecated-declarations" 161*9356374aSAndroid Build Coastguard Worker "-Wno-implicit-int-conversion" 162*9356374aSAndroid Build Coastguard Worker "-Wno-missing-prototypes" 163*9356374aSAndroid Build Coastguard Worker "-Wno-missing-variable-declarations" 164*9356374aSAndroid Build Coastguard Worker "-Wno-shadow" 165*9356374aSAndroid Build Coastguard Worker "-Wno-shorten-64-to-32" 166*9356374aSAndroid Build Coastguard Worker "-Wno-sign-compare" 167*9356374aSAndroid Build Coastguard Worker "-Wno-sign-conversion" 168*9356374aSAndroid Build Coastguard Worker "-Wno-unreachable-code-loop-increment" 169*9356374aSAndroid Build Coastguard Worker "-Wno-unused-function" 170*9356374aSAndroid Build Coastguard Worker "-Wno-unused-member-function" 171*9356374aSAndroid Build Coastguard Worker "-Wno-unused-parameter" 172*9356374aSAndroid Build Coastguard Worker "-Wno-unused-private-field" 173*9356374aSAndroid Build Coastguard Worker "-Wno-unused-template" 174*9356374aSAndroid Build Coastguard Worker "-Wno-used-but-marked-unused" 175*9356374aSAndroid Build Coastguard Worker "-Wno-gnu-zero-variadic-macro-arguments" 176*9356374aSAndroid Build Coastguard Worker) 177*9356374aSAndroid Build Coastguard Worker 178*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_MSVC_FLAGS 179*9356374aSAndroid Build Coastguard Worker "/W3" 180*9356374aSAndroid Build Coastguard Worker "/bigobj" 181*9356374aSAndroid Build Coastguard Worker "/wd4005" 182*9356374aSAndroid Build Coastguard Worker "/wd4068" 183*9356374aSAndroid Build Coastguard Worker "/wd4180" 184*9356374aSAndroid Build Coastguard Worker "/wd4244" 185*9356374aSAndroid Build Coastguard Worker "/wd4267" 186*9356374aSAndroid Build Coastguard Worker "/wd4503" 187*9356374aSAndroid Build Coastguard Worker "/wd4800" 188*9356374aSAndroid Build Coastguard Worker "/DNOMINMAX" 189*9356374aSAndroid Build Coastguard Worker "/DWIN32_LEAN_AND_MEAN" 190*9356374aSAndroid Build Coastguard Worker "/D_CRT_SECURE_NO_WARNINGS" 191*9356374aSAndroid Build Coastguard Worker "/D_SCL_SECURE_NO_WARNINGS" 192*9356374aSAndroid Build Coastguard Worker "/D_ENABLE_EXTENDED_ALIGNED_STORAGE" 193*9356374aSAndroid Build Coastguard Worker) 194*9356374aSAndroid Build Coastguard Worker 195*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_MSVC_LINKOPTS 196*9356374aSAndroid Build Coastguard Worker "-ignore:4221" 197*9356374aSAndroid Build Coastguard Worker) 198*9356374aSAndroid Build Coastguard Worker 199*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_MSVC_TEST_FLAGS 200*9356374aSAndroid Build Coastguard Worker "/W3" 201*9356374aSAndroid Build Coastguard Worker "/bigobj" 202*9356374aSAndroid Build Coastguard Worker "/wd4005" 203*9356374aSAndroid Build Coastguard Worker "/wd4068" 204*9356374aSAndroid Build Coastguard Worker "/wd4180" 205*9356374aSAndroid Build Coastguard Worker "/wd4244" 206*9356374aSAndroid Build Coastguard Worker "/wd4267" 207*9356374aSAndroid Build Coastguard Worker "/wd4503" 208*9356374aSAndroid Build Coastguard Worker "/wd4800" 209*9356374aSAndroid Build Coastguard Worker "/DNOMINMAX" 210*9356374aSAndroid Build Coastguard Worker "/DWIN32_LEAN_AND_MEAN" 211*9356374aSAndroid Build Coastguard Worker "/D_CRT_SECURE_NO_WARNINGS" 212*9356374aSAndroid Build Coastguard Worker "/D_SCL_SECURE_NO_WARNINGS" 213*9356374aSAndroid Build Coastguard Worker "/D_ENABLE_EXTENDED_ALIGNED_STORAGE" 214*9356374aSAndroid Build Coastguard Worker "/wd4018" 215*9356374aSAndroid Build Coastguard Worker "/wd4101" 216*9356374aSAndroid Build Coastguard Worker "/wd4503" 217*9356374aSAndroid Build Coastguard Worker "/wd4996" 218*9356374aSAndroid Build Coastguard Worker "/DNOMINMAX" 219*9356374aSAndroid Build Coastguard Worker) 220*9356374aSAndroid Build Coastguard Worker 221*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_RANDOM_HWAES_ARM32_FLAGS 222*9356374aSAndroid Build Coastguard Worker "-mfpu=neon" 223*9356374aSAndroid Build Coastguard Worker) 224*9356374aSAndroid Build Coastguard Worker 225*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_RANDOM_HWAES_ARM64_FLAGS 226*9356374aSAndroid Build Coastguard Worker "-march=armv8-a+crypto" 227*9356374aSAndroid Build Coastguard Worker) 228*9356374aSAndroid Build Coastguard Worker 229*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_RANDOM_HWAES_MSVC_X64_FLAGS 230*9356374aSAndroid Build Coastguard Worker) 231*9356374aSAndroid Build Coastguard Worker 232*9356374aSAndroid Build Coastguard Workerlist(APPEND ABSL_RANDOM_HWAES_X64_FLAGS 233*9356374aSAndroid Build Coastguard Worker "-maes" 234*9356374aSAndroid Build Coastguard Worker "-msse4.1" 235*9356374aSAndroid Build Coastguard Worker) 236