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