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_support_glue_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_support_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 -Wno-narrowing \ 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 -m32 \ 65 -mmmx \ 66 -march=pentium4 \ 67 -msse2 \ 68 -mfpmath=sse \ 69 -fuse-ld=gold \ 70 -ffunction-sections \ 71 -funwind-tables \ 72 -g \ 73 -fno-short-enums \ 74 -finline-limit=64 \ 75 -Wa,--noexecstack \ 76 -U_FORTIFY_SOURCE \ 77 -Wno-extra \ 78 -Wno-ignored-qualifiers \ 79 -Wno-type-limits \ 80 -Wno-address \ 81 -Wno-format-security \ 82 -Wno-return-type \ 83 -Wno-sequence-point \ 84 -fno-stack-protector \ 85 -Os \ 86 -g \ 87 -fomit-frame-pointer \ 88 -fdata-sections \ 89 -ffunction-sections 90 91 MY_DEFS_Debug := \ 92 '-DANGLE_DX11' \ 93 '-D_FILE_OFFSET_BITS=64' \ 94 '-DNO_TCMALLOC' \ 95 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 96 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 97 '-DDISABLE_NACL' \ 98 '-DCHROMIUM_BUILD' \ 99 '-DUSE_LIBJPEG_TURBO=1' \ 100 '-DUSE_PROPRIETARY_CODECS' \ 101 '-DENABLE_CONFIGURATION_POLICY' \ 102 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 103 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 104 '-DENABLE_GPU=1' \ 105 '-DUSE_OPENSSL=1' \ 106 '-DENABLE_EGLIMAGE=1' \ 107 '-DENABLE_PRINTING=1' \ 108 '-DWEBKIT_CHILD_IMPLEMENTATION' \ 109 '-DU_USING_ICU_NAMESPACE=0' \ 110 '-D__STDC_CONSTANT_MACROS' \ 111 '-D__STDC_FORMAT_MACROS' \ 112 '-DANDROID' \ 113 '-D__GNU_SOURCE=1' \ 114 '-DUSE_STLPORT=1' \ 115 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 116 '-DCHROME_BUILD_ID=""' \ 117 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 118 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 119 '-D_DEBUG' 120 121 122 # Include paths placed before CFLAGS/CPPFLAGS 123 LOCAL_C_INCLUDES_Debug := \ 124 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 125 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 126 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 127 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 128 $(gyp_shared_intermediate_dir)/webkit \ 129 $(LOCAL_PATH)/third_party/khronos \ 130 $(LOCAL_PATH)/gpu \ 131 $(LOCAL_PATH) \ 132 $(LOCAL_PATH)/third_party/skia/src/core \ 133 $(LOCAL_PATH)/skia/ext \ 134 $(LOCAL_PATH)/third_party/WebKit \ 135 $(PWD)/external/icu4c/common \ 136 $(PWD)/external/icu4c/i18n \ 137 $(LOCAL_PATH)/third_party/npapi \ 138 $(LOCAL_PATH)/third_party/npapi/bindings \ 139 $(LOCAL_PATH)/v8/include \ 140 $(PWD)/frameworks/wilhelm/include \ 141 $(PWD)/bionic \ 142 $(PWD)/external/stlport/stlport 143 144 145 # Flags passed to only C++ (and not C) files. 146 LOCAL_CPPFLAGS_Debug := \ 147 -Wno-narrowing \ 148 -fno-rtti \ 149 -fno-threadsafe-statics \ 150 -fvisibility-inlines-hidden \ 151 -Wsign-compare \ 152 -Wno-error=c++0x-compat \ 153 -Wno-non-virtual-dtor \ 154 -Wno-sign-promo \ 155 -Wno-non-virtual-dtor 156 157 158 # Flags passed to both C and C++ files. 159 MY_CFLAGS_Release := \ 160 -Wno-narrowing \ 161 --param=ssp-buffer-size=4 \ 162 -Werror \ 163 -fno-exceptions \ 164 -fno-strict-aliasing \ 165 -Wall \ 166 -Wno-unused-parameter \ 167 -Wno-missing-field-initializers \ 168 -fvisibility=hidden \ 169 -pipe \ 170 -fPIC \ 171 -m32 \ 172 -mmmx \ 173 -march=pentium4 \ 174 -msse2 \ 175 -mfpmath=sse \ 176 -fuse-ld=gold \ 177 -ffunction-sections \ 178 -funwind-tables \ 179 -g \ 180 -fno-short-enums \ 181 -finline-limit=64 \ 182 -Wa,--noexecstack \ 183 -U_FORTIFY_SOURCE \ 184 -Wno-extra \ 185 -Wno-ignored-qualifiers \ 186 -Wno-type-limits \ 187 -Wno-address \ 188 -Wno-format-security \ 189 -Wno-return-type \ 190 -Wno-sequence-point \ 191 -fno-stack-protector \ 192 -Os \ 193 -fno-ident \ 194 -fdata-sections \ 195 -ffunction-sections \ 196 -fomit-frame-pointer \ 197 -fno-unwind-tables \ 198 -fno-asynchronous-unwind-tables 199 200 MY_DEFS_Release := \ 201 '-DANGLE_DX11' \ 202 '-D_FILE_OFFSET_BITS=64' \ 203 '-DNO_TCMALLOC' \ 204 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 205 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 206 '-DDISABLE_NACL' \ 207 '-DCHROMIUM_BUILD' \ 208 '-DUSE_LIBJPEG_TURBO=1' \ 209 '-DUSE_PROPRIETARY_CODECS' \ 210 '-DENABLE_CONFIGURATION_POLICY' \ 211 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 212 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 213 '-DENABLE_GPU=1' \ 214 '-DUSE_OPENSSL=1' \ 215 '-DENABLE_EGLIMAGE=1' \ 216 '-DENABLE_PRINTING=1' \ 217 '-DWEBKIT_CHILD_IMPLEMENTATION' \ 218 '-DU_USING_ICU_NAMESPACE=0' \ 219 '-D__STDC_CONSTANT_MACROS' \ 220 '-D__STDC_FORMAT_MACROS' \ 221 '-DANDROID' \ 222 '-D__GNU_SOURCE=1' \ 223 '-DUSE_STLPORT=1' \ 224 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 225 '-DCHROME_BUILD_ID=""' \ 226 '-DNDEBUG' \ 227 '-DNVALGRIND' \ 228 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 229 '-D_FORTIFY_SOURCE=2' 230 231 232 # Include paths placed before CFLAGS/CPPFLAGS 233 LOCAL_C_INCLUDES_Release := \ 234 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 235 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 236 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 237 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 238 $(gyp_shared_intermediate_dir)/webkit \ 239 $(LOCAL_PATH)/third_party/khronos \ 240 $(LOCAL_PATH)/gpu \ 241 $(LOCAL_PATH) \ 242 $(LOCAL_PATH)/third_party/skia/src/core \ 243 $(LOCAL_PATH)/skia/ext \ 244 $(LOCAL_PATH)/third_party/WebKit \ 245 $(PWD)/external/icu4c/common \ 246 $(PWD)/external/icu4c/i18n \ 247 $(LOCAL_PATH)/third_party/npapi \ 248 $(LOCAL_PATH)/third_party/npapi/bindings \ 249 $(LOCAL_PATH)/v8/include \ 250 $(PWD)/frameworks/wilhelm/include \ 251 $(PWD)/bionic \ 252 $(PWD)/external/stlport/stlport 253 254 255 # Flags passed to only C++ (and not C) files. 256 LOCAL_CPPFLAGS_Release := \ 257 -Wno-narrowing \ 258 -fno-rtti \ 259 -fno-threadsafe-statics \ 260 -fvisibility-inlines-hidden \ 261 -Wsign-compare \ 262 -Wno-error=c++0x-compat \ 263 -Wno-non-virtual-dtor \ 264 -Wno-sign-promo \ 265 -Wno-non-virtual-dtor 266 267 268 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 269 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 270 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 271 ### Rules for final target. 272 273 LOCAL_LDFLAGS_Debug := \ 274 -Wl,-z,now \ 275 -Wl,-z,relro \ 276 -Wl,-z,noexecstack \ 277 -fPIC \ 278 -m32 \ 279 -fuse-ld=gold \ 280 -nostdlib \ 281 -Wl,--no-undefined \ 282 -Wl,--exclude-libs=ALL \ 283 -Wl,--fatal-warnings \ 284 -Wl,--gc-sections \ 285 -Wl,--warn-shared-textrel \ 286 -Wl,-O1 \ 287 -Wl,--as-needed 288 289 290 LOCAL_LDFLAGS_Release := \ 291 -Wl,-z,now \ 292 -Wl,-z,relro \ 293 -Wl,-z,noexecstack \ 294 -fPIC \ 295 -m32 \ 296 -fuse-ld=gold \ 297 -nostdlib \ 298 -Wl,--no-undefined \ 299 -Wl,--exclude-libs=ALL \ 300 -Wl,-O1 \ 301 -Wl,--as-needed \ 302 -Wl,--gc-sections \ 303 -Wl,--fatal-warnings \ 304 -Wl,--warn-shared-textrel 305 306 307 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 308 309 LOCAL_STATIC_LIBRARIES := \ 310 ui_ui_gyp 311 312 # Enable grouping to fix circular references 313 LOCAL_GROUP_STATIC_LIBRARIES := true 314 315 LOCAL_SHARED_LIBRARIES := \ 316 libskia \ 317 libstlport \ 318 libdl 319 320 # Add target alias to "gyp_all_modules" target. 321 .PHONY: gyp_all_modules 322 gyp_all_modules: webkit_support_glue_child_gyp 323 324 # Alias gyp target name. 325 .PHONY: glue_child 326 glue_child: webkit_support_glue_child_gyp 327 328 include $(BUILD_STATIC_LIBRARY) 329