blob: 79cf2447ed9fae78a90589137c5134420514feb8 [file] [log] [blame]
Torne (Richard Coles)23042b72013-06-11 16:24:26 +01001# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := third_party_WebKit_Source_core_webcore_html_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_prerequisites_gyp)/webcore_prerequisites.stamp \
15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_gyp)/skia_skia_gyp.a
16
17GYP_GENERATED_OUTPUTS :=
18
19# Make sure our deps and generated files are built first.
20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
21
22LOCAL_GENERATED_SOURCES :=
23
24GYP_COPIED_SOURCE_ORIGIN_DIRS :=
25
26LOCAL_SRC_FILES := \
27 third_party/WebKit/Source/core/html/BaseButtonInputType.cpp \
28 third_party/WebKit/Source/core/html/BaseCheckableInputType.cpp \
29 third_party/WebKit/Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp \
30 third_party/WebKit/Source/core/html/BaseClickableWithKeyInputType.cpp \
31 third_party/WebKit/Source/core/html/BaseDateAndTimeInputType.cpp \
32 third_party/WebKit/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp \
33 third_party/WebKit/Source/core/html/BaseTextInputType.cpp \
34 third_party/WebKit/Source/core/html/ButtonInputType.cpp \
35 third_party/WebKit/Source/core/html/CheckboxInputType.cpp \
36 third_party/WebKit/Source/core/html/ClassList.cpp \
37 third_party/WebKit/Source/core/html/ColorInputType.cpp \
38 third_party/WebKit/Source/core/html/DOMFormData.cpp \
39 third_party/WebKit/Source/core/html/DOMSettableTokenList.cpp \
40 third_party/WebKit/Source/core/html/DOMTokenList.cpp \
41 third_party/WebKit/Source/core/html/DOMURL.cpp \
42 third_party/WebKit/Source/core/html/DateInputType.cpp \
43 third_party/WebKit/Source/core/html/DateTimeFieldsState.cpp \
44 third_party/WebKit/Source/core/html/DateTimeLocalInputType.cpp \
45 third_party/WebKit/Source/core/html/EmailInputType.cpp \
46 third_party/WebKit/Source/core/html/FileInputType.cpp \
47 third_party/WebKit/Source/core/html/FormAssociatedElement.cpp \
48 third_party/WebKit/Source/core/html/FormController.cpp \
49 third_party/WebKit/Source/core/html/FormDataList.cpp \
50 third_party/WebKit/Source/core/html/HTMLAllCollection.cpp \
51 third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp \
52 third_party/WebKit/Source/core/html/HTMLAppletElement.cpp \
53 third_party/WebKit/Source/core/html/HTMLAreaElement.cpp \
54 third_party/WebKit/Source/core/html/HTMLAudioElement.cpp \
55 third_party/WebKit/Source/core/html/HTMLBRElement.cpp \
56 third_party/WebKit/Source/core/html/HTMLBaseElement.cpp \
57 third_party/WebKit/Source/core/html/HTMLBodyElement.cpp \
58 third_party/WebKit/Source/core/html/HTMLButtonElement.cpp \
59 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp \
60 third_party/WebKit/Source/core/html/HTMLCollection.cpp \
61 third_party/WebKit/Source/core/html/HTMLDListElement.cpp \
62 third_party/WebKit/Source/core/html/HTMLDataListElement.cpp \
63 third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp \
64 third_party/WebKit/Source/core/html/HTMLDialogElement.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/HTMLImportsController.cpp \
88 third_party/WebKit/Source/core/html/HTMLInputElement.cpp \
89 third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp \
90 third_party/WebKit/Source/core/html/HTMLLIElement.cpp \
91 third_party/WebKit/Source/core/html/HTMLLabelElement.cpp \
92 third_party/WebKit/Source/core/html/HTMLLegendElement.cpp \
93 third_party/WebKit/Source/core/html/HTMLLinkElement.cpp \
94 third_party/WebKit/Source/core/html/HTMLMapElement.cpp \
95 third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp \
96 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp \
97 third_party/WebKit/Source/core/html/HTMLMenuElement.cpp \
98 third_party/WebKit/Source/core/html/HTMLMetaElement.cpp \
99 third_party/WebKit/Source/core/html/HTMLMeterElement.cpp \
100 third_party/WebKit/Source/core/html/HTMLModElement.cpp \
101 third_party/WebKit/Source/core/html/HTMLNameCollection.cpp \
102 third_party/WebKit/Source/core/html/HTMLOListElement.cpp \
103 third_party/WebKit/Source/core/html/HTMLObjectElement.cpp \
104 third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp \
105 third_party/WebKit/Source/core/html/HTMLOptionElement.cpp \
106 third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp \
107 third_party/WebKit/Source/core/html/HTMLOutputElement.cpp \
108 third_party/WebKit/Source/core/html/HTMLParagraphElement.cpp \
109 third_party/WebKit/Source/core/html/HTMLParamElement.cpp \
110 third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp \
111 third_party/WebKit/Source/core/html/HTMLPlugInImageElement.cpp \
112 third_party/WebKit/Source/core/html/HTMLPreElement.cpp \
113 third_party/WebKit/Source/core/html/HTMLProgressElement.cpp \
114 third_party/WebKit/Source/core/html/HTMLQuoteElement.cpp \
115 third_party/WebKit/Source/core/html/HTMLScriptElement.cpp \
116 third_party/WebKit/Source/core/html/HTMLSelectElement.cpp \
117 third_party/WebKit/Source/core/html/HTMLSelectElementWin.cpp \
118 third_party/WebKit/Source/core/html/HTMLSourceElement.cpp \
119 third_party/WebKit/Source/core/html/HTMLSpanElement.cpp \
120 third_party/WebKit/Source/core/html/HTMLStyleElement.cpp \
121 third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp \
122 third_party/WebKit/Source/core/html/HTMLTableCaptionElement.cpp \
123 third_party/WebKit/Source/core/html/HTMLTableCellElement.cpp \
124 third_party/WebKit/Source/core/html/HTMLTableColElement.cpp \
125 third_party/WebKit/Source/core/html/HTMLTableElement.cpp \
126 third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp \
127 third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp \
128 third_party/WebKit/Source/core/html/HTMLTableRowsCollection.cpp \
129 third_party/WebKit/Source/core/html/HTMLTableSectionElement.cpp \
130 third_party/WebKit/Source/core/html/HTMLTemplateElement.cpp \
131 third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp \
132 third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp \
133 third_party/WebKit/Source/core/html/HTMLTitleElement.cpp \
134 third_party/WebKit/Source/core/html/HTMLTrackElement.cpp \
135 third_party/WebKit/Source/core/html/HTMLUListElement.cpp \
136 third_party/WebKit/Source/core/html/HTMLVideoElement.cpp \
137 third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp \
138 third_party/WebKit/Source/core/html/HiddenInputType.cpp \
139 third_party/WebKit/Source/core/html/ImageData.cpp \
140 third_party/WebKit/Source/core/html/ImageDocument.cpp \
141 third_party/WebKit/Source/core/html/ImageInputType.cpp \
142 third_party/WebKit/Source/core/html/InputType.cpp \
143 third_party/WebKit/Source/core/html/InputTypeNames.cpp \
144 third_party/WebKit/Source/core/html/LabelableElement.cpp \
145 third_party/WebKit/Source/core/html/LabelsNodeList.cpp \
146 third_party/WebKit/Source/core/html/LinkRelAttribute.cpp \
147 third_party/WebKit/Source/core/html/LinkResource.cpp \
148 third_party/WebKit/Source/core/html/MediaController.cpp \
149 third_party/WebKit/Source/core/html/MediaDocument.cpp \
150 third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp \
151 third_party/WebKit/Source/core/html/MediaKeyEvent.cpp \
152 third_party/WebKit/Source/core/html/MonthInputType.cpp \
153 third_party/WebKit/Source/core/html/NumberInputType.cpp \
154 third_party/WebKit/Source/core/html/PasswordInputType.cpp \
155 third_party/WebKit/Source/core/html/PluginDocument.cpp \
156 third_party/WebKit/Source/core/html/PublicURLManager.cpp \
157 third_party/WebKit/Source/core/html/RadioInputType.cpp \
158 third_party/WebKit/Source/core/html/RadioNodeList.cpp \
159 third_party/WebKit/Source/core/html/RangeInputType.cpp \
160 third_party/WebKit/Source/core/html/ResetInputType.cpp \
161 third_party/WebKit/Source/core/html/SearchInputType.cpp \
162 third_party/WebKit/Source/core/html/StepRange.cpp \
163 third_party/WebKit/Source/core/html/SubmitInputType.cpp \
164 third_party/WebKit/Source/core/html/TelephoneInputType.cpp \
165 third_party/WebKit/Source/core/html/TextDocument.cpp \
166 third_party/WebKit/Source/core/html/TextFieldInputType.cpp \
167 third_party/WebKit/Source/core/html/TextInputType.cpp \
168 third_party/WebKit/Source/core/html/TimeInputType.cpp \
169 third_party/WebKit/Source/core/html/TimeRanges.cpp \
170 third_party/WebKit/Source/core/html/URLInputType.cpp \
171 third_party/WebKit/Source/core/html/ValidationMessage.cpp \
172 third_party/WebKit/Source/core/html/ValidityState.cpp \
173 third_party/WebKit/Source/core/html/WeekInputType.cpp \
174 third_party/WebKit/Source/core/html/TypeAhead.cpp \
Torne (Richard Coles)521d96e2013-06-19 11:58:24 +0100175 third_party/WebKit/Source/core/html/canvas/ANGLEInstancedArrays.cpp \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100176 third_party/WebKit/Source/core/html/canvas/Canvas2DContextAttributes.cpp \
177 third_party/WebKit/Source/core/html/canvas/CanvasContextAttributes.cpp \
178 third_party/WebKit/Source/core/html/canvas/CanvasGradient.cpp \
179 third_party/WebKit/Source/core/html/canvas/CanvasPathMethods.cpp \
180 third_party/WebKit/Source/core/html/canvas/CanvasPattern.cpp \
181 third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp \
182 third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext2D.cpp \
183 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
184 third_party/WebKit/Source/core/html/canvas/DataView.cpp \
185 third_party/WebKit/Source/core/html/canvas/EXTFragDepth.cpp \
186 third_party/WebKit/Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp \
187 third_party/WebKit/Source/core/html/canvas/OESStandardDerivatives.cpp \
188 third_party/WebKit/Source/core/html/canvas/OESTextureFloat.cpp \
189 third_party/WebKit/Source/core/html/canvas/OESTextureFloatLinear.cpp \
190 third_party/WebKit/Source/core/html/canvas/OESTextureHalfFloat.cpp \
191 third_party/WebKit/Source/core/html/canvas/OESTextureHalfFloatLinear.cpp \
192 third_party/WebKit/Source/core/html/canvas/OESVertexArrayObject.cpp \
193 third_party/WebKit/Source/core/html/canvas/OESElementIndexUint.cpp \
194 third_party/WebKit/Source/core/html/canvas/WebGLBuffer.cpp \
195 third_party/WebKit/Source/core/html/canvas/WebGLCompressedTextureATC.cpp \
196 third_party/WebKit/Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp \
197 third_party/WebKit/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp \
198 third_party/WebKit/Source/core/html/canvas/WebGLContextAttributes.cpp \
199 third_party/WebKit/Source/core/html/canvas/WebGLContextEvent.cpp \
200 third_party/WebKit/Source/core/html/canvas/WebGLContextGroup.cpp \
201 third_party/WebKit/Source/core/html/canvas/WebGLContextObject.cpp \
202 third_party/WebKit/Source/core/html/canvas/WebGLDebugRendererInfo.cpp \
203 third_party/WebKit/Source/core/html/canvas/WebGLDebugShaders.cpp \
204 third_party/WebKit/Source/core/html/canvas/WebGLDepthTexture.cpp \
205 third_party/WebKit/Source/core/html/canvas/WebGLDrawBuffers.cpp \
206 third_party/WebKit/Source/core/html/canvas/WebGLExtension.cpp \
207 third_party/WebKit/Source/core/html/canvas/WebGLFramebuffer.cpp \
208 third_party/WebKit/Source/core/html/canvas/WebGLGetInfo.cpp \
209 third_party/WebKit/Source/core/html/canvas/WebGLLoseContext.cpp \
210 third_party/WebKit/Source/core/html/canvas/WebGLObject.cpp \
211 third_party/WebKit/Source/core/html/canvas/WebGLProgram.cpp \
212 third_party/WebKit/Source/core/html/canvas/WebGLRenderbuffer.cpp \
213 third_party/WebKit/Source/core/html/canvas/WebGLRenderingContext.cpp \
214 third_party/WebKit/Source/core/html/canvas/WebGLShader.cpp \
215 third_party/WebKit/Source/core/html/canvas/WebGLShaderPrecisionFormat.cpp \
216 third_party/WebKit/Source/core/html/canvas/WebGLSharedObject.cpp \
217 third_party/WebKit/Source/core/html/canvas/WebGLTexture.cpp \
218 third_party/WebKit/Source/core/html/canvas/WebGLUniformLocation.cpp \
219 third_party/WebKit/Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp \
220 third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp \
221 third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.cpp \
222 third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp \
223 third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp \
224 third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp \
225 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp \
226 third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp \
227 third_party/WebKit/Source/core/html/parser/HTMLEntityParser.cpp \
228 third_party/WebKit/Source/core/html/parser/HTMLEntitySearch.cpp \
229 third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.cpp \
230 third_party/WebKit/Source/core/html/parser/HTMLIdentifier.cpp \
231 third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp \
232 third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp \
233 third_party/WebKit/Source/core/html/parser/HTMLParserOptions.cpp \
234 third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.cpp \
235 third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp \
236 third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp \
237 third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp \
238 third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp \
239 third_party/WebKit/Source/core/html/parser/HTMLSourceTracker.cpp \
240 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \
241 third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp \
242 third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.cpp \
243 third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp \
244 third_party/WebKit/Source/core/html/parser/TextDocumentParser.cpp \
245 third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp \
246 third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp \
247 third_party/WebKit/Source/core/html/shadow/PickerIndicatorElement.cpp \
248 third_party/WebKit/Source/core/html/shadow/ClearButtonElement.cpp \
249 third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp \
250 third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp \
251 third_party/WebKit/Source/core/html/shadow/DateTimeFieldElements.cpp \
252 third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.cpp \
253 third_party/WebKit/Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp \
254 third_party/WebKit/Source/core/html/shadow/DetailsMarkerControl.cpp \
255 third_party/WebKit/Source/core/html/shadow/HTMLContentElement.cpp \
256 third_party/WebKit/Source/core/html/shadow/HTMLShadowElement.cpp \
257 third_party/WebKit/Source/core/html/shadow/MediaControls.cpp \
258 third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp \
259 third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp \
260 third_party/WebKit/Source/core/html/shadow/MediaControlsChromium.cpp \
261 third_party/WebKit/Source/core/html/shadow/MediaControlsChromiumAndroid.cpp \
262 third_party/WebKit/Source/core/html/shadow/MeterShadowElement.cpp \
263 third_party/WebKit/Source/core/html/shadow/ProgressShadowElement.cpp \
264 third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp \
265 third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp \
266 third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp \
267 third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp \
268 third_party/WebKit/Source/core/html/shadow/TextFieldDecorationElement.cpp \
269 third_party/WebKit/Source/core/html/ime/Composition.cpp \
270 third_party/WebKit/Source/core/html/ime/InputMethodContext.cpp \
271 third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp \
272 third_party/WebKit/Source/core/html/track/LoadableTextTrack.cpp \
273 third_party/WebKit/Source/core/html/track/TextTrack.cpp \
274 third_party/WebKit/Source/core/html/track/TextTrackCue.cpp \
275 third_party/WebKit/Source/core/html/track/TextTrackCueGeneric.cpp \
276 third_party/WebKit/Source/core/html/track/TextTrackCueList.cpp \
277 third_party/WebKit/Source/core/html/track/TextTrackList.cpp \
278 third_party/WebKit/Source/core/html/track/TextTrackRegion.cpp \
279 third_party/WebKit/Source/core/html/track/TextTrackRegionList.cpp \
280 third_party/WebKit/Source/core/html/track/TrackBase.cpp \
281 third_party/WebKit/Source/core/html/track/TrackEvent.cpp \
282 third_party/WebKit/Source/core/html/track/WebVTTElement.cpp \
283 third_party/WebKit/Source/core/html/track/WebVTTParser.cpp \
284 third_party/WebKit/Source/core/html/track/WebVTTTokenizer.cpp
285
286
287# Flags passed to both C and C++ files.
288MY_CFLAGS := \
289 -fstack-protector \
290 --param=ssp-buffer-size=4 \
291 \
292 -fno-exceptions \
293 -fno-strict-aliasing \
294 -Wno-unused-parameter \
295 -Wno-missing-field-initializers \
296 -fvisibility=hidden \
297 -pipe \
298 -fPIC \
299 -Wno-format \
300 -EL \
301 -mhard-float \
Ben Murdoch874cc8d2013-06-27 01:42:22 +0100302 --sysroot=/usr/local/google2/src/clank/webview/external/chromium_org/mipsel-sysroot/sysroot \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100303 -ffunction-sections \
304 -funwind-tables \
305 -g \
306 -fstack-protector \
307 -fno-short-enums \
308 -finline-limit=64 \
309 -Wa,--noexecstack \
310 -U_FORTIFY_SOURCE \
311 -Wno-extra \
312 -Wno-ignored-qualifiers \
313 -Wno-type-limits \
314 -Wno-address \
315 -Wno-format-security \
316 -Wno-return-type \
317 -Wno-sequence-point \
318 -Os \
319 -g \
320 -fomit-frame-pointer \
321 -fdata-sections \
322 -ffunction-sections
323
324MY_CFLAGS_C :=
325
326MY_DEFS := \
Torne (Richard Coles)521d96e2013-06-19 11:58:24 +0100327 '-DANGLE_DX11' \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100328 '-D_FILE_OFFSET_BITS=64' \
329 '-DNO_TCMALLOC' \
330 '-DDISABLE_NACL' \
331 '-DCHROMIUM_BUILD' \
332 '-DUSE_LIBJPEG_TURBO=1' \
333 '-DUSE_PROPRIETARY_CODECS' \
334 '-DENABLE_GPU=1' \
335 '-DUSE_OPENSSL=1' \
336 '-DENABLE_EGLIMAGE=1' \
337 '-DENABLE_LANGUAGE_DETECTION=1' \
338 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \
339 '-DWEBKIT_IMPLEMENTATION=1' \
Torne (Richard Coles)521d96e2013-06-19 11:58:24 +0100340 '-DINSIDE_WEBKIT' \
341 '-DENABLE_CANVAS_USES_MAILBOX=1' \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100342 '-DENABLE_CSS3_TEXT=0' \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100343 '-DENABLE_CSS_EXCLUSIONS=1' \
344 '-DENABLE_CSS_REGIONS=1' \
345 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
346 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \
347 '-DENABLE_GRAPHICS_CONTEXT_ANNOTATIONS=0' \
348 '-DENABLE_SVG_FONTS=1' \
349 '-DENABLE_TOUCH_ICON_LOADING=1' \
350 '-DENABLE_XHR_TIMEOUT=0' \
Torne (Richard Coles)521d96e2013-06-19 11:58:24 +0100351 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100352 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
353 '-DENABLE_CALENDAR_PICKER=0' \
354 '-DENABLE_FAST_MOBILE_SCROLLING=1' \
355 '-DENABLE_INPUT_SPEECH=0' \
356 '-DENABLE_LEGACY_NOTIFICATIONS=0' \
357 '-DENABLE_MEDIA_CAPTURE=1' \
358 '-DENABLE_NOTIFICATIONS=0' \
359 '-DENABLE_ORIENTATION_EVENTS=1' \
360 '-DENABLE_PRINTING=0' \
361 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \
362 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \
363 '-DENABLE_8BIT_TEXTRUN=1' \
364 '-DENABLE_OPENTYPE_VERTICAL=1' \
365 '-DWTF_USE_HARFBUZZ=1' \
Torne (Richard Coles)521d96e2013-06-19 11:58:24 +0100366 '-DENABLE_PARTITION_ALLOC=1' \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100367 '-DU_USING_ICU_NAMESPACE=0' \
368 '-DSK_BUILD_NO_IMAGE_ENCODE' \
369 '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \
370 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
371 '-DGR_AGGRESSIVE_SHADER_OPTS=1' \
372 '-DSK_ENABLE_INST_COUNT=0' \
373 '-DSK_USE_POSIX_THREADS' \
374 '-DSK_BUILD_FOR_ANDROID' \
375 '-DCHROME_PNG_WRITE_SUPPORT' \
376 '-DPNG_USER_CONFIG' \
377 '-DLIBXML_STATIC' \
378 '-DLIBXSLT_STATIC' \
379 '-DUSE_SYSTEM_LIBJPEG' \
380 '-DANDROID' \
381 '-D__GNU_SOURCE=1' \
382 '-DUSE_STLPORT=1' \
383 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
384 '-DCHROME_BUILD_ID=""' \
385 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
386 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
387 '-D_DEBUG'
388
389LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
390
391# Include paths placed before CFLAGS/CPPFLAGS
392LOCAL_C_INCLUDES := \
393 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
394 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
395 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
396 $(LOCAL_PATH)/third_party/khronos \
397 $(LOCAL_PATH)/gpu \
398 $(LOCAL_PATH) \
399 $(LOCAL_PATH)/third_party/WebKit \
400 $(LOCAL_PATH)/third_party/WebKit/Source \
401 $(gyp_shared_intermediate_dir)/webkit \
402 $(gyp_shared_intermediate_dir)/webkit/bindings \
Torne (Richard Coles)521d96e2013-06-19 11:58:24 +0100403 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100404 $(PWD)/external/icu4c/common \
405 $(PWD)/external/icu4c/i18n \
406 $(LOCAL_PATH)/skia/config \
407 $(LOCAL_PATH)/third_party/skia/src/core \
408 $(LOCAL_PATH)/third_party/skia/include/config \
409 $(LOCAL_PATH)/third_party/skia/include/core \
410 $(LOCAL_PATH)/third_party/skia/include/effects \
411 $(LOCAL_PATH)/third_party/skia/include/pdf \
412 $(LOCAL_PATH)/third_party/skia/include/gpu \
413 $(LOCAL_PATH)/third_party/skia/include/gpu/gl \
414 $(LOCAL_PATH)/third_party/skia/include/pathops \
415 $(LOCAL_PATH)/third_party/skia/include/pipe \
416 $(LOCAL_PATH)/third_party/skia/include/ports \
417 $(LOCAL_PATH)/third_party/skia/include/utils \
418 $(LOCAL_PATH)/skia/ext \
419 $(LOCAL_PATH)/third_party/iccjpeg \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100420 $(LOCAL_PATH)/third_party/libpng \
Torne (Richard Coles)521d96e2013-06-19 11:58:24 +0100421 $(LOCAL_PATH)/third_party/libwebp \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100422 $(LOCAL_PATH)/third_party/libxml/linux/include \
423 $(LOCAL_PATH)/third_party/libxml/src/include \
424 $(LOCAL_PATH)/third_party/libxslt \
425 $(LOCAL_PATH)/third_party/npapi \
426 $(LOCAL_PATH)/third_party/npapi/bindings \
427 $(LOCAL_PATH)/third_party/ots/include \
428 $(LOCAL_PATH)/third_party/qcms/src \
429 $(LOCAL_PATH)/third_party/sqlite \
430 $(LOCAL_PATH)/third_party/zlib \
431 $(LOCAL_PATH)/v8/include \
432 $(PWD)/external/jpeg \
433 $(PWD)/frameworks/wilhelm/include \
434 $(PWD)/bionic \
435 $(PWD)/external/stlport/stlport
436
437LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES)
438
439# Flags passed to only C++ (and not C) files.
440LOCAL_CPPFLAGS := \
441 -fno-rtti \
442 -fno-threadsafe-statics \
443 -fvisibility-inlines-hidden \
444 -Wno-c++0x-compat \
445 -Wno-deprecated \
446 -Wno-uninitialized \
447 -Wno-error=c++0x-compat \
448 -Wno-non-virtual-dtor \
449 -Wno-sign-promo \
450 -Wno-non-virtual-dtor
451
452### Rules for final target.
453
454LOCAL_LDFLAGS := \
455 -Wl,-z,now \
456 -Wl,-z,relro \
457 -Wl,-z,noexecstack \
458 -fPIC \
459 -EL \
460 -Wl,--no-keep-memory \
Ben Murdoch874cc8d2013-06-27 01:42:22 +0100461 --sysroot=/usr/local/google2/src/clank/webview/external/chromium_org/mipsel-sysroot/sysroot \
Torne (Richard Coles)23042b72013-06-11 16:24:26 +0100462 \
463 -nostdlib \
464 -Wl,--no-undefined \
465 -Wl,--exclude-libs=ALL \
466 -Wl,--gc-sections \
467 -Wl,-O1 \
468 -Wl,--as-needed
469
470
471LOCAL_STATIC_LIBRARIES := \
472 skia_skia_gyp
473
474# Enable grouping to fix circular references
475LOCAL_GROUP_STATIC_LIBRARIES := true
476
477LOCAL_SHARED_LIBRARIES := \
478 libstlport \
479 libdl
480
481# Add target alias to "gyp_all_modules" target.
482.PHONY: gyp_all_modules
483gyp_all_modules: third_party_WebKit_Source_core_webcore_html_gyp
484
485# Alias gyp target name.
486.PHONY: webcore_html
487webcore_html: third_party_WebKit_Source_core_webcore_html_gyp
488
489include $(BUILD_STATIC_LIBRARY)