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 := third_party_WebKit_Source_web_blink_common_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,v8_tools_gyp_v8_gyp)/v8.stamp 16 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_SRC_FILES := \ 27 third_party/WebKit/Source/core/platform/chromium/support/WebCString.cpp \ 28 third_party/WebKit/Source/core/platform/chromium/support/WebString.cpp \ 29 third_party/WebKit/Source/web/WebCommon.cpp 30 31 32 # Flags passed to both C and C++ files. 33 MY_CFLAGS_Debug := \ 34 -fstack-protector \ 35 --param=ssp-buffer-size=4 \ 36 \ 37 -fno-exceptions \ 38 -fno-strict-aliasing \ 39 -Wno-unused-parameter \ 40 -Wno-missing-field-initializers \ 41 -fvisibility=hidden \ 42 -pipe \ 43 -fPIC \ 44 -Wno-format \ 45 -EL \ 46 -mhard-float \ 47 -ffunction-sections \ 48 -funwind-tables \ 49 -g \ 50 -fstack-protector \ 51 -fno-short-enums \ 52 -finline-limit=64 \ 53 -Wa,--noexecstack \ 54 -U_FORTIFY_SOURCE \ 55 -Wno-extra \ 56 -Wno-ignored-qualifiers \ 57 -Wno-type-limits \ 58 -Wno-address \ 59 -Wno-format-security \ 60 -Wno-return-type \ 61 -Wno-sequence-point \ 62 -Os \ 63 -g \ 64 -fomit-frame-pointer \ 65 -fdata-sections \ 66 -ffunction-sections 67 68 MY_DEFS_Debug := \ 69 '-DANGLE_DX11' \ 70 '-D_FILE_OFFSET_BITS=64' \ 71 '-DNO_TCMALLOC' \ 72 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 73 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 74 '-DDISABLE_NACL' \ 75 '-DCHROMIUM_BUILD' \ 76 '-DUSE_LIBJPEG_TURBO=1' \ 77 '-DUSE_PROPRIETARY_CODECS' \ 78 '-DENABLE_CONFIGURATION_POLICY' \ 79 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 80 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 81 '-DENABLE_GPU=1' \ 82 '-DUSE_OPENSSL=1' \ 83 '-DENABLE_EGLIMAGE=1' \ 84 '-DENABLE_PRINTING=1' \ 85 '-DINSIDE_WEBKIT' \ 86 '-DBLINK_COMMON_IMPLEMENTATION=1' \ 87 '-DENABLE_CSS3_TEXT=0' \ 88 '-DENABLE_CSS_EXCLUSIONS=1' \ 89 '-DENABLE_CSS_REGIONS=1' \ 90 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 91 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 92 '-DENABLE_SVG_FONTS=1' \ 93 '-DENABLE_TOUCH_ICON_LOADING=1' \ 94 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 95 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 96 '-DENABLE_CALENDAR_PICKER=0' \ 97 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 98 '-DENABLE_INPUT_SPEECH=0' \ 99 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 100 '-DENABLE_MEDIA_CAPTURE=1' \ 101 '-DENABLE_NOTIFICATIONS=0' \ 102 '-DENABLE_ORIENTATION_EVENTS=1' \ 103 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 104 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 105 '-DENABLE_OPENTYPE_VERTICAL=1' \ 106 '-DWTF_USE_HARFBUZZ=1' \ 107 '-DU_USING_ICU_NAMESPACE=0' \ 108 '-DANDROID' \ 109 '-D__GNU_SOURCE=1' \ 110 '-DUSE_STLPORT=1' \ 111 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 112 '-DCHROME_BUILD_ID=""' \ 113 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 114 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 115 '-D_DEBUG' 116 117 118 # Include paths placed before CFLAGS/CPPFLAGS 119 LOCAL_C_INCLUDES_Debug := \ 120 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 121 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 122 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 123 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 124 $(LOCAL_PATH)/third_party/WebKit/Source \ 125 $(LOCAL_PATH)/third_party/WebKit \ 126 $(PWD)/external/icu4c/common \ 127 $(PWD)/external/icu4c/i18n \ 128 $(LOCAL_PATH)/third_party/skia/src/core \ 129 $(LOCAL_PATH)/skia/ext \ 130 $(LOCAL_PATH)/v8/include \ 131 $(PWD)/frameworks/wilhelm/include \ 132 $(PWD)/bionic \ 133 $(PWD)/external/stlport/stlport 134 135 136 # Flags passed to only C++ (and not C) files. 137 LOCAL_CPPFLAGS_Debug := \ 138 -Wno-c++0x-compat \ 139 -fno-rtti \ 140 -fno-threadsafe-statics \ 141 -fvisibility-inlines-hidden \ 142 -Wno-deprecated \ 143 -Wno-uninitialized \ 144 -Wno-error=c++0x-compat \ 145 -Wno-non-virtual-dtor \ 146 -Wno-sign-promo \ 147 -Wno-non-virtual-dtor 148 149 150 # Flags passed to both C and C++ files. 151 MY_CFLAGS_Release := \ 152 -fstack-protector \ 153 --param=ssp-buffer-size=4 \ 154 \ 155 -fno-exceptions \ 156 -fno-strict-aliasing \ 157 -Wno-unused-parameter \ 158 -Wno-missing-field-initializers \ 159 -fvisibility=hidden \ 160 -pipe \ 161 -fPIC \ 162 -Wno-format \ 163 -EL \ 164 -mhard-float \ 165 -ffunction-sections \ 166 -funwind-tables \ 167 -g \ 168 -fstack-protector \ 169 -fno-short-enums \ 170 -finline-limit=64 \ 171 -Wa,--noexecstack \ 172 -U_FORTIFY_SOURCE \ 173 -Wno-extra \ 174 -Wno-ignored-qualifiers \ 175 -Wno-type-limits \ 176 -Wno-address \ 177 -Wno-format-security \ 178 -Wno-return-type \ 179 -Wno-sequence-point \ 180 -Os \ 181 -fno-ident \ 182 -fdata-sections \ 183 -ffunction-sections \ 184 -fomit-frame-pointer 185 186 MY_DEFS_Release := \ 187 '-DANGLE_DX11' \ 188 '-D_FILE_OFFSET_BITS=64' \ 189 '-DNO_TCMALLOC' \ 190 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 191 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 192 '-DDISABLE_NACL' \ 193 '-DCHROMIUM_BUILD' \ 194 '-DUSE_LIBJPEG_TURBO=1' \ 195 '-DUSE_PROPRIETARY_CODECS' \ 196 '-DENABLE_CONFIGURATION_POLICY' \ 197 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 198 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 199 '-DENABLE_GPU=1' \ 200 '-DUSE_OPENSSL=1' \ 201 '-DENABLE_EGLIMAGE=1' \ 202 '-DENABLE_PRINTING=1' \ 203 '-DINSIDE_WEBKIT' \ 204 '-DBLINK_COMMON_IMPLEMENTATION=1' \ 205 '-DENABLE_CSS3_TEXT=0' \ 206 '-DENABLE_CSS_EXCLUSIONS=1' \ 207 '-DENABLE_CSS_REGIONS=1' \ 208 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 209 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 210 '-DENABLE_SVG_FONTS=1' \ 211 '-DENABLE_TOUCH_ICON_LOADING=1' \ 212 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 213 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 214 '-DENABLE_CALENDAR_PICKER=0' \ 215 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 216 '-DENABLE_INPUT_SPEECH=0' \ 217 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 218 '-DENABLE_MEDIA_CAPTURE=1' \ 219 '-DENABLE_NOTIFICATIONS=0' \ 220 '-DENABLE_ORIENTATION_EVENTS=1' \ 221 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 222 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 223 '-DENABLE_OPENTYPE_VERTICAL=1' \ 224 '-DWTF_USE_HARFBUZZ=1' \ 225 '-DU_USING_ICU_NAMESPACE=0' \ 226 '-DANDROID' \ 227 '-D__GNU_SOURCE=1' \ 228 '-DUSE_STLPORT=1' \ 229 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 230 '-DCHROME_BUILD_ID=""' \ 231 '-DNDEBUG' \ 232 '-DNVALGRIND' \ 233 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 234 235 236 # Include paths placed before CFLAGS/CPPFLAGS 237 LOCAL_C_INCLUDES_Release := \ 238 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 239 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 240 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 241 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 242 $(LOCAL_PATH)/third_party/WebKit/Source \ 243 $(LOCAL_PATH)/third_party/WebKit \ 244 $(PWD)/external/icu4c/common \ 245 $(PWD)/external/icu4c/i18n \ 246 $(LOCAL_PATH)/third_party/skia/src/core \ 247 $(LOCAL_PATH)/skia/ext \ 248 $(LOCAL_PATH)/v8/include \ 249 $(PWD)/frameworks/wilhelm/include \ 250 $(PWD)/bionic \ 251 $(PWD)/external/stlport/stlport 252 253 254 # Flags passed to only C++ (and not C) files. 255 LOCAL_CPPFLAGS_Release := \ 256 -Wno-c++0x-compat \ 257 -fno-rtti \ 258 -fno-threadsafe-statics \ 259 -fvisibility-inlines-hidden \ 260 -Wno-deprecated \ 261 -Wno-uninitialized \ 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 -EL \ 279 -Wl,--no-keep-memory \ 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 -EL \ 296 -Wl,--no-keep-memory \ 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 311 # Enable grouping to fix circular references 312 LOCAL_GROUP_STATIC_LIBRARIES := true 313 314 LOCAL_SHARED_LIBRARIES := \ 315 libskia \ 316 libstlport \ 317 libdl 318 319 # Add target alias to "gyp_all_modules" target. 320 .PHONY: gyp_all_modules 321 gyp_all_modules: third_party_WebKit_Source_web_blink_common_gyp 322 323 # Alias gyp target name. 324 .PHONY: blink_common 325 blink_common: third_party_WebKit_Source_web_blink_common_gyp 326 327 include $(BUILD_STATIC_LIBRARY) 328