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_core_webcore_html_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_prerequisites_gyp)/webcore_prerequisites.stamp 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 third_party/WebKit/Source/core/html/BaseButtonInputType.cpp \ 27 third_party/WebKit/Source/core/html/BaseCheckableInputType.cpp \ 28 third_party/WebKit/Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp \ 29 third_party/WebKit/Source/core/html/BaseClickableWithKeyInputType.cpp \ 30 third_party/WebKit/Source/core/html/BaseDateAndTimeInputType.cpp \ 31 third_party/WebKit/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp \ 32 third_party/WebKit/Source/core/html/BaseTextInputType.cpp \ 33 third_party/WebKit/Source/core/html/ButtonInputType.cpp \ 34 third_party/WebKit/Source/core/html/CheckboxInputType.cpp \ 35 third_party/WebKit/Source/core/html/ClassList.cpp \ 36 third_party/WebKit/Source/core/html/ColorInputType.cpp \ 37 third_party/WebKit/Source/core/html/DOMFormData.cpp \ 38 third_party/WebKit/Source/core/html/DOMSettableTokenList.cpp \ 39 third_party/WebKit/Source/core/html/DOMTokenList.cpp \ 40 third_party/WebKit/Source/core/html/DOMURL.cpp \ 41 third_party/WebKit/Source/core/html/DateInputType.cpp \ 42 third_party/WebKit/Source/core/html/DateTimeFieldsState.cpp \ 43 third_party/WebKit/Source/core/html/DateTimeLocalInputType.cpp \ 44 third_party/WebKit/Source/core/html/EmailInputType.cpp \ 45 third_party/WebKit/Source/core/html/FileInputType.cpp \ 46 third_party/WebKit/Source/core/html/FormAssociatedElement.cpp \ 47 third_party/WebKit/Source/core/html/FormController.cpp \ 48 third_party/WebKit/Source/core/html/FormDataList.cpp \ 49 third_party/WebKit/Source/core/html/HTMLAllCollection.cpp \ 50 third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp \ 51 third_party/WebKit/Source/core/html/HTMLAppletElement.cpp \ 52 third_party/WebKit/Source/core/html/HTMLAreaElement.cpp \ 53 third_party/WebKit/Source/core/html/HTMLAudioElement.cpp \ 54 third_party/WebKit/Source/core/html/HTMLBRElement.cpp \ 55 third_party/WebKit/Source/core/html/HTMLBaseElement.cpp \ 56 third_party/WebKit/Source/core/html/HTMLBodyElement.cpp \ 57 third_party/WebKit/Source/core/html/HTMLButtonElement.cpp \ 58 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp \ 59 third_party/WebKit/Source/core/html/HTMLCollection.cpp \ 60 third_party/WebKit/Source/core/html/HTMLDListElement.cpp \ 61 third_party/WebKit/Source/core/html/HTMLDataListElement.cpp \ 62 third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp \ 63 third_party/WebKit/Source/core/html/HTMLDialogElement.cpp \ 64 third_party/WebKit/Source/core/html/HTMLDimension.cpp \ 65 third_party/WebKit/Source/core/html/HTMLDirectoryElement.cpp \ 66 third_party/WebKit/Source/core/html/HTMLDivElement.cpp \ 67 third_party/WebKit/Source/core/html/HTMLDocument.cpp \ 68 third_party/WebKit/Source/core/html/HTMLElement.cpp \ 69 third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp \ 70 third_party/WebKit/Source/core/html/HTMLFieldSetElement.cpp \ 71 third_party/WebKit/Source/core/html/HTMLFontElement.cpp \ 72 third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp \ 73 third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp \ 74 third_party/WebKit/Source/core/html/HTMLFormControlElementWithState.cpp \ 75 third_party/WebKit/Source/core/html/HTMLFormElement.cpp \ 76 third_party/WebKit/Source/core/html/HTMLFrameElement.cpp \ 77 third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp \ 78 third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp \ 79 third_party/WebKit/Source/core/html/HTMLFrameSetElement.cpp \ 80 third_party/WebKit/Source/core/html/HTMLHRElement.cpp \ 81 third_party/WebKit/Source/core/html/HTMLHeadElement.cpp \ 82 third_party/WebKit/Source/core/html/HTMLHeadingElement.cpp \ 83 third_party/WebKit/Source/core/html/HTMLHtmlElement.cpp \ 84 third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp \ 85 third_party/WebKit/Source/core/html/HTMLImageElement.cpp \ 86 third_party/WebKit/Source/core/html/HTMLImageLoader.cpp \ 87 third_party/WebKit/Source/core/html/HTMLImport.cpp \ 88 third_party/WebKit/Source/core/html/HTMLImportsController.cpp \ 89 third_party/WebKit/Source/core/html/HTMLImportLoader.cpp \ 90 third_party/WebKit/Source/core/html/HTMLInputElement.cpp \ 91 third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp \ 92 third_party/WebKit/Source/core/html/HTMLLIElement.cpp \ 93 third_party/WebKit/Source/core/html/HTMLLabelElement.cpp \ 94 third_party/WebKit/Source/core/html/HTMLLegendElement.cpp \ 95 third_party/WebKit/Source/core/html/HTMLLinkElement.cpp \ 96 third_party/WebKit/Source/core/html/HTMLMapElement.cpp \ 97 third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp \ 98 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp \ 99 third_party/WebKit/Source/core/html/HTMLMenuElement.cpp \ 100 third_party/WebKit/Source/core/html/HTMLMetaElement.cpp \ 101 third_party/WebKit/Source/core/html/HTMLMeterElement.cpp \ 102 third_party/WebKit/Source/core/html/HTMLModElement.cpp \ 103 third_party/WebKit/Source/core/html/HTMLNameCollection.cpp \ 104 third_party/WebKit/Source/core/html/HTMLOListElement.cpp \ 105 third_party/WebKit/Source/core/html/HTMLObjectElement.cpp \ 106 third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp \ 107 third_party/WebKit/Source/core/html/HTMLOptionElement.cpp \ 108 third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp \ 109 third_party/WebKit/Source/core/html/HTMLOutputElement.cpp \ 110 third_party/WebKit/Source/core/html/HTMLParagraphElement.cpp \ 111 third_party/WebKit/Source/core/html/HTMLParamElement.cpp \ 112 third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp \ 113 third_party/WebKit/Source/core/html/HTMLPlugInImageElement.cpp \ 114 third_party/WebKit/Source/core/html/HTMLPreElement.cpp \ 115 third_party/WebKit/Source/core/html/HTMLProgressElement.cpp \ 116 third_party/WebKit/Source/core/html/HTMLQuoteElement.cpp \ 117 third_party/WebKit/Source/core/html/HTMLScriptElement.cpp \ 118 third_party/WebKit/Source/core/html/HTMLSelectElement.cpp \ 119 third_party/WebKit/Source/core/html/HTMLSelectElementWin.cpp \ 120 third_party/WebKit/Source/core/html/HTMLSourceElement.cpp \ 121 third_party/WebKit/Source/core/html/HTMLSpanElement.cpp \ 122 third_party/WebKit/Source/core/html/HTMLStyleElement.cpp \ 123 third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp \ 124 third_party/WebKit/Source/core/html/HTMLTableCaptionElement.cpp \ 125 third_party/WebKit/Source/core/html/HTMLTableCellElement.cpp \ 126 third_party/WebKit/Source/core/html/HTMLTableColElement.cpp \ 127 third_party/WebKit/Source/core/html/HTMLTableElement.cpp \ 128 third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp \ 129 third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp \ 130 third_party/WebKit/Source/core/html/HTMLTableRowsCollection.cpp \ 131 third_party/WebKit/Source/core/html/HTMLTableSectionElement.cpp \ 132 third_party/WebKit/Source/core/html/HTMLTemplateElement.cpp \ 133 third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp \ 134 third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp \ 135 third_party/WebKit/Source/core/html/HTMLTitleElement.cpp \ 136 third_party/WebKit/Source/core/html/HTMLTrackElement.cpp \ 137 third_party/WebKit/Source/core/html/HTMLUListElement.cpp \ 138 third_party/WebKit/Source/core/html/HTMLVideoElement.cpp \ 139 third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp \ 140 third_party/WebKit/Source/core/html/HiddenInputType.cpp \ 141 third_party/WebKit/Source/core/html/ImageData.cpp \ 142 third_party/WebKit/Source/core/html/ImageDocument.cpp \ 143 third_party/WebKit/Source/core/html/ImageInputType.cpp \ 144 third_party/WebKit/Source/core/html/InputType.cpp \ 145 third_party/WebKit/Source/core/html/InputTypeNames.cpp \ 146 third_party/WebKit/Source/core/html/LabelableElement.cpp \ 147 third_party/WebKit/Source/core/html/LabelsNodeList.cpp \ 148 third_party/WebKit/Source/core/html/LinkImport.cpp \ 149 third_party/WebKit/Source/core/html/LinkRelAttribute.cpp \ 150 third_party/WebKit/Source/core/html/LinkResource.cpp \ 151 third_party/WebKit/Source/core/html/MediaController.cpp \ 152 third_party/WebKit/Source/core/html/MediaDocument.cpp \ 153 third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp \ 154 third_party/WebKit/Source/core/html/MediaKeyEvent.cpp \ 155 third_party/WebKit/Source/core/html/HTMLMediaSource.cpp \ 156 third_party/WebKit/Source/core/html/MonthInputType.cpp \ 157 third_party/WebKit/Source/core/html/NumberInputType.cpp \ 158 third_party/WebKit/Source/core/html/PasswordInputType.cpp \ 159 third_party/WebKit/Source/core/html/PluginDocument.cpp \ 160 third_party/WebKit/Source/core/html/PublicURLManager.cpp \ 161 third_party/WebKit/Source/core/html/RadioInputType.cpp \ 162 third_party/WebKit/Source/core/html/RadioNodeList.cpp \ 163 third_party/WebKit/Source/core/html/RangeInputType.cpp \ 164 third_party/WebKit/Source/core/html/ResetInputType.cpp \ 165 third_party/WebKit/Source/core/html/SearchInputType.cpp \ 166 third_party/WebKit/Source/core/html/StepRange.cpp \ 167 third_party/WebKit/Source/core/html/SubmitInputType.cpp \ 168 third_party/WebKit/Source/core/html/TelephoneInputType.cpp \ 169 third_party/WebKit/Source/core/html/TextDocument.cpp \ 170 third_party/WebKit/Source/core/html/TextFieldInputType.cpp \ 171 third_party/WebKit/Source/core/html/TextInputType.cpp \ 172 third_party/WebKit/Source/core/html/TimeInputType.cpp \ 173 third_party/WebKit/Source/core/html/TimeRanges.cpp \ 174 third_party/WebKit/Source/core/html/URLInputType.cpp \ 175 third_party/WebKit/Source/core/html/ValidationMessage.cpp \ 176 third_party/WebKit/Source/core/html/ValidityState.cpp \ 177 third_party/WebKit/Source/core/html/WeekInputType.cpp \ 178 third_party/WebKit/Source/core/html/TypeAhead.cpp \ 179 third_party/WebKit/Source/core/html/canvas/ANGLEInstancedArrays.cpp \ 180 third_party/WebKit/Source/core/html/canvas/Canvas2DContextAttributes.cpp \ 181 third_party/WebKit/Source/core/html/canvas/CanvasContextAttributes.cpp \ 182 third_party/WebKit/Source/core/html/canvas/CanvasGradient.cpp \ 183 third_party/WebKit/Source/core/html/canvas/CanvasPathMethods.cpp \ 184 third_party/WebKit/Source/core/html/canvas/CanvasPattern.cpp \ 185 third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp \ 186 third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext2D.cpp \ 187 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \ 188 third_party/WebKit/Source/core/html/canvas/DataView.cpp \ 189 third_party/WebKit/Source/core/html/canvas/EXTFragDepth.cpp \ 190 third_party/WebKit/Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp \ 191 third_party/WebKit/Source/core/html/canvas/OESStandardDerivatives.cpp \ 192 third_party/WebKit/Source/core/html/canvas/OESTextureFloat.cpp \ 193 third_party/WebKit/Source/core/html/canvas/OESTextureFloatLinear.cpp \ 194 third_party/WebKit/Source/core/html/canvas/OESTextureHalfFloat.cpp \ 195 third_party/WebKit/Source/core/html/canvas/OESTextureHalfFloatLinear.cpp \ 196 third_party/WebKit/Source/core/html/canvas/OESVertexArrayObject.cpp \ 197 third_party/WebKit/Source/core/html/canvas/OESElementIndexUint.cpp \ 198 third_party/WebKit/Source/core/html/canvas/WebGLBuffer.cpp \ 199 third_party/WebKit/Source/core/html/canvas/WebGLCompressedTextureATC.cpp \ 200 third_party/WebKit/Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp \ 201 third_party/WebKit/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp \ 202 third_party/WebKit/Source/core/html/canvas/WebGLContextAttributes.cpp \ 203 third_party/WebKit/Source/core/html/canvas/WebGLContextEvent.cpp \ 204 third_party/WebKit/Source/core/html/canvas/WebGLContextGroup.cpp \ 205 third_party/WebKit/Source/core/html/canvas/WebGLContextObject.cpp \ 206 third_party/WebKit/Source/core/html/canvas/WebGLDebugRendererInfo.cpp \ 207 third_party/WebKit/Source/core/html/canvas/WebGLDebugShaders.cpp \ 208 third_party/WebKit/Source/core/html/canvas/WebGLDepthTexture.cpp \ 209 third_party/WebKit/Source/core/html/canvas/WebGLDrawBuffers.cpp \ 210 third_party/WebKit/Source/core/html/canvas/WebGLExtension.cpp \ 211 third_party/WebKit/Source/core/html/canvas/WebGLFramebuffer.cpp \ 212 third_party/WebKit/Source/core/html/canvas/WebGLGetInfo.cpp \ 213 third_party/WebKit/Source/core/html/canvas/WebGLLoseContext.cpp \ 214 third_party/WebKit/Source/core/html/canvas/WebGLObject.cpp \ 215 third_party/WebKit/Source/core/html/canvas/WebGLProgram.cpp \ 216 third_party/WebKit/Source/core/html/canvas/WebGLRenderbuffer.cpp \ 217 third_party/WebKit/Source/core/html/canvas/WebGLRenderingContext.cpp \ 218 third_party/WebKit/Source/core/html/canvas/WebGLShader.cpp \ 219 third_party/WebKit/Source/core/html/canvas/WebGLShaderPrecisionFormat.cpp \ 220 third_party/WebKit/Source/core/html/canvas/WebGLSharedObject.cpp \ 221 third_party/WebKit/Source/core/html/canvas/WebGLTexture.cpp \ 222 third_party/WebKit/Source/core/html/canvas/WebGLUniformLocation.cpp \ 223 third_party/WebKit/Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp \ 224 third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp \ 225 third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.cpp \ 226 third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp \ 227 third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp \ 228 third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp \ 229 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp \ 230 third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp \ 231 third_party/WebKit/Source/core/html/parser/HTMLEntityParser.cpp \ 232 third_party/WebKit/Source/core/html/parser/HTMLEntitySearch.cpp \ 233 third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.cpp \ 234 third_party/WebKit/Source/core/html/parser/HTMLIdentifier.cpp \ 235 third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp \ 236 third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp \ 237 third_party/WebKit/Source/core/html/parser/HTMLParserOptions.cpp \ 238 third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.cpp \ 239 third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp \ 240 third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp \ 241 third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp \ 242 third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp \ 243 third_party/WebKit/Source/core/html/parser/HTMLSourceTracker.cpp \ 244 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \ 245 third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp \ 246 third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.cpp \ 247 third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp \ 248 third_party/WebKit/Source/core/html/parser/TextDocumentParser.cpp \ 249 third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp \ 250 third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp \ 251 third_party/WebKit/Source/core/html/shadow/PickerIndicatorElement.cpp \ 252 third_party/WebKit/Source/core/html/shadow/ClearButtonElement.cpp \ 253 third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp \ 254 third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp \ 255 third_party/WebKit/Source/core/html/shadow/DateTimeFieldElements.cpp \ 256 third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.cpp \ 257 third_party/WebKit/Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp \ 258 third_party/WebKit/Source/core/html/shadow/DetailsMarkerControl.cpp \ 259 third_party/WebKit/Source/core/html/shadow/HTMLContentElement.cpp \ 260 third_party/WebKit/Source/core/html/shadow/HTMLShadowElement.cpp \ 261 third_party/WebKit/Source/core/html/shadow/MediaControls.cpp \ 262 third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp \ 263 third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp \ 264 third_party/WebKit/Source/core/html/shadow/MediaControlsChromium.cpp \ 265 third_party/WebKit/Source/core/html/shadow/MediaControlsChromiumAndroid.cpp \ 266 third_party/WebKit/Source/core/html/shadow/MeterShadowElement.cpp \ 267 third_party/WebKit/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp \ 268 third_party/WebKit/Source/core/html/shadow/ProgressShadowElement.cpp \ 269 third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp \ 270 third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp \ 271 third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp \ 272 third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp \ 273 third_party/WebKit/Source/core/html/ime/Composition.cpp \ 274 third_party/WebKit/Source/core/html/ime/InputMethodContext.cpp \ 275 third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp \ 276 third_party/WebKit/Source/core/html/track/LoadableTextTrack.cpp \ 277 third_party/WebKit/Source/core/html/track/TextTrack.cpp \ 278 third_party/WebKit/Source/core/html/track/TextTrackCue.cpp \ 279 third_party/WebKit/Source/core/html/track/TextTrackCueGeneric.cpp \ 280 third_party/WebKit/Source/core/html/track/TextTrackCueList.cpp \ 281 third_party/WebKit/Source/core/html/track/TextTrackList.cpp \ 282 third_party/WebKit/Source/core/html/track/TextTrackRegion.cpp \ 283 third_party/WebKit/Source/core/html/track/TextTrackRegionList.cpp \ 284 third_party/WebKit/Source/core/html/track/TrackBase.cpp \ 285 third_party/WebKit/Source/core/html/track/TrackEvent.cpp \ 286 third_party/WebKit/Source/core/html/track/WebVTTElement.cpp \ 287 third_party/WebKit/Source/core/html/track/WebVTTParser.cpp \ 288 third_party/WebKit/Source/core/html/track/WebVTTTokenizer.cpp 289 290 291 # Flags passed to both C and C++ files. 292 MY_CFLAGS_Debug := \ 293 --param=ssp-buffer-size=4 \ 294 -fno-exceptions \ 295 -fno-strict-aliasing \ 296 -Wno-unused-parameter \ 297 -Wno-missing-field-initializers \ 298 -fvisibility=hidden \ 299 -pipe \ 300 -fPIC \ 301 -Wno-format \ 302 -m32 \ 303 -mmmx \ 304 -march=pentium4 \ 305 -msse2 \ 306 -mfpmath=sse \ 307 -fuse-ld=gold \ 308 -ffunction-sections \ 309 -funwind-tables \ 310 -g \ 311 -fno-short-enums \ 312 -finline-limit=64 \ 313 -Wa,--noexecstack \ 314 -U_FORTIFY_SOURCE \ 315 -Wno-extra \ 316 -Wno-ignored-qualifiers \ 317 -Wno-type-limits \ 318 -Wno-address \ 319 -Wno-format-security \ 320 -Wno-return-type \ 321 -Wno-sequence-point \ 322 -fno-stack-protector \ 323 -Os \ 324 -g \ 325 -fomit-frame-pointer \ 326 -fdata-sections \ 327 -ffunction-sections 328 329 MY_DEFS_Debug := \ 330 '-DANGLE_DX11' \ 331 '-D_FILE_OFFSET_BITS=64' \ 332 '-DNO_TCMALLOC' \ 333 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 334 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 335 '-DDISABLE_NACL' \ 336 '-DCHROMIUM_BUILD' \ 337 '-DUSE_LIBJPEG_TURBO=1' \ 338 '-DUSE_PROPRIETARY_CODECS' \ 339 '-DENABLE_CONFIGURATION_POLICY' \ 340 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 341 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 342 '-DENABLE_GPU=1' \ 343 '-DUSE_OPENSSL=1' \ 344 '-DENABLE_EGLIMAGE=1' \ 345 '-DENABLE_PRINTING=1' \ 346 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ 347 '-DWEBKIT_IMPLEMENTATION=1' \ 348 '-DINSIDE_WEBKIT' \ 349 '-DENABLE_CSS3_TEXT=0' \ 350 '-DENABLE_CSS_EXCLUSIONS=1' \ 351 '-DENABLE_CSS_REGIONS=1' \ 352 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 353 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 354 '-DENABLE_SVG_FONTS=1' \ 355 '-DENABLE_TOUCH_ICON_LOADING=1' \ 356 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 357 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 358 '-DENABLE_CALENDAR_PICKER=0' \ 359 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 360 '-DENABLE_INPUT_SPEECH=0' \ 361 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 362 '-DENABLE_MEDIA_CAPTURE=1' \ 363 '-DENABLE_NOTIFICATIONS=0' \ 364 '-DENABLE_ORIENTATION_EVENTS=1' \ 365 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 366 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 367 '-DENABLE_OPENTYPE_VERTICAL=1' \ 368 '-DWTF_USE_HARFBUZZ=1' \ 369 '-DU_USING_ICU_NAMESPACE=0' \ 370 '-DCHROME_PNG_WRITE_SUPPORT' \ 371 '-DPNG_USER_CONFIG' \ 372 '-DLIBXML_STATIC' \ 373 '-DLIBXSLT_STATIC' \ 374 '-DUSE_SYSTEM_LIBJPEG' \ 375 '-DANDROID' \ 376 '-D__GNU_SOURCE=1' \ 377 '-DUSE_STLPORT=1' \ 378 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 379 '-DCHROME_BUILD_ID=""' \ 380 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 381 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 382 '-D_DEBUG' 383 384 385 # Include paths placed before CFLAGS/CPPFLAGS 386 LOCAL_C_INCLUDES_Debug := \ 387 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 388 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 389 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 390 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 391 $(LOCAL_PATH)/third_party/khronos \ 392 $(LOCAL_PATH)/gpu \ 393 $(LOCAL_PATH) \ 394 $(LOCAL_PATH)/third_party/WebKit \ 395 $(LOCAL_PATH)/third_party/WebKit/Source \ 396 $(gyp_shared_intermediate_dir)/blink \ 397 $(gyp_shared_intermediate_dir)/blink/bindings \ 398 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ 399 $(PWD)/external/icu4c/common \ 400 $(PWD)/external/icu4c/i18n \ 401 $(LOCAL_PATH)/third_party/skia/src/core \ 402 $(LOCAL_PATH)/skia/ext \ 403 $(LOCAL_PATH)/third_party/iccjpeg \ 404 $(LOCAL_PATH)/third_party/libpng \ 405 $(LOCAL_PATH)/third_party/libwebp \ 406 $(LOCAL_PATH)/third_party/libxml/linux/include \ 407 $(LOCAL_PATH)/third_party/libxml/src/include \ 408 $(LOCAL_PATH)/third_party/libxslt \ 409 $(LOCAL_PATH)/third_party/npapi \ 410 $(LOCAL_PATH)/third_party/npapi/bindings \ 411 $(LOCAL_PATH)/third_party/ots/include \ 412 $(LOCAL_PATH)/third_party/qcms/src \ 413 $(LOCAL_PATH)/third_party/sqlite \ 414 $(LOCAL_PATH)/third_party/zlib \ 415 $(LOCAL_PATH)/v8/include \ 416 $(PWD)/external/jpeg \ 417 $(PWD)/frameworks/wilhelm/include \ 418 $(PWD)/bionic \ 419 $(PWD)/external/stlport/stlport 420 421 422 # Flags passed to only C++ (and not C) files. 423 LOCAL_CPPFLAGS_Debug := \ 424 -fno-rtti \ 425 -fno-threadsafe-statics \ 426 -fvisibility-inlines-hidden \ 427 -Wno-c++0x-compat \ 428 -Wno-deprecated \ 429 -Wno-error=c++0x-compat \ 430 -Wno-non-virtual-dtor \ 431 -Wno-sign-promo \ 432 -Wno-non-virtual-dtor 433 434 435 # Flags passed to both C and C++ files. 436 MY_CFLAGS_Release := \ 437 --param=ssp-buffer-size=4 \ 438 -fno-exceptions \ 439 -fno-strict-aliasing \ 440 -Wno-unused-parameter \ 441 -Wno-missing-field-initializers \ 442 -fvisibility=hidden \ 443 -pipe \ 444 -fPIC \ 445 -Wno-format \ 446 -m32 \ 447 -mmmx \ 448 -march=pentium4 \ 449 -msse2 \ 450 -mfpmath=sse \ 451 -fuse-ld=gold \ 452 -ffunction-sections \ 453 -funwind-tables \ 454 -g \ 455 -fno-short-enums \ 456 -finline-limit=64 \ 457 -Wa,--noexecstack \ 458 -U_FORTIFY_SOURCE \ 459 -Wno-extra \ 460 -Wno-ignored-qualifiers \ 461 -Wno-type-limits \ 462 -Wno-address \ 463 -Wno-format-security \ 464 -Wno-return-type \ 465 -Wno-sequence-point \ 466 -fno-stack-protector \ 467 -Os \ 468 -fno-ident \ 469 -fdata-sections \ 470 -ffunction-sections \ 471 -fomit-frame-pointer \ 472 -fno-unwind-tables \ 473 -fno-asynchronous-unwind-tables 474 475 MY_DEFS_Release := \ 476 '-DANGLE_DX11' \ 477 '-D_FILE_OFFSET_BITS=64' \ 478 '-DNO_TCMALLOC' \ 479 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 480 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 481 '-DDISABLE_NACL' \ 482 '-DCHROMIUM_BUILD' \ 483 '-DUSE_LIBJPEG_TURBO=1' \ 484 '-DUSE_PROPRIETARY_CODECS' \ 485 '-DENABLE_CONFIGURATION_POLICY' \ 486 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 487 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 488 '-DENABLE_GPU=1' \ 489 '-DUSE_OPENSSL=1' \ 490 '-DENABLE_EGLIMAGE=1' \ 491 '-DENABLE_PRINTING=1' \ 492 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ 493 '-DWEBKIT_IMPLEMENTATION=1' \ 494 '-DINSIDE_WEBKIT' \ 495 '-DENABLE_CSS3_TEXT=0' \ 496 '-DENABLE_CSS_EXCLUSIONS=1' \ 497 '-DENABLE_CSS_REGIONS=1' \ 498 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 499 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 500 '-DENABLE_SVG_FONTS=1' \ 501 '-DENABLE_TOUCH_ICON_LOADING=1' \ 502 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 503 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 504 '-DENABLE_CALENDAR_PICKER=0' \ 505 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 506 '-DENABLE_INPUT_SPEECH=0' \ 507 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 508 '-DENABLE_MEDIA_CAPTURE=1' \ 509 '-DENABLE_NOTIFICATIONS=0' \ 510 '-DENABLE_ORIENTATION_EVENTS=1' \ 511 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 512 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 513 '-DENABLE_OPENTYPE_VERTICAL=1' \ 514 '-DWTF_USE_HARFBUZZ=1' \ 515 '-DU_USING_ICU_NAMESPACE=0' \ 516 '-DCHROME_PNG_WRITE_SUPPORT' \ 517 '-DPNG_USER_CONFIG' \ 518 '-DLIBXML_STATIC' \ 519 '-DLIBXSLT_STATIC' \ 520 '-DUSE_SYSTEM_LIBJPEG' \ 521 '-DANDROID' \ 522 '-D__GNU_SOURCE=1' \ 523 '-DUSE_STLPORT=1' \ 524 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 525 '-DCHROME_BUILD_ID=""' \ 526 '-DNDEBUG' \ 527 '-DNVALGRIND' \ 528 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 529 530 531 # Include paths placed before CFLAGS/CPPFLAGS 532 LOCAL_C_INCLUDES_Release := \ 533 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 534 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 535 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 536 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 537 $(LOCAL_PATH)/third_party/khronos \ 538 $(LOCAL_PATH)/gpu \ 539 $(LOCAL_PATH) \ 540 $(LOCAL_PATH)/third_party/WebKit \ 541 $(LOCAL_PATH)/third_party/WebKit/Source \ 542 $(gyp_shared_intermediate_dir)/blink \ 543 $(gyp_shared_intermediate_dir)/blink/bindings \ 544 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ 545 $(PWD)/external/icu4c/common \ 546 $(PWD)/external/icu4c/i18n \ 547 $(LOCAL_PATH)/third_party/skia/src/core \ 548 $(LOCAL_PATH)/skia/ext \ 549 $(LOCAL_PATH)/third_party/iccjpeg \ 550 $(LOCAL_PATH)/third_party/libpng \ 551 $(LOCAL_PATH)/third_party/libwebp \ 552 $(LOCAL_PATH)/third_party/libxml/linux/include \ 553 $(LOCAL_PATH)/third_party/libxml/src/include \ 554 $(LOCAL_PATH)/third_party/libxslt \ 555 $(LOCAL_PATH)/third_party/npapi \ 556 $(LOCAL_PATH)/third_party/npapi/bindings \ 557 $(LOCAL_PATH)/third_party/ots/include \ 558 $(LOCAL_PATH)/third_party/qcms/src \ 559 $(LOCAL_PATH)/third_party/sqlite \ 560 $(LOCAL_PATH)/third_party/zlib \ 561 $(LOCAL_PATH)/v8/include \ 562 $(PWD)/external/jpeg \ 563 $(PWD)/frameworks/wilhelm/include \ 564 $(PWD)/bionic \ 565 $(PWD)/external/stlport/stlport 566 567 568 # Flags passed to only C++ (and not C) files. 569 LOCAL_CPPFLAGS_Release := \ 570 -fno-rtti \ 571 -fno-threadsafe-statics \ 572 -fvisibility-inlines-hidden \ 573 -Wno-c++0x-compat \ 574 -Wno-deprecated \ 575 -Wno-error=c++0x-compat \ 576 -Wno-non-virtual-dtor \ 577 -Wno-sign-promo \ 578 -Wno-non-virtual-dtor 579 580 581 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 582 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 583 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 584 ### Rules for final target. 585 586 LOCAL_LDFLAGS_Debug := \ 587 -Wl,-z,now \ 588 -Wl,-z,relro \ 589 -Wl,-z,noexecstack \ 590 -fPIC \ 591 -m32 \ 592 -fuse-ld=gold \ 593 -nostdlib \ 594 -Wl,--no-undefined \ 595 -Wl,--exclude-libs=ALL \ 596 -Wl,--fatal-warnings \ 597 -Wl,--gc-sections \ 598 -Wl,--warn-shared-textrel \ 599 -Wl,-O1 \ 600 -Wl,--as-needed 601 602 603 LOCAL_LDFLAGS_Release := \ 604 -Wl,-z,now \ 605 -Wl,-z,relro \ 606 -Wl,-z,noexecstack \ 607 -fPIC \ 608 -m32 \ 609 -fuse-ld=gold \ 610 -nostdlib \ 611 -Wl,--no-undefined \ 612 -Wl,--exclude-libs=ALL \ 613 -Wl,-O1 \ 614 -Wl,--as-needed \ 615 -Wl,--gc-sections \ 616 -Wl,--fatal-warnings \ 617 -Wl,--warn-shared-textrel 618 619 620 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 621 622 LOCAL_STATIC_LIBRARIES := 623 624 # Enable grouping to fix circular references 625 LOCAL_GROUP_STATIC_LIBRARIES := true 626 627 LOCAL_SHARED_LIBRARIES := \ 628 libskia \ 629 libstlport \ 630 libdl 631 632 # Add target alias to "gyp_all_modules" target. 633 .PHONY: gyp_all_modules 634 gyp_all_modules: third_party_WebKit_Source_core_webcore_html_gyp 635 636 # Alias gyp target name. 637 .PHONY: webcore_html 638 webcore_html: third_party_WebKit_Source_core_webcore_html_gyp 639 640 include $(BUILD_STATIC_LIBRARY) 641