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