blob: 3b2919c2405b5f720e02f76e34e9a7f0a25be21d [file] [log] [blame]
# This file is generated by gyp; do not edit.
include $(CLEAR_VARS)
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_MODULE := third_party_WebKit_Source_modules_modules_gyp
LOCAL_MODULE_SUFFIX := .a
LOCAL_MODULE_TAGS := optional
gyp_intermediate_dir := $(call local-intermediates-dir)
gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
# Make sure our deps are built first.
GYP_TARGET_DEPENDENCIES := \
$(call intermediates-dir-for,GYP,third_party_WebKit_Source_config_gyp)/config.stamp \
$(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_gyp)/webcore.stamp \
$(call intermediates-dir-for,STATIC_LIBRARIES,third_party_WebKit_Source_core_webcore_derived_gyp)/third_party_WebKit_Source_core_webcore_derived_gyp.a \
$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp)/skia_skia_library_gyp.a
GYP_GENERATED_OUTPUTS :=
# Make sure our deps and generated files are built first.
LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
LOCAL_GENERATED_SOURCES :=
GYP_COPIED_SOURCE_ORIGIN_DIRS :=
LOCAL_SRC_FILES := \
third_party/WebKit/Source/modules/crypto/AesCbcParams.cpp \
third_party/WebKit/Source/modules/crypto/AesKeyGenParams.cpp \
third_party/WebKit/Source/modules/crypto/Algorithm.cpp \
third_party/WebKit/Source/modules/crypto/Crypto.cpp \
third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp \
third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp \
third_party/WebKit/Source/modules/crypto/HmacKeyParams.cpp \
third_party/WebKit/Source/modules/crypto/HmacParams.cpp \
third_party/WebKit/Source/modules/crypto/Key.cpp \
third_party/WebKit/Source/modules/crypto/KeyPair.cpp \
third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp \
third_party/WebKit/Source/modules/crypto/RsaKeyGenParams.cpp \
third_party/WebKit/Source/modules/crypto/RsaSsaParams.cpp \
third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp \
third_party/WebKit/Source/modules/crypto/WorkerCrypto.cpp \
third_party/WebKit/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceAcceleration.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceRotationRate.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceSensorEventController.cpp \
third_party/WebKit/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp \
third_party/WebKit/Source/modules/device_orientation/NewDeviceOrientationController.cpp \
third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.cpp \
third_party/WebKit/Source/modules/encoding/TextDecoder.cpp \
third_party/WebKit/Source/modules/encoding/TextEncoder.cpp \
third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEvent.cpp \
third_party/WebKit/Source/modules/encryptedmedia/MediaKeyNeededEvent.cpp \
third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp \
third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp \
third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp \
third_party/WebKit/Source/modules/filesystem/DOMFileSystemBase.cpp \
third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp \
third_party/WebKit/Source/modules/filesystem/DOMWindowFileSystem.cpp \
third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp \
third_party/WebKit/Source/modules/filesystem/DirectoryEntry.cpp \
third_party/WebKit/Source/modules/filesystem/DirectoryEntrySync.cpp \
third_party/WebKit/Source/modules/filesystem/DirectoryReader.cpp \
third_party/WebKit/Source/modules/filesystem/DirectoryReaderSync.cpp \
third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystem.cpp \
third_party/WebKit/Source/modules/filesystem/Entry.cpp \
third_party/WebKit/Source/modules/filesystem/EntryBase.cpp \
third_party/WebKit/Source/modules/filesystem/EntrySync.cpp \
third_party/WebKit/Source/modules/filesystem/FileEntry.cpp \
third_party/WebKit/Source/modules/filesystem/FileEntrySync.cpp \
third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp \
third_party/WebKit/Source/modules/filesystem/FileWriter.cpp \
third_party/WebKit/Source/modules/filesystem/FileWriterBase.cpp \
third_party/WebKit/Source/modules/filesystem/FileWriterSync.cpp \
third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp \
third_party/WebKit/Source/modules/filesystem/LocalFileSystem.cpp \
third_party/WebKit/Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp \
third_party/WebKit/Source/modules/filesystem/WorkerLocalFileSystem.cpp \
third_party/WebKit/Source/modules/gamepad/Gamepad.cpp \
third_party/WebKit/Source/modules/gamepad/GamepadList.cpp \
third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp \
third_party/WebKit/Source/modules/geolocation/Coordinates.cpp \
third_party/WebKit/Source/modules/geolocation/Geolocation.cpp \
third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp \
third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp \
third_party/WebKit/Source/modules/imagebitmap/ImageBitmapFactories.cpp \
third_party/WebKit/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBAny.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBDatabaseCallbacksImpl.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBKey.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBKeyRange.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBPendingTransactionMonitor.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp \
third_party/WebKit/Source/modules/indexeddb/IDBVersionChangeEvent.cpp \
third_party/WebKit/Source/modules/indexeddb/PageGroupIndexedDatabase.cpp \
third_party/WebKit/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp \
third_party/WebKit/Source/modules/indexeddb/chromium/IDBFactoryBackendInterfaceChromium.cpp \
third_party/WebKit/Source/modules/mediasource/MediaSource.cpp \
third_party/WebKit/Source/modules/mediasource/MediaSourceBase.cpp \
third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp \
third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp \
third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp \
third_party/WebKit/Source/modules/mediasource/URLMediaSource.cpp \
third_party/WebKit/Source/modules/mediasource/WebKitMediaSource.cpp \
third_party/WebKit/Source/modules/mediasource/WebKitSourceBuffer.cpp \
third_party/WebKit/Source/modules/mediasource/WebKitSourceBufferList.cpp \
third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp \
third_party/WebKit/Source/modules/mediastream/MediaStream.cpp \
third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.cpp \
third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.cpp \
third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp \
third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.cpp \
third_party/WebKit/Source/modules/mediastream/MediaStreamTrackSourcesRequest.cpp \
third_party/WebKit/Source/modules/mediastream/NavigatorMediaStream.cpp \
third_party/WebKit/Source/modules/mediastream/NavigatorUserMediaError.cpp \
third_party/WebKit/Source/modules/mediastream/RTCDTMFSender.cpp \
third_party/WebKit/Source/modules/mediastream/RTCDTMFToneChangeEvent.cpp \
third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp \
third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.cpp \
third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.cpp \
third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.cpp \
third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp \
third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.cpp \
third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp \
third_party/WebKit/Source/modules/mediastream/RTCStatsReport.cpp \
third_party/WebKit/Source/modules/mediastream/RTCStatsRequestImpl.cpp \
third_party/WebKit/Source/modules/mediastream/RTCStatsResponse.cpp \
third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.cpp \
third_party/WebKit/Source/modules/mediastream/SourceInfo.cpp \
third_party/WebKit/Source/modules/mediastream/UserMediaController.cpp \
third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp \
third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp \
third_party/WebKit/Source/modules/mediastream/WebMediaStreamTrackSourcesRequest.cpp \
third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp \
third_party/WebKit/Source/modules/notifications/DOMWindowNotifications.cpp \
third_party/WebKit/Source/modules/notifications/Notification.cpp \
third_party/WebKit/Source/modules/notifications/NotificationCenter.cpp \
third_party/WebKit/Source/modules/notifications/NotificationController.cpp \
third_party/WebKit/Source/modules/notifications/WorkerGlobalScopeNotifications.cpp \
third_party/WebKit/Source/modules/performance/WorkerGlobalScopePerformance.cpp \
third_party/WebKit/Source/modules/performance/WorkerPerformance.cpp \
third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp \
third_party/WebKit/Source/modules/quota/NavigatorStorageQuota.cpp \
third_party/WebKit/Source/modules/quota/StorageInfo.cpp \
third_party/WebKit/Source/modules/quota/StorageErrorCallback.cpp \
third_party/WebKit/Source/modules/quota/StorageQuota.cpp \
third_party/WebKit/Source/modules/quota/WebStorageQuotaCallbacksImpl.cpp \
third_party/WebKit/Source/modules/quota/WorkerNavigatorStorageQuota.cpp \
third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp \
third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp \
third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp \
third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp \
third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp \
third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp \
third_party/WebKit/Source/modules/speech/SpeechRecognitionAlternative.cpp \
third_party/WebKit/Source/modules/speech/SpeechRecognitionController.cpp \
third_party/WebKit/Source/modules/speech/SpeechRecognitionError.cpp \
third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp \
third_party/WebKit/Source/modules/speech/SpeechRecognitionResult.cpp \
third_party/WebKit/Source/modules/speech/SpeechRecognitionResultList.cpp \
third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp \
third_party/WebKit/Source/modules/speech/SpeechSynthesisEvent.cpp \
third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.cpp \
third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp \
third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp \
third_party/WebKit/Source/modules/webaudio/AudioBasicInspectorNode.cpp \
third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorNode.cpp \
third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp \
third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp \
third_party/WebKit/Source/modules/webaudio/ChannelMergerNode.cpp \
third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.cpp \
third_party/WebKit/Source/modules/webaudio/AudioContext.cpp \
third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp \
third_party/WebKit/Source/modules/webaudio/GainNode.cpp \
third_party/WebKit/Source/modules/webaudio/AudioListener.cpp \
third_party/WebKit/Source/modules/webaudio/AudioNode.cpp \
third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp \
third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp \
third_party/WebKit/Source/modules/webaudio/PannerNode.cpp \
third_party/WebKit/Source/modules/webaudio/AudioParam.cpp \
third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp \
third_party/WebKit/Source/modules/webaudio/AudioProcessingEvent.cpp \
third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp \
third_party/WebKit/Source/modules/webaudio/AudioSummingJunction.cpp \
third_party/WebKit/Source/modules/webaudio/AsyncAudioDecoder.cpp \
third_party/WebKit/Source/modules/webaudio/BiquadDSPKernel.cpp \
third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp \
third_party/WebKit/Source/modules/webaudio/BiquadProcessor.cpp \
third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp \
third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp \
third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp \
third_party/WebKit/Source/modules/webaudio/DelayNode.cpp \
third_party/WebKit/Source/modules/webaudio/DelayProcessor.cpp \
third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp \
third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp \
third_party/WebKit/Source/modules/webaudio/MediaElementAudioSourceNode.cpp \
third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp \
third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp \
third_party/WebKit/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp \
third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp \
third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp \
third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp \
third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp \
third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp \
third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp \
third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp \
third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp \
third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.cpp \
third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.cpp \
third_party/WebKit/Source/modules/webdatabase/Database.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseBackend.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseBackendBase.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseBackendSync.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseBase.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseServer.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseSync.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseTask.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp \
third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp \
third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp \
third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLError.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLResultSet.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLStatementSync.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackendSync.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLTransactionCoordinator.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLTransactionStateMachine.cpp \
third_party/WebKit/Source/modules/webdatabase/SQLTransactionSync.cpp \
third_party/WebKit/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp \
third_party/WebKit/Source/modules/webdatabase/sqlite/SQLValue.cpp \
third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteAuthorizer.cpp \
third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp \
third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp \
third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp \
third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp \
third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteTransaction.cpp \
third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp \
third_party/WebKit/Source/modules/webmidi/MIDIAccessPromise.cpp \
third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp \
third_party/WebKit/Source/modules/webmidi/MIDIClientMock.cpp \
third_party/WebKit/Source/modules/webmidi/MIDIController.cpp \
third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp \
third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp \
third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp \
third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp \
third_party/WebKit/Source/modules/websockets/MainThreadWebSocketChannel.cpp \
third_party/WebKit/Source/modules/websockets/NewWebSocketChannelImpl.cpp \
third_party/WebKit/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp \
third_party/WebKit/Source/modules/websockets/WebSocket.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketDeflateFramer.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketDeflater.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketExtensionDispatcher.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketExtensionParser.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketFrame.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketHandshake.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketHandshakeRequest.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketHandshakeResponse.cpp \
third_party/WebKit/Source/modules/websockets/WebSocketPerMessageDeflate.cpp \
third_party/WebKit/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp
# Flags passed to both C and C++ files.
MY_CFLAGS_Debug := \
--param=ssp-buffer-size=4 \
-fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
-fvisibility=hidden \
-pipe \
-fPIC \
-Wno-format \
-m32 \
-mmmx \
-march=pentium4 \
-msse2 \
-mfpmath=sse \
-fuse-ld=gold \
-ffunction-sections \
-funwind-tables \
-g \
-fno-short-enums \
-finline-limit=64 \
-Wa,--noexecstack \
-U_FORTIFY_SOURCE \
-Wno-extra \
-Wno-ignored-qualifiers \
-Wno-type-limits \
-Wno-address \
-Wno-format-security \
-Wno-return-type \
-Wno-sequence-point \
-fno-stack-protector \
-Os \
-g \
-fomit-frame-pointer \
-fdata-sections \
-ffunction-sections
MY_DEFS_Debug := \
'-DANGLE_DX11' \
'-D_FILE_OFFSET_BITS=64' \
'-DNO_TCMALLOC' \
'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
'-DDISABLE_NACL' \
'-DCHROMIUM_BUILD' \
'-DUSE_LIBJPEG_TURBO=1' \
'-DUSE_PROPRIETARY_CODECS' \
'-DENABLE_CONFIGURATION_POLICY' \
'-DUSE_OPENSSL=1' \
'-DENABLE_EGLIMAGE=1' \
'-DCLD_VERSION=1' \
'-DBLINK_IMPLEMENTATION=1' \
'-DINSIDE_BLINK' \
'-DENABLE_CSS3_TEXT=0' \
'-DENABLE_CSS_EXCLUSIONS=1' \
'-DENABLE_CSS_REGIONS=1' \
'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
'-DENABLE_ENCRYPTED_MEDIA_V2=1' \
'-DENABLE_SVG_FONTS=1' \
'-DENABLE_GDI_FONTS_ON_WINDOWS=0' \
'-DENABLE_TOUCH_ICON_LOADING=1' \
'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
'-DENABLE_CALENDAR_PICKER=0' \
'-DENABLE_FAST_MOBILE_SCROLLING=1' \
'-DENABLE_INPUT_SPEECH=0' \
'-DENABLE_LEGACY_NOTIFICATIONS=0' \
'-DENABLE_MEDIA_CAPTURE=1' \
'-DENABLE_ORIENTATION_EVENTS=1' \
'-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \
'-DENABLE_OPENTYPE_VERTICAL=1' \
'-DU_USING_ICU_NAMESPACE=0' \
'-DSK_ENABLE_INST_COUNT=0' \
'-DSK_SUPPORT_GPU=1' \
'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
'-DSK_BUILD_FOR_ANDROID' \
'-DSK_USE_POSIX_THREADS' \
'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
'-DANDROID' \
'-D__GNU_SOURCE=1' \
'-DUSE_STLPORT=1' \
'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
'-DCHROME_BUILD_ID=""' \
'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
'-D_DEBUG'
# Include paths placed before CFLAGS/CPPFLAGS
LOCAL_C_INCLUDES_Debug := \
$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
$(LOCAL_PATH)/third_party/khronos \
$(LOCAL_PATH)/gpu \
$(LOCAL_PATH) \
$(LOCAL_PATH)/third_party/zlib \
$(LOCAL_PATH)/third_party/sqlite \
$(LOCAL_PATH)/third_party/WebKit/Source \
$(LOCAL_PATH)/third_party/WebKit \
$(gyp_shared_intermediate_dir)/blink \
$(gyp_shared_intermediate_dir)/blink/bindings \
$(PWD)/external/icu4c/common \
$(PWD)/external/icu4c/i18n \
$(LOCAL_PATH)/third_party/skia/src/core \
$(LOCAL_PATH)/third_party/skia/include/core \
$(LOCAL_PATH)/third_party/skia/include/effects \
$(LOCAL_PATH)/third_party/skia/include/pdf \
$(LOCAL_PATH)/third_party/skia/include/gpu \
$(LOCAL_PATH)/third_party/skia/include/lazy \
$(LOCAL_PATH)/third_party/skia/include/pathops \
$(LOCAL_PATH)/third_party/skia/include/pipe \
$(LOCAL_PATH)/third_party/skia/include/ports \
$(LOCAL_PATH)/third_party/skia/include/utils \
$(LOCAL_PATH)/skia/config \
$(LOCAL_PATH)/skia/ext \
$(LOCAL_PATH)/third_party/npapi \
$(LOCAL_PATH)/third_party/npapi/bindings \
$(LOCAL_PATH)/third_party/qcms/src \
$(LOCAL_PATH)/v8/include \
$(PWD)/frameworks/wilhelm/include \
$(PWD)/bionic \
$(PWD)/external/stlport/stlport
# Flags passed to only C++ (and not C) files.
LOCAL_CPPFLAGS_Debug := \
-fno-rtti \
-fno-threadsafe-statics \
-fvisibility-inlines-hidden \
-Wno-c++0x-compat \
-Wno-deprecated \
-Wno-error=c++0x-compat \
-Wno-non-virtual-dtor \
-Wno-sign-promo \
-Wno-non-virtual-dtor
# Flags passed to both C and C++ files.
MY_CFLAGS_Release := \
--param=ssp-buffer-size=4 \
-fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
-fvisibility=hidden \
-pipe \
-fPIC \
-Wno-format \
-m32 \
-mmmx \
-march=pentium4 \
-msse2 \
-mfpmath=sse \
-fuse-ld=gold \
-ffunction-sections \
-funwind-tables \
-g \
-fno-short-enums \
-finline-limit=64 \
-Wa,--noexecstack \
-U_FORTIFY_SOURCE \
-Wno-extra \
-Wno-ignored-qualifiers \
-Wno-type-limits \
-Wno-address \
-Wno-format-security \
-Wno-return-type \
-Wno-sequence-point \
-fno-stack-protector \
-Os \
-fno-ident \
-fdata-sections \
-ffunction-sections \
-fomit-frame-pointer \
-fno-unwind-tables \
-fno-asynchronous-unwind-tables
MY_DEFS_Release := \
'-DANGLE_DX11' \
'-D_FILE_OFFSET_BITS=64' \
'-DNO_TCMALLOC' \
'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
'-DDISABLE_NACL' \
'-DCHROMIUM_BUILD' \
'-DUSE_LIBJPEG_TURBO=1' \
'-DUSE_PROPRIETARY_CODECS' \
'-DENABLE_CONFIGURATION_POLICY' \
'-DUSE_OPENSSL=1' \
'-DENABLE_EGLIMAGE=1' \
'-DCLD_VERSION=1' \
'-DBLINK_IMPLEMENTATION=1' \
'-DINSIDE_BLINK' \
'-DENABLE_CSS3_TEXT=0' \
'-DENABLE_CSS_EXCLUSIONS=1' \
'-DENABLE_CSS_REGIONS=1' \
'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
'-DENABLE_ENCRYPTED_MEDIA_V2=1' \
'-DENABLE_SVG_FONTS=1' \
'-DENABLE_GDI_FONTS_ON_WINDOWS=0' \
'-DENABLE_TOUCH_ICON_LOADING=1' \
'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
'-DENABLE_CALENDAR_PICKER=0' \
'-DENABLE_FAST_MOBILE_SCROLLING=1' \
'-DENABLE_INPUT_SPEECH=0' \
'-DENABLE_LEGACY_NOTIFICATIONS=0' \
'-DENABLE_MEDIA_CAPTURE=1' \
'-DENABLE_ORIENTATION_EVENTS=1' \
'-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \
'-DENABLE_OPENTYPE_VERTICAL=1' \
'-DU_USING_ICU_NAMESPACE=0' \
'-DSK_ENABLE_INST_COUNT=0' \
'-DSK_SUPPORT_GPU=1' \
'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
'-DSK_BUILD_FOR_ANDROID' \
'-DSK_USE_POSIX_THREADS' \
'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
'-DANDROID' \
'-D__GNU_SOURCE=1' \
'-DUSE_STLPORT=1' \
'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
'-DCHROME_BUILD_ID=""' \
'-DNDEBUG' \
'-DNVALGRIND' \
'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
# Include paths placed before CFLAGS/CPPFLAGS
LOCAL_C_INCLUDES_Release := \
$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
$(LOCAL_PATH)/third_party/khronos \
$(LOCAL_PATH)/gpu \
$(LOCAL_PATH) \
$(LOCAL_PATH)/third_party/zlib \
$(LOCAL_PATH)/third_party/sqlite \
$(LOCAL_PATH)/third_party/WebKit/Source \
$(LOCAL_PATH)/third_party/WebKit \
$(gyp_shared_intermediate_dir)/blink \
$(gyp_shared_intermediate_dir)/blink/bindings \
$(PWD)/external/icu4c/common \
$(PWD)/external/icu4c/i18n \
$(LOCAL_PATH)/third_party/skia/src/core \
$(LOCAL_PATH)/third_party/skia/include/core \
$(LOCAL_PATH)/third_party/skia/include/effects \
$(LOCAL_PATH)/third_party/skia/include/pdf \
$(LOCAL_PATH)/third_party/skia/include/gpu \
$(LOCAL_PATH)/third_party/skia/include/lazy \
$(LOCAL_PATH)/third_party/skia/include/pathops \
$(LOCAL_PATH)/third_party/skia/include/pipe \
$(LOCAL_PATH)/third_party/skia/include/ports \
$(LOCAL_PATH)/third_party/skia/include/utils \
$(LOCAL_PATH)/skia/config \
$(LOCAL_PATH)/skia/ext \
$(LOCAL_PATH)/third_party/npapi \
$(LOCAL_PATH)/third_party/npapi/bindings \
$(LOCAL_PATH)/third_party/qcms/src \
$(LOCAL_PATH)/v8/include \
$(PWD)/frameworks/wilhelm/include \
$(PWD)/bionic \
$(PWD)/external/stlport/stlport
# Flags passed to only C++ (and not C) files.
LOCAL_CPPFLAGS_Release := \
-fno-rtti \
-fno-threadsafe-statics \
-fvisibility-inlines-hidden \
-Wno-c++0x-compat \
-Wno-deprecated \
-Wno-error=c++0x-compat \
-Wno-non-virtual-dtor \
-Wno-sign-promo \
-Wno-non-virtual-dtor
LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
### Rules for final target.
LOCAL_LDFLAGS_Debug := \
-Wl,-z,now \
-Wl,-z,relro \
-Wl,-z,noexecstack \
-fPIC \
-m32 \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
-Wl,--exclude-libs=ALL \
-Wl,--fatal-warnings \
-Wl,--gc-sections \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
LOCAL_LDFLAGS_Release := \
-Wl,-z,now \
-Wl,-z,relro \
-Wl,-z,noexecstack \
-fPIC \
-m32 \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
-Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
-Wl,--fatal-warnings \
-Wl,--warn-shared-textrel
LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
LOCAL_STATIC_LIBRARIES := \
third_party_WebKit_Source_core_webcore_derived_gyp \
skia_skia_library_gyp
# Enable grouping to fix circular references
LOCAL_GROUP_STATIC_LIBRARIES := true
LOCAL_SHARED_LIBRARIES := \
libstlport \
libdl
# Add target alias to "gyp_all_modules" target.
.PHONY: gyp_all_modules
gyp_all_modules: third_party_WebKit_Source_modules_modules_gyp
# Alias gyp target name.
.PHONY: modules
modules: third_party_WebKit_Source_modules_modules_gyp
include $(BUILD_STATIC_LIBRARY)