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_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 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,,,$(GYP_VAR_PREFIX))/config.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_gyp,,,$(GYP_VAR_PREFIX))/webcore.stamp \ 16 $(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 \ 17 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 18 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 19 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \ 20 $(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp,,,$(GYP_VAR_PREFIX))/npapi.stamp \ 21 $(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp,,,$(GYP_VAR_PREFIX))/v8.stamp 22 23 GYP_GENERATED_OUTPUTS := 24 25 # Make sure our deps and generated files are built first. 26 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 27 28 LOCAL_GENERATED_SOURCES := 29 30 GYP_COPIED_SOURCE_ORIGIN_DIRS := 31 32 LOCAL_SRC_FILES := \ 33 third_party/WebKit/Source/web/AssertMatchingEnums.cpp \ 34 third_party/WebKit/Source/web/AssociatedURLLoader.cpp \ 35 third_party/WebKit/Source/web/BackForwardClientImpl.cpp \ 36 third_party/WebKit/Source/web/ChromeClientImpl.cpp \ 37 third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp \ 38 third_party/WebKit/Source/web/ColorChooserUIController.cpp \ 39 third_party/WebKit/Source/web/CompositionUnderlineVectorBuilder.cpp \ 40 third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp \ 41 third_party/WebKit/Source/web/ContextMenuClientImpl.cpp \ 42 third_party/WebKit/Source/web/DatabaseClientImpl.cpp \ 43 third_party/WebKit/Source/web/DateTimeChooserImpl.cpp \ 44 third_party/WebKit/Source/web/DragClientImpl.cpp \ 45 third_party/WebKit/Source/web/EditorClientImpl.cpp \ 46 third_party/WebKit/Source/web/ExternalDateTimeChooser.cpp \ 47 third_party/WebKit/Source/web/ExternalPopupMenu.cpp \ 48 third_party/WebKit/Source/web/FindInPageCoordinates.cpp \ 49 third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp \ 50 third_party/WebKit/Source/web/FullscreenController.cpp \ 51 third_party/WebKit/Source/web/GeolocationClientProxy.cpp \ 52 third_party/WebKit/Source/web/GraphicsLayerFactoryChromium.cpp \ 53 third_party/WebKit/Source/web/IndexedDBClientImpl.cpp \ 54 third_party/WebKit/Source/web/InspectorClientImpl.cpp \ 55 third_party/WebKit/Source/web/LinkHighlight.cpp \ 56 third_party/WebKit/Source/web/LocalFileSystemClient.cpp \ 57 third_party/WebKit/Source/web/MediaKeysClientImpl.cpp \ 58 third_party/WebKit/Source/web/MIDIClientProxy.cpp \ 59 third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.cpp \ 60 third_party/WebKit/Source/web/NotificationPermissionClientImpl.cpp \ 61 third_party/WebKit/Source/web/NotificationPresenterImpl.cpp \ 62 third_party/WebKit/Source/web/OpenedFrameTracker.cpp \ 63 third_party/WebKit/Source/web/PageOverlay.cpp \ 64 third_party/WebKit/Source/web/PageOverlayList.cpp \ 65 third_party/WebKit/Source/web/PageScaleConstraintsSet.cpp \ 66 third_party/WebKit/Source/web/PageWidgetDelegate.cpp \ 67 third_party/WebKit/Source/web/PopupContainer.cpp \ 68 third_party/WebKit/Source/web/PopupListBox.cpp \ 69 third_party/WebKit/Source/web/PopupMenuChromium.cpp \ 70 third_party/WebKit/Source/web/PrerendererClientImpl.cpp \ 71 third_party/WebKit/Source/web/RemoteFrameClient.cpp \ 72 third_party/WebKit/Source/web/ScrollbarGroup.cpp \ 73 third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp \ 74 third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp \ 75 third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.cpp \ 76 third_party/WebKit/Source/web/SpeechRecognitionClientProxy.cpp \ 77 third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp \ 78 third_party/WebKit/Source/web/StorageClientImpl.cpp \ 79 third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp \ 80 third_party/WebKit/Source/web/TextFinder.cpp \ 81 third_party/WebKit/Source/web/UserMediaClientImpl.cpp \ 82 third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp \ 83 third_party/WebKit/Source/web/ViewportAnchor.cpp \ 84 third_party/WebKit/Source/web/WebAXObject.cpp \ 85 third_party/WebKit/Source/web/WebArrayBufferConverter.cpp \ 86 third_party/WebKit/Source/web/WebArrayBufferView.cpp \ 87 third_party/WebKit/Source/web/WebBindings.cpp \ 88 third_party/WebKit/Source/web/WebBlob.cpp \ 89 third_party/WebKit/Source/web/WebCache.cpp \ 90 third_party/WebKit/Source/web/WebCachedURLRequest.cpp \ 91 third_party/WebKit/Source/web/WebColorName.cpp \ 92 third_party/WebKit/Source/web/WebColorSuggestion.cpp \ 93 third_party/WebKit/Source/web/WebCryptoNormalize.cpp \ 94 third_party/WebKit/Source/web/WebCustomElement.cpp \ 95 third_party/WebKit/Source/web/WebDOMActivityLogger.cpp \ 96 third_party/WebKit/Source/web/WebDOMCustomEvent.cpp \ 97 third_party/WebKit/Source/web/WebDOMError.cpp \ 98 third_party/WebKit/Source/web/WebDOMEvent.cpp \ 99 third_party/WebKit/Source/web/WebDOMFileSystem.cpp \ 100 third_party/WebKit/Source/web/WebDOMMediaStreamTrack.cpp \ 101 third_party/WebKit/Source/web/WebDOMMessageEvent.cpp \ 102 third_party/WebKit/Source/web/WebDOMMouseEvent.cpp \ 103 third_party/WebKit/Source/web/WebDOMProgressEvent.cpp \ 104 third_party/WebKit/Source/web/WebDOMResourceProgressEvent.cpp \ 105 third_party/WebKit/Source/web/WebDateTimeSuggestion.cpp \ 106 third_party/WebKit/Source/web/WebDataSourceImpl.cpp \ 107 third_party/WebKit/Source/web/WebDatabase.cpp \ 108 third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp \ 109 third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp \ 110 third_party/WebKit/Source/web/WebDocument.cpp \ 111 third_party/WebKit/Source/web/WebDocumentType.cpp \ 112 third_party/WebKit/Source/web/WebDragData.cpp \ 113 third_party/WebKit/Source/web/WebElement.cpp \ 114 third_party/WebKit/Source/web/WebElementCollection.cpp \ 115 third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp \ 116 third_party/WebKit/Source/web/WebEntities.cpp \ 117 third_party/WebKit/Source/web/WebFileChooserCompletionImpl.cpp \ 118 third_party/WebKit/Source/web/WebFontDescription.cpp \ 119 third_party/WebKit/Source/web/WebFontImpl.cpp \ 120 third_party/WebKit/Source/web/WebFormControlElement.cpp \ 121 third_party/WebKit/Source/web/WebFormElement.cpp \ 122 third_party/WebKit/Source/web/WebFrame.cpp \ 123 third_party/WebKit/Source/web/WebGeolocationController.cpp \ 124 third_party/WebKit/Source/web/WebGeolocationError.cpp \ 125 third_party/WebKit/Source/web/WebGeolocationPermissionRequest.cpp \ 126 third_party/WebKit/Source/web/WebGeolocationPermissionRequestManager.cpp \ 127 third_party/WebKit/Source/web/WebGeolocationPosition.cpp \ 128 third_party/WebKit/Source/web/WebGlyphCache.cpp \ 129 third_party/WebKit/Source/web/WebHeap.cpp \ 130 third_party/WebKit/Source/web/WebHelperPluginImpl.cpp \ 131 third_party/WebKit/Source/web/WebHistoryItem.cpp \ 132 third_party/WebKit/Source/web/WebHitTestResult.cpp \ 133 third_party/WebKit/Source/web/WebIDBDatabaseError.cpp \ 134 third_party/WebKit/Source/web/WebIDBKey.cpp \ 135 third_party/WebKit/Source/web/WebIDBKeyPath.cpp \ 136 third_party/WebKit/Source/web/WebIDBKeyRange.cpp \ 137 third_party/WebKit/Source/web/WebIDBMetadata.cpp \ 138 third_party/WebKit/Source/web/WebImageCache.cpp \ 139 third_party/WebKit/Source/web/WebImageDecoder.cpp \ 140 third_party/WebKit/Source/web/WebInputElement.cpp \ 141 third_party/WebKit/Source/web/WebInputEvent.cpp \ 142 third_party/WebKit/Source/web/WebInputEventConversion.cpp \ 143 third_party/WebKit/Source/web/WebKit.cpp \ 144 third_party/WebKit/Source/web/WebLabelElement.cpp \ 145 third_party/WebKit/Source/web/WebLeakDetector.cpp \ 146 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp \ 147 third_party/WebKit/Source/web/WebMIDIClientMock.cpp \ 148 third_party/WebKit/Source/web/WebMIDIPermissionRequest.cpp \ 149 third_party/WebKit/Source/web/WebMediaDevicesRequest.cpp \ 150 third_party/WebKit/Source/web/WebMediaPlayerClientImpl.cpp \ 151 third_party/WebKit/Source/web/WebMediaStreamRegistry.cpp \ 152 third_party/WebKit/Source/web/WebNetworkStateNotifier.cpp \ 153 third_party/WebKit/Source/web/WebNode.cpp \ 154 third_party/WebKit/Source/web/WebNodeList.cpp \ 155 third_party/WebKit/Source/web/WebNotification.cpp \ 156 third_party/WebKit/Source/web/WebOptionElement.cpp \ 157 third_party/WebKit/Source/web/WebPagePopupImpl.cpp \ 158 third_party/WebKit/Source/web/WebPageSerializer.cpp \ 159 third_party/WebKit/Source/web/WebPageSerializerImpl.cpp \ 160 third_party/WebKit/Source/web/WebPerformance.cpp \ 161 third_party/WebKit/Source/web/WebPluginContainerImpl.cpp \ 162 third_party/WebKit/Source/web/WebPluginDocument.cpp \ 163 third_party/WebKit/Source/web/WebPluginLoadObserver.cpp \ 164 third_party/WebKit/Source/web/WebPluginScrollbarImpl.cpp \ 165 third_party/WebKit/Source/web/WebPopupMenuImpl.cpp \ 166 third_party/WebKit/Source/web/WebRange.cpp \ 167 third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp \ 168 third_party/WebKit/Source/web/WebRuntimeFeatures.cpp \ 169 third_party/WebKit/Source/web/WebScopedMicrotaskSuppression.cpp \ 170 third_party/WebKit/Source/web/WebScopedUserGesture.cpp \ 171 third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp \ 172 third_party/WebKit/Source/web/WebScriptBindings.cpp \ 173 third_party/WebKit/Source/web/WebScriptController.cpp \ 174 third_party/WebKit/Source/web/WebScrollbarThemePainter.cpp \ 175 third_party/WebKit/Source/web/WebSearchableFormData.cpp \ 176 third_party/WebKit/Source/web/WebSecurityOrigin.cpp \ 177 third_party/WebKit/Source/web/WebSecurityPolicy.cpp \ 178 third_party/WebKit/Source/web/WebSelectElement.cpp \ 179 third_party/WebKit/Source/web/WebSelector.cpp \ 180 third_party/WebKit/Source/web/WebSerializedScriptValue.cpp \ 181 third_party/WebKit/Source/web/WebSettingsImpl.cpp \ 182 third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp \ 183 third_party/WebKit/Source/web/WebSocket.cpp \ 184 third_party/WebKit/Source/web/WebSocketImpl.cpp \ 185 third_party/WebKit/Source/web/WebSpeechGrammar.cpp \ 186 third_party/WebKit/Source/web/WebSpeechRecognitionHandle.cpp \ 187 third_party/WebKit/Source/web/WebSpeechRecognitionResult.cpp \ 188 third_party/WebKit/Source/web/WebStorageEventDispatcherImpl.cpp \ 189 third_party/WebKit/Source/web/WebSurroundingText.cpp \ 190 third_party/WebKit/Source/web/WebTextAreaElement.cpp \ 191 third_party/WebKit/Source/web/WebTextCheckingCompletionImpl.cpp \ 192 third_party/WebKit/Source/web/WebTextCheckingResult.cpp \ 193 third_party/WebKit/Source/web/WebTextInputInfo.cpp \ 194 third_party/WebKit/Source/web/WebTextRun.cpp \ 195 third_party/WebKit/Source/web/WebUserGestureIndicator.cpp \ 196 third_party/WebKit/Source/web/WebUserGestureToken.cpp \ 197 third_party/WebKit/Source/web/WebUserMediaRequest.cpp \ 198 third_party/WebKit/Source/web/WebViewImpl.cpp \ 199 third_party/WebKit/Source/web/WebWorkerRunLoop.cpp \ 200 third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp \ 201 third_party/WebKit/Source/web/WorkerPermissionClient.cpp \ 202 third_party/WebKit/Source/web/linux/WebFontRendering.cpp \ 203 third_party/WebKit/Source/web/painting/ContinuousPainter.cpp \ 204 third_party/WebKit/Source/web/painting/PaintAggregator.cpp 205 206 207 # Flags passed to both C and C++ files. 208 MY_CFLAGS_Debug := \ 209 -fstack-protector \ 210 --param=ssp-buffer-size=4 \ 211 \ 212 -fno-strict-aliasing \ 213 -Wall \ 214 -Wno-unused-parameter \ 215 -Wno-missing-field-initializers \ 216 -fvisibility=hidden \ 217 -pipe \ 218 -fPIC \ 219 -Wno-unused-local-typedefs \ 220 -ffunction-sections \ 221 -funwind-tables \ 222 -g \ 223 -fstack-protector \ 224 -fno-short-enums \ 225 -finline-limit=64 \ 226 -Wa,--noexecstack \ 227 -U_FORTIFY_SOURCE \ 228 -Wno-extra \ 229 -Wno-ignored-qualifiers \ 230 -Wno-type-limits \ 231 -Wno-unused-but-set-variable \ 232 -Os \ 233 -g \ 234 -gdwarf-4 \ 235 -fdata-sections \ 236 -ffunction-sections \ 237 -fomit-frame-pointer \ 238 -funwind-tables 239 240 MY_DEFS_Debug := \ 241 '-DV8_DEPRECATION_WARNINGS' \ 242 '-D_FILE_OFFSET_BITS=64' \ 243 '-DNO_TCMALLOC' \ 244 '-DDISABLE_NACL' \ 245 '-DCHROMIUM_BUILD' \ 246 '-DUSE_LIBJPEG_TURBO=1' \ 247 '-DENABLE_WEBRTC=1' \ 248 '-DUSE_PROPRIETARY_CODECS' \ 249 '-DENABLE_BROWSER_CDMS' \ 250 '-DENABLE_CONFIGURATION_POLICY' \ 251 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 252 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 253 '-DENABLE_EGLIMAGE=1' \ 254 '-DCLD_VERSION=1' \ 255 '-DENABLE_PRINTING=1' \ 256 '-DENABLE_MANAGED_USERS=1' \ 257 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 258 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 259 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 260 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 261 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 262 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 263 '-DVIDEO_HOLE=1' \ 264 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 265 '-DBLINK_IMPLEMENTATION=1' \ 266 '-DINSIDE_BLINK' \ 267 '-DCHROME_PNG_WRITE_SUPPORT' \ 268 '-DPNG_USER_CONFIG' \ 269 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 270 '-DENABLE_SVG_FONTS=1' \ 271 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 272 '-DENABLE_OPENTYPE_VERTICAL=1' \ 273 '-DU_USING_ICU_NAMESPACE=0' \ 274 '-DU_ENABLE_DYLOAD=0' \ 275 '-DSK_ENABLE_INST_COUNT=0' \ 276 '-DSK_SUPPORT_GPU=1' \ 277 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 278 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 279 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 280 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 281 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 282 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 283 '-DSK_BUILD_FOR_ANDROID' \ 284 '-DSK_USE_POSIX_THREADS' \ 285 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 286 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 287 '-DUSE_OPENSSL=1' \ 288 '-DUSE_OPENSSL_CERTS=1' \ 289 '-D__STDC_CONSTANT_MACROS' \ 290 '-D__STDC_FORMAT_MACROS' \ 291 '-DANDROID' \ 292 '-D__GNU_SOURCE=1' \ 293 '-DUSE_STLPORT=1' \ 294 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 295 '-DCHROME_BUILD_ID=""' \ 296 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 297 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 298 '-D_DEBUG' 299 300 301 # Include paths placed before CFLAGS/CPPFLAGS 302 LOCAL_C_INCLUDES_Debug := \ 303 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 304 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 305 $(gyp_shared_intermediate_dir) \ 306 $(LOCAL_PATH)/third_party/angle/include \ 307 $(LOCAL_PATH)/third_party/skia/include/utils \ 308 $(LOCAL_PATH)/third_party/WebKit/Source \ 309 $(LOCAL_PATH) \ 310 $(LOCAL_PATH)/skia/config \ 311 $(LOCAL_PATH)/third_party/khronos \ 312 $(LOCAL_PATH)/gpu \ 313 $(LOCAL_PATH)/third_party/WebKit \ 314 $(gyp_shared_intermediate_dir)/blink \ 315 $(LOCAL_PATH)/third_party/libpng \ 316 $(LOCAL_PATH)/third_party/zlib \ 317 $(LOCAL_PATH)/third_party/libwebp \ 318 $(LOCAL_PATH)/third_party/ots/include \ 319 $(LOCAL_PATH)/third_party/iccjpeg \ 320 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 321 $(PWD)/external/icu/icu4c/source/common \ 322 $(PWD)/external/icu/icu4c/source/i18n \ 323 $(LOCAL_PATH)/third_party/qcms/src \ 324 $(LOCAL_PATH)/third_party/skia/src/core \ 325 $(LOCAL_PATH)/third_party/skia/include/core \ 326 $(LOCAL_PATH)/third_party/skia/include/effects \ 327 $(LOCAL_PATH)/third_party/skia/include/pdf \ 328 $(LOCAL_PATH)/third_party/skia/include/gpu \ 329 $(LOCAL_PATH)/third_party/skia/include/lazy \ 330 $(LOCAL_PATH)/third_party/skia/include/pathops \ 331 $(LOCAL_PATH)/third_party/skia/include/pipe \ 332 $(LOCAL_PATH)/third_party/skia/include/ports \ 333 $(LOCAL_PATH)/skia/ext \ 334 $(LOCAL_PATH)/third_party/npapi \ 335 $(LOCAL_PATH)/third_party/npapi/bindings \ 336 $(LOCAL_PATH)/v8/include \ 337 $(PWD)/frameworks/wilhelm/include \ 338 $(PWD)/bionic \ 339 $(PWD)/external/stlport/stlport 340 341 342 # Flags passed to only C++ (and not C) files. 343 LOCAL_CPPFLAGS_Debug := \ 344 -Wno-c++0x-compat \ 345 -fno-exceptions \ 346 -fno-rtti \ 347 -fno-threadsafe-statics \ 348 -fvisibility-inlines-hidden \ 349 -Wsign-compare \ 350 -Wno-c++0x-compat \ 351 -Wno-uninitialized \ 352 -std=gnu++11 \ 353 -Wno-narrowing \ 354 -Wno-literal-suffix \ 355 -Wno-non-virtual-dtor \ 356 -Wno-sign-promo 357 358 359 # Flags passed to both C and C++ files. 360 MY_CFLAGS_Release := \ 361 -fstack-protector \ 362 --param=ssp-buffer-size=4 \ 363 \ 364 -fno-strict-aliasing \ 365 -Wall \ 366 -Wno-unused-parameter \ 367 -Wno-missing-field-initializers \ 368 -fvisibility=hidden \ 369 -pipe \ 370 -fPIC \ 371 -Wno-unused-local-typedefs \ 372 -ffunction-sections \ 373 -funwind-tables \ 374 -g \ 375 -fstack-protector \ 376 -fno-short-enums \ 377 -finline-limit=64 \ 378 -Wa,--noexecstack \ 379 -U_FORTIFY_SOURCE \ 380 -Wno-extra \ 381 -Wno-ignored-qualifiers \ 382 -Wno-type-limits \ 383 -Wno-unused-but-set-variable \ 384 -Os \ 385 -fno-ident \ 386 -fdata-sections \ 387 -ffunction-sections \ 388 -fomit-frame-pointer \ 389 -funwind-tables 390 391 MY_DEFS_Release := \ 392 '-DV8_DEPRECATION_WARNINGS' \ 393 '-D_FILE_OFFSET_BITS=64' \ 394 '-DNO_TCMALLOC' \ 395 '-DDISABLE_NACL' \ 396 '-DCHROMIUM_BUILD' \ 397 '-DUSE_LIBJPEG_TURBO=1' \ 398 '-DENABLE_WEBRTC=1' \ 399 '-DUSE_PROPRIETARY_CODECS' \ 400 '-DENABLE_BROWSER_CDMS' \ 401 '-DENABLE_CONFIGURATION_POLICY' \ 402 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 403 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 404 '-DENABLE_EGLIMAGE=1' \ 405 '-DCLD_VERSION=1' \ 406 '-DENABLE_PRINTING=1' \ 407 '-DENABLE_MANAGED_USERS=1' \ 408 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 409 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 410 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 411 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 412 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 413 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 414 '-DVIDEO_HOLE=1' \ 415 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 416 '-DBLINK_IMPLEMENTATION=1' \ 417 '-DINSIDE_BLINK' \ 418 '-DCHROME_PNG_WRITE_SUPPORT' \ 419 '-DPNG_USER_CONFIG' \ 420 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 421 '-DENABLE_SVG_FONTS=1' \ 422 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 423 '-DENABLE_OPENTYPE_VERTICAL=1' \ 424 '-DU_USING_ICU_NAMESPACE=0' \ 425 '-DU_ENABLE_DYLOAD=0' \ 426 '-DSK_ENABLE_INST_COUNT=0' \ 427 '-DSK_SUPPORT_GPU=1' \ 428 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 429 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 430 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 431 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 432 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 433 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 434 '-DSK_BUILD_FOR_ANDROID' \ 435 '-DSK_USE_POSIX_THREADS' \ 436 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 437 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 438 '-DUSE_OPENSSL=1' \ 439 '-DUSE_OPENSSL_CERTS=1' \ 440 '-D__STDC_CONSTANT_MACROS' \ 441 '-D__STDC_FORMAT_MACROS' \ 442 '-DANDROID' \ 443 '-D__GNU_SOURCE=1' \ 444 '-DUSE_STLPORT=1' \ 445 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 446 '-DCHROME_BUILD_ID=""' \ 447 '-DNDEBUG' \ 448 '-DNVALGRIND' \ 449 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 450 '-D_FORTIFY_SOURCE=2' 451 452 453 # Include paths placed before CFLAGS/CPPFLAGS 454 LOCAL_C_INCLUDES_Release := \ 455 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 456 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 457 $(gyp_shared_intermediate_dir) \ 458 $(LOCAL_PATH)/third_party/angle/include \ 459 $(LOCAL_PATH)/third_party/skia/include/utils \ 460 $(LOCAL_PATH)/third_party/WebKit/Source \ 461 $(LOCAL_PATH) \ 462 $(LOCAL_PATH)/skia/config \ 463 $(LOCAL_PATH)/third_party/khronos \ 464 $(LOCAL_PATH)/gpu \ 465 $(LOCAL_PATH)/third_party/WebKit \ 466 $(gyp_shared_intermediate_dir)/blink \ 467 $(LOCAL_PATH)/third_party/libpng \ 468 $(LOCAL_PATH)/third_party/zlib \ 469 $(LOCAL_PATH)/third_party/libwebp \ 470 $(LOCAL_PATH)/third_party/ots/include \ 471 $(LOCAL_PATH)/third_party/iccjpeg \ 472 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 473 $(PWD)/external/icu/icu4c/source/common \ 474 $(PWD)/external/icu/icu4c/source/i18n \ 475 $(LOCAL_PATH)/third_party/qcms/src \ 476 $(LOCAL_PATH)/third_party/skia/src/core \ 477 $(LOCAL_PATH)/third_party/skia/include/core \ 478 $(LOCAL_PATH)/third_party/skia/include/effects \ 479 $(LOCAL_PATH)/third_party/skia/include/pdf \ 480 $(LOCAL_PATH)/third_party/skia/include/gpu \ 481 $(LOCAL_PATH)/third_party/skia/include/lazy \ 482 $(LOCAL_PATH)/third_party/skia/include/pathops \ 483 $(LOCAL_PATH)/third_party/skia/include/pipe \ 484 $(LOCAL_PATH)/third_party/skia/include/ports \ 485 $(LOCAL_PATH)/skia/ext \ 486 $(LOCAL_PATH)/third_party/npapi \ 487 $(LOCAL_PATH)/third_party/npapi/bindings \ 488 $(LOCAL_PATH)/v8/include \ 489 $(PWD)/frameworks/wilhelm/include \ 490 $(PWD)/bionic \ 491 $(PWD)/external/stlport/stlport 492 493 494 # Flags passed to only C++ (and not C) files. 495 LOCAL_CPPFLAGS_Release := \ 496 -Wno-c++0x-compat \ 497 -fno-exceptions \ 498 -fno-rtti \ 499 -fno-threadsafe-statics \ 500 -fvisibility-inlines-hidden \ 501 -Wsign-compare \ 502 -Wno-c++0x-compat \ 503 -Wno-uninitialized \ 504 -std=gnu++11 \ 505 -Wno-narrowing \ 506 -Wno-literal-suffix \ 507 -Wno-non-virtual-dtor \ 508 -Wno-sign-promo 509 510 511 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 512 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 513 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 514 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 515 ### Rules for final target. 516 517 LOCAL_SHARED_LIBRARIES := \ 518 libstlport \ 519 libdl 520 521 # Add target alias to "gyp_all_modules" target. 522 .PHONY: gyp_all_modules 523 gyp_all_modules: third_party_WebKit_Source_web_blink_web_gyp 524 525 # Alias gyp target name. 526 .PHONY: blink_web 527 blink_web: third_party_WebKit_Source_web_blink_web_gyp 528 529 include $(BUILD_STATIC_LIBRARY) 530