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 --param=ssp-buffer-size=4 \ 271 -Werror \ 272 -fno-exceptions \ 273 -fno-strict-aliasing \ 274 -Wall \ 275 -Wno-unused-parameter \ 276 -Wno-missing-field-initializers \ 277 -fvisibility=hidden \ 278 -pipe \ 279 -fPIC \ 280 -Wno-unused-local-typedefs \ 281 -ffunction-sections \ 282 -funwind-tables \ 283 -g \ 284 -fno-short-enums \ 285 -finline-limit=64 \ 286 -Wa,--noexecstack \ 287 -U_FORTIFY_SOURCE \ 288 -Wno-extra \ 289 -Wno-ignored-qualifiers \ 290 -Wno-type-limits \ 291 -Wno-unused-but-set-variable \ 292 -Os \ 293 -g \ 294 -fdata-sections \ 295 -ffunction-sections \ 296 -funwind-tables 297 298 MY_DEFS_Debug := \ 299 '-DV8_DEPRECATION_WARNINGS' \ 300 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 301 '-D_FILE_OFFSET_BITS=64' \ 302 '-DNO_TCMALLOC' \ 303 '-DDISABLE_NACL' \ 304 '-DCHROMIUM_BUILD' \ 305 '-DUSE_LIBJPEG_TURBO=1' \ 306 '-DENABLE_WEBRTC=1' \ 307 '-DUSE_PROPRIETARY_CODECS' \ 308 '-DENABLE_BROWSER_CDMS' \ 309 '-DENABLE_CONFIGURATION_POLICY' \ 310 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 311 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 312 '-DENABLE_EGLIMAGE=1' \ 313 '-DCLD_VERSION=1' \ 314 '-DENABLE_PRINTING=1' \ 315 '-DENABLE_MANAGED_USERS=1' \ 316 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 317 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 318 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 319 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 320 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 321 '-DVIDEO_HOLE=1' \ 322 '-DBLINK_IMPLEMENTATION=1' \ 323 '-DINSIDE_BLINK' \ 324 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 325 '-DENABLE_SVG_FONTS=1' \ 326 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 327 '-DENABLE_MEDIA_CAPTURE=1' \ 328 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 329 '-DENABLE_WEB_AUDIO=1' \ 330 '-DENABLE_OPENTYPE_VERTICAL=1' \ 331 '-DU_USING_ICU_NAMESPACE=0' \ 332 '-DSK_ENABLE_INST_COUNT=0' \ 333 '-DSK_SUPPORT_GPU=1' \ 334 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 335 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 336 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 337 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 338 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 339 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 340 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 341 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 342 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 343 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 344 '-DSK_IGNORE_ETC1_SUPPORT' \ 345 '-DSK_IGNORE_GPU_DITHER' \ 346 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 347 '-DSK_BUILD_FOR_ANDROID' \ 348 '-DSK_USE_POSIX_THREADS' \ 349 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 350 '-DUSE_OPENSSL=1' \ 351 '-DUSE_OPENSSL_CERTS=1' \ 352 '-D__STDC_CONSTANT_MACROS' \ 353 '-D__STDC_FORMAT_MACROS' \ 354 '-DANDROID' \ 355 '-D__GNU_SOURCE=1' \ 356 '-DUSE_STLPORT=1' \ 357 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 358 '-DCHROME_BUILD_ID=""' \ 359 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 360 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 361 '-D_DEBUG' 362 363 364 # Include paths placed before CFLAGS/CPPFLAGS 365 LOCAL_C_INCLUDES_Debug := \ 366 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 367 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 368 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 369 $(gyp_shared_intermediate_dir) \ 370 $(LOCAL_PATH)/third_party/angle/include \ 371 $(LOCAL_PATH)/third_party/skia/include/utils \ 372 $(LOCAL_PATH)/third_party/WebKit/Source \ 373 $(LOCAL_PATH) \ 374 $(LOCAL_PATH)/skia/config \ 375 $(LOCAL_PATH)/third_party/khronos \ 376 $(LOCAL_PATH)/gpu \ 377 $(LOCAL_PATH)/third_party/WebKit \ 378 $(gyp_shared_intermediate_dir)/blink/core \ 379 $(gyp_shared_intermediate_dir)/blink/modules \ 380 $(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \ 381 $(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \ 382 $(gyp_shared_intermediate_dir)/blink \ 383 $(LOCAL_PATH)/third_party/openmax_dl \ 384 $(PWD)/external/icu/icu4c/source/common \ 385 $(PWD)/external/icu/icu4c/source/i18n \ 386 $(LOCAL_PATH)/third_party/qcms/src \ 387 $(LOCAL_PATH)/third_party/skia/src/core \ 388 $(LOCAL_PATH)/third_party/skia/include/core \ 389 $(LOCAL_PATH)/third_party/skia/include/effects \ 390 $(LOCAL_PATH)/third_party/skia/include/pdf \ 391 $(LOCAL_PATH)/third_party/skia/include/gpu \ 392 $(LOCAL_PATH)/third_party/skia/include/lazy \ 393 $(LOCAL_PATH)/third_party/skia/include/pathops \ 394 $(LOCAL_PATH)/third_party/skia/include/pipe \ 395 $(LOCAL_PATH)/third_party/skia/include/ports \ 396 $(LOCAL_PATH)/skia/ext \ 397 $(LOCAL_PATH)/third_party/npapi \ 398 $(LOCAL_PATH)/third_party/npapi/bindings \ 399 $(LOCAL_PATH)/v8/include \ 400 $(PWD)/frameworks/wilhelm/include \ 401 $(PWD)/bionic \ 402 $(PWD)/external/stlport/stlport 403 404 405 # Flags passed to only C++ (and not C) files. 406 LOCAL_CPPFLAGS_Debug := \ 407 -Wno-c++0x-compat \ 408 -fno-rtti \ 409 -fno-threadsafe-statics \ 410 -fvisibility-inlines-hidden \ 411 -Wsign-compare \ 412 -Wno-c++0x-compat \ 413 -Wno-non-virtual-dtor \ 414 -Wno-sign-promo 415 416 417 LOCAL_FDO_SUPPORT_Debug := false 418 419 # Flags passed to both C and C++ files. 420 MY_CFLAGS_Release := \ 421 --param=ssp-buffer-size=4 \ 422 -Werror \ 423 -fno-exceptions \ 424 -fno-strict-aliasing \ 425 -Wall \ 426 -Wno-unused-parameter \ 427 -Wno-missing-field-initializers \ 428 -fvisibility=hidden \ 429 -pipe \ 430 -fPIC \ 431 -Wno-unused-local-typedefs \ 432 -ffunction-sections \ 433 -funwind-tables \ 434 -g \ 435 -fno-short-enums \ 436 -finline-limit=64 \ 437 -Wa,--noexecstack \ 438 -U_FORTIFY_SOURCE \ 439 -Wno-extra \ 440 -Wno-ignored-qualifiers \ 441 -Wno-type-limits \ 442 -Wno-unused-but-set-variable \ 443 -Os \ 444 -fno-ident \ 445 -fdata-sections \ 446 -ffunction-sections \ 447 -funwind-tables 448 449 MY_DEFS_Release := \ 450 '-DV8_DEPRECATION_WARNINGS' \ 451 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 452 '-D_FILE_OFFSET_BITS=64' \ 453 '-DNO_TCMALLOC' \ 454 '-DDISABLE_NACL' \ 455 '-DCHROMIUM_BUILD' \ 456 '-DUSE_LIBJPEG_TURBO=1' \ 457 '-DENABLE_WEBRTC=1' \ 458 '-DUSE_PROPRIETARY_CODECS' \ 459 '-DENABLE_BROWSER_CDMS' \ 460 '-DENABLE_CONFIGURATION_POLICY' \ 461 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 462 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 463 '-DENABLE_EGLIMAGE=1' \ 464 '-DCLD_VERSION=1' \ 465 '-DENABLE_PRINTING=1' \ 466 '-DENABLE_MANAGED_USERS=1' \ 467 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 468 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 469 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 470 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 471 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 472 '-DVIDEO_HOLE=1' \ 473 '-DBLINK_IMPLEMENTATION=1' \ 474 '-DINSIDE_BLINK' \ 475 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 476 '-DENABLE_SVG_FONTS=1' \ 477 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 478 '-DENABLE_MEDIA_CAPTURE=1' \ 479 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 480 '-DENABLE_WEB_AUDIO=1' \ 481 '-DENABLE_OPENTYPE_VERTICAL=1' \ 482 '-DU_USING_ICU_NAMESPACE=0' \ 483 '-DSK_ENABLE_INST_COUNT=0' \ 484 '-DSK_SUPPORT_GPU=1' \ 485 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 486 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 487 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 488 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 489 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 490 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 491 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 492 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 493 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 494 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 495 '-DSK_IGNORE_ETC1_SUPPORT' \ 496 '-DSK_IGNORE_GPU_DITHER' \ 497 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 498 '-DSK_BUILD_FOR_ANDROID' \ 499 '-DSK_USE_POSIX_THREADS' \ 500 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 501 '-DUSE_OPENSSL=1' \ 502 '-DUSE_OPENSSL_CERTS=1' \ 503 '-D__STDC_CONSTANT_MACROS' \ 504 '-D__STDC_FORMAT_MACROS' \ 505 '-DANDROID' \ 506 '-D__GNU_SOURCE=1' \ 507 '-DUSE_STLPORT=1' \ 508 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 509 '-DCHROME_BUILD_ID=""' \ 510 '-DNDEBUG' \ 511 '-DNVALGRIND' \ 512 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 513 '-D_FORTIFY_SOURCE=2' 514 515 516 # Include paths placed before CFLAGS/CPPFLAGS 517 LOCAL_C_INCLUDES_Release := \ 518 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 519 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 520 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 521 $(gyp_shared_intermediate_dir) \ 522 $(LOCAL_PATH)/third_party/angle/include \ 523 $(LOCAL_PATH)/third_party/skia/include/utils \ 524 $(LOCAL_PATH)/third_party/WebKit/Source \ 525 $(LOCAL_PATH) \ 526 $(LOCAL_PATH)/skia/config \ 527 $(LOCAL_PATH)/third_party/khronos \ 528 $(LOCAL_PATH)/gpu \ 529 $(LOCAL_PATH)/third_party/WebKit \ 530 $(gyp_shared_intermediate_dir)/blink/core \ 531 $(gyp_shared_intermediate_dir)/blink/modules \ 532 $(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \ 533 $(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \ 534 $(gyp_shared_intermediate_dir)/blink \ 535 $(LOCAL_PATH)/third_party/openmax_dl \ 536 $(PWD)/external/icu/icu4c/source/common \ 537 $(PWD)/external/icu/icu4c/source/i18n \ 538 $(LOCAL_PATH)/third_party/qcms/src \ 539 $(LOCAL_PATH)/third_party/skia/src/core \ 540 $(LOCAL_PATH)/third_party/skia/include/core \ 541 $(LOCAL_PATH)/third_party/skia/include/effects \ 542 $(LOCAL_PATH)/third_party/skia/include/pdf \ 543 $(LOCAL_PATH)/third_party/skia/include/gpu \ 544 $(LOCAL_PATH)/third_party/skia/include/lazy \ 545 $(LOCAL_PATH)/third_party/skia/include/pathops \ 546 $(LOCAL_PATH)/third_party/skia/include/pipe \ 547 $(LOCAL_PATH)/third_party/skia/include/ports \ 548 $(LOCAL_PATH)/skia/ext \ 549 $(LOCAL_PATH)/third_party/npapi \ 550 $(LOCAL_PATH)/third_party/npapi/bindings \ 551 $(LOCAL_PATH)/v8/include \ 552 $(PWD)/frameworks/wilhelm/include \ 553 $(PWD)/bionic \ 554 $(PWD)/external/stlport/stlport 555 556 557 # Flags passed to only C++ (and not C) files. 558 LOCAL_CPPFLAGS_Release := \ 559 -Wno-c++0x-compat \ 560 -fno-rtti \ 561 -fno-threadsafe-statics \ 562 -fvisibility-inlines-hidden \ 563 -Wsign-compare \ 564 -Wno-c++0x-compat \ 565 -Wno-non-virtual-dtor \ 566 -Wno-sign-promo 567 568 569 LOCAL_FDO_SUPPORT_Release := false 570 571 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 572 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 573 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 574 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 575 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 576 ### Rules for final target. 577 578 LOCAL_LDFLAGS_Debug := \ 579 -Wl,-z,now \ 580 -Wl,-z,relro \ 581 -Wl,--fatal-warnings \ 582 -Wl,-z,noexecstack \ 583 -fPIC \ 584 -nostdlib \ 585 -Wl,--no-undefined \ 586 -Wl,--exclude-libs=ALL \ 587 -Wl,--warn-shared-textrel \ 588 -Wl,-O1 \ 589 -Wl,--as-needed 590 591 592 LOCAL_LDFLAGS_Release := \ 593 -Wl,-z,now \ 594 -Wl,-z,relro \ 595 -Wl,--fatal-warnings \ 596 -Wl,-z,noexecstack \ 597 -fPIC \ 598 -nostdlib \ 599 -Wl,--no-undefined \ 600 -Wl,--exclude-libs=ALL \ 601 -Wl,-O1 \ 602 -Wl,--as-needed \ 603 -Wl,--gc-sections \ 604 -Wl,--warn-shared-textrel 605 606 607 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 608 609 LOCAL_STATIC_LIBRARIES := \ 610 third_party_WebKit_Source_core_webcore_generated_gyp \ 611 skia_skia_library_gyp 612 613 # Enable grouping to fix circular references 614 LOCAL_GROUP_STATIC_LIBRARIES := true 615 616 LOCAL_SHARED_LIBRARIES := \ 617 libstlport \ 618 libdl 619 620 # Add target alias to "gyp_all_modules" target. 621 .PHONY: gyp_all_modules 622 gyp_all_modules: third_party_WebKit_Source_web_blink_web_gyp 623 624 # Alias gyp target name. 625 .PHONY: blink_web 626 blink_web: third_party_WebKit_Source_web_blink_web_gyp 627 628 include $(BUILD_STATIC_LIBRARY) 629