url_lib.target.linux-arm64.mk revision 0de6073388f4e2780db8536178b129cd8f6ab386
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := url_url_lib_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp 17 18GYP_GENERATED_OUTPUTS := 19 20# Make sure our deps and generated files are built first. 21LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23LOCAL_CPP_EXTENSION := .cc 24LOCAL_GENERATED_SOURCES := 25 26GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28LOCAL_SRC_FILES := \ 29 url/android/url_jni_registrar.cc \ 30 url/gurl.cc \ 31 url/origin.cc \ 32 url/third_party/mozilla/url_parse.cc \ 33 url/url_canon_etc.cc \ 34 url/url_canon_filesystemurl.cc \ 35 url/url_canon_fileurl.cc \ 36 url/url_canon_host.cc \ 37 url/url_canon_icu.cc \ 38 url/url_canon_internal.cc \ 39 url/url_canon_ip.cc \ 40 url/url_canon_mailtourl.cc \ 41 url/url_canon_path.cc \ 42 url/url_canon_pathurl.cc \ 43 url/url_canon_query.cc \ 44 url/url_canon_relative.cc \ 45 url/url_canon_stdstring.cc \ 46 url/url_canon_stdurl.cc \ 47 url/url_constants.cc \ 48 url/url_parse_file.cc \ 49 url/url_util.cc 50 51 52# Flags passed to both C and C++ files. 53MY_CFLAGS_Debug := \ 54 --param=ssp-buffer-size=4 \ 55 -Werror \ 56 -fno-exceptions \ 57 -fno-strict-aliasing \ 58 -Wall \ 59 -Wno-unused-parameter \ 60 -Wno-missing-field-initializers \ 61 -fvisibility=hidden \ 62 -pipe \ 63 -fPIC \ 64 -Wno-unused-local-typedefs \ 65 -ffunction-sections \ 66 -funwind-tables \ 67 -g \ 68 -fno-short-enums \ 69 -finline-limit=64 \ 70 -Wa,--noexecstack \ 71 -U_FORTIFY_SOURCE \ 72 -Wno-extra \ 73 -Wno-ignored-qualifiers \ 74 -Wno-type-limits \ 75 -Wno-unused-but-set-variable \ 76 -Os \ 77 -g \ 78 -fomit-frame-pointer \ 79 -fdata-sections \ 80 -ffunction-sections \ 81 -funwind-tables 82 83MY_DEFS_Debug := \ 84 '-DV8_DEPRECATION_WARNINGS' \ 85 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 86 '-D_FILE_OFFSET_BITS=64' \ 87 '-DNO_TCMALLOC' \ 88 '-DDISABLE_NACL' \ 89 '-DCHROMIUM_BUILD' \ 90 '-DUSE_LIBJPEG_TURBO=1' \ 91 '-DENABLE_WEBRTC=1' \ 92 '-DUSE_PROPRIETARY_CODECS' \ 93 '-DENABLE_CONFIGURATION_POLICY' \ 94 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 95 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 96 '-DENABLE_EGLIMAGE=1' \ 97 '-DCLD_VERSION=1' \ 98 '-DENABLE_PRINTING=1' \ 99 '-DENABLE_MANAGED_USERS=1' \ 100 '-DVIDEO_HOLE=1' \ 101 '-DURL_IMPLEMENTATION' \ 102 '-DU_USING_ICU_NAMESPACE=0' \ 103 '-DUSE_OPENSSL=1' \ 104 '-DUSE_OPENSSL_CERTS=1' \ 105 '-D__STDC_CONSTANT_MACROS' \ 106 '-D__STDC_FORMAT_MACROS' \ 107 '-DANDROID' \ 108 '-D__GNU_SOURCE=1' \ 109 '-DUSE_STLPORT=1' \ 110 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 111 '-DCHROME_BUILD_ID=""' \ 112 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 113 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 114 '-D_DEBUG' 115 116 117# Include paths placed before CFLAGS/CPPFLAGS 118LOCAL_C_INCLUDES_Debug := \ 119 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 120 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 121 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 122 $(LOCAL_PATH) \ 123 $(PWD)/external/icu4c/common \ 124 $(PWD)/external/icu4c/i18n \ 125 $(PWD)/frameworks/wilhelm/include \ 126 $(PWD)/bionic \ 127 $(PWD)/external/stlport/stlport 128 129 130# Flags passed to only C++ (and not C) files. 131LOCAL_CPPFLAGS_Debug := \ 132 -fno-rtti \ 133 -fno-threadsafe-statics \ 134 -fvisibility-inlines-hidden \ 135 -Wsign-compare \ 136 -Wno-non-virtual-dtor \ 137 -Wno-sign-promo 138 139 140# Flags passed to both C and C++ files. 141MY_CFLAGS_Release := \ 142 --param=ssp-buffer-size=4 \ 143 -Werror \ 144 -fno-exceptions \ 145 -fno-strict-aliasing \ 146 -Wall \ 147 -Wno-unused-parameter \ 148 -Wno-missing-field-initializers \ 149 -fvisibility=hidden \ 150 -pipe \ 151 -fPIC \ 152 -Wno-unused-local-typedefs \ 153 -ffunction-sections \ 154 -funwind-tables \ 155 -g \ 156 -fno-short-enums \ 157 -finline-limit=64 \ 158 -Wa,--noexecstack \ 159 -U_FORTIFY_SOURCE \ 160 -Wno-extra \ 161 -Wno-ignored-qualifiers \ 162 -Wno-type-limits \ 163 -Wno-unused-but-set-variable \ 164 -Os \ 165 -fno-ident \ 166 -fdata-sections \ 167 -ffunction-sections \ 168 -fomit-frame-pointer \ 169 -funwind-tables 170 171MY_DEFS_Release := \ 172 '-DV8_DEPRECATION_WARNINGS' \ 173 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 174 '-D_FILE_OFFSET_BITS=64' \ 175 '-DNO_TCMALLOC' \ 176 '-DDISABLE_NACL' \ 177 '-DCHROMIUM_BUILD' \ 178 '-DUSE_LIBJPEG_TURBO=1' \ 179 '-DENABLE_WEBRTC=1' \ 180 '-DUSE_PROPRIETARY_CODECS' \ 181 '-DENABLE_CONFIGURATION_POLICY' \ 182 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 183 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 184 '-DENABLE_EGLIMAGE=1' \ 185 '-DCLD_VERSION=1' \ 186 '-DENABLE_PRINTING=1' \ 187 '-DENABLE_MANAGED_USERS=1' \ 188 '-DVIDEO_HOLE=1' \ 189 '-DURL_IMPLEMENTATION' \ 190 '-DU_USING_ICU_NAMESPACE=0' \ 191 '-DUSE_OPENSSL=1' \ 192 '-DUSE_OPENSSL_CERTS=1' \ 193 '-D__STDC_CONSTANT_MACROS' \ 194 '-D__STDC_FORMAT_MACROS' \ 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 '-D_FORTIFY_SOURCE=2' 204 205 206# Include paths placed before CFLAGS/CPPFLAGS 207LOCAL_C_INCLUDES_Release := \ 208 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 209 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 210 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 211 $(LOCAL_PATH) \ 212 $(PWD)/external/icu4c/common \ 213 $(PWD)/external/icu4c/i18n \ 214 $(PWD)/frameworks/wilhelm/include \ 215 $(PWD)/bionic \ 216 $(PWD)/external/stlport/stlport 217 218 219# Flags passed to only C++ (and not C) files. 220LOCAL_CPPFLAGS_Release := \ 221 -fno-rtti \ 222 -fno-threadsafe-statics \ 223 -fvisibility-inlines-hidden \ 224 -Wsign-compare \ 225 -Wno-non-virtual-dtor \ 226 -Wno-sign-promo 227 228 229LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 230LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 231LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 232LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 233### Rules for final target. 234 235LOCAL_LDFLAGS_Debug := \ 236 -Wl,-z,now \ 237 -Wl,-z,relro \ 238 -Wl,--fatal-warnings \ 239 -Wl,-z,noexecstack \ 240 -fPIC \ 241 -nostdlib \ 242 -Wl,--no-undefined \ 243 -Wl,--exclude-libs=ALL \ 244 -Wl,--warn-shared-textrel \ 245 -Wl,-O1 \ 246 -Wl,--as-needed 247 248 249LOCAL_LDFLAGS_Release := \ 250 -Wl,-z,now \ 251 -Wl,-z,relro \ 252 -Wl,--fatal-warnings \ 253 -Wl,-z,noexecstack \ 254 -fPIC \ 255 -nostdlib \ 256 -Wl,--no-undefined \ 257 -Wl,--exclude-libs=ALL \ 258 -Wl,-O1 \ 259 -Wl,--as-needed \ 260 -Wl,--gc-sections \ 261 -Wl,--warn-shared-textrel 262 263 264LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 265 266LOCAL_STATIC_LIBRARIES := 267 268# Enable grouping to fix circular references 269LOCAL_GROUP_STATIC_LIBRARIES := true 270 271LOCAL_SHARED_LIBRARIES := \ 272 libstlport \ 273 libdl 274 275# Add target alias to "gyp_all_modules" target. 276.PHONY: gyp_all_modules 277gyp_all_modules: url_url_lib_gyp 278 279# Alias gyp target name. 280.PHONY: url_lib 281url_lib: url_url_lib_gyp 282 283include $(BUILD_STATIC_LIBRARY) 284