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_child_webkit_child_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 17 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \ 18 $(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp,,,$(GYP_VAR_PREFIX))/v8.stamp \ 19 $(call intermediates-dir-for,GYP,webkit_child_overscroller_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/overscroller_jni_headers.stamp 20 21 GYP_GENERATED_OUTPUTS := 22 23 # Make sure our deps and generated files are built first. 24 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 25 26 LOCAL_CPP_EXTENSION := .cc 27 LOCAL_GENERATED_SOURCES := 28 29 GYP_COPIED_SOURCE_ORIGIN_DIRS := 30 31 LOCAL_SRC_FILES := \ 32 webkit/child/multipart_response_delegate.cc \ 33 webkit/child/resource_loader_bridge.cc \ 34 webkit/child/weburlresponse_extradata_impl.cc 35 36 37 # Flags passed to both C and C++ files. 38 MY_CFLAGS_Debug := \ 39 -fstack-protector \ 40 --param=ssp-buffer-size=4 \ 41 -Werror \ 42 -fno-exceptions \ 43 -fno-strict-aliasing \ 44 -Wall \ 45 -Wno-unused-parameter \ 46 -Wno-missing-field-initializers \ 47 -fvisibility=hidden \ 48 -pipe \ 49 -fPIC \ 50 -Wno-unused-local-typedefs \ 51 -fno-tree-sra \ 52 -fno-partial-inlining \ 53 -fno-early-inlining \ 54 -fno-tree-copy-prop \ 55 -fno-tree-loop-optimize \ 56 -fno-move-loop-invariants \ 57 -fno-caller-saves \ 58 -Wno-psabi \ 59 -ffunction-sections \ 60 -funwind-tables \ 61 -g \ 62 -fstack-protector \ 63 -fno-short-enums \ 64 -finline-limit=64 \ 65 -Wa,--noexecstack \ 66 -U_FORTIFY_SOURCE \ 67 -Wno-extra \ 68 -Wno-ignored-qualifiers \ 69 -Wno-type-limits \ 70 -Wno-unused-but-set-variable \ 71 -Os \ 72 -g \ 73 -fdata-sections \ 74 -ffunction-sections \ 75 -fomit-frame-pointer \ 76 -funwind-tables 77 78 MY_DEFS_Debug := \ 79 '-DV8_DEPRECATION_WARNINGS' \ 80 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 81 '-D_FILE_OFFSET_BITS=64' \ 82 '-DNO_TCMALLOC' \ 83 '-DDISABLE_NACL' \ 84 '-DCHROMIUM_BUILD' \ 85 '-DUSE_LIBJPEG_TURBO=1' \ 86 '-DENABLE_WEBRTC=1' \ 87 '-DUSE_PROPRIETARY_CODECS' \ 88 '-DENABLE_BROWSER_CDMS' \ 89 '-DENABLE_CONFIGURATION_POLICY' \ 90 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 91 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 92 '-DENABLE_EGLIMAGE=1' \ 93 '-DCLD_VERSION=1' \ 94 '-DENABLE_PRINTING=1' \ 95 '-DENABLE_MANAGED_USERS=1' \ 96 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 97 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 98 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 99 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 100 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 101 '-DVIDEO_HOLE=1' \ 102 '-DWEBKIT_CHILD_IMPLEMENTATION' \ 103 '-DPOSIX_AVOID_MMAP' \ 104 '-DSK_ENABLE_INST_COUNT=0' \ 105 '-DSK_SUPPORT_GPU=1' \ 106 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 107 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 108 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 109 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 110 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 111 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 112 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 113 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 114 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 115 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 116 '-DSK_IGNORE_ETC1_SUPPORT' \ 117 '-DSK_IGNORE_GPU_DITHER' \ 118 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 119 '-DSK_BUILD_FOR_ANDROID' \ 120 '-DSK_USE_POSIX_THREADS' \ 121 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 122 '-DU_USING_ICU_NAMESPACE=0' \ 123 '-DCHROME_PNG_WRITE_SUPPORT' \ 124 '-DPNG_USER_CONFIG' \ 125 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 126 '-DUSE_SYSTEM_LIBJPEG' \ 127 '-DUSE_OPENSSL=1' \ 128 '-DUSE_OPENSSL_CERTS=1' \ 129 '-D__STDC_CONSTANT_MACROS' \ 130 '-D__STDC_FORMAT_MACROS' \ 131 '-DANDROID' \ 132 '-D__GNU_SOURCE=1' \ 133 '-DUSE_STLPORT=1' \ 134 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 135 '-DCHROME_BUILD_ID=""' \ 136 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 137 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 138 '-D_DEBUG' 139 140 141 # Include paths placed before CFLAGS/CPPFLAGS 142 LOCAL_C_INCLUDES_Debug := \ 143 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 144 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 145 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 146 $(gyp_shared_intermediate_dir) \ 147 $(gyp_shared_intermediate_dir)/webkit \ 148 $(LOCAL_PATH) \ 149 $(LOCAL_PATH)/skia/config \ 150 $(LOCAL_PATH)/third_party/WebKit/Source \ 151 $(LOCAL_PATH)/third_party/khronos \ 152 $(LOCAL_PATH)/gpu \ 153 $(LOCAL_PATH)/third_party/skia/src/core \ 154 $(LOCAL_PATH)/third_party/skia/include/core \ 155 $(LOCAL_PATH)/third_party/skia/include/effects \ 156 $(LOCAL_PATH)/third_party/skia/include/pdf \ 157 $(LOCAL_PATH)/third_party/skia/include/gpu \ 158 $(LOCAL_PATH)/third_party/skia/include/lazy \ 159 $(LOCAL_PATH)/third_party/skia/include/pathops \ 160 $(LOCAL_PATH)/third_party/skia/include/pipe \ 161 $(LOCAL_PATH)/third_party/skia/include/ports \ 162 $(LOCAL_PATH)/third_party/skia/include/utils \ 163 $(LOCAL_PATH)/skia/ext \ 164 $(LOCAL_PATH)/third_party/WebKit \ 165 $(PWD)/external/icu/icu4c/source/common \ 166 $(PWD)/external/icu/icu4c/source/i18n \ 167 $(LOCAL_PATH)/third_party/npapi \ 168 $(LOCAL_PATH)/third_party/npapi/bindings \ 169 $(LOCAL_PATH)/third_party/libpng \ 170 $(LOCAL_PATH)/third_party/zlib \ 171 $(LOCAL_PATH)/third_party/libwebp \ 172 $(LOCAL_PATH)/third_party/ots/include \ 173 $(LOCAL_PATH)/third_party/qcms/src \ 174 $(LOCAL_PATH)/third_party/iccjpeg \ 175 $(PWD)/external/jpeg \ 176 $(LOCAL_PATH)/v8/include \ 177 $(LOCAL_PATH)/third_party/WebKit \ 178 $(PWD)/frameworks/wilhelm/include \ 179 $(PWD)/bionic \ 180 $(PWD)/external/stlport/stlport 181 182 183 # Flags passed to only C++ (and not C) files. 184 LOCAL_CPPFLAGS_Debug := \ 185 -fno-rtti \ 186 -fno-threadsafe-statics \ 187 -fvisibility-inlines-hidden \ 188 -Wsign-compare \ 189 -Wno-abi \ 190 -Wno-non-virtual-dtor \ 191 -Wno-sign-promo 192 193 194 LOCAL_FDO_SUPPORT_Debug := false 195 196 # Flags passed to both C and C++ files. 197 MY_CFLAGS_Release := \ 198 -fstack-protector \ 199 --param=ssp-buffer-size=4 \ 200 -Werror \ 201 -fno-exceptions \ 202 -fno-strict-aliasing \ 203 -Wall \ 204 -Wno-unused-parameter \ 205 -Wno-missing-field-initializers \ 206 -fvisibility=hidden \ 207 -pipe \ 208 -fPIC \ 209 -Wno-unused-local-typedefs \ 210 -fno-tree-sra \ 211 -fno-partial-inlining \ 212 -fno-early-inlining \ 213 -fno-tree-copy-prop \ 214 -fno-tree-loop-optimize \ 215 -fno-move-loop-invariants \ 216 -fno-caller-saves \ 217 -Wno-psabi \ 218 -ffunction-sections \ 219 -funwind-tables \ 220 -g \ 221 -fstack-protector \ 222 -fno-short-enums \ 223 -finline-limit=64 \ 224 -Wa,--noexecstack \ 225 -U_FORTIFY_SOURCE \ 226 -Wno-extra \ 227 -Wno-ignored-qualifiers \ 228 -Wno-type-limits \ 229 -Wno-unused-but-set-variable \ 230 -Os \ 231 -fno-ident \ 232 -fdata-sections \ 233 -ffunction-sections \ 234 -fomit-frame-pointer \ 235 -funwind-tables 236 237 MY_DEFS_Release := \ 238 '-DV8_DEPRECATION_WARNINGS' \ 239 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 240 '-D_FILE_OFFSET_BITS=64' \ 241 '-DNO_TCMALLOC' \ 242 '-DDISABLE_NACL' \ 243 '-DCHROMIUM_BUILD' \ 244 '-DUSE_LIBJPEG_TURBO=1' \ 245 '-DENABLE_WEBRTC=1' \ 246 '-DUSE_PROPRIETARY_CODECS' \ 247 '-DENABLE_BROWSER_CDMS' \ 248 '-DENABLE_CONFIGURATION_POLICY' \ 249 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 250 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 251 '-DENABLE_EGLIMAGE=1' \ 252 '-DCLD_VERSION=1' \ 253 '-DENABLE_PRINTING=1' \ 254 '-DENABLE_MANAGED_USERS=1' \ 255 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 256 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 257 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 258 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 259 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 260 '-DVIDEO_HOLE=1' \ 261 '-DWEBKIT_CHILD_IMPLEMENTATION' \ 262 '-DPOSIX_AVOID_MMAP' \ 263 '-DSK_ENABLE_INST_COUNT=0' \ 264 '-DSK_SUPPORT_GPU=1' \ 265 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 266 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 267 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 268 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 269 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 270 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 271 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 272 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 273 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 274 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 275 '-DSK_IGNORE_ETC1_SUPPORT' \ 276 '-DSK_IGNORE_GPU_DITHER' \ 277 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 278 '-DSK_BUILD_FOR_ANDROID' \ 279 '-DSK_USE_POSIX_THREADS' \ 280 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 281 '-DU_USING_ICU_NAMESPACE=0' \ 282 '-DCHROME_PNG_WRITE_SUPPORT' \ 283 '-DPNG_USER_CONFIG' \ 284 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 285 '-DUSE_SYSTEM_LIBJPEG' \ 286 '-DUSE_OPENSSL=1' \ 287 '-DUSE_OPENSSL_CERTS=1' \ 288 '-D__STDC_CONSTANT_MACROS' \ 289 '-D__STDC_FORMAT_MACROS' \ 290 '-DANDROID' \ 291 '-D__GNU_SOURCE=1' \ 292 '-DUSE_STLPORT=1' \ 293 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 294 '-DCHROME_BUILD_ID=""' \ 295 '-DNDEBUG' \ 296 '-DNVALGRIND' \ 297 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 298 '-D_FORTIFY_SOURCE=2' 299 300 301 # Include paths placed before CFLAGS/CPPFLAGS 302 LOCAL_C_INCLUDES_Release := \ 303 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 304 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 305 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 306 $(gyp_shared_intermediate_dir) \ 307 $(gyp_shared_intermediate_dir)/webkit \ 308 $(LOCAL_PATH) \ 309 $(LOCAL_PATH)/skia/config \ 310 $(LOCAL_PATH)/third_party/WebKit/Source \ 311 $(LOCAL_PATH)/third_party/khronos \ 312 $(LOCAL_PATH)/gpu \ 313 $(LOCAL_PATH)/third_party/skia/src/core \ 314 $(LOCAL_PATH)/third_party/skia/include/core \ 315 $(LOCAL_PATH)/third_party/skia/include/effects \ 316 $(LOCAL_PATH)/third_party/skia/include/pdf \ 317 $(LOCAL_PATH)/third_party/skia/include/gpu \ 318 $(LOCAL_PATH)/third_party/skia/include/lazy \ 319 $(LOCAL_PATH)/third_party/skia/include/pathops \ 320 $(LOCAL_PATH)/third_party/skia/include/pipe \ 321 $(LOCAL_PATH)/third_party/skia/include/ports \ 322 $(LOCAL_PATH)/third_party/skia/include/utils \ 323 $(LOCAL_PATH)/skia/ext \ 324 $(LOCAL_PATH)/third_party/WebKit \ 325 $(PWD)/external/icu/icu4c/source/common \ 326 $(PWD)/external/icu/icu4c/source/i18n \ 327 $(LOCAL_PATH)/third_party/npapi \ 328 $(LOCAL_PATH)/third_party/npapi/bindings \ 329 $(LOCAL_PATH)/third_party/libpng \ 330 $(LOCAL_PATH)/third_party/zlib \ 331 $(LOCAL_PATH)/third_party/libwebp \ 332 $(LOCAL_PATH)/third_party/ots/include \ 333 $(LOCAL_PATH)/third_party/qcms/src \ 334 $(LOCAL_PATH)/third_party/iccjpeg \ 335 $(PWD)/external/jpeg \ 336 $(LOCAL_PATH)/v8/include \ 337 $(LOCAL_PATH)/third_party/WebKit \ 338 $(PWD)/frameworks/wilhelm/include \ 339 $(PWD)/bionic \ 340 $(PWD)/external/stlport/stlport 341 342 343 # Flags passed to only C++ (and not C) files. 344 LOCAL_CPPFLAGS_Release := \ 345 -fno-rtti \ 346 -fno-threadsafe-statics \ 347 -fvisibility-inlines-hidden \ 348 -Wsign-compare \ 349 -Wno-abi \ 350 -Wno-non-virtual-dtor \ 351 -Wno-sign-promo 352 353 354 LOCAL_FDO_SUPPORT_Release := false 355 356 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 357 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 358 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 359 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 360 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 361 ### Rules for final target. 362 363 LOCAL_LDFLAGS_Debug := \ 364 -Wl,-z,now \ 365 -Wl,-z,relro \ 366 -Wl,--fatal-warnings \ 367 -Wl,-z,noexecstack \ 368 -fPIC \ 369 -Wl,-z,relro \ 370 -Wl,-z,now \ 371 -fuse-ld=gold \ 372 -nostdlib \ 373 -Wl,--no-undefined \ 374 -Wl,--exclude-libs=ALL \ 375 -Wl,--icf=safe \ 376 -Wl,--warn-shared-textrel \ 377 -Wl,-O1 \ 378 -Wl,--as-needed 379 380 381 LOCAL_LDFLAGS_Release := \ 382 -Wl,-z,now \ 383 -Wl,-z,relro \ 384 -Wl,--fatal-warnings \ 385 -Wl,-z,noexecstack \ 386 -fPIC \ 387 -Wl,-z,relro \ 388 -Wl,-z,now \ 389 -fuse-ld=gold \ 390 -nostdlib \ 391 -Wl,--no-undefined \ 392 -Wl,--exclude-libs=ALL \ 393 -Wl,--icf=safe \ 394 -Wl,-O1 \ 395 -Wl,--as-needed \ 396 -Wl,--gc-sections \ 397 -Wl,--warn-shared-textrel 398 399 400 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 401 402 LOCAL_STATIC_LIBRARIES := \ 403 skia_skia_library_gyp 404 405 # Enable grouping to fix circular references 406 LOCAL_GROUP_STATIC_LIBRARIES := true 407 408 LOCAL_SHARED_LIBRARIES := \ 409 libstlport \ 410 libdl 411 412 # Add target alias to "gyp_all_modules" target. 413 .PHONY: gyp_all_modules 414 gyp_all_modules: webkit_child_webkit_child_gyp 415 416 # Alias gyp target name. 417 .PHONY: webkit_child 418 webkit_child: webkit_child_webkit_child_gyp 419 420 include $(BUILD_STATIC_LIBRARY) 421