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