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_heap_blink_heap_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,third_party_WebKit_Source_config_gyp)/config.stamp 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 third_party/WebKit/Source/heap/Heap.cpp \ 27 third_party/WebKit/Source/heap/ThreadState.cpp 28 29 30 # Flags passed to both C and C++ files. 31 MY_CFLAGS_Debug := \ 32 -fstack-protector \ 33 --param=ssp-buffer-size=4 \ 34 \ 35 -fno-exceptions \ 36 -fno-strict-aliasing \ 37 -Wall \ 38 -Wno-unused-parameter \ 39 -Wno-missing-field-initializers \ 40 -fvisibility=hidden \ 41 -pipe \ 42 -fPIC \ 43 -EL \ 44 -mhard-float \ 45 -ffunction-sections \ 46 -funwind-tables \ 47 -g \ 48 -fstack-protector \ 49 -fno-short-enums \ 50 -finline-limit=64 \ 51 -Wa,--noexecstack \ 52 -U_FORTIFY_SOURCE \ 53 -Wno-extra \ 54 -Wno-ignored-qualifiers \ 55 -Wno-type-limits \ 56 -Os \ 57 -g \ 58 -fomit-frame-pointer \ 59 -fdata-sections \ 60 -ffunction-sections 61 62 MY_DEFS_Debug := \ 63 '-DV8_DEPRECATION_WARNINGS' \ 64 '-D_FILE_OFFSET_BITS=64' \ 65 '-DNO_TCMALLOC' \ 66 '-DDISABLE_NACL' \ 67 '-DCHROMIUM_BUILD' \ 68 '-DUSE_LIBJPEG_TURBO=1' \ 69 '-DUSE_PROPRIETARY_CODECS' \ 70 '-DENABLE_CONFIGURATION_POLICY' \ 71 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 72 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 73 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 74 '-DUSE_OPENSSL=1' \ 75 '-DENABLE_EGLIMAGE=1' \ 76 '-DCLD_VERSION=1' \ 77 '-DENABLE_PRINTING=1' \ 78 '-DENABLE_MANAGED_USERS=1' \ 79 '-DHEAP_IMPLEMENTATION=1' \ 80 '-DINSIDE_BLINK' \ 81 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 82 '-DENABLE_SVG_FONTS=1' \ 83 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 84 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 85 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 86 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 87 '-DENABLE_INPUT_SPEECH=0' \ 88 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 89 '-DENABLE_MEDIA_CAPTURE=1' \ 90 '-DENABLE_ORIENTATION_EVENTS=1' \ 91 '-DENABLE_TOUCH_ICON_LOADING=1' \ 92 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 93 '-DENABLE_OPENTYPE_VERTICAL=1' \ 94 '-DU_USING_ICU_NAMESPACE=0' \ 95 '-D__STDC_CONSTANT_MACROS' \ 96 '-D__STDC_FORMAT_MACROS' \ 97 '-DANDROID' \ 98 '-D__GNU_SOURCE=1' \ 99 '-DUSE_STLPORT=1' \ 100 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 101 '-DCHROME_BUILD_ID=""' \ 102 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 103 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 104 '-D_DEBUG' 105 106 107 # Include paths placed before CFLAGS/CPPFLAGS 108 LOCAL_C_INCLUDES_Debug := \ 109 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 110 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 111 $(LOCAL_PATH)/third_party/WebKit/Source \ 112 $(LOCAL_PATH)/third_party/WebKit \ 113 $(PWD)/external/icu4c/common \ 114 $(PWD)/external/icu4c/i18n \ 115 $(PWD)/frameworks/wilhelm/include \ 116 $(PWD)/bionic \ 117 $(PWD)/external/stlport/stlport 118 119 120 # Flags passed to only C++ (and not C) files. 121 LOCAL_CPPFLAGS_Debug := \ 122 -fno-rtti \ 123 -fno-threadsafe-statics \ 124 -fvisibility-inlines-hidden \ 125 -Wsign-compare \ 126 -Wno-c++0x-compat \ 127 -Wno-uninitialized \ 128 -Wno-error=c++0x-compat \ 129 -Wno-non-virtual-dtor \ 130 -Wno-sign-promo 131 132 133 # Flags passed to both C and C++ files. 134 MY_CFLAGS_Release := \ 135 -fstack-protector \ 136 --param=ssp-buffer-size=4 \ 137 \ 138 -fno-exceptions \ 139 -fno-strict-aliasing \ 140 -Wall \ 141 -Wno-unused-parameter \ 142 -Wno-missing-field-initializers \ 143 -fvisibility=hidden \ 144 -pipe \ 145 -fPIC \ 146 -EL \ 147 -mhard-float \ 148 -ffunction-sections \ 149 -funwind-tables \ 150 -g \ 151 -fstack-protector \ 152 -fno-short-enums \ 153 -finline-limit=64 \ 154 -Wa,--noexecstack \ 155 -U_FORTIFY_SOURCE \ 156 -Wno-extra \ 157 -Wno-ignored-qualifiers \ 158 -Wno-type-limits \ 159 -Os \ 160 -fno-ident \ 161 -fdata-sections \ 162 -ffunction-sections \ 163 -fomit-frame-pointer 164 165 MY_DEFS_Release := \ 166 '-DV8_DEPRECATION_WARNINGS' \ 167 '-D_FILE_OFFSET_BITS=64' \ 168 '-DNO_TCMALLOC' \ 169 '-DDISABLE_NACL' \ 170 '-DCHROMIUM_BUILD' \ 171 '-DUSE_LIBJPEG_TURBO=1' \ 172 '-DUSE_PROPRIETARY_CODECS' \ 173 '-DENABLE_CONFIGURATION_POLICY' \ 174 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 175 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 176 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 177 '-DUSE_OPENSSL=1' \ 178 '-DENABLE_EGLIMAGE=1' \ 179 '-DCLD_VERSION=1' \ 180 '-DENABLE_PRINTING=1' \ 181 '-DENABLE_MANAGED_USERS=1' \ 182 '-DHEAP_IMPLEMENTATION=1' \ 183 '-DINSIDE_BLINK' \ 184 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 185 '-DENABLE_SVG_FONTS=1' \ 186 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 187 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 188 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 189 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 190 '-DENABLE_INPUT_SPEECH=0' \ 191 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 192 '-DENABLE_MEDIA_CAPTURE=1' \ 193 '-DENABLE_ORIENTATION_EVENTS=1' \ 194 '-DENABLE_TOUCH_ICON_LOADING=1' \ 195 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 196 '-DENABLE_OPENTYPE_VERTICAL=1' \ 197 '-DU_USING_ICU_NAMESPACE=0' \ 198 '-D__STDC_CONSTANT_MACROS' \ 199 '-D__STDC_FORMAT_MACROS' \ 200 '-DANDROID' \ 201 '-D__GNU_SOURCE=1' \ 202 '-DUSE_STLPORT=1' \ 203 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 204 '-DCHROME_BUILD_ID=""' \ 205 '-DNDEBUG' \ 206 '-DNVALGRIND' \ 207 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 208 '-D_FORTIFY_SOURCE=2' 209 210 211 # Include paths placed before CFLAGS/CPPFLAGS 212 LOCAL_C_INCLUDES_Release := \ 213 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 214 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 215 $(LOCAL_PATH)/third_party/WebKit/Source \ 216 $(LOCAL_PATH)/third_party/WebKit \ 217 $(PWD)/external/icu4c/common \ 218 $(PWD)/external/icu4c/i18n \ 219 $(PWD)/frameworks/wilhelm/include \ 220 $(PWD)/bionic \ 221 $(PWD)/external/stlport/stlport 222 223 224 # Flags passed to only C++ (and not C) files. 225 LOCAL_CPPFLAGS_Release := \ 226 -fno-rtti \ 227 -fno-threadsafe-statics \ 228 -fvisibility-inlines-hidden \ 229 -Wsign-compare \ 230 -Wno-c++0x-compat \ 231 -Wno-uninitialized \ 232 -Wno-error=c++0x-compat \ 233 -Wno-non-virtual-dtor \ 234 -Wno-sign-promo 235 236 237 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 238 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 239 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 240 ### Rules for final target. 241 242 LOCAL_LDFLAGS_Debug := \ 243 -Wl,-z,now \ 244 -Wl,-z,relro \ 245 -Wl,-z,noexecstack \ 246 -fPIC \ 247 -EL \ 248 -Wl,--no-keep-memory \ 249 -nostdlib \ 250 -Wl,--no-undefined \ 251 -Wl,--exclude-libs=ALL \ 252 -Wl,--fatal-warnings \ 253 -Wl,--gc-sections \ 254 -Wl,--warn-shared-textrel \ 255 -Wl,-O1 \ 256 -Wl,--as-needed 257 258 259 LOCAL_LDFLAGS_Release := \ 260 -Wl,-z,now \ 261 -Wl,-z,relro \ 262 -Wl,-z,noexecstack \ 263 -fPIC \ 264 -EL \ 265 -Wl,--no-keep-memory \ 266 -nostdlib \ 267 -Wl,--no-undefined \ 268 -Wl,--exclude-libs=ALL \ 269 -Wl,-O1 \ 270 -Wl,--as-needed \ 271 -Wl,--gc-sections \ 272 -Wl,--fatal-warnings \ 273 -Wl,--warn-shared-textrel 274 275 276 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 277 278 LOCAL_STATIC_LIBRARIES := 279 280 # Enable grouping to fix circular references 281 LOCAL_GROUP_STATIC_LIBRARIES := true 282 283 LOCAL_SHARED_LIBRARIES := \ 284 libstlport \ 285 libdl 286 287 # Add target alias to "gyp_all_modules" target. 288 .PHONY: gyp_all_modules 289 gyp_all_modules: third_party_WebKit_Source_heap_blink_heap_gyp 290 291 # Alias gyp target name. 292 .PHONY: blink_heap 293 blink_heap: third_party_WebKit_Source_heap_blink_heap_gyp 294 295 include $(BUILD_STATIC_LIBRARY) 296