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