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_blink_web_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_config_gyp,,,$(GYP_VAR_PREFIX))/config.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_gyp,,,$(GYP_VAR_PREFIX))/webcore.stamp \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,third_party_WebKit_Source_core_webcore_generated_gyp,,,$(GYP_VAR_PREFIX))/third_party_WebKit_Source_core_webcore_generated_gyp.a \ 18 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 19 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 20 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \ 21 $(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp,,,$(GYP_VAR_PREFIX))/npapi.stamp \ 22 $(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp,,,$(GYP_VAR_PREFIX))/v8.stamp 23 24 ### Rules for action "PickerCommon": 25 $(gyp_shared_intermediate_dir)/blink/PickerCommon.h: gyp_local_path := $(LOCAL_PATH) 26 $(gyp_shared_intermediate_dir)/blink/PickerCommon.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 27 $(gyp_shared_intermediate_dir)/blink/PickerCommon.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 28 $(gyp_shared_intermediate_dir)/blink/PickerCommon.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 29 $(gyp_shared_intermediate_dir)/blink/PickerCommon.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 30 $(gyp_shared_intermediate_dir)/blink/PickerCommon.h: $(LOCAL_PATH)/third_party/WebKit/Source/build/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) 31 @echo "Gyp action: third_party_WebKit_Source_web_web_gyp_blink_web_target_PickerCommon ($@)" 32 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/web; mkdir -p $(gyp_shared_intermediate_dir)/blink; python ../build/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 33 34 $(gyp_shared_intermediate_dir)/blink/PickerCommon.cpp: $(gyp_shared_intermediate_dir)/blink/PickerCommon.h ; 35 36 ### Rules for action "CalendarPicker": 37 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h: gyp_local_path := $(LOCAL_PATH) 38 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 39 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 40 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 41 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 42 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h: $(LOCAL_PATH)/third_party/WebKit/Source/build/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) 43 @echo "Gyp action: third_party_WebKit_Source_web_web_gyp_blink_web_target_CalendarPicker ($@)" 44 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/web; mkdir -p $(gyp_shared_intermediate_dir)/blink; python ../build/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 45 46 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.cpp: $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h ; 47 48 ### Rules for action "ColorSuggestionPicker": 49 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h: gyp_local_path := $(LOCAL_PATH) 50 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 51 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 52 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 53 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 54 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h: $(LOCAL_PATH)/third_party/WebKit/Source/build/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) 55 @echo "Gyp action: third_party_WebKit_Source_web_web_gyp_blink_web_target_ColorSuggestionPicker ($@)" 56 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/web; mkdir -p $(gyp_shared_intermediate_dir)/blink; python ../build/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 57 58 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.cpp: $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h ; 59 60 61 GYP_GENERATED_OUTPUTS := \ 62 $(gyp_shared_intermediate_dir)/blink/PickerCommon.h \ 63 $(gyp_shared_intermediate_dir)/blink/PickerCommon.cpp \ 64 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h \ 65 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.cpp \ 66 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h \ 67 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.cpp 68 69 # Make sure our deps and generated files are built first. 70 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 71 72 $(gyp_intermediate_dir)/PickerCommon.cpp: $(gyp_shared_intermediate_dir)/blink/PickerCommon.cpp 73 mkdir -p $(@D); cp $< $@ 74 $(gyp_intermediate_dir)/CalendarPicker.cpp: $(gyp_shared_intermediate_dir)/blink/CalendarPicker.cpp 75 mkdir -p $(@D); cp $< $@ 76 $(gyp_intermediate_dir)/ColorSuggestionPicker.cpp: $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.cpp 77 mkdir -p $(@D); cp $< $@ 78 LOCAL_GENERATED_SOURCES := \ 79 $(gyp_intermediate_dir)/PickerCommon.cpp \ 80 $(gyp_intermediate_dir)/CalendarPicker.cpp \ 81 $(gyp_intermediate_dir)/ColorSuggestionPicker.cpp \ 82 $(gyp_shared_intermediate_dir)/blink/PickerCommon.h \ 83 $(gyp_shared_intermediate_dir)/blink/CalendarPicker.h \ 84 $(gyp_shared_intermediate_dir)/blink/ColorSuggestionPicker.h 85 86 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 87 $(gyp_shared_intermediate_dir)/blink 88 89 LOCAL_SRC_FILES := \ 90 third_party/WebKit/Source/web/AssertMatchingEnums.cpp \ 91 third_party/WebKit/Source/web/AssociatedURLLoader.cpp \ 92 third_party/WebKit/Source/web/BackForwardClientImpl.cpp \ 93 third_party/WebKit/Source/web/ChromeClientImpl.cpp \ 94 third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp \ 95 third_party/WebKit/Source/web/ColorChooserUIController.cpp \ 96 third_party/WebKit/Source/web/CompositionUnderlineVectorBuilder.cpp \ 97 third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp \ 98 third_party/WebKit/Source/web/ContextMenuClientImpl.cpp \ 99 third_party/WebKit/Source/web/DatabaseClientImpl.cpp \ 100 third_party/WebKit/Source/web/DateTimeChooserImpl.cpp \ 101 third_party/WebKit/Source/web/DragClientImpl.cpp \ 102 third_party/WebKit/Source/web/EditorClientImpl.cpp \ 103 third_party/WebKit/Source/web/EventListenerWrapper.cpp \ 104 third_party/WebKit/Source/web/ExternalDateTimeChooser.cpp \ 105 third_party/WebKit/Source/web/ExternalPopupMenu.cpp \ 106 third_party/WebKit/Source/web/FindInPageCoordinates.cpp \ 107 third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp \ 108 third_party/WebKit/Source/web/FullscreenController.cpp \ 109 third_party/WebKit/Source/web/GeolocationClientProxy.cpp \ 110 third_party/WebKit/Source/web/GraphicsLayerFactoryChromium.cpp \ 111 third_party/WebKit/Source/web/IndexedDBClientImpl.cpp \ 112 third_party/WebKit/Source/web/InspectorClientImpl.cpp \ 113 third_party/WebKit/Source/web/InspectorFrontendClientImpl.cpp \ 114 third_party/WebKit/Source/web/LinkHighlight.cpp \ 115 third_party/WebKit/Source/web/LocalFileSystemClient.cpp \ 116 third_party/WebKit/Source/web/MediaKeysClientImpl.cpp \ 117 third_party/WebKit/Source/web/MIDIClientProxy.cpp \ 118 third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.cpp \ 119 third_party/WebKit/Source/web/NotificationPresenterImpl.cpp \ 120 third_party/WebKit/Source/web/OpenedFrameTracker.cpp \ 121 third_party/WebKit/Source/web/PageOverlay.cpp \ 122 third_party/WebKit/Source/web/PageOverlayList.cpp \ 123 third_party/WebKit/Source/web/PageScaleConstraintsSet.cpp \ 124 third_party/WebKit/Source/web/PageWidgetDelegate.cpp \ 125 third_party/WebKit/Source/web/PopupContainer.cpp \ 126 third_party/WebKit/Source/web/PopupListBox.cpp \ 127 third_party/WebKit/Source/web/PopupMenuChromium.cpp \ 128 third_party/WebKit/Source/web/PrerendererClientImpl.cpp \ 129 third_party/WebKit/Source/web/RemoteFrameClient.cpp \ 130 third_party/WebKit/Source/web/ScrollbarGroup.cpp \ 131 third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp \ 132 third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp \ 133 third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.cpp \ 134 third_party/WebKit/Source/web/SpeechRecognitionClientProxy.cpp \ 135 third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp \ 136 third_party/WebKit/Source/web/StorageClientImpl.cpp \ 137 third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp \ 138 third_party/WebKit/Source/web/TextFinder.cpp \ 139 third_party/WebKit/Source/web/UserMediaClientImpl.cpp \ 140 third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp \ 141 third_party/WebKit/Source/web/ViewportAnchor.cpp \ 142 third_party/WebKit/Source/web/WebAXObject.cpp \ 143 third_party/WebKit/Source/web/WebArrayBufferConverter.cpp \ 144 third_party/WebKit/Source/web/WebArrayBufferView.cpp \ 145 third_party/WebKit/Source/web/WebBindings.cpp \ 146 third_party/WebKit/Source/web/WebBlob.cpp \ 147 third_party/WebKit/Source/web/WebCache.cpp \ 148 third_party/WebKit/Source/web/WebCachedURLRequest.cpp \ 149 third_party/WebKit/Source/web/WebColorName.cpp \ 150 third_party/WebKit/Source/web/WebColorSuggestion.cpp \ 151 third_party/WebKit/Source/web/WebCryptoNormalize.cpp \ 152 third_party/WebKit/Source/web/WebCustomElement.cpp \ 153 third_party/WebKit/Source/web/WebDOMActivityLogger.cpp \ 154 third_party/WebKit/Source/web/WebDOMCustomEvent.cpp \ 155 third_party/WebKit/Source/web/WebDOMError.cpp \ 156 third_party/WebKit/Source/web/WebDOMEvent.cpp \ 157 third_party/WebKit/Source/web/WebDOMEventListener.cpp \ 158 third_party/WebKit/Source/web/WebDOMEventListenerPrivate.cpp \ 159 third_party/WebKit/Source/web/WebDOMFileSystem.cpp \ 160 third_party/WebKit/Source/web/WebDOMMediaStreamTrack.cpp \ 161 third_party/WebKit/Source/web/WebDOMMessageEvent.cpp \ 162 third_party/WebKit/Source/web/WebDOMMouseEvent.cpp \ 163 third_party/WebKit/Source/web/WebDOMProgressEvent.cpp \ 164 third_party/WebKit/Source/web/WebDOMResourceProgressEvent.cpp \ 165 third_party/WebKit/Source/web/WebDateTimeSuggestion.cpp \ 166 third_party/WebKit/Source/web/WebDataSourceImpl.cpp \ 167 third_party/WebKit/Source/web/WebDatabase.cpp \ 168 third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp \ 169 third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp \ 170 third_party/WebKit/Source/web/WebDocument.cpp \ 171 third_party/WebKit/Source/web/WebDocumentType.cpp \ 172 third_party/WebKit/Source/web/WebDragData.cpp \ 173 third_party/WebKit/Source/web/WebElement.cpp \ 174 third_party/WebKit/Source/web/WebElementCollection.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/WebFontDescription.cpp \ 179 third_party/WebKit/Source/web/WebFontImpl.cpp \ 180 third_party/WebKit/Source/web/WebFormControlElement.cpp \ 181 third_party/WebKit/Source/web/WebFormElement.cpp \ 182 third_party/WebKit/Source/web/WebFrame.cpp \ 183 third_party/WebKit/Source/web/WebGeolocationController.cpp \ 184 third_party/WebKit/Source/web/WebGeolocationError.cpp \ 185 third_party/WebKit/Source/web/WebGeolocationPermissionRequest.cpp \ 186 third_party/WebKit/Source/web/WebGeolocationPermissionRequestManager.cpp \ 187 third_party/WebKit/Source/web/WebGeolocationPosition.cpp \ 188 third_party/WebKit/Source/web/WebGlyphCache.cpp \ 189 third_party/WebKit/Source/web/WebHeap.cpp \ 190 third_party/WebKit/Source/web/WebHelperPluginImpl.cpp \ 191 third_party/WebKit/Source/web/WebHistoryItem.cpp \ 192 third_party/WebKit/Source/web/WebHitTestResult.cpp \ 193 third_party/WebKit/Source/web/WebIDBDatabaseError.cpp \ 194 third_party/WebKit/Source/web/WebIDBKey.cpp \ 195 third_party/WebKit/Source/web/WebIDBKeyPath.cpp \ 196 third_party/WebKit/Source/web/WebIDBKeyRange.cpp \ 197 third_party/WebKit/Source/web/WebIDBMetadata.cpp \ 198 third_party/WebKit/Source/web/WebImageCache.cpp \ 199 third_party/WebKit/Source/web/WebImageDecoder.cpp \ 200 third_party/WebKit/Source/web/WebInputElement.cpp \ 201 third_party/WebKit/Source/web/WebInputEvent.cpp \ 202 third_party/WebKit/Source/web/WebInputEventConversion.cpp \ 203 third_party/WebKit/Source/web/WebKit.cpp \ 204 third_party/WebKit/Source/web/WebLabelElement.cpp \ 205 third_party/WebKit/Source/web/WebLeakDetector.cpp \ 206 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp \ 207 third_party/WebKit/Source/web/WebMIDIClientMock.cpp \ 208 third_party/WebKit/Source/web/WebMIDIPermissionRequest.cpp \ 209 third_party/WebKit/Source/web/WebMediaDevicesRequest.cpp \ 210 third_party/WebKit/Source/web/WebMediaPlayerClientImpl.cpp \ 211 third_party/WebKit/Source/web/WebMediaStreamRegistry.cpp \ 212 third_party/WebKit/Source/web/WebNetworkStateNotifier.cpp \ 213 third_party/WebKit/Source/web/WebNode.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/WebPerformance.cpp \ 221 third_party/WebKit/Source/web/WebPluginContainerImpl.cpp \ 222 third_party/WebKit/Source/web/WebPluginDocument.cpp \ 223 third_party/WebKit/Source/web/WebPluginLoadObserver.cpp \ 224 third_party/WebKit/Source/web/WebPluginScrollbarImpl.cpp \ 225 third_party/WebKit/Source/web/WebPopupMenuImpl.cpp \ 226 third_party/WebKit/Source/web/WebRange.cpp \ 227 third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp \ 228 third_party/WebKit/Source/web/WebRuntimeFeatures.cpp \ 229 third_party/WebKit/Source/web/WebScopedMicrotaskSuppression.cpp \ 230 third_party/WebKit/Source/web/WebScopedUserGesture.cpp \ 231 third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.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/WebSpeechRecognitionHandle.cpp \ 247 third_party/WebKit/Source/web/WebSpeechRecognitionResult.cpp \ 248 third_party/WebKit/Source/web/WebStorageEventDispatcherImpl.cpp \ 249 third_party/WebKit/Source/web/WebSurroundingText.cpp \ 250 third_party/WebKit/Source/web/WebTextAreaElement.cpp \ 251 third_party/WebKit/Source/web/WebTextCheckingCompletionImpl.cpp \ 252 third_party/WebKit/Source/web/WebTextCheckingResult.cpp \ 253 third_party/WebKit/Source/web/WebTextInputInfo.cpp \ 254 third_party/WebKit/Source/web/WebTextRun.cpp \ 255 third_party/WebKit/Source/web/WebUserGestureIndicator.cpp \ 256 third_party/WebKit/Source/web/WebUserGestureToken.cpp \ 257 third_party/WebKit/Source/web/WebUserMediaRequest.cpp \ 258 third_party/WebKit/Source/web/WebViewImpl.cpp \ 259 third_party/WebKit/Source/web/WebWorkerInfo.cpp \ 260 third_party/WebKit/Source/web/WebWorkerRunLoop.cpp \ 261 third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp \ 262 third_party/WebKit/Source/web/WorkerPermissionClient.cpp \ 263 third_party/WebKit/Source/web/linux/WebFontRendering.cpp \ 264 third_party/WebKit/Source/web/painting/ContinuousPainter.cpp \ 265 third_party/WebKit/Source/web/painting/PaintAggregator.cpp 266 267 268 # Flags passed to both C and C++ files. 269 MY_CFLAGS_Debug := \ 270 -fstack-protector \ 271 --param=ssp-buffer-size=4 \ 272 -Werror \ 273 -fno-exceptions \ 274 -fno-strict-aliasing \ 275 -Wall \ 276 -Wno-unused-parameter \ 277 -Wno-missing-field-initializers \ 278 -fvisibility=hidden \ 279 -pipe \ 280 -fPIC \ 281 -Wno-unused-local-typedefs \ 282 -fno-tree-sra \ 283 -fno-partial-inlining \ 284 -fno-early-inlining \ 285 -fno-tree-copy-prop \ 286 -fno-tree-loop-optimize \ 287 -fno-move-loop-invariants \ 288 -fno-caller-saves \ 289 -Wno-psabi \ 290 -ffunction-sections \ 291 -funwind-tables \ 292 -g \ 293 -fstack-protector \ 294 -fno-short-enums \ 295 -finline-limit=64 \ 296 -Wa,--noexecstack \ 297 -U_FORTIFY_SOURCE \ 298 -Wno-extra \ 299 -Wno-ignored-qualifiers \ 300 -Wno-type-limits \ 301 -Wno-unused-but-set-variable \ 302 -Os \ 303 -g \ 304 -fdata-sections \ 305 -ffunction-sections \ 306 -fomit-frame-pointer \ 307 -funwind-tables 308 309 MY_DEFS_Debug := \ 310 '-DV8_DEPRECATION_WARNINGS' \ 311 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 312 '-D_FILE_OFFSET_BITS=64' \ 313 '-DNO_TCMALLOC' \ 314 '-DDISABLE_NACL' \ 315 '-DCHROMIUM_BUILD' \ 316 '-DUSE_LIBJPEG_TURBO=1' \ 317 '-DENABLE_WEBRTC=1' \ 318 '-DUSE_PROPRIETARY_CODECS' \ 319 '-DENABLE_BROWSER_CDMS' \ 320 '-DENABLE_CONFIGURATION_POLICY' \ 321 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 322 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 323 '-DENABLE_EGLIMAGE=1' \ 324 '-DCLD_VERSION=1' \ 325 '-DENABLE_PRINTING=1' \ 326 '-DENABLE_MANAGED_USERS=1' \ 327 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 328 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 329 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 330 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 331 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 332 '-DVIDEO_HOLE=1' \ 333 '-DBLINK_IMPLEMENTATION=1' \ 334 '-DINSIDE_BLINK' \ 335 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 336 '-DENABLE_SVG_FONTS=1' \ 337 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 338 '-DENABLE_MEDIA_CAPTURE=1' \ 339 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 340 '-DENABLE_WEB_AUDIO=1' \ 341 '-DENABLE_OPENTYPE_VERTICAL=1' \ 342 '-DU_USING_ICU_NAMESPACE=0' \ 343 '-DSK_ENABLE_INST_COUNT=0' \ 344 '-DSK_SUPPORT_GPU=1' \ 345 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 346 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 347 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 348 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 349 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 350 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 351 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 352 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 353 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 354 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 355 '-DSK_IGNORE_ETC1_SUPPORT' \ 356 '-DSK_IGNORE_GPU_DITHER' \ 357 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 358 '-DSK_BUILD_FOR_ANDROID' \ 359 '-DSK_USE_POSIX_THREADS' \ 360 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 361 '-DUSE_OPENSSL=1' \ 362 '-DUSE_OPENSSL_CERTS=1' \ 363 '-D__STDC_CONSTANT_MACROS' \ 364 '-D__STDC_FORMAT_MACROS' \ 365 '-DANDROID' \ 366 '-D__GNU_SOURCE=1' \ 367 '-DUSE_STLPORT=1' \ 368 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 369 '-DCHROME_BUILD_ID=""' \ 370 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 371 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 372 '-D_DEBUG' 373 374 375 # Include paths placed before CFLAGS/CPPFLAGS 376 LOCAL_C_INCLUDES_Debug := \ 377 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 378 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 379 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 380 $(gyp_shared_intermediate_dir) \ 381 $(LOCAL_PATH)/third_party/angle/include \ 382 $(LOCAL_PATH)/third_party/skia/include/utils \ 383 $(LOCAL_PATH)/third_party/WebKit/Source \ 384 $(LOCAL_PATH) \ 385 $(LOCAL_PATH)/skia/config \ 386 $(LOCAL_PATH)/third_party/khronos \ 387 $(LOCAL_PATH)/gpu \ 388 $(LOCAL_PATH)/third_party/WebKit \ 389 $(gyp_shared_intermediate_dir)/blink/core \ 390 $(gyp_shared_intermediate_dir)/blink/modules \ 391 $(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \ 392 $(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \ 393 $(gyp_shared_intermediate_dir)/blink \ 394 $(LOCAL_PATH)/third_party/openmax_dl \ 395 $(PWD)/external/icu/icu4c/source/common \ 396 $(PWD)/external/icu/icu4c/source/i18n \ 397 $(LOCAL_PATH)/third_party/qcms/src \ 398 $(LOCAL_PATH)/third_party/skia/src/core \ 399 $(LOCAL_PATH)/third_party/skia/include/core \ 400 $(LOCAL_PATH)/third_party/skia/include/effects \ 401 $(LOCAL_PATH)/third_party/skia/include/pdf \ 402 $(LOCAL_PATH)/third_party/skia/include/gpu \ 403 $(LOCAL_PATH)/third_party/skia/include/lazy \ 404 $(LOCAL_PATH)/third_party/skia/include/pathops \ 405 $(LOCAL_PATH)/third_party/skia/include/pipe \ 406 $(LOCAL_PATH)/third_party/skia/include/ports \ 407 $(LOCAL_PATH)/skia/ext \ 408 $(LOCAL_PATH)/third_party/npapi \ 409 $(LOCAL_PATH)/third_party/npapi/bindings \ 410 $(LOCAL_PATH)/v8/include \ 411 $(PWD)/frameworks/wilhelm/include \ 412 $(PWD)/bionic \ 413 $(PWD)/external/stlport/stlport 414 415 416 # Flags passed to only C++ (and not C) files. 417 LOCAL_CPPFLAGS_Debug := \ 418 -Wno-c++0x-compat \ 419 -fno-rtti \ 420 -fno-threadsafe-statics \ 421 -fvisibility-inlines-hidden \ 422 -Wsign-compare \ 423 -Wno-c++0x-compat \ 424 -Wno-abi \ 425 -Wno-non-virtual-dtor \ 426 -Wno-sign-promo 427 428 429 LOCAL_FDO_SUPPORT_Debug := false 430 431 # Flags passed to both C and C++ files. 432 MY_CFLAGS_Release := \ 433 -fstack-protector \ 434 --param=ssp-buffer-size=4 \ 435 -Werror \ 436 -fno-exceptions \ 437 -fno-strict-aliasing \ 438 -Wall \ 439 -Wno-unused-parameter \ 440 -Wno-missing-field-initializers \ 441 -fvisibility=hidden \ 442 -pipe \ 443 -fPIC \ 444 -Wno-unused-local-typedefs \ 445 -fno-tree-sra \ 446 -fno-partial-inlining \ 447 -fno-early-inlining \ 448 -fno-tree-copy-prop \ 449 -fno-tree-loop-optimize \ 450 -fno-move-loop-invariants \ 451 -fno-caller-saves \ 452 -Wno-psabi \ 453 -ffunction-sections \ 454 -funwind-tables \ 455 -g \ 456 -fstack-protector \ 457 -fno-short-enums \ 458 -finline-limit=64 \ 459 -Wa,--noexecstack \ 460 -U_FORTIFY_SOURCE \ 461 -Wno-extra \ 462 -Wno-ignored-qualifiers \ 463 -Wno-type-limits \ 464 -Wno-unused-but-set-variable \ 465 -Os \ 466 -fno-ident \ 467 -fdata-sections \ 468 -ffunction-sections \ 469 -fomit-frame-pointer \ 470 -funwind-tables 471 472 MY_DEFS_Release := \ 473 '-DV8_DEPRECATION_WARNINGS' \ 474 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 475 '-D_FILE_OFFSET_BITS=64' \ 476 '-DNO_TCMALLOC' \ 477 '-DDISABLE_NACL' \ 478 '-DCHROMIUM_BUILD' \ 479 '-DUSE_LIBJPEG_TURBO=1' \ 480 '-DENABLE_WEBRTC=1' \ 481 '-DUSE_PROPRIETARY_CODECS' \ 482 '-DENABLE_BROWSER_CDMS' \ 483 '-DENABLE_CONFIGURATION_POLICY' \ 484 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 485 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 486 '-DENABLE_EGLIMAGE=1' \ 487 '-DCLD_VERSION=1' \ 488 '-DENABLE_PRINTING=1' \ 489 '-DENABLE_MANAGED_USERS=1' \ 490 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 491 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 492 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 493 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 494 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 495 '-DVIDEO_HOLE=1' \ 496 '-DBLINK_IMPLEMENTATION=1' \ 497 '-DINSIDE_BLINK' \ 498 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 499 '-DENABLE_SVG_FONTS=1' \ 500 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 501 '-DENABLE_MEDIA_CAPTURE=1' \ 502 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 503 '-DENABLE_WEB_AUDIO=1' \ 504 '-DENABLE_OPENTYPE_VERTICAL=1' \ 505 '-DU_USING_ICU_NAMESPACE=0' \ 506 '-DSK_ENABLE_INST_COUNT=0' \ 507 '-DSK_SUPPORT_GPU=1' \ 508 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 509 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 510 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 511 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 512 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 513 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 514 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 515 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 516 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 517 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 518 '-DSK_IGNORE_ETC1_SUPPORT' \ 519 '-DSK_IGNORE_GPU_DITHER' \ 520 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 521 '-DSK_BUILD_FOR_ANDROID' \ 522 '-DSK_USE_POSIX_THREADS' \ 523 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 524 '-DUSE_OPENSSL=1' \ 525 '-DUSE_OPENSSL_CERTS=1' \ 526 '-D__STDC_CONSTANT_MACROS' \ 527 '-D__STDC_FORMAT_MACROS' \ 528 '-DANDROID' \ 529 '-D__GNU_SOURCE=1' \ 530 '-DUSE_STLPORT=1' \ 531 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 532 '-DCHROME_BUILD_ID=""' \ 533 '-DNDEBUG' \ 534 '-DNVALGRIND' \ 535 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 536 '-D_FORTIFY_SOURCE=2' 537 538 539 # Include paths placed before CFLAGS/CPPFLAGS 540 LOCAL_C_INCLUDES_Release := \ 541 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 542 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 543 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 544 $(gyp_shared_intermediate_dir) \ 545 $(LOCAL_PATH)/third_party/angle/include \ 546 $(LOCAL_PATH)/third_party/skia/include/utils \ 547 $(LOCAL_PATH)/third_party/WebKit/Source \ 548 $(LOCAL_PATH) \ 549 $(LOCAL_PATH)/skia/config \ 550 $(LOCAL_PATH)/third_party/khronos \ 551 $(LOCAL_PATH)/gpu \ 552 $(LOCAL_PATH)/third_party/WebKit \ 553 $(gyp_shared_intermediate_dir)/blink/core \ 554 $(gyp_shared_intermediate_dir)/blink/modules \ 555 $(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \ 556 $(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \ 557 $(gyp_shared_intermediate_dir)/blink \ 558 $(LOCAL_PATH)/third_party/openmax_dl \ 559 $(PWD)/external/icu/icu4c/source/common \ 560 $(PWD)/external/icu/icu4c/source/i18n \ 561 $(LOCAL_PATH)/third_party/qcms/src \ 562 $(LOCAL_PATH)/third_party/skia/src/core \ 563 $(LOCAL_PATH)/third_party/skia/include/core \ 564 $(LOCAL_PATH)/third_party/skia/include/effects \ 565 $(LOCAL_PATH)/third_party/skia/include/pdf \ 566 $(LOCAL_PATH)/third_party/skia/include/gpu \ 567 $(LOCAL_PATH)/third_party/skia/include/lazy \ 568 $(LOCAL_PATH)/third_party/skia/include/pathops \ 569 $(LOCAL_PATH)/third_party/skia/include/pipe \ 570 $(LOCAL_PATH)/third_party/skia/include/ports \ 571 $(LOCAL_PATH)/skia/ext \ 572 $(LOCAL_PATH)/third_party/npapi \ 573 $(LOCAL_PATH)/third_party/npapi/bindings \ 574 $(LOCAL_PATH)/v8/include \ 575 $(PWD)/frameworks/wilhelm/include \ 576 $(PWD)/bionic \ 577 $(PWD)/external/stlport/stlport 578 579 580 # Flags passed to only C++ (and not C) files. 581 LOCAL_CPPFLAGS_Release := \ 582 -Wno-c++0x-compat \ 583 -fno-rtti \ 584 -fno-threadsafe-statics \ 585 -fvisibility-inlines-hidden \ 586 -Wsign-compare \ 587 -Wno-c++0x-compat \ 588 -Wno-abi \ 589 -Wno-non-virtual-dtor \ 590 -Wno-sign-promo 591 592 593 LOCAL_FDO_SUPPORT_Release := false 594 595 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 596 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 597 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 598 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 599 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 600 ### Rules for final target. 601 602 LOCAL_LDFLAGS_Debug := \ 603 -Wl,-z,now \ 604 -Wl,-z,relro \ 605 -Wl,--fatal-warnings \ 606 -Wl,-z,noexecstack \ 607 -fPIC \ 608 -Wl,-z,relro \ 609 -Wl,-z,now \ 610 -fuse-ld=gold \ 611 -nostdlib \ 612 -Wl,--no-undefined \ 613 -Wl,--exclude-libs=ALL \ 614 -Wl,--icf=safe \ 615 -Wl,--warn-shared-textrel \ 616 -Wl,-O1 \ 617 -Wl,--as-needed 618 619 620 LOCAL_LDFLAGS_Release := \ 621 -Wl,-z,now \ 622 -Wl,-z,relro \ 623 -Wl,--fatal-warnings \ 624 -Wl,-z,noexecstack \ 625 -fPIC \ 626 -Wl,-z,relro \ 627 -Wl,-z,now \ 628 -fuse-ld=gold \ 629 -nostdlib \ 630 -Wl,--no-undefined \ 631 -Wl,--exclude-libs=ALL \ 632 -Wl,--icf=safe \ 633 -Wl,-O1 \ 634 -Wl,--as-needed \ 635 -Wl,--gc-sections \ 636 -Wl,--warn-shared-textrel 637 638 639 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 640 641 LOCAL_STATIC_LIBRARIES := \ 642 third_party_WebKit_Source_core_webcore_generated_gyp \ 643 skia_skia_library_gyp 644 645 # Enable grouping to fix circular references 646 LOCAL_GROUP_STATIC_LIBRARIES := true 647 648 LOCAL_SHARED_LIBRARIES := \ 649 libstlport \ 650 libdl 651 652 # Add target alias to "gyp_all_modules" target. 653 .PHONY: gyp_all_modules 654 gyp_all_modules: third_party_WebKit_Source_web_blink_web_gyp 655 656 # Alias gyp target name. 657 .PHONY: blink_web 658 blink_web: third_party_WebKit_Source_web_blink_web_gyp 659 660 include $(BUILD_STATIC_LIBRARY) 661