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