Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 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_wtf_wtf_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_wtf_wtf_config_gyp)/wtf_config.stamp \ |
| 15 | $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \ |
| 16 | $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp |
| 17 | |
| 18 | GYP_GENERATED_OUTPUTS := |
| 19 | |
| 20 | # Make sure our deps and generated files are built first. |
| 21 | LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| 22 | |
| 23 | $(gyp_intermediate_dir)/bignum-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/bignum-dtoa.cc |
| 24 | mkdir -p $(@D); cp $< $@ |
| 25 | $(gyp_intermediate_dir)/bignum.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/bignum.cc |
| 26 | mkdir -p $(@D); cp $< $@ |
| 27 | $(gyp_intermediate_dir)/cached-powers.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/cached-powers.cc |
| 28 | mkdir -p $(@D); cp $< $@ |
| 29 | $(gyp_intermediate_dir)/diy-fp.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/diy-fp.cc |
| 30 | mkdir -p $(@D); cp $< $@ |
| 31 | $(gyp_intermediate_dir)/double-conversion.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/double-conversion.cc |
| 32 | mkdir -p $(@D); cp $< $@ |
| 33 | $(gyp_intermediate_dir)/fast-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/fast-dtoa.cc |
| 34 | mkdir -p $(@D); cp $< $@ |
| 35 | $(gyp_intermediate_dir)/fixed-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/fixed-dtoa.cc |
| 36 | mkdir -p $(@D); cp $< $@ |
| 37 | $(gyp_intermediate_dir)/strtod.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/strtod.cc |
| 38 | mkdir -p $(@D); cp $< $@ |
| 39 | LOCAL_GENERATED_SOURCES := \ |
| 40 | $(gyp_intermediate_dir)/bignum-dtoa.cpp \ |
| 41 | $(gyp_intermediate_dir)/bignum.cpp \ |
| 42 | $(gyp_intermediate_dir)/cached-powers.cpp \ |
| 43 | $(gyp_intermediate_dir)/diy-fp.cpp \ |
| 44 | $(gyp_intermediate_dir)/double-conversion.cpp \ |
| 45 | $(gyp_intermediate_dir)/fast-dtoa.cpp \ |
| 46 | $(gyp_intermediate_dir)/fixed-dtoa.cpp \ |
| 47 | $(gyp_intermediate_dir)/strtod.cpp |
| 48 | |
| 49 | GYP_COPIED_SOURCE_ORIGIN_DIRS := \ |
| 50 | $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa |
| 51 | |
| 52 | LOCAL_SRC_FILES := \ |
| 53 | third_party/WebKit/Source/wtf/ArrayBuffer.cpp \ |
| 54 | third_party/WebKit/Source/wtf/ArrayBufferContents.cpp \ |
| 55 | third_party/WebKit/Source/wtf/ArrayBufferView.cpp \ |
| 56 | third_party/WebKit/Source/wtf/Assertions.cpp \ |
| 57 | third_party/WebKit/Source/wtf/BitVector.cpp \ |
| 58 | third_party/WebKit/Source/wtf/CryptographicallyRandomNumber.cpp \ |
| 59 | third_party/WebKit/Source/wtf/CurrentTime.cpp \ |
| 60 | third_party/WebKit/Source/wtf/DataLog.cpp \ |
| 61 | third_party/WebKit/Source/wtf/DateMath.cpp \ |
| 62 | third_party/WebKit/Source/wtf/DecimalNumber.cpp \ |
| 63 | third_party/WebKit/Source/wtf/DynamicAnnotations.cpp \ |
| 64 | third_party/WebKit/Source/wtf/FastMalloc.cpp \ |
| 65 | third_party/WebKit/Source/wtf/FilePrintStream.cpp \ |
| 66 | third_party/WebKit/Source/wtf/GregorianDateTime.cpp \ |
| 67 | third_party/WebKit/Source/wtf/HashTable.cpp \ |
| 68 | third_party/WebKit/Source/wtf/MD5.cpp \ |
| 69 | third_party/WebKit/Source/wtf/MainThread.cpp \ |
| 70 | third_party/WebKit/Source/wtf/MemoryInstrumentation.cpp \ |
| 71 | third_party/WebKit/Source/wtf/NullPtr.cpp \ |
| 72 | third_party/WebKit/Source/wtf/NumberOfCores.cpp \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 73 | third_party/WebKit/Source/wtf/PageAllocator.cpp \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 74 | third_party/WebKit/Source/wtf/ParallelJobsGeneric.cpp \ |
| 75 | third_party/WebKit/Source/wtf/PartitionAlloc.cpp \ |
| 76 | third_party/WebKit/Source/wtf/PrintStream.cpp \ |
| 77 | third_party/WebKit/Source/wtf/RandomNumber.cpp \ |
| 78 | third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp \ |
| 79 | third_party/WebKit/Source/wtf/SHA1.cpp \ |
| 80 | third_party/WebKit/Source/wtf/SizeLimits.cpp \ |
| 81 | third_party/WebKit/Source/wtf/ThreadIdentifierDataPthreads.cpp \ |
| 82 | third_party/WebKit/Source/wtf/Threading.cpp \ |
| 83 | third_party/WebKit/Source/wtf/ThreadingPthreads.cpp \ |
| 84 | third_party/WebKit/Source/wtf/TypeTraits.cpp \ |
| 85 | third_party/WebKit/Source/wtf/WTFThreadData.cpp \ |
| 86 | third_party/WebKit/Source/wtf/dtoa.cpp \ |
| 87 | third_party/WebKit/Source/wtf/text/AtomicString.cpp \ |
| 88 | third_party/WebKit/Source/wtf/text/Base64.cpp \ |
| 89 | third_party/WebKit/Source/wtf/text/CString.cpp \ |
| 90 | third_party/WebKit/Source/wtf/text/StringBuilder.cpp \ |
| 91 | third_party/WebKit/Source/wtf/text/StringImpl.cpp \ |
| 92 | third_party/WebKit/Source/wtf/text/StringStatics.cpp \ |
| 93 | third_party/WebKit/Source/wtf/text/TextCodec.cpp \ |
| 94 | third_party/WebKit/Source/wtf/text/TextCodecICU.cpp \ |
| 95 | third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp \ |
| 96 | third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp \ |
| 97 | third_party/WebKit/Source/wtf/text/TextCodecUTF8.cpp \ |
| 98 | third_party/WebKit/Source/wtf/text/TextCodecUserDefined.cpp \ |
| 99 | third_party/WebKit/Source/wtf/text/TextEncoding.cpp \ |
| 100 | third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp \ |
| 101 | third_party/WebKit/Source/wtf/text/WTFString.cpp \ |
| 102 | third_party/WebKit/Source/wtf/unicode/CollatorDefault.cpp \ |
| 103 | third_party/WebKit/Source/wtf/unicode/UTF8.cpp \ |
| 104 | third_party/WebKit/Source/wtf/unicode/icu/CollatorICU.cpp |
| 105 | |
| 106 | |
| 107 | # Flags passed to both C and C++ files. |
| 108 | MY_CFLAGS := \ |
| 109 | -fstack-protector \ |
| 110 | --param=ssp-buffer-size=4 \ |
| 111 | \ |
| 112 | -fno-exceptions \ |
| 113 | -fno-strict-aliasing \ |
| 114 | -Wno-unused-parameter \ |
| 115 | -Wno-missing-field-initializers \ |
| 116 | -fvisibility=hidden \ |
| 117 | -pipe \ |
| 118 | -fPIC \ |
| 119 | -Wno-format \ |
| 120 | -EL \ |
| 121 | -mhard-float \ |
Ben Murdoch | 874cc8d | 2013-06-27 01:42:22 +0100 | [diff] [blame^] | 122 | --sysroot=/usr/local/google2/src/clank/webview/external/chromium_org/mipsel-sysroot/sysroot \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 123 | -ffunction-sections \ |
| 124 | -funwind-tables \ |
| 125 | -g \ |
| 126 | -fstack-protector \ |
| 127 | -fno-short-enums \ |
| 128 | -finline-limit=64 \ |
| 129 | -Wa,--noexecstack \ |
| 130 | -U_FORTIFY_SOURCE \ |
| 131 | -Wno-extra \ |
| 132 | -Wno-ignored-qualifiers \ |
| 133 | -Wno-type-limits \ |
| 134 | -Wno-address \ |
| 135 | -Wno-format-security \ |
| 136 | -Wno-return-type \ |
| 137 | -Wno-sequence-point \ |
| 138 | -Os \ |
| 139 | -g \ |
| 140 | -fomit-frame-pointer \ |
| 141 | -fdata-sections \ |
| 142 | -ffunction-sections |
| 143 | |
| 144 | MY_CFLAGS_C := |
| 145 | |
| 146 | MY_DEFS := \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 147 | '-DANGLE_DX11' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 148 | '-D_FILE_OFFSET_BITS=64' \ |
| 149 | '-DNO_TCMALLOC' \ |
| 150 | '-DDISABLE_NACL' \ |
| 151 | '-DCHROMIUM_BUILD' \ |
| 152 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 153 | '-DUSE_PROPRIETARY_CODECS' \ |
| 154 | '-DENABLE_GPU=1' \ |
| 155 | '-DUSE_OPENSSL=1' \ |
| 156 | '-DENABLE_EGLIMAGE=1' \ |
| 157 | '-DENABLE_LANGUAGE_DETECTION=1' \ |
| 158 | '-DWTF_IMPLEMENTATION=1' \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 159 | '-DENABLE_CANVAS_USES_MAILBOX=1' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 160 | '-DENABLE_CSS3_TEXT=0' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 161 | '-DENABLE_CSS_EXCLUSIONS=1' \ |
| 162 | '-DENABLE_CSS_REGIONS=1' \ |
| 163 | '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ |
| 164 | '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ |
| 165 | '-DENABLE_GRAPHICS_CONTEXT_ANNOTATIONS=0' \ |
| 166 | '-DENABLE_SVG_FONTS=1' \ |
| 167 | '-DENABLE_TOUCH_ICON_LOADING=1' \ |
| 168 | '-DENABLE_XHR_TIMEOUT=0' \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 169 | '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 170 | '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ |
| 171 | '-DENABLE_CALENDAR_PICKER=0' \ |
| 172 | '-DENABLE_FAST_MOBILE_SCROLLING=1' \ |
| 173 | '-DENABLE_INPUT_SPEECH=0' \ |
| 174 | '-DENABLE_LEGACY_NOTIFICATIONS=0' \ |
| 175 | '-DENABLE_MEDIA_CAPTURE=1' \ |
| 176 | '-DENABLE_NOTIFICATIONS=0' \ |
| 177 | '-DENABLE_ORIENTATION_EVENTS=1' \ |
| 178 | '-DENABLE_PRINTING=0' \ |
| 179 | '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ |
| 180 | '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ |
| 181 | '-DENABLE_8BIT_TEXTRUN=1' \ |
| 182 | '-DENABLE_OPENTYPE_VERTICAL=1' \ |
| 183 | '-DWTF_USE_HARFBUZZ=1' \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 184 | '-DENABLE_PARTITION_ALLOC=1' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 185 | '-DU_USING_ICU_NAMESPACE=0' \ |
| 186 | '-DANDROID' \ |
| 187 | '-D__GNU_SOURCE=1' \ |
| 188 | '-DUSE_STLPORT=1' \ |
| 189 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 190 | '-DCHROME_BUILD_ID=""' \ |
| 191 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 192 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 193 | '-D_DEBUG' |
| 194 | |
| 195 | LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS) |
| 196 | |
| 197 | # Include paths placed before CFLAGS/CPPFLAGS |
| 198 | LOCAL_C_INCLUDES := \ |
| 199 | $(LOCAL_PATH)/third_party/WebKit/Source \ |
| 200 | $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ |
| 201 | $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| 202 | $(PWD)/external/icu4c/common \ |
| 203 | $(PWD)/external/icu4c/i18n \ |
| 204 | $(PWD)/frameworks/wilhelm/include \ |
| 205 | $(PWD)/bionic \ |
| 206 | $(PWD)/external/stlport/stlport |
| 207 | |
| 208 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES) |
| 209 | |
| 210 | # Flags passed to only C++ (and not C) files. |
| 211 | LOCAL_CPPFLAGS := \ |
| 212 | -Wno-c++0x-compat \ |
| 213 | -fno-rtti \ |
| 214 | -fno-threadsafe-statics \ |
| 215 | -fvisibility-inlines-hidden \ |
| 216 | -Wno-deprecated \ |
| 217 | -Wno-uninitialized \ |
| 218 | -Wno-error=c++0x-compat \ |
| 219 | -Wno-non-virtual-dtor \ |
| 220 | -Wno-sign-promo \ |
| 221 | -Wno-non-virtual-dtor |
| 222 | |
| 223 | ### Rules for final target. |
| 224 | |
| 225 | LOCAL_LDFLAGS := \ |
| 226 | -Wl,-z,now \ |
| 227 | -Wl,-z,relro \ |
| 228 | -Wl,-z,noexecstack \ |
| 229 | -fPIC \ |
| 230 | -EL \ |
| 231 | -Wl,--no-keep-memory \ |
Ben Murdoch | 874cc8d | 2013-06-27 01:42:22 +0100 | [diff] [blame^] | 232 | --sysroot=/usr/local/google2/src/clank/webview/external/chromium_org/mipsel-sysroot/sysroot \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 233 | \ |
| 234 | -nostdlib \ |
| 235 | -Wl,--no-undefined \ |
| 236 | -Wl,--exclude-libs=ALL \ |
| 237 | -Wl,--gc-sections \ |
| 238 | -Wl,-O1 \ |
| 239 | -Wl,--as-needed |
| 240 | |
| 241 | |
| 242 | LOCAL_STATIC_LIBRARIES := |
| 243 | |
| 244 | # Enable grouping to fix circular references |
| 245 | LOCAL_GROUP_STATIC_LIBRARIES := true |
| 246 | |
| 247 | LOCAL_SHARED_LIBRARIES := \ |
| 248 | libstlport \ |
| 249 | libdl |
| 250 | |
| 251 | # Add target alias to "gyp_all_modules" target. |
| 252 | .PHONY: gyp_all_modules |
| 253 | gyp_all_modules: third_party_WebKit_Source_wtf_wtf_gyp |
| 254 | |
| 255 | # Alias gyp target name. |
| 256 | .PHONY: wtf |
| 257 | wtf: third_party_WebKit_Source_wtf_wtf_gyp |
| 258 | |
| 259 | include $(BUILD_STATIC_LIBRARY) |