1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := third_party_fips181_fips181_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := 14 15 GYP_GENERATED_OUTPUTS := 16 17 # Make sure our deps and generated files are built first. 18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20 LOCAL_CPP_EXTENSION := .cc 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 third_party/fips181/convert.cc \ 27 third_party/fips181/fips181.cc \ 28 third_party/fips181/randpass.cc 29 30 31 # Flags passed to both C and C++ files. 32 MY_CFLAGS_Debug := \ 33 -fstack-protector \ 34 --param=ssp-buffer-size=4 \ 35 -fno-strict-aliasing \ 36 -Wno-unused-parameter \ 37 -Wno-missing-field-initializers \ 38 -fvisibility=hidden \ 39 -pipe \ 40 -fPIC \ 41 -Wno-unused-local-typedefs \ 42 -Wno-format \ 43 -m64 \ 44 -march=x86-64 \ 45 -ffunction-sections \ 46 -funwind-tables \ 47 -g \ 48 -fstack-protector \ 49 -fno-short-enums \ 50 -finline-limit=64 \ 51 -Wa,--noexecstack \ 52 -U_FORTIFY_SOURCE \ 53 -Wno-extra \ 54 -Wno-ignored-qualifiers \ 55 -Wno-type-limits \ 56 -Wno-unused-but-set-variable \ 57 -Wno-address \ 58 -Wno-format-security \ 59 -Wno-return-type \ 60 -Wno-sequence-point \ 61 -Os \ 62 -g \ 63 -gdwarf-4 \ 64 -fdata-sections \ 65 -ffunction-sections \ 66 -fomit-frame-pointer \ 67 -funwind-tables 68 69 MY_DEFS_Debug := \ 70 '-DV8_DEPRECATION_WARNINGS' \ 71 '-D_FILE_OFFSET_BITS=64' \ 72 '-DNO_TCMALLOC' \ 73 '-DDISABLE_NACL' \ 74 '-DCHROMIUM_BUILD' \ 75 '-DUSE_LIBJPEG_TURBO=1' \ 76 '-DENABLE_WEBRTC=1' \ 77 '-DUSE_PROPRIETARY_CODECS' \ 78 '-DENABLE_BROWSER_CDMS' \ 79 '-DENABLE_CONFIGURATION_POLICY' \ 80 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 81 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 82 '-DENABLE_EGLIMAGE=1' \ 83 '-DCLD_VERSION=1' \ 84 '-DENABLE_PRINTING=1' \ 85 '-DENABLE_MANAGED_USERS=1' \ 86 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 87 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 88 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 89 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 90 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 91 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 92 '-DVIDEO_HOLE=1' \ 93 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 94 '-DUSE_OPENSSL=1' \ 95 '-DUSE_OPENSSL_CERTS=1' \ 96 '-DANDROID' \ 97 '-D__GNU_SOURCE=1' \ 98 '-DUSE_STLPORT=1' \ 99 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 100 '-DCHROME_BUILD_ID=""' \ 101 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 102 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 103 '-D_DEBUG' 104 105 106 # Include paths placed before CFLAGS/CPPFLAGS 107 LOCAL_C_INCLUDES_Debug := \ 108 $(gyp_shared_intermediate_dir) \ 109 $(LOCAL_PATH)/third_party/fips181 \ 110 $(LOCAL_PATH) \ 111 $(PWD)/frameworks/wilhelm/include \ 112 $(PWD)/bionic \ 113 $(PWD)/external/stlport/stlport 114 115 116 # Flags passed to only C++ (and not C) files. 117 LOCAL_CPPFLAGS_Debug := \ 118 -fno-exceptions \ 119 -fno-rtti \ 120 -fno-threadsafe-statics \ 121 -fvisibility-inlines-hidden \ 122 -Wno-deprecated \ 123 -std=gnu++11 \ 124 -Wno-narrowing \ 125 -Wno-literal-suffix \ 126 -Wno-non-virtual-dtor \ 127 -Wno-sign-promo \ 128 -Wno-non-virtual-dtor 129 130 131 # Flags passed to both C and C++ files. 132 MY_CFLAGS_Release := \ 133 -fstack-protector \ 134 --param=ssp-buffer-size=4 \ 135 -fno-strict-aliasing \ 136 -Wno-unused-parameter \ 137 -Wno-missing-field-initializers \ 138 -fvisibility=hidden \ 139 -pipe \ 140 -fPIC \ 141 -Wno-unused-local-typedefs \ 142 -Wno-format \ 143 -m64 \ 144 -march=x86-64 \ 145 -ffunction-sections \ 146 -funwind-tables \ 147 -g \ 148 -fstack-protector \ 149 -fno-short-enums \ 150 -finline-limit=64 \ 151 -Wa,--noexecstack \ 152 -U_FORTIFY_SOURCE \ 153 -Wno-extra \ 154 -Wno-ignored-qualifiers \ 155 -Wno-type-limits \ 156 -Wno-unused-but-set-variable \ 157 -Wno-address \ 158 -Wno-format-security \ 159 -Wno-return-type \ 160 -Wno-sequence-point \ 161 -Os \ 162 -fno-ident \ 163 -fdata-sections \ 164 -ffunction-sections \ 165 -fomit-frame-pointer \ 166 -funwind-tables 167 168 MY_DEFS_Release := \ 169 '-DV8_DEPRECATION_WARNINGS' \ 170 '-D_FILE_OFFSET_BITS=64' \ 171 '-DNO_TCMALLOC' \ 172 '-DDISABLE_NACL' \ 173 '-DCHROMIUM_BUILD' \ 174 '-DUSE_LIBJPEG_TURBO=1' \ 175 '-DENABLE_WEBRTC=1' \ 176 '-DUSE_PROPRIETARY_CODECS' \ 177 '-DENABLE_BROWSER_CDMS' \ 178 '-DENABLE_CONFIGURATION_POLICY' \ 179 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 180 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 181 '-DENABLE_EGLIMAGE=1' \ 182 '-DCLD_VERSION=1' \ 183 '-DENABLE_PRINTING=1' \ 184 '-DENABLE_MANAGED_USERS=1' \ 185 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 186 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 187 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 188 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 189 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 190 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 191 '-DVIDEO_HOLE=1' \ 192 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 193 '-DUSE_OPENSSL=1' \ 194 '-DUSE_OPENSSL_CERTS=1' \ 195 '-DANDROID' \ 196 '-D__GNU_SOURCE=1' \ 197 '-DUSE_STLPORT=1' \ 198 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 199 '-DCHROME_BUILD_ID=""' \ 200 '-DNDEBUG' \ 201 '-DNVALGRIND' \ 202 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 203 204 205 # Include paths placed before CFLAGS/CPPFLAGS 206 LOCAL_C_INCLUDES_Release := \ 207 $(gyp_shared_intermediate_dir) \ 208 $(LOCAL_PATH)/third_party/fips181 \ 209 $(LOCAL_PATH) \ 210 $(PWD)/frameworks/wilhelm/include \ 211 $(PWD)/bionic \ 212 $(PWD)/external/stlport/stlport 213 214 215 # Flags passed to only C++ (and not C) files. 216 LOCAL_CPPFLAGS_Release := \ 217 -fno-exceptions \ 218 -fno-rtti \ 219 -fno-threadsafe-statics \ 220 -fvisibility-inlines-hidden \ 221 -Wno-deprecated \ 222 -std=gnu++11 \ 223 -Wno-narrowing \ 224 -Wno-literal-suffix \ 225 -Wno-non-virtual-dtor \ 226 -Wno-sign-promo \ 227 -Wno-non-virtual-dtor 228 229 230 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 231 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 232 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 233 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 234 ### Rules for final target. 235 236 LOCAL_SHARED_LIBRARIES := \ 237 libstlport \ 238 libdl 239 240 # Add target alias to "gyp_all_modules" target. 241 .PHONY: gyp_all_modules 242 gyp_all_modules: third_party_fips181_fips181_gyp 243 244 # Alias gyp target name. 245 .PHONY: fips181 246 fips181: third_party_fips181_fips181_gyp 247 248 include $(BUILD_STATIC_LIBRARY) 249