1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_WebKit_Source_modules_modules_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9gyp_intermediate_dir := $(call local-intermediates-dir) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_config_gyp)/config.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_gyp)/webcore.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,third_party_WebKit_Source_core_webcore_derived_gyp)/third_party_WebKit_Source_core_webcore_derived_gyp.a 17 18GYP_GENERATED_OUTPUTS := 19 20# Make sure our deps and generated files are built first. 21LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23LOCAL_GENERATED_SOURCES := 24 25GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27LOCAL_SRC_FILES := \ 28 third_party/WebKit/Source/modules/crypto/AesCbcParams.cpp \ 29 third_party/WebKit/Source/modules/crypto/AesKeyGenParams.cpp \ 30 third_party/WebKit/Source/modules/crypto/Algorithm.cpp \ 31 third_party/WebKit/Source/modules/crypto/Crypto.cpp \ 32 third_party/WebKit/Source/modules/crypto/CryptoOperation.cpp \ 33 third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp \ 34 third_party/WebKit/Source/modules/crypto/HmacParams.cpp \ 35 third_party/WebKit/Source/modules/crypto/Key.cpp \ 36 third_party/WebKit/Source/modules/crypto/KeyOperation.cpp \ 37 third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp \ 38 third_party/WebKit/Source/modules/crypto/RsaKeyGenParams.cpp \ 39 third_party/WebKit/Source/modules/crypto/RsaSsaParams.cpp \ 40 third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp \ 41 third_party/WebKit/Source/modules/crypto/WorkerCrypto.cpp \ 42 third_party/WebKit/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp \ 43 third_party/WebKit/Source/modules/device_orientation/DeviceAcceleration.cpp \ 44 third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp \ 45 third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp \ 46 third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp \ 47 third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp \ 48 third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp \ 49 third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp \ 50 third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp \ 51 third_party/WebKit/Source/modules/device_orientation/DeviceRotationRate.cpp \ 52 third_party/WebKit/Source/modules/device_orientation/DeviceSensorEventController.cpp \ 53 third_party/WebKit/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp \ 54 third_party/WebKit/Source/modules/device_orientation/NewDeviceOrientationController.cpp \ 55 third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.cpp \ 56 third_party/WebKit/Source/modules/encoding/TextDecoder.cpp \ 57 third_party/WebKit/Source/modules/encoding/TextEncoder.cpp \ 58 third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEvent.cpp \ 59 third_party/WebKit/Source/modules/encryptedmedia/MediaKeyNeededEvent.cpp \ 60 third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp \ 61 third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp \ 62 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \ 63 third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp \ 64 third_party/WebKit/Source/modules/filesystem/DOMFileSystemBase.cpp \ 65 third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp \ 66 third_party/WebKit/Source/modules/filesystem/DOMWindowFileSystem.cpp \ 67 third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp \ 68 third_party/WebKit/Source/modules/filesystem/DirectoryEntry.cpp \ 69 third_party/WebKit/Source/modules/filesystem/DirectoryEntrySync.cpp \ 70 third_party/WebKit/Source/modules/filesystem/DirectoryReader.cpp \ 71 third_party/WebKit/Source/modules/filesystem/DirectoryReaderSync.cpp \ 72 third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystem.cpp \ 73 third_party/WebKit/Source/modules/filesystem/Entry.cpp \ 74 third_party/WebKit/Source/modules/filesystem/EntryBase.cpp \ 75 third_party/WebKit/Source/modules/filesystem/EntrySync.cpp \ 76 third_party/WebKit/Source/modules/filesystem/FileEntry.cpp \ 77 third_party/WebKit/Source/modules/filesystem/FileEntrySync.cpp \ 78 third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp \ 79 third_party/WebKit/Source/modules/filesystem/FileWriter.cpp \ 80 third_party/WebKit/Source/modules/filesystem/FileWriterBase.cpp \ 81 third_party/WebKit/Source/modules/filesystem/FileWriterSync.cpp \ 82 third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp \ 83 third_party/WebKit/Source/modules/filesystem/LocalFileSystem.cpp \ 84 third_party/WebKit/Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp \ 85 third_party/WebKit/Source/modules/filesystem/WorkerLocalFileSystem.cpp \ 86 third_party/WebKit/Source/modules/gamepad/Gamepad.cpp \ 87 third_party/WebKit/Source/modules/gamepad/GamepadList.cpp \ 88 third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp \ 89 third_party/WebKit/Source/modules/geolocation/Coordinates.cpp \ 90 third_party/WebKit/Source/modules/geolocation/Geolocation.cpp \ 91 third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp \ 92 third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp \ 93 third_party/WebKit/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp \ 94 third_party/WebKit/Source/modules/indexeddb/IDBAny.cpp \ 95 third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp \ 96 third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.cpp \ 97 third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp \ 98 third_party/WebKit/Source/modules/indexeddb/IDBDatabaseCallbacksImpl.cpp \ 99 third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.cpp \ 100 third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp \ 101 third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp \ 102 third_party/WebKit/Source/modules/indexeddb/IDBKey.cpp \ 103 third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp \ 104 third_party/WebKit/Source/modules/indexeddb/IDBKeyRange.cpp \ 105 third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp \ 106 third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp \ 107 third_party/WebKit/Source/modules/indexeddb/IDBPendingTransactionMonitor.cpp \ 108 third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp \ 109 third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp \ 110 third_party/WebKit/Source/modules/indexeddb/IDBVersionChangeEvent.cpp \ 111 third_party/WebKit/Source/modules/indexeddb/PageGroupIndexedDatabase.cpp \ 112 third_party/WebKit/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp \ 113 third_party/WebKit/Source/modules/indexeddb/chromium/IDBFactoryBackendInterfaceChromium.cpp \ 114 third_party/WebKit/Source/modules/mediasource/MediaSource.cpp \ 115 third_party/WebKit/Source/modules/mediasource/MediaSourceBase.cpp \ 116 third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp \ 117 third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp \ 118 third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp \ 119 third_party/WebKit/Source/modules/mediasource/URLMediaSource.cpp \ 120 third_party/WebKit/Source/modules/mediasource/WebKitMediaSource.cpp \ 121 third_party/WebKit/Source/modules/mediasource/WebKitSourceBuffer.cpp \ 122 third_party/WebKit/Source/modules/mediasource/WebKitSourceBufferList.cpp \ 123 third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp \ 124 third_party/WebKit/Source/modules/mediastream/MediaStream.cpp \ 125 third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.cpp \ 126 third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.cpp \ 127 third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp \ 128 third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.cpp \ 129 third_party/WebKit/Source/modules/mediastream/MediaStreamTrackSourcesRequest.cpp \ 130 third_party/WebKit/Source/modules/mediastream/NavigatorMediaStream.cpp \ 131 third_party/WebKit/Source/modules/mediastream/RTCDTMFSender.cpp \ 132 third_party/WebKit/Source/modules/mediastream/RTCDTMFToneChangeEvent.cpp \ 133 third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp \ 134 third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.cpp \ 135 third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.cpp \ 136 third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.cpp \ 137 third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp \ 138 third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.cpp \ 139 third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp \ 140 third_party/WebKit/Source/modules/mediastream/RTCStatsReport.cpp \ 141 third_party/WebKit/Source/modules/mediastream/RTCStatsRequestImpl.cpp \ 142 third_party/WebKit/Source/modules/mediastream/RTCStatsResponse.cpp \ 143 third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.cpp \ 144 third_party/WebKit/Source/modules/mediastream/SourceInfo.cpp \ 145 third_party/WebKit/Source/modules/mediastream/UserMediaController.cpp \ 146 third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp \ 147 third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp \ 148 third_party/WebKit/Source/modules/mediastream/WebMediaStreamTrackSourcesRequest.cpp \ 149 third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp \ 150 third_party/WebKit/Source/modules/notifications/DOMWindowNotifications.cpp \ 151 third_party/WebKit/Source/modules/notifications/Notification.cpp \ 152 third_party/WebKit/Source/modules/notifications/NotificationCenter.cpp \ 153 third_party/WebKit/Source/modules/notifications/NotificationController.cpp \ 154 third_party/WebKit/Source/modules/notifications/WorkerGlobalScopeNotifications.cpp \ 155 third_party/WebKit/Source/modules/performance/WorkerGlobalScopePerformance.cpp \ 156 third_party/WebKit/Source/modules/performance/WorkerPerformance.cpp \ 157 third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp \ 158 third_party/WebKit/Source/modules/quota/NavigatorStorageQuota.cpp \ 159 third_party/WebKit/Source/modules/quota/StorageInfo.cpp \ 160 third_party/WebKit/Source/modules/quota/StorageErrorCallback.cpp \ 161 third_party/WebKit/Source/modules/quota/StorageQuota.cpp \ 162 third_party/WebKit/Source/modules/quota/WebStorageQuotaCallbacksImpl.cpp \ 163 third_party/WebKit/Source/modules/quota/WorkerNavigatorStorageQuota.cpp \ 164 third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp \ 165 third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp \ 166 third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp \ 167 third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp \ 168 third_party/WebKit/Source/modules/speech/SpeechRecognitionAlternative.cpp \ 169 third_party/WebKit/Source/modules/speech/SpeechRecognitionController.cpp \ 170 third_party/WebKit/Source/modules/speech/SpeechRecognitionError.cpp \ 171 third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp \ 172 third_party/WebKit/Source/modules/speech/SpeechRecognitionResult.cpp \ 173 third_party/WebKit/Source/modules/speech/SpeechRecognitionResultList.cpp \ 174 third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp \ 175 third_party/WebKit/Source/modules/speech/SpeechSynthesisEvent.cpp \ 176 third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.cpp \ 177 third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp \ 178 third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp \ 179 third_party/WebKit/Source/modules/webaudio/AudioBasicInspectorNode.cpp \ 180 third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorNode.cpp \ 181 third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp \ 182 third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp \ 183 third_party/WebKit/Source/modules/webaudio/ChannelMergerNode.cpp \ 184 third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.cpp \ 185 third_party/WebKit/Source/modules/webaudio/AudioContext.cpp \ 186 third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp \ 187 third_party/WebKit/Source/modules/webaudio/GainNode.cpp \ 188 third_party/WebKit/Source/modules/webaudio/AudioListener.cpp \ 189 third_party/WebKit/Source/modules/webaudio/AudioNode.cpp \ 190 third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp \ 191 third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp \ 192 third_party/WebKit/Source/modules/webaudio/PannerNode.cpp \ 193 third_party/WebKit/Source/modules/webaudio/AudioParam.cpp \ 194 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp \ 195 third_party/WebKit/Source/modules/webaudio/AudioProcessingEvent.cpp \ 196 third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp \ 197 third_party/WebKit/Source/modules/webaudio/AudioSummingJunction.cpp \ 198 third_party/WebKit/Source/modules/webaudio/AsyncAudioDecoder.cpp \ 199 third_party/WebKit/Source/modules/webaudio/BiquadDSPKernel.cpp \ 200 third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp \ 201 third_party/WebKit/Source/modules/webaudio/BiquadProcessor.cpp \ 202 third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp \ 203 third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp \ 204 third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp \ 205 third_party/WebKit/Source/modules/webaudio/DelayNode.cpp \ 206 third_party/WebKit/Source/modules/webaudio/DelayProcessor.cpp \ 207 third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp \ 208 third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp \ 209 third_party/WebKit/Source/modules/webaudio/MediaElementAudioSourceNode.cpp \ 210 third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp \ 211 third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp \ 212 third_party/WebKit/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp \ 213 third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp \ 214 third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp \ 215 third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp \ 216 third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp \ 217 third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp \ 218 third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp \ 219 third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp \ 220 third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp \ 221 third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.cpp \ 222 third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.cpp \ 223 third_party/WebKit/Source/modules/webdatabase/Database.cpp \ 224 third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.cpp \ 225 third_party/WebKit/Source/modules/webdatabase/DatabaseBackend.cpp \ 226 third_party/WebKit/Source/modules/webdatabase/DatabaseBackendBase.cpp \ 227 third_party/WebKit/Source/modules/webdatabase/DatabaseBackendContext.cpp \ 228 third_party/WebKit/Source/modules/webdatabase/DatabaseBackendSync.cpp \ 229 third_party/WebKit/Source/modules/webdatabase/DatabaseBase.cpp \ 230 third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp \ 231 third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp \ 232 third_party/WebKit/Source/modules/webdatabase/DatabaseServer.cpp \ 233 third_party/WebKit/Source/modules/webdatabase/DatabaseSync.cpp \ 234 third_party/WebKit/Source/modules/webdatabase/DatabaseTask.cpp \ 235 third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp \ 236 third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp \ 237 third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp \ 238 third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp \ 239 third_party/WebKit/Source/modules/webdatabase/SQLError.cpp \ 240 third_party/WebKit/Source/modules/webdatabase/SQLResultSet.cpp \ 241 third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.cpp \ 242 third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp \ 243 third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp \ 244 third_party/WebKit/Source/modules/webdatabase/SQLStatementSync.cpp \ 245 third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp \ 246 third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.cpp \ 247 third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackendSync.cpp \ 248 third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp \ 249 third_party/WebKit/Source/modules/webdatabase/SQLTransactionCoordinator.cpp \ 250 third_party/WebKit/Source/modules/webdatabase/SQLTransactionStateMachine.cpp \ 251 third_party/WebKit/Source/modules/webdatabase/SQLTransactionSync.cpp \ 252 third_party/WebKit/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp \ 253 third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp \ 254 third_party/WebKit/Source/modules/webmidi/MIDIAccessPromise.cpp \ 255 third_party/WebKit/Source/modules/webmidi/MIDIController.cpp \ 256 third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp \ 257 third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp \ 258 third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp \ 259 third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp \ 260 third_party/WebKit/Source/modules/websockets/MainThreadWebSocketChannel.cpp \ 261 third_party/WebKit/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp \ 262 third_party/WebKit/Source/modules/websockets/WebSocket.cpp \ 263 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \ 264 third_party/WebKit/Source/modules/websockets/WebSocketDeflateFramer.cpp \ 265 third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp \ 266 third_party/WebKit/Source/modules/websockets/WebSocketExtensionDispatcher.cpp \ 267 third_party/WebKit/Source/modules/websockets/WebSocketExtensionParser.cpp \ 268 third_party/WebKit/Source/modules/websockets/WebSocketFrame.cpp \ 269 third_party/WebKit/Source/modules/websockets/WebSocketHandshake.cpp \ 270 third_party/WebKit/Source/modules/websockets/WebSocketHandshakeRequest.cpp \ 271 third_party/WebKit/Source/modules/websockets/WebSocketHandshakeResponse.cpp \ 272 third_party/WebKit/Source/modules/websockets/WebSocketPerMessageDeflate.cpp \ 273 third_party/WebKit/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp 274 275 276# Flags passed to both C and C++ files. 277MY_CFLAGS_Debug := \ 278 -fstack-protector \ 279 --param=ssp-buffer-size=4 \ 280 -fno-exceptions \ 281 -fno-strict-aliasing \ 282 -Wno-unused-parameter \ 283 -Wno-missing-field-initializers \ 284 -fvisibility=hidden \ 285 -pipe \ 286 -fPIC \ 287 -Wno-format \ 288 -fno-tree-sra \ 289 -fuse-ld=gold \ 290 -Wno-psabi \ 291 -ffunction-sections \ 292 -funwind-tables \ 293 -g \ 294 -fstack-protector \ 295 -fno-short-enums \ 296 -finline-limit=64 \ 297 -Wa,--noexecstack \ 298 -U_FORTIFY_SOURCE \ 299 -Wno-extra \ 300 -Wno-ignored-qualifiers \ 301 -Wno-type-limits \ 302 -Wno-address \ 303 -Wno-format-security \ 304 -Wno-return-type \ 305 -Wno-sequence-point \ 306 -Os \ 307 -g \ 308 -fomit-frame-pointer \ 309 -fdata-sections \ 310 -ffunction-sections 311 312MY_DEFS_Debug := \ 313 '-DANGLE_DX11' \ 314 '-D_FILE_OFFSET_BITS=64' \ 315 '-DNO_TCMALLOC' \ 316 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 317 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 318 '-DDISABLE_NACL' \ 319 '-DCHROMIUM_BUILD' \ 320 '-DUSE_LIBJPEG_TURBO=1' \ 321 '-DUSE_PROPRIETARY_CODECS' \ 322 '-DENABLE_CONFIGURATION_POLICY' \ 323 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 324 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 325 '-DENABLE_GPU=1' \ 326 '-DUSE_OPENSSL=1' \ 327 '-DENABLE_EGLIMAGE=1' \ 328 '-DENABLE_PRINTING=1' \ 329 '-DWEBKIT_IMPLEMENTATION=1' \ 330 '-DINSIDE_WEBKIT' \ 331 '-DENABLE_CSS3_TEXT=0' \ 332 '-DENABLE_CSS_EXCLUSIONS=1' \ 333 '-DENABLE_CSS_REGIONS=1' \ 334 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 335 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 336 '-DENABLE_SVG_FONTS=1' \ 337 '-DENABLE_TOUCH_ICON_LOADING=1' \ 338 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 339 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 340 '-DENABLE_CALENDAR_PICKER=0' \ 341 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 342 '-DENABLE_INPUT_SPEECH=0' \ 343 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 344 '-DENABLE_MEDIA_CAPTURE=1' \ 345 '-DENABLE_NOTIFICATIONS=0' \ 346 '-DENABLE_ORIENTATION_EVENTS=1' \ 347 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 348 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 349 '-DENABLE_OPENTYPE_VERTICAL=1' \ 350 '-DWTF_USE_HARFBUZZ=1' \ 351 '-DU_USING_ICU_NAMESPACE=0' \ 352 '-DANDROID' \ 353 '-D__GNU_SOURCE=1' \ 354 '-DUSE_STLPORT=1' \ 355 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 356 '-DCHROME_BUILD_ID=""' \ 357 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 358 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 359 '-D_DEBUG' 360 361 362# Include paths placed before CFLAGS/CPPFLAGS 363LOCAL_C_INCLUDES_Debug := \ 364 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 365 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 366 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 367 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 368 $(LOCAL_PATH)/third_party/khronos \ 369 $(LOCAL_PATH)/gpu \ 370 $(LOCAL_PATH) \ 371 $(LOCAL_PATH)/third_party/zlib \ 372 $(LOCAL_PATH)/third_party/WebKit/Source \ 373 $(LOCAL_PATH)/third_party/WebKit \ 374 $(gyp_shared_intermediate_dir)/blink \ 375 $(gyp_shared_intermediate_dir)/blink/bindings \ 376 $(PWD)/external/icu4c/common \ 377 $(PWD)/external/icu4c/i18n \ 378 $(LOCAL_PATH)/third_party/skia/src/core \ 379 $(LOCAL_PATH)/skia/ext \ 380 $(LOCAL_PATH)/third_party/npapi \ 381 $(LOCAL_PATH)/third_party/npapi/bindings \ 382 $(LOCAL_PATH)/third_party/qcms/src \ 383 $(LOCAL_PATH)/v8/include \ 384 $(PWD)/frameworks/wilhelm/include \ 385 $(PWD)/bionic \ 386 $(PWD)/external/stlport/stlport 387 388 389# Flags passed to only C++ (and not C) files. 390LOCAL_CPPFLAGS_Debug := \ 391 -fno-rtti \ 392 -fno-threadsafe-statics \ 393 -fvisibility-inlines-hidden \ 394 -Wno-c++0x-compat \ 395 -Wno-deprecated \ 396 -Wno-abi \ 397 -Wno-error=c++0x-compat \ 398 -Wno-non-virtual-dtor \ 399 -Wno-sign-promo \ 400 -Wno-non-virtual-dtor 401 402 403# Flags passed to both C and C++ files. 404MY_CFLAGS_Release := \ 405 -fstack-protector \ 406 --param=ssp-buffer-size=4 \ 407 -fno-exceptions \ 408 -fno-strict-aliasing \ 409 -Wno-unused-parameter \ 410 -Wno-missing-field-initializers \ 411 -fvisibility=hidden \ 412 -pipe \ 413 -fPIC \ 414 -Wno-format \ 415 -fno-tree-sra \ 416 -fuse-ld=gold \ 417 -Wno-psabi \ 418 -ffunction-sections \ 419 -funwind-tables \ 420 -g \ 421 -fstack-protector \ 422 -fno-short-enums \ 423 -finline-limit=64 \ 424 -Wa,--noexecstack \ 425 -U_FORTIFY_SOURCE \ 426 -Wno-extra \ 427 -Wno-ignored-qualifiers \ 428 -Wno-type-limits \ 429 -Wno-address \ 430 -Wno-format-security \ 431 -Wno-return-type \ 432 -Wno-sequence-point \ 433 -Os \ 434 -fno-ident \ 435 -fdata-sections \ 436 -ffunction-sections \ 437 -fomit-frame-pointer 438 439MY_DEFS_Release := \ 440 '-DANGLE_DX11' \ 441 '-D_FILE_OFFSET_BITS=64' \ 442 '-DNO_TCMALLOC' \ 443 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 444 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 445 '-DDISABLE_NACL' \ 446 '-DCHROMIUM_BUILD' \ 447 '-DUSE_LIBJPEG_TURBO=1' \ 448 '-DUSE_PROPRIETARY_CODECS' \ 449 '-DENABLE_CONFIGURATION_POLICY' \ 450 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 451 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 452 '-DENABLE_GPU=1' \ 453 '-DUSE_OPENSSL=1' \ 454 '-DENABLE_EGLIMAGE=1' \ 455 '-DENABLE_PRINTING=1' \ 456 '-DWEBKIT_IMPLEMENTATION=1' \ 457 '-DINSIDE_WEBKIT' \ 458 '-DENABLE_CSS3_TEXT=0' \ 459 '-DENABLE_CSS_EXCLUSIONS=1' \ 460 '-DENABLE_CSS_REGIONS=1' \ 461 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 462 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 463 '-DENABLE_SVG_FONTS=1' \ 464 '-DENABLE_TOUCH_ICON_LOADING=1' \ 465 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 466 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 467 '-DENABLE_CALENDAR_PICKER=0' \ 468 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 469 '-DENABLE_INPUT_SPEECH=0' \ 470 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 471 '-DENABLE_MEDIA_CAPTURE=1' \ 472 '-DENABLE_NOTIFICATIONS=0' \ 473 '-DENABLE_ORIENTATION_EVENTS=1' \ 474 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 475 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 476 '-DENABLE_OPENTYPE_VERTICAL=1' \ 477 '-DWTF_USE_HARFBUZZ=1' \ 478 '-DU_USING_ICU_NAMESPACE=0' \ 479 '-DANDROID' \ 480 '-D__GNU_SOURCE=1' \ 481 '-DUSE_STLPORT=1' \ 482 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 483 '-DCHROME_BUILD_ID=""' \ 484 '-DNDEBUG' \ 485 '-DNVALGRIND' \ 486 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 487 488 489# Include paths placed before CFLAGS/CPPFLAGS 490LOCAL_C_INCLUDES_Release := \ 491 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 492 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 493 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 494 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 495 $(LOCAL_PATH)/third_party/khronos \ 496 $(LOCAL_PATH)/gpu \ 497 $(LOCAL_PATH) \ 498 $(LOCAL_PATH)/third_party/zlib \ 499 $(LOCAL_PATH)/third_party/WebKit/Source \ 500 $(LOCAL_PATH)/third_party/WebKit \ 501 $(gyp_shared_intermediate_dir)/blink \ 502 $(gyp_shared_intermediate_dir)/blink/bindings \ 503 $(PWD)/external/icu4c/common \ 504 $(PWD)/external/icu4c/i18n \ 505 $(LOCAL_PATH)/third_party/skia/src/core \ 506 $(LOCAL_PATH)/skia/ext \ 507 $(LOCAL_PATH)/third_party/npapi \ 508 $(LOCAL_PATH)/third_party/npapi/bindings \ 509 $(LOCAL_PATH)/third_party/qcms/src \ 510 $(LOCAL_PATH)/v8/include \ 511 $(PWD)/frameworks/wilhelm/include \ 512 $(PWD)/bionic \ 513 $(PWD)/external/stlport/stlport 514 515 516# Flags passed to only C++ (and not C) files. 517LOCAL_CPPFLAGS_Release := \ 518 -fno-rtti \ 519 -fno-threadsafe-statics \ 520 -fvisibility-inlines-hidden \ 521 -Wno-c++0x-compat \ 522 -Wno-deprecated \ 523 -Wno-abi \ 524 -Wno-error=c++0x-compat \ 525 -Wno-non-virtual-dtor \ 526 -Wno-sign-promo \ 527 -Wno-non-virtual-dtor 528 529 530LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 531LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 532LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 533### Rules for final target. 534 535LOCAL_LDFLAGS_Debug := \ 536 -Wl,-z,now \ 537 -Wl,-z,relro \ 538 -Wl,-z,noexecstack \ 539 -fPIC \ 540 -Wl,-z,relro \ 541 -Wl,-z,now \ 542 -fuse-ld=gold \ 543 -nostdlib \ 544 -Wl,--no-undefined \ 545 -Wl,--exclude-libs=ALL \ 546 -Wl,--icf=safe \ 547 -Wl,--fatal-warnings \ 548 -Wl,--gc-sections \ 549 -Wl,--warn-shared-textrel \ 550 -Wl,-O1 \ 551 -Wl,--as-needed 552 553 554LOCAL_LDFLAGS_Release := \ 555 -Wl,-z,now \ 556 -Wl,-z,relro \ 557 -Wl,-z,noexecstack \ 558 -fPIC \ 559 -Wl,-z,relro \ 560 -Wl,-z,now \ 561 -fuse-ld=gold \ 562 -nostdlib \ 563 -Wl,--no-undefined \ 564 -Wl,--exclude-libs=ALL \ 565 -Wl,--icf=safe \ 566 -Wl,-O1 \ 567 -Wl,--as-needed \ 568 -Wl,--gc-sections \ 569 -Wl,--fatal-warnings \ 570 -Wl,--warn-shared-textrel 571 572 573LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 574 575LOCAL_STATIC_LIBRARIES := \ 576 third_party_WebKit_Source_core_webcore_derived_gyp 577 578# Enable grouping to fix circular references 579LOCAL_GROUP_STATIC_LIBRARIES := true 580 581LOCAL_SHARED_LIBRARIES := \ 582 libskia \ 583 libstlport \ 584 libdl 585 586# Add target alias to "gyp_all_modules" target. 587.PHONY: gyp_all_modules 588gyp_all_modules: third_party_WebKit_Source_modules_modules_gyp 589 590# Alias gyp target name. 591.PHONY: modules 592modules: third_party_WebKit_Source_modules_modules_gyp 593 594include $(BUILD_STATIC_LIBRARY) 595