Home | History | Annotate | Download | only in web
      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_web_webkit_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_core_webcore_gyp)/webcore.stamp \
     15 	$(call intermediates-dir-for,STATIC_LIBRARIES,third_party_WebKit_Source_core_webcore_derived_gyp)/third_party_WebKit_Source_core_webcore_derived_gyp.a \
     16 	$(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \
     17 	$(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp \
     18 	$(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp)/npapi.stamp \
     19 	$(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp)/v8.stamp
     20 
     21 GYP_GENERATED_OUTPUTS :=
     22 
     23 # Make sure our deps and generated files are built first.
     24 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     25 
     26 LOCAL_GENERATED_SOURCES :=
     27 
     28 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     29 
     30 LOCAL_SRC_FILES := \
     31 	third_party/WebKit/Source/core/platform/chromium/support/Platform.cpp \
     32 	third_party/WebKit/Source/core/platform/chromium/support/WebActiveGestureAnimation.cpp \
     33 	third_party/WebKit/Source/core/platform/chromium/support/WebArrayBuffer.cpp \
     34 	third_party/WebKit/Source/core/platform/chromium/support/WebAudioBus.cpp \
     35 	third_party/WebKit/Source/core/platform/chromium/support/WebCrypto.cpp \
     36 	third_party/WebKit/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp \
     37 	third_party/WebKit/Source/core/platform/chromium/support/WebCryptoKey.cpp \
     38 	third_party/WebKit/Source/core/platform/chromium/support/WebCursorInfo.cpp \
     39 	third_party/WebKit/Source/core/platform/chromium/support/WebData.cpp \
     40 	third_party/WebKit/Source/core/platform/chromium/support/WebDeviceMotionData.cpp \
     41 	third_party/WebKit/Source/core/platform/chromium/support/WebDeviceOrientationData.cpp \
     42 	third_party/WebKit/Source/core/platform/chromium/support/WebFloatQuad.cpp \
     43 	third_party/WebKit/Source/core/platform/chromium/support/WebHTTPBody.cpp \
     44 	third_party/WebKit/Source/core/platform/chromium/support/WebHTTPLoadInfo.cpp \
     45 	third_party/WebKit/Source/core/platform/chromium/support/WebMediaConstraints.cpp \
     46 	third_party/WebKit/Source/core/platform/chromium/support/WebMediaStream.cpp \
     47 	third_party/WebKit/Source/core/platform/chromium/support/WebMediaStreamSource.cpp \
     48 	third_party/WebKit/Source/core/platform/chromium/support/WebMediaStreamTrack.cpp \
     49 	third_party/WebKit/Source/core/platform/chromium/support/WebPrerender.cpp \
     50 	third_party/WebKit/Source/core/platform/chromium/support/WebPrerenderingSupport.cpp \
     51 	third_party/WebKit/Source/core/platform/chromium/support/WebRTCConfiguration.cpp \
     52 	third_party/WebKit/Source/core/platform/chromium/support/WebRTCICECandidate.cpp \
     53 	third_party/WebKit/Source/core/platform/chromium/support/WebRTCSessionDescription.cpp \
     54 	third_party/WebKit/Source/core/platform/chromium/support/WebRTCSessionDescriptionRequest.cpp \
     55 	third_party/WebKit/Source/core/platform/chromium/support/WebRTCStatsRequest.cpp \
     56 	third_party/WebKit/Source/core/platform/chromium/support/WebRTCStatsResponse.cpp \
     57 	third_party/WebKit/Source/core/platform/chromium/support/WebRTCVoidRequest.cpp \
     58 	third_party/WebKit/Source/core/platform/chromium/support/WebScrollbarImpl.cpp \
     59 	third_party/WebKit/Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.cpp \
     60 	third_party/WebKit/Source/core/platform/chromium/support/WebScrollbarThemeGeometryNative.cpp \
     61 	third_party/WebKit/Source/core/platform/chromium/support/WebSocketStreamError.cpp \
     62 	third_party/WebKit/Source/core/platform/chromium/support/WebSourceInfo.cpp \
     63 	third_party/WebKit/Source/core/platform/chromium/support/WebSpeechSynthesisUtterance.cpp \
     64 	third_party/WebKit/Source/core/platform/chromium/support/WebSpeechSynthesisVoice.cpp \
     65 	third_party/WebKit/Source/core/platform/chromium/support/WebSpeechSynthesizerClientImpl.cpp \
     66 	third_party/WebKit/Source/core/platform/chromium/support/WebThreadSafeData.cpp \
     67 	third_party/WebKit/Source/core/platform/chromium/support/WebTransformKeyframe.cpp \
     68 	third_party/WebKit/Source/core/platform/chromium/support/WebURL.cpp \
     69 	third_party/WebKit/Source/core/platform/chromium/support/WebURLError.cpp \
     70 	third_party/WebKit/Source/core/platform/chromium/support/WebURLRequest.cpp \
     71 	third_party/WebKit/Source/core/platform/chromium/support/WebURLResponse.cpp \
     72 	third_party/WebKit/Source/web/ApplicationCacheHost.cpp \
     73 	third_party/WebKit/Source/web/AssertMatchingEnums.cpp \
     74 	third_party/WebKit/Source/web/AssociatedURLLoader.cpp \
     75 	third_party/WebKit/Source/web/AsyncFileSystemChromium.cpp \
     76 	third_party/WebKit/Source/web/AsyncFileWriterChromium.cpp \
     77 	third_party/WebKit/Source/web/AutofillPopupMenuClient.cpp \
     78 	third_party/WebKit/Source/web/BackForwardClientImpl.cpp \
     79 	third_party/WebKit/Source/web/ChromeClientImpl.cpp \
     80 	third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp \
     81 	third_party/WebKit/Source/web/ColorChooserUIController.cpp \
     82 	third_party/WebKit/Source/web/CompositionUnderlineVectorBuilder.cpp \
     83 	third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp \
     84 	third_party/WebKit/Source/web/ContextMenuClientImpl.cpp \
     85 	third_party/WebKit/Source/web/DOMUtilitiesPrivate.cpp \
     86 	third_party/WebKit/Source/web/DatabaseObserver.cpp \
     87 	third_party/WebKit/Source/web/DateTimeChooserImpl.cpp \
     88 	third_party/WebKit/Source/web/DeviceOrientationClientProxy.cpp \
     89 	third_party/WebKit/Source/web/DragClientImpl.cpp \
     90 	third_party/WebKit/Source/web/EditorClientImpl.cpp \
     91 	third_party/WebKit/Source/web/EventListenerWrapper.cpp \
     92 	third_party/WebKit/Source/web/ExternalDateTimeChooser.cpp \
     93 	third_party/WebKit/Source/web/ExternalPopupMenu.cpp \
     94 	third_party/WebKit/Source/web/FindInPageCoordinates.cpp \
     95 	third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp \
     96 	third_party/WebKit/Source/web/FullscreenController.cpp \
     97 	third_party/WebKit/Source/web/GeolocationClientProxy.cpp \
     98 	third_party/WebKit/Source/web/GraphicsLayerFactoryChromium.cpp \
     99 	third_party/WebKit/Source/web/IDBCursorBackendProxy.cpp \
    100 	third_party/WebKit/Source/web/IDBDatabaseBackendProxy.cpp \
    101 	third_party/WebKit/Source/web/IDBFactoryBackendProxy.cpp \
    102 	third_party/WebKit/Source/web/InbandTextTrackPrivateImpl.cpp \
    103 	third_party/WebKit/Source/web/InspectorClientImpl.cpp \
    104 	third_party/WebKit/Source/web/InspectorFrontendClientImpl.cpp \
    105 	third_party/WebKit/Source/web/LinkHighlight.cpp \
    106 	third_party/WebKit/Source/web/LocalFileSystemClient.cpp \
    107 	third_party/WebKit/Source/web/MIDIClientImpl.cpp \
    108 	third_party/WebKit/Source/web/MediaSourcePrivateImpl.cpp \
    109 	third_party/WebKit/Source/web/NotificationPresenterImpl.cpp \
    110 	third_party/WebKit/Source/web/PageOverlay.cpp \
    111 	third_party/WebKit/Source/web/PageOverlayList.cpp \
    112 	third_party/WebKit/Source/web/PageWidgetDelegate.cpp \
    113 	third_party/WebKit/Source/web/PinchViewports.cpp \
    114 	third_party/WebKit/Source/web/PopupContainer.cpp \
    115 	third_party/WebKit/Source/web/PopupListBox.cpp \
    116 	third_party/WebKit/Source/web/PopupMenuChromium.cpp \
    117 	third_party/WebKit/Source/web/PrerendererClientImpl.cpp \
    118 	third_party/WebKit/Source/web/ScrollbarGroup.cpp \
    119 	third_party/WebKit/Source/web/SharedWorkerRepository.cpp \
    120 	third_party/WebKit/Source/web/SourceBufferPrivateImpl.cpp \
    121 	third_party/WebKit/Source/web/SpeechInputClientImpl.cpp \
    122 	third_party/WebKit/Source/web/SpeechRecognitionClientProxy.cpp \
    123 	third_party/WebKit/Source/web/StorageAreaProxy.cpp \
    124 	third_party/WebKit/Source/web/StorageNamespaceProxy.cpp \
    125 	third_party/WebKit/Source/web/StorageQuotaChromium.cpp \
    126 	third_party/WebKit/Source/web/UserMediaClientImpl.cpp \
    127 	third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp \
    128 	third_party/WebKit/Source/web/ViewportAnchor.cpp \
    129 	third_party/WebKit/Source/web/WebAccessibilityObject.cpp \
    130 	third_party/WebKit/Source/web/WebArrayBufferView.cpp \
    131 	third_party/WebKit/Source/web/WebBindings.cpp \
    132 	third_party/WebKit/Source/web/WebBlob.cpp \
    133 	third_party/WebKit/Source/web/WebBlobData.cpp \
    134 	third_party/WebKit/Source/web/WebCache.cpp \
    135 	third_party/WebKit/Source/web/WebCachedURLRequest.cpp \
    136 	third_party/WebKit/Source/web/WebColorName.cpp \
    137 	third_party/WebKit/Source/web/WebCrossOriginPreflightResultCache.cpp \
    138 	third_party/WebKit/Source/web/WebCustomElement.cpp \
    139 	third_party/WebKit/Source/web/WebDOMActivityLogger.cpp \
    140 	third_party/WebKit/Source/web/WebDOMCustomEvent.cpp \
    141 	third_party/WebKit/Source/web/WebDOMEvent.cpp \
    142 	third_party/WebKit/Source/web/WebDOMEventListener.cpp \
    143 	third_party/WebKit/Source/web/WebDOMEventListenerPrivate.cpp \
    144 	third_party/WebKit/Source/web/WebDOMMessageEvent.cpp \
    145 	third_party/WebKit/Source/web/WebDOMMouseEvent.cpp \
    146 	third_party/WebKit/Source/web/WebDOMMutationEvent.cpp \
    147 	third_party/WebKit/Source/web/WebDOMProgressEvent.cpp \
    148 	third_party/WebKit/Source/web/WebDOMResourceProgressEvent.cpp \
    149 	third_party/WebKit/Source/web/WebDataSourceImpl.cpp \
    150 	third_party/WebKit/Source/web/WebDatabase.cpp \
    151 	third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp \
    152 	third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp \
    153 	third_party/WebKit/Source/web/WebDeviceOrientation.cpp \
    154 	third_party/WebKit/Source/web/WebDeviceOrientationClientMock.cpp \
    155 	third_party/WebKit/Source/web/WebDeviceOrientationController.cpp \
    156 	third_party/WebKit/Source/web/WebDocument.cpp \
    157 	third_party/WebKit/Source/web/WebDocumentType.cpp \
    158 	third_party/WebKit/Source/web/WebDragData.cpp \
    159 	third_party/WebKit/Source/web/WebElement.cpp \
    160 	third_party/WebKit/Source/web/WebEntities.cpp \
    161 	third_party/WebKit/Source/web/WebFileChooserCompletionImpl.cpp \
    162 	third_party/WebKit/Source/web/WebFileSystemCallbacksImpl.cpp \
    163 	third_party/WebKit/Source/web/WebFontCache.cpp \
    164 	third_party/WebKit/Source/web/WebFontDescription.cpp \
    165 	third_party/WebKit/Source/web/WebFontImpl.cpp \
    166 	third_party/WebKit/Source/web/WebFormControlElement.cpp \
    167 	third_party/WebKit/Source/web/WebFormElement.cpp \
    168 	third_party/WebKit/Source/web/WebFrameImpl.cpp \
    169 	third_party/WebKit/Source/web/WebGeolocationClientMock.cpp \
    170 	third_party/WebKit/Source/web/WebGeolocationController.cpp \
    171 	third_party/WebKit/Source/web/WebGeolocationError.cpp \
    172 	third_party/WebKit/Source/web/WebGeolocationPermissionRequest.cpp \
    173 	third_party/WebKit/Source/web/WebGeolocationPermissionRequestManager.cpp \
    174 	third_party/WebKit/Source/web/WebGeolocationPosition.cpp \
    175 	third_party/WebKit/Source/web/WebGlyphCache.cpp \
    176 	third_party/WebKit/Source/web/WebHelperPluginImpl.cpp \
    177 	third_party/WebKit/Source/web/WebHistoryItem.cpp \
    178 	third_party/WebKit/Source/web/WebHitTestResult.cpp \
    179 	third_party/WebKit/Source/web/WebIDBCallbacksImpl.cpp \
    180 	third_party/WebKit/Source/web/WebIDBDatabaseCallbacksImpl.cpp \
    181 	third_party/WebKit/Source/web/WebIDBDatabaseError.cpp \
    182 	third_party/WebKit/Source/web/WebIDBKey.cpp \
    183 	third_party/WebKit/Source/web/WebIDBKeyPath.cpp \
    184 	third_party/WebKit/Source/web/WebIDBKeyRange.cpp \
    185 	third_party/WebKit/Source/web/WebIDBMetadata.cpp \
    186 	third_party/WebKit/Source/web/WebImageCache.cpp \
    187 	third_party/WebKit/Source/web/WebImageDecoder.cpp \
    188 	third_party/WebKit/Source/web/WebImageSkia.cpp \
    189 	third_party/WebKit/Source/web/WebInputElement.cpp \
    190 	third_party/WebKit/Source/web/WebInputEvent.cpp \
    191 	third_party/WebKit/Source/web/WebInputEventConversion.cpp \
    192 	third_party/WebKit/Source/web/WebKit.cpp \
    193 	third_party/WebKit/Source/web/WebLabelElement.cpp \
    194 	third_party/WebKit/Source/web/WebMIDIPermissionRequest.cpp \
    195 	third_party/WebKit/Source/web/WebMediaPlayerClientImpl.cpp \
    196 	third_party/WebKit/Source/web/WebMediaSourceImpl.cpp \
    197 	third_party/WebKit/Source/web/WebMediaStreamRegistry.cpp \
    198 	third_party/WebKit/Source/web/WebNetworkStateNotifier.cpp \
    199 	third_party/WebKit/Source/web/WebNode.cpp \
    200 	third_party/WebKit/Source/web/WebNodeCollection.cpp \
    201 	third_party/WebKit/Source/web/WebNodeList.cpp \
    202 	third_party/WebKit/Source/web/WebNotification.cpp \
    203 	third_party/WebKit/Source/web/WebOptionElement.cpp \
    204 	third_party/WebKit/Source/web/WebPagePopupImpl.cpp \
    205 	third_party/WebKit/Source/web/WebPageSerializer.cpp \
    206 	third_party/WebKit/Source/web/WebPageSerializerImpl.cpp \
    207 	third_party/WebKit/Source/web/WebPasswordFormData.cpp \
    208 	third_party/WebKit/Source/web/WebPasswordFormUtils.cpp \
    209 	third_party/WebKit/Source/web/WebPerformance.cpp \
    210 	third_party/WebKit/Source/web/WebPluginContainerImpl.cpp \
    211 	third_party/WebKit/Source/web/WebPluginDocument.cpp \
    212 	third_party/WebKit/Source/web/WebPluginLoadObserver.cpp \
    213 	third_party/WebKit/Source/web/WebPluginScrollbarImpl.cpp \
    214 	third_party/WebKit/Source/web/WebPopupMenuImpl.cpp \
    215 	third_party/WebKit/Source/web/WebRange.cpp \
    216 	third_party/WebKit/Source/web/WebRuntimeFeatures.cpp \
    217 	third_party/WebKit/Source/web/WebScopedMicrotaskSuppression.cpp \
    218 	third_party/WebKit/Source/web/WebScopedUserGesture.cpp \
    219 	third_party/WebKit/Source/web/WebScriptBindings.cpp \
    220 	third_party/WebKit/Source/web/WebScriptController.cpp \
    221 	third_party/WebKit/Source/web/WebScrollbarThemePainter.cpp \
    222 	third_party/WebKit/Source/web/WebSearchableFormData.cpp \
    223 	third_party/WebKit/Source/web/WebSecurityOrigin.cpp \
    224 	third_party/WebKit/Source/web/WebSecurityPolicy.cpp \
    225 	third_party/WebKit/Source/web/WebSelectElement.cpp \
    226 	third_party/WebKit/Source/web/WebSerializedScriptValue.cpp \
    227 	third_party/WebKit/Source/web/WebSettingsImpl.cpp \
    228 	third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp \
    229 	third_party/WebKit/Source/web/WebSocket.cpp \
    230 	third_party/WebKit/Source/web/WebSocketImpl.cpp \
    231 	third_party/WebKit/Source/web/WebSpeechGrammar.cpp \
    232 	third_party/WebKit/Source/web/WebSpeechInputResult.cpp \
    233 	third_party/WebKit/Source/web/WebSpeechRecognitionHandle.cpp \
    234 	third_party/WebKit/Source/web/WebSpeechRecognitionResult.cpp \
    235 	third_party/WebKit/Source/web/WebStorageEventDispatcherImpl.cpp \
    236 	third_party/WebKit/Source/web/WebSurroundingText.cpp \
    237 	third_party/WebKit/Source/web/WebTextCheckingCompletionImpl.cpp \
    238 	third_party/WebKit/Source/web/WebTextCheckingResult.cpp \
    239 	third_party/WebKit/Source/web/WebTextInputInfo.cpp \
    240 	third_party/WebKit/Source/web/WebTextRun.cpp \
    241 	third_party/WebKit/Source/web/WebURLLoadTiming.cpp \
    242 	third_party/WebKit/Source/web/WebUserGestureIndicator.cpp \
    243 	third_party/WebKit/Source/web/WebUserGestureToken.cpp \
    244 	third_party/WebKit/Source/web/WebUserMediaRequest.cpp \
    245 	third_party/WebKit/Source/web/WebViewBenchmarkSupportImpl.cpp \
    246 	third_party/WebKit/Source/web/WebViewImpl.cpp \
    247 	third_party/WebKit/Source/web/WebWorkerBase.cpp \
    248 	third_party/WebKit/Source/web/WebWorkerClientImpl.cpp \
    249 	third_party/WebKit/Source/web/WebWorkerInfo.cpp \
    250 	third_party/WebKit/Source/web/WebWorkerRunLoop.cpp \
    251 	third_party/WebKit/Source/web/WorkerAllowMainThreadBridgeBase.cpp \
    252 	third_party/WebKit/Source/web/WorkerAsyncFileSystemChromium.cpp \
    253 	third_party/WebKit/Source/web/WorkerAsyncFileWriterChromium.cpp \
    254 	third_party/WebKit/Source/web/WorkerFileSystemCallbacksBridge.cpp \
    255 	third_party/WebKit/Source/web/WorkerFileSystemClient.cpp \
    256 	third_party/WebKit/Source/web/WorkerFileWriterCallbacksBridge.cpp \
    257 	third_party/WebKit/Source/web/android/WebInputEventFactory.cpp \
    258 	third_party/WebKit/Source/web/linux/WebFontRenderStyle.cpp \
    259 	third_party/WebKit/Source/web/linux/WebFontRendering.cpp \
    260 	third_party/WebKit/Source/web/painting/ContinuousPainter.cpp \
    261 	third_party/WebKit/Source/web/painting/PaintAggregator.cpp
    262 
    263 
    264 # Flags passed to both C and C++ files.
    265 MY_CFLAGS_Debug := \
    266 	--param=ssp-buffer-size=4 \
    267 	-Werror \
    268 	-fno-exceptions \
    269 	-fno-strict-aliasing \
    270 	-Wall \
    271 	-Wno-unused-parameter \
    272 	-Wno-missing-field-initializers \
    273 	-fvisibility=hidden \
    274 	-pipe \
    275 	-fPIC \
    276 	-m32 \
    277 	-mmmx \
    278 	-march=pentium4 \
    279 	-msse2 \
    280 	-mfpmath=sse \
    281 	-fuse-ld=gold \
    282 	-ffunction-sections \
    283 	-funwind-tables \
    284 	-g \
    285 	-fno-short-enums \
    286 	-finline-limit=64 \
    287 	-Wa,--noexecstack \
    288 	-U_FORTIFY_SOURCE \
    289 	-Wno-extra \
    290 	-Wno-ignored-qualifiers \
    291 	-Wno-type-limits \
    292 	-Wno-address \
    293 	-Wno-format-security \
    294 	-Wno-return-type \
    295 	-Wno-sequence-point \
    296 	-fno-stack-protector \
    297 	-Os \
    298 	-g \
    299 	-fomit-frame-pointer \
    300 	-fdata-sections \
    301 	-ffunction-sections
    302 
    303 MY_DEFS_Debug := \
    304 	'-DANGLE_DX11' \
    305 	'-D_FILE_OFFSET_BITS=64' \
    306 	'-DNO_TCMALLOC' \
    307 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    308 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    309 	'-DDISABLE_NACL' \
    310 	'-DCHROMIUM_BUILD' \
    311 	'-DUSE_LIBJPEG_TURBO=1' \
    312 	'-DUSE_PROPRIETARY_CODECS' \
    313 	'-DENABLE_CONFIGURATION_POLICY' \
    314 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    315 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    316 	'-DENABLE_GPU=1' \
    317 	'-DUSE_OPENSSL=1' \
    318 	'-DENABLE_EGLIMAGE=1' \
    319 	'-DENABLE_PRINTING=1' \
    320 	'-DWEBKIT_IMPLEMENTATION=1' \
    321 	'-DINSIDE_WEBKIT' \
    322 	'-DENABLE_CSS3_TEXT=0' \
    323 	'-DENABLE_CSS_EXCLUSIONS=1' \
    324 	'-DENABLE_CSS_REGIONS=1' \
    325 	'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
    326 	'-DENABLE_ENCRYPTED_MEDIA_V2=1' \
    327 	'-DENABLE_SVG_FONTS=1' \
    328 	'-DENABLE_TOUCH_ICON_LOADING=1' \
    329 	'-DENABLE_GDI_FONTS_ON_WINDOWS=1' \
    330 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    331 	'-DENABLE_CALENDAR_PICKER=0' \
    332 	'-DENABLE_FAST_MOBILE_SCROLLING=1' \
    333 	'-DENABLE_INPUT_SPEECH=0' \
    334 	'-DENABLE_LEGACY_NOTIFICATIONS=0' \
    335 	'-DENABLE_MEDIA_CAPTURE=1' \
    336 	'-DENABLE_NOTIFICATIONS=0' \
    337 	'-DENABLE_ORIENTATION_EVENTS=1' \
    338 	'-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \
    339 	'-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \
    340 	'-DENABLE_OPENTYPE_VERTICAL=1' \
    341 	'-DWTF_USE_HARFBUZZ=1' \
    342 	'-DU_USING_ICU_NAMESPACE=0' \
    343 	'-D__STDC_CONSTANT_MACROS' \
    344 	'-D__STDC_FORMAT_MACROS' \
    345 	'-DANDROID' \
    346 	'-D__GNU_SOURCE=1' \
    347 	'-DUSE_STLPORT=1' \
    348 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    349 	'-DCHROME_BUILD_ID=""' \
    350 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    351 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    352 	'-D_DEBUG'
    353 
    354 
    355 # Include paths placed before CFLAGS/CPPFLAGS
    356 LOCAL_C_INCLUDES_Debug := \
    357 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    358 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    359 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    360 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    361 	$(LOCAL_PATH)/third_party/WebKit/public/web \
    362 	$(LOCAL_PATH)/third_party/WebKit/Source/web \
    363 	$(LOCAL_PATH)/third_party/angle_dx11/include \
    364 	$(LOCAL_PATH)/third_party/skia/include/utils \
    365 	$(LOCAL_PATH)/third_party/WebKit/public/web/android \
    366 	$(LOCAL_PATH)/third_party/WebKit/public/web/linux \
    367 	$(LOCAL_PATH)/third_party/khronos \
    368 	$(LOCAL_PATH)/gpu \
    369 	$(LOCAL_PATH) \
    370 	$(LOCAL_PATH)/third_party/WebKit \
    371 	$(LOCAL_PATH)/third_party/WebKit/Source \
    372 	$(gyp_shared_intermediate_dir)/blink \
    373 	$(gyp_shared_intermediate_dir)/blink/bindings \
    374 	$(PWD)/external/icu4c/common \
    375 	$(PWD)/external/icu4c/i18n \
    376 	$(LOCAL_PATH)/third_party/qcms/src \
    377 	$(LOCAL_PATH)/third_party/skia/src/core \
    378 	$(LOCAL_PATH)/skia/ext \
    379 	$(LOCAL_PATH)/third_party/npapi \
    380 	$(LOCAL_PATH)/third_party/npapi/bindings \
    381 	$(LOCAL_PATH)/v8/include \
    382 	$(PWD)/frameworks/wilhelm/include \
    383 	$(PWD)/bionic \
    384 	$(PWD)/external/stlport/stlport
    385 
    386 
    387 # Flags passed to only C++ (and not C) files.
    388 LOCAL_CPPFLAGS_Debug := \
    389 	-Wno-c++0x-compat \
    390 	-fno-rtti \
    391 	-fno-threadsafe-statics \
    392 	-fvisibility-inlines-hidden \
    393 	-Wsign-compare \
    394 	-Wno-error=c++0x-compat \
    395 	-Wno-non-virtual-dtor \
    396 	-Wno-sign-promo \
    397 	-Wno-non-virtual-dtor
    398 
    399 
    400 # Flags passed to both C and C++ files.
    401 MY_CFLAGS_Release := \
    402 	--param=ssp-buffer-size=4 \
    403 	-Werror \
    404 	-fno-exceptions \
    405 	-fno-strict-aliasing \
    406 	-Wall \
    407 	-Wno-unused-parameter \
    408 	-Wno-missing-field-initializers \
    409 	-fvisibility=hidden \
    410 	-pipe \
    411 	-fPIC \
    412 	-m32 \
    413 	-mmmx \
    414 	-march=pentium4 \
    415 	-msse2 \
    416 	-mfpmath=sse \
    417 	-fuse-ld=gold \
    418 	-ffunction-sections \
    419 	-funwind-tables \
    420 	-g \
    421 	-fno-short-enums \
    422 	-finline-limit=64 \
    423 	-Wa,--noexecstack \
    424 	-U_FORTIFY_SOURCE \
    425 	-Wno-extra \
    426 	-Wno-ignored-qualifiers \
    427 	-Wno-type-limits \
    428 	-Wno-address \
    429 	-Wno-format-security \
    430 	-Wno-return-type \
    431 	-Wno-sequence-point \
    432 	-fno-stack-protector \
    433 	-Os \
    434 	-fno-ident \
    435 	-fdata-sections \
    436 	-ffunction-sections \
    437 	-fomit-frame-pointer \
    438 	-fno-unwind-tables \
    439 	-fno-asynchronous-unwind-tables
    440 
    441 MY_DEFS_Release := \
    442 	'-DANGLE_DX11' \
    443 	'-D_FILE_OFFSET_BITS=64' \
    444 	'-DNO_TCMALLOC' \
    445 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    446 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    447 	'-DDISABLE_NACL' \
    448 	'-DCHROMIUM_BUILD' \
    449 	'-DUSE_LIBJPEG_TURBO=1' \
    450 	'-DUSE_PROPRIETARY_CODECS' \
    451 	'-DENABLE_CONFIGURATION_POLICY' \
    452 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    453 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    454 	'-DENABLE_GPU=1' \
    455 	'-DUSE_OPENSSL=1' \
    456 	'-DENABLE_EGLIMAGE=1' \
    457 	'-DENABLE_PRINTING=1' \
    458 	'-DWEBKIT_IMPLEMENTATION=1' \
    459 	'-DINSIDE_WEBKIT' \
    460 	'-DENABLE_CSS3_TEXT=0' \
    461 	'-DENABLE_CSS_EXCLUSIONS=1' \
    462 	'-DENABLE_CSS_REGIONS=1' \
    463 	'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
    464 	'-DENABLE_ENCRYPTED_MEDIA_V2=1' \
    465 	'-DENABLE_SVG_FONTS=1' \
    466 	'-DENABLE_TOUCH_ICON_LOADING=1' \
    467 	'-DENABLE_GDI_FONTS_ON_WINDOWS=1' \
    468 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    469 	'-DENABLE_CALENDAR_PICKER=0' \
    470 	'-DENABLE_FAST_MOBILE_SCROLLING=1' \
    471 	'-DENABLE_INPUT_SPEECH=0' \
    472 	'-DENABLE_LEGACY_NOTIFICATIONS=0' \
    473 	'-DENABLE_MEDIA_CAPTURE=1' \
    474 	'-DENABLE_NOTIFICATIONS=0' \
    475 	'-DENABLE_ORIENTATION_EVENTS=1' \
    476 	'-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \
    477 	'-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \
    478 	'-DENABLE_OPENTYPE_VERTICAL=1' \
    479 	'-DWTF_USE_HARFBUZZ=1' \
    480 	'-DU_USING_ICU_NAMESPACE=0' \
    481 	'-D__STDC_CONSTANT_MACROS' \
    482 	'-D__STDC_FORMAT_MACROS' \
    483 	'-DANDROID' \
    484 	'-D__GNU_SOURCE=1' \
    485 	'-DUSE_STLPORT=1' \
    486 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    487 	'-DCHROME_BUILD_ID=""' \
    488 	'-DNDEBUG' \
    489 	'-DNVALGRIND' \
    490 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    491 
    492 
    493 # Include paths placed before CFLAGS/CPPFLAGS
    494 LOCAL_C_INCLUDES_Release := \
    495 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    496 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    497 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    498 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    499 	$(LOCAL_PATH)/third_party/WebKit/public/web \
    500 	$(LOCAL_PATH)/third_party/WebKit/Source/web \
    501 	$(LOCAL_PATH)/third_party/angle_dx11/include \
    502 	$(LOCAL_PATH)/third_party/skia/include/utils \
    503 	$(LOCAL_PATH)/third_party/WebKit/public/web/android \
    504 	$(LOCAL_PATH)/third_party/WebKit/public/web/linux \
    505 	$(LOCAL_PATH)/third_party/khronos \
    506 	$(LOCAL_PATH)/gpu \
    507 	$(LOCAL_PATH) \
    508 	$(LOCAL_PATH)/third_party/WebKit \
    509 	$(LOCAL_PATH)/third_party/WebKit/Source \
    510 	$(gyp_shared_intermediate_dir)/blink \
    511 	$(gyp_shared_intermediate_dir)/blink/bindings \
    512 	$(PWD)/external/icu4c/common \
    513 	$(PWD)/external/icu4c/i18n \
    514 	$(LOCAL_PATH)/third_party/qcms/src \
    515 	$(LOCAL_PATH)/third_party/skia/src/core \
    516 	$(LOCAL_PATH)/skia/ext \
    517 	$(LOCAL_PATH)/third_party/npapi \
    518 	$(LOCAL_PATH)/third_party/npapi/bindings \
    519 	$(LOCAL_PATH)/v8/include \
    520 	$(PWD)/frameworks/wilhelm/include \
    521 	$(PWD)/bionic \
    522 	$(PWD)/external/stlport/stlport
    523 
    524 
    525 # Flags passed to only C++ (and not C) files.
    526 LOCAL_CPPFLAGS_Release := \
    527 	-Wno-c++0x-compat \
    528 	-fno-rtti \
    529 	-fno-threadsafe-statics \
    530 	-fvisibility-inlines-hidden \
    531 	-Wsign-compare \
    532 	-Wno-error=c++0x-compat \
    533 	-Wno-non-virtual-dtor \
    534 	-Wno-sign-promo \
    535 	-Wno-non-virtual-dtor
    536 
    537 
    538 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    539 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    540 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    541 ### Rules for final target.
    542 
    543 LOCAL_LDFLAGS_Debug := \
    544 	-Wl,-z,now \
    545 	-Wl,-z,relro \
    546 	-Wl,-z,noexecstack \
    547 	-fPIC \
    548 	-m32 \
    549 	-fuse-ld=gold \
    550 	-nostdlib \
    551 	-Wl,--no-undefined \
    552 	-Wl,--exclude-libs=ALL \
    553 	-Wl,--fatal-warnings \
    554 	-Wl,--gc-sections \
    555 	-Wl,--warn-shared-textrel \
    556 	-Wl,-O1 \
    557 	-Wl,--as-needed
    558 
    559 
    560 LOCAL_LDFLAGS_Release := \
    561 	-Wl,-z,now \
    562 	-Wl,-z,relro \
    563 	-Wl,-z,noexecstack \
    564 	-fPIC \
    565 	-m32 \
    566 	-fuse-ld=gold \
    567 	-nostdlib \
    568 	-Wl,--no-undefined \
    569 	-Wl,--exclude-libs=ALL \
    570 	-Wl,-O1 \
    571 	-Wl,--as-needed \
    572 	-Wl,--gc-sections \
    573 	-Wl,--fatal-warnings \
    574 	-Wl,--warn-shared-textrel
    575 
    576 
    577 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    578 
    579 LOCAL_STATIC_LIBRARIES := \
    580 	third_party_WebKit_Source_core_webcore_derived_gyp
    581 
    582 # Enable grouping to fix circular references
    583 LOCAL_GROUP_STATIC_LIBRARIES := true
    584 
    585 LOCAL_SHARED_LIBRARIES := \
    586 	libskia \
    587 	libstlport \
    588 	libdl
    589 
    590 # Add target alias to "gyp_all_modules" target.
    591 .PHONY: gyp_all_modules
    592 gyp_all_modules: third_party_WebKit_Source_web_webkit_gyp
    593 
    594 # Alias gyp target name.
    595 .PHONY: webkit
    596 webkit: third_party_WebKit_Source_web_webkit_gyp
    597 
    598 include $(BUILD_STATIC_LIBRARY)
    599