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 := webkit_webkit_storage_renderer_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_CPP_EXTENSION := .cc 22 LOCAL_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_SRC_FILES := \ 27 webkit/renderer/fileapi/webfilewriter_base.cc 28 29 30 # Flags passed to both C and C++ files. 31 MY_CFLAGS_Debug := \ 32 --param=ssp-buffer-size=4 \ 33 -fno-exceptions \ 34 -fno-strict-aliasing \ 35 -Wno-unused-parameter \ 36 -Wno-missing-field-initializers \ 37 -fvisibility=hidden \ 38 -pipe \ 39 -fPIC \ 40 -Wno-format \ 41 -m32 \ 42 -mmmx \ 43 -march=pentium4 \ 44 -msse2 \ 45 -mfpmath=sse \ 46 -fuse-ld=gold \ 47 -ffunction-sections \ 48 -funwind-tables \ 49 -g \ 50 -fno-short-enums \ 51 -finline-limit=64 \ 52 -Wa,--noexecstack \ 53 -U_FORTIFY_SOURCE \ 54 -Wno-extra \ 55 -Wno-ignored-qualifiers \ 56 -Wno-type-limits \ 57 -Wno-address \ 58 -Wno-format-security \ 59 -Wno-return-type \ 60 -Wno-sequence-point \ 61 -fno-stack-protector \ 62 -Os \ 63 -g \ 64 -fomit-frame-pointer \ 65 -fdata-sections \ 66 -ffunction-sections 67 68 MY_DEFS_Debug := \ 69 '-DANGLE_DX11' \ 70 '-D_FILE_OFFSET_BITS=64' \ 71 '-DNO_TCMALLOC' \ 72 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 73 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 74 '-DDISABLE_NACL' \ 75 '-DCHROMIUM_BUILD' \ 76 '-DUSE_LIBJPEG_TURBO=1' \ 77 '-DUSE_PROPRIETARY_CODECS' \ 78 '-DENABLE_CONFIGURATION_POLICY' \ 79 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 80 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 81 '-DENABLE_GPU=1' \ 82 '-DUSE_OPENSSL=1' \ 83 '-DENABLE_EGLIMAGE=1' \ 84 '-DENABLE_PRINTING=1' \ 85 '-DWEBKIT_STORAGE_RENDERER_IMPLEMENTATION' \ 86 '-DU_USING_ICU_NAMESPACE=0' \ 87 '-DANDROID' \ 88 '-D__GNU_SOURCE=1' \ 89 '-DUSE_STLPORT=1' \ 90 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 91 '-DCHROME_BUILD_ID=""' \ 92 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 93 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 94 '-D_DEBUG' 95 96 97 # Include paths placed before CFLAGS/CPPFLAGS 98 LOCAL_C_INCLUDES_Debug := \ 99 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 100 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 101 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 102 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 103 $(LOCAL_PATH)/third_party/khronos \ 104 $(LOCAL_PATH)/gpu \ 105 $(LOCAL_PATH) \ 106 $(LOCAL_PATH)/third_party/WebKit \ 107 $(LOCAL_PATH)/third_party/skia/src/core \ 108 $(LOCAL_PATH)/skia/ext \ 109 $(PWD)/external/icu4c/common \ 110 $(PWD)/external/icu4c/i18n \ 111 $(LOCAL_PATH)/third_party/npapi \ 112 $(LOCAL_PATH)/third_party/npapi/bindings \ 113 $(LOCAL_PATH)/v8/include \ 114 $(PWD)/frameworks/wilhelm/include \ 115 $(PWD)/bionic \ 116 $(PWD)/external/stlport/stlport 117 118 119 # Flags passed to only C++ (and not C) files. 120 LOCAL_CPPFLAGS_Debug := \ 121 -fno-rtti \ 122 -fno-threadsafe-statics \ 123 -fvisibility-inlines-hidden \ 124 -Wno-deprecated \ 125 -Wno-error=c++0x-compat \ 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 --param=ssp-buffer-size=4 \ 134 -fno-exceptions \ 135 -fno-strict-aliasing \ 136 -Wno-unused-parameter \ 137 -Wno-missing-field-initializers \ 138 -fvisibility=hidden \ 139 -pipe \ 140 -fPIC \ 141 -Wno-format \ 142 -m32 \ 143 -mmmx \ 144 -march=pentium4 \ 145 -msse2 \ 146 -mfpmath=sse \ 147 -fuse-ld=gold \ 148 -ffunction-sections \ 149 -funwind-tables \ 150 -g \ 151 -fno-short-enums \ 152 -finline-limit=64 \ 153 -Wa,--noexecstack \ 154 -U_FORTIFY_SOURCE \ 155 -Wno-extra \ 156 -Wno-ignored-qualifiers \ 157 -Wno-type-limits \ 158 -Wno-address \ 159 -Wno-format-security \ 160 -Wno-return-type \ 161 -Wno-sequence-point \ 162 -fno-stack-protector \ 163 -Os \ 164 -fno-ident \ 165 -fdata-sections \ 166 -ffunction-sections \ 167 -fomit-frame-pointer \ 168 -fno-unwind-tables \ 169 -fno-asynchronous-unwind-tables 170 171 MY_DEFS_Release := \ 172 '-DANGLE_DX11' \ 173 '-D_FILE_OFFSET_BITS=64' \ 174 '-DNO_TCMALLOC' \ 175 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 176 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 177 '-DDISABLE_NACL' \ 178 '-DCHROMIUM_BUILD' \ 179 '-DUSE_LIBJPEG_TURBO=1' \ 180 '-DUSE_PROPRIETARY_CODECS' \ 181 '-DENABLE_CONFIGURATION_POLICY' \ 182 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 183 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 184 '-DENABLE_GPU=1' \ 185 '-DUSE_OPENSSL=1' \ 186 '-DENABLE_EGLIMAGE=1' \ 187 '-DENABLE_PRINTING=1' \ 188 '-DWEBKIT_STORAGE_RENDERER_IMPLEMENTATION' \ 189 '-DU_USING_ICU_NAMESPACE=0' \ 190 '-DANDROID' \ 191 '-D__GNU_SOURCE=1' \ 192 '-DUSE_STLPORT=1' \ 193 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 194 '-DCHROME_BUILD_ID=""' \ 195 '-DNDEBUG' \ 196 '-DNVALGRIND' \ 197 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 198 199 200 # Include paths placed before CFLAGS/CPPFLAGS 201 LOCAL_C_INCLUDES_Release := \ 202 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 203 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 204 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 205 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 206 $(LOCAL_PATH)/third_party/khronos \ 207 $(LOCAL_PATH)/gpu \ 208 $(LOCAL_PATH) \ 209 $(LOCAL_PATH)/third_party/WebKit \ 210 $(LOCAL_PATH)/third_party/skia/src/core \ 211 $(LOCAL_PATH)/skia/ext \ 212 $(PWD)/external/icu4c/common \ 213 $(PWD)/external/icu4c/i18n \ 214 $(LOCAL_PATH)/third_party/npapi \ 215 $(LOCAL_PATH)/third_party/npapi/bindings \ 216 $(LOCAL_PATH)/v8/include \ 217 $(PWD)/frameworks/wilhelm/include \ 218 $(PWD)/bionic \ 219 $(PWD)/external/stlport/stlport 220 221 222 # Flags passed to only C++ (and not C) files. 223 LOCAL_CPPFLAGS_Release := \ 224 -fno-rtti \ 225 -fno-threadsafe-statics \ 226 -fvisibility-inlines-hidden \ 227 -Wno-deprecated \ 228 -Wno-error=c++0x-compat \ 229 -Wno-non-virtual-dtor \ 230 -Wno-sign-promo \ 231 -Wno-non-virtual-dtor 232 233 234 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 235 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 236 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 237 ### Rules for final target. 238 239 LOCAL_LDFLAGS_Debug := \ 240 -Wl,-z,now \ 241 -Wl,-z,relro \ 242 -Wl,-z,noexecstack \ 243 -fPIC \ 244 -m32 \ 245 -fuse-ld=gold \ 246 -nostdlib \ 247 -Wl,--no-undefined \ 248 -Wl,--exclude-libs=ALL \ 249 -Wl,--fatal-warnings \ 250 -Wl,--gc-sections \ 251 -Wl,--warn-shared-textrel \ 252 -Wl,-O1 \ 253 -Wl,--as-needed 254 255 256 LOCAL_LDFLAGS_Release := \ 257 -Wl,-z,now \ 258 -Wl,-z,relro \ 259 -Wl,-z,noexecstack \ 260 -fPIC \ 261 -m32 \ 262 -fuse-ld=gold \ 263 -nostdlib \ 264 -Wl,--no-undefined \ 265 -Wl,--exclude-libs=ALL \ 266 -Wl,-O1 \ 267 -Wl,--as-needed \ 268 -Wl,--gc-sections \ 269 -Wl,--fatal-warnings \ 270 -Wl,--warn-shared-textrel 271 272 273 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 274 275 LOCAL_STATIC_LIBRARIES := 276 277 # Enable grouping to fix circular references 278 LOCAL_GROUP_STATIC_LIBRARIES := true 279 280 LOCAL_SHARED_LIBRARIES := \ 281 libskia \ 282 libstlport \ 283 libdl 284 285 # Add target alias to "gyp_all_modules" target. 286 .PHONY: gyp_all_modules 287 gyp_all_modules: webkit_webkit_storage_renderer_gyp 288 289 # Alias gyp target name. 290 .PHONY: webkit_storage_renderer 291 webkit_storage_renderer: webkit_webkit_storage_renderer_gyp 292 293 include $(BUILD_STATIC_LIBRARY) 294