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 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,skia_skia_gyp)/skia.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ 17 $(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp)/v8.stamp \ 18 $(call intermediates-dir-for,GYP,webkit_child_overscroller_jni_headers_gyp)/overscroller_jni_headers.stamp 19 20 GYP_GENERATED_OUTPUTS := 21 22 # Make sure our deps and generated files are built first. 23 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 24 25 LOCAL_CPP_EXTENSION := .cc 26 LOCAL_GENERATED_SOURCES := 27 28 GYP_COPIED_SOURCE_ORIGIN_DIRS := 29 30 LOCAL_SRC_FILES := \ 31 webkit/child/fling_animator_impl_android.cc \ 32 webkit/child/fling_curve_configuration.cc \ 33 webkit/child/ftp_directory_listing_response_delegate.cc \ 34 webkit/child/multipart_response_delegate.cc \ 35 webkit/child/resource_loader_bridge.cc \ 36 webkit/child/touch_fling_gesture_curve.cc \ 37 webkit/child/web_discardable_memory_impl.cc \ 38 webkit/child/webfallbackthemeengine_impl.cc \ 39 webkit/child/webkit_child_helpers.cc \ 40 webkit/child/webkitplatformsupport_child_impl.cc \ 41 webkit/child/webkitplatformsupport_impl.cc \ 42 webkit/child/websocketstreamhandle_impl.cc \ 43 webkit/child/webthemeengine_impl_android.cc \ 44 webkit/child/webthread_impl.cc \ 45 webkit/child/weburlloader_impl.cc \ 46 webkit/child/weburlrequest_extradata_impl.cc \ 47 webkit/child/weburlresponse_extradata_impl.cc \ 48 webkit/child/worker_task_runner.cc 49 50 51 # Flags passed to both C and C++ files. 52 MY_CFLAGS_Debug := \ 53 -fstack-protector \ 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 -fno-tree-sra \ 65 -fuse-ld=gold \ 66 -Wno-psabi \ 67 -ffunction-sections \ 68 -funwind-tables \ 69 -g \ 70 -fstack-protector \ 71 -fno-short-enums \ 72 -finline-limit=64 \ 73 -Wa,--noexecstack \ 74 -U_FORTIFY_SOURCE \ 75 -Wno-extra \ 76 -Wno-ignored-qualifiers \ 77 -Wno-type-limits \ 78 -Os \ 79 -g \ 80 -fomit-frame-pointer \ 81 -fdata-sections \ 82 -ffunction-sections 83 84 MY_DEFS_Debug := \ 85 '-DV8_DEPRECATION_WARNINGS' \ 86 '-D_FILE_OFFSET_BITS=64' \ 87 '-DNO_TCMALLOC' \ 88 '-DDISABLE_NACL' \ 89 '-DCHROMIUM_BUILD' \ 90 '-DUSE_LIBJPEG_TURBO=1' \ 91 '-DUSE_PROPRIETARY_CODECS' \ 92 '-DENABLE_CONFIGURATION_POLICY' \ 93 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 94 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 95 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 96 '-DUSE_OPENSSL=1' \ 97 '-DENABLE_EGLIMAGE=1' \ 98 '-DCLD_VERSION=1' \ 99 '-DENABLE_PRINTING=1' \ 100 '-DENABLE_MANAGED_USERS=1' \ 101 '-DWEBKIT_CHILD_IMPLEMENTATION' \ 102 '-DPOSIX_AVOID_MMAP' \ 103 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 104 '-DU_USING_ICU_NAMESPACE=0' \ 105 '-DCHROME_PNG_WRITE_SUPPORT' \ 106 '-DPNG_USER_CONFIG' \ 107 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 108 '-DUSE_SYSTEM_LIBJPEG' \ 109 '-D__STDC_CONSTANT_MACROS' \ 110 '-D__STDC_FORMAT_MACROS' \ 111 '-DANDROID' \ 112 '-D__GNU_SOURCE=1' \ 113 '-DUSE_STLPORT=1' \ 114 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 115 '-DCHROME_BUILD_ID=""' \ 116 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 117 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 118 '-D_DEBUG' 119 120 121 # Include paths placed before CFLAGS/CPPFLAGS 122 LOCAL_C_INCLUDES_Debug := \ 123 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 124 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 125 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 126 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 127 $(gyp_shared_intermediate_dir)/webkit \ 128 $(LOCAL_PATH) \ 129 $(LOCAL_PATH)/skia/config \ 130 $(LOCAL_PATH)/third_party/WebKit/Source \ 131 $(LOCAL_PATH)/third_party/khronos \ 132 $(LOCAL_PATH)/gpu \ 133 $(PWD)/external/skia/include \ 134 $(PWD)/external/skia/include/core \ 135 $(LOCAL_PATH)/third_party/skia/src/core \ 136 $(LOCAL_PATH)/skia/ext \ 137 $(LOCAL_PATH)/third_party/WebKit \ 138 $(PWD)/external/icu4c/common \ 139 $(PWD)/external/icu4c/i18n \ 140 $(LOCAL_PATH)/third_party/npapi \ 141 $(LOCAL_PATH)/third_party/npapi/bindings \ 142 $(LOCAL_PATH)/third_party/libpng \ 143 $(LOCAL_PATH)/third_party/zlib \ 144 $(LOCAL_PATH)/third_party/libwebp \ 145 $(LOCAL_PATH)/third_party/ots/include \ 146 $(LOCAL_PATH)/third_party/qcms/src \ 147 $(LOCAL_PATH)/third_party/iccjpeg \ 148 $(PWD)/external/jpeg \ 149 $(LOCAL_PATH)/v8/include \ 150 $(PWD)/frameworks/wilhelm/include \ 151 $(PWD)/bionic \ 152 $(PWD)/external/stlport/stlport 153 154 155 # Flags passed to only C++ (and not C) files. 156 LOCAL_CPPFLAGS_Debug := \ 157 -fno-rtti \ 158 -fno-threadsafe-statics \ 159 -fvisibility-inlines-hidden \ 160 -Wsign-compare \ 161 -Wno-abi \ 162 -Wno-error=c++0x-compat \ 163 -Wno-non-virtual-dtor \ 164 -Wno-sign-promo 165 166 167 # Flags passed to both C and C++ files. 168 MY_CFLAGS_Release := \ 169 -fstack-protector \ 170 --param=ssp-buffer-size=4 \ 171 -Werror \ 172 -fno-exceptions \ 173 -fno-strict-aliasing \ 174 -Wall \ 175 -Wno-unused-parameter \ 176 -Wno-missing-field-initializers \ 177 -fvisibility=hidden \ 178 -pipe \ 179 -fPIC \ 180 -fno-tree-sra \ 181 -fuse-ld=gold \ 182 -Wno-psabi \ 183 -ffunction-sections \ 184 -funwind-tables \ 185 -g \ 186 -fstack-protector \ 187 -fno-short-enums \ 188 -finline-limit=64 \ 189 -Wa,--noexecstack \ 190 -U_FORTIFY_SOURCE \ 191 -Wno-extra \ 192 -Wno-ignored-qualifiers \ 193 -Wno-type-limits \ 194 -Os \ 195 -fno-ident \ 196 -fdata-sections \ 197 -ffunction-sections \ 198 -fomit-frame-pointer 199 200 MY_DEFS_Release := \ 201 '-DV8_DEPRECATION_WARNINGS' \ 202 '-D_FILE_OFFSET_BITS=64' \ 203 '-DNO_TCMALLOC' \ 204 '-DDISABLE_NACL' \ 205 '-DCHROMIUM_BUILD' \ 206 '-DUSE_LIBJPEG_TURBO=1' \ 207 '-DUSE_PROPRIETARY_CODECS' \ 208 '-DENABLE_CONFIGURATION_POLICY' \ 209 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 210 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 211 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 212 '-DUSE_OPENSSL=1' \ 213 '-DENABLE_EGLIMAGE=1' \ 214 '-DCLD_VERSION=1' \ 215 '-DENABLE_PRINTING=1' \ 216 '-DENABLE_MANAGED_USERS=1' \ 217 '-DWEBKIT_CHILD_IMPLEMENTATION' \ 218 '-DPOSIX_AVOID_MMAP' \ 219 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 220 '-DU_USING_ICU_NAMESPACE=0' \ 221 '-DCHROME_PNG_WRITE_SUPPORT' \ 222 '-DPNG_USER_CONFIG' \ 223 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 224 '-DUSE_SYSTEM_LIBJPEG' \ 225 '-D__STDC_CONSTANT_MACROS' \ 226 '-D__STDC_FORMAT_MACROS' \ 227 '-DANDROID' \ 228 '-D__GNU_SOURCE=1' \ 229 '-DUSE_STLPORT=1' \ 230 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 231 '-DCHROME_BUILD_ID=""' \ 232 '-DNDEBUG' \ 233 '-DNVALGRIND' \ 234 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 235 '-D_FORTIFY_SOURCE=2' 236 237 238 # Include paths placed before CFLAGS/CPPFLAGS 239 LOCAL_C_INCLUDES_Release := \ 240 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 241 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 242 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 243 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 244 $(gyp_shared_intermediate_dir)/webkit \ 245 $(LOCAL_PATH) \ 246 $(LOCAL_PATH)/skia/config \ 247 $(LOCAL_PATH)/third_party/WebKit/Source \ 248 $(LOCAL_PATH)/third_party/khronos \ 249 $(LOCAL_PATH)/gpu \ 250 $(PWD)/external/skia/include \ 251 $(PWD)/external/skia/include/core \ 252 $(LOCAL_PATH)/third_party/skia/src/core \ 253 $(LOCAL_PATH)/skia/ext \ 254 $(LOCAL_PATH)/third_party/WebKit \ 255 $(PWD)/external/icu4c/common \ 256 $(PWD)/external/icu4c/i18n \ 257 $(LOCAL_PATH)/third_party/npapi \ 258 $(LOCAL_PATH)/third_party/npapi/bindings \ 259 $(LOCAL_PATH)/third_party/libpng \ 260 $(LOCAL_PATH)/third_party/zlib \ 261 $(LOCAL_PATH)/third_party/libwebp \ 262 $(LOCAL_PATH)/third_party/ots/include \ 263 $(LOCAL_PATH)/third_party/qcms/src \ 264 $(LOCAL_PATH)/third_party/iccjpeg \ 265 $(PWD)/external/jpeg \ 266 $(LOCAL_PATH)/v8/include \ 267 $(PWD)/frameworks/wilhelm/include \ 268 $(PWD)/bionic \ 269 $(PWD)/external/stlport/stlport 270 271 272 # Flags passed to only C++ (and not C) files. 273 LOCAL_CPPFLAGS_Release := \ 274 -fno-rtti \ 275 -fno-threadsafe-statics \ 276 -fvisibility-inlines-hidden \ 277 -Wsign-compare \ 278 -Wno-abi \ 279 -Wno-error=c++0x-compat \ 280 -Wno-non-virtual-dtor \ 281 -Wno-sign-promo 282 283 284 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 285 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 286 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 287 ### Rules for final target. 288 289 LOCAL_LDFLAGS_Debug := \ 290 -Wl,-z,now \ 291 -Wl,-z,relro \ 292 -Wl,-z,noexecstack \ 293 -fPIC \ 294 -Wl,-z,relro \ 295 -Wl,-z,now \ 296 -fuse-ld=gold \ 297 -nostdlib \ 298 -Wl,--no-undefined \ 299 -Wl,--exclude-libs=ALL \ 300 -Wl,--icf=safe \ 301 -Wl,--fatal-warnings \ 302 -Wl,--gc-sections \ 303 -Wl,--warn-shared-textrel \ 304 -Wl,-O1 \ 305 -Wl,--as-needed 306 307 308 LOCAL_LDFLAGS_Release := \ 309 -Wl,-z,now \ 310 -Wl,-z,relro \ 311 -Wl,-z,noexecstack \ 312 -fPIC \ 313 -Wl,-z,relro \ 314 -Wl,-z,now \ 315 -fuse-ld=gold \ 316 -nostdlib \ 317 -Wl,--no-undefined \ 318 -Wl,--exclude-libs=ALL \ 319 -Wl,--icf=safe \ 320 -Wl,-O1 \ 321 -Wl,--as-needed \ 322 -Wl,--gc-sections \ 323 -Wl,--fatal-warnings \ 324 -Wl,--warn-shared-textrel 325 326 327 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 328 329 LOCAL_STATIC_LIBRARIES := \ 330 ui_ui_gyp 331 332 # Enable grouping to fix circular references 333 LOCAL_GROUP_STATIC_LIBRARIES := true 334 335 LOCAL_SHARED_LIBRARIES := \ 336 libskia \ 337 libstlport \ 338 libdl 339 340 # Add target alias to "gyp_all_modules" target. 341 .PHONY: gyp_all_modules 342 gyp_all_modules: webkit_child_webkit_child_gyp 343 344 # Alias gyp target name. 345 .PHONY: webkit_child 346 webkit_child: webkit_child_webkit_child_gyp 347 348 include $(BUILD_STATIC_LIBRARY) 349