1# 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_remaining_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
16GYP_GENERATED_OUTPUTS :=
17
18# Make sure our deps and generated files are built first.
19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
20
21LOCAL_GENERATED_SOURCES :=
22
23GYP_COPIED_SOURCE_ORIGIN_DIRS :=
24
25LOCAL_SRC_FILES := \
26	third_party/WebKit/Source/core/Init.cpp \
27	third_party/WebKit/Source/core/accessibility/AXObjectCache.cpp \
28	third_party/WebKit/Source/core/accessibility/AXARIAGrid.cpp \
29	third_party/WebKit/Source/core/accessibility/AXARIAGridCell.cpp \
30	third_party/WebKit/Source/core/accessibility/AXARIAGridRow.cpp \
31	third_party/WebKit/Source/core/accessibility/AXImageMapLink.cpp \
32	third_party/WebKit/Source/core/accessibility/AXInlineTextBox.cpp \
33	third_party/WebKit/Source/core/accessibility/AXList.cpp \
34	third_party/WebKit/Source/core/accessibility/AXListBox.cpp \
35	third_party/WebKit/Source/core/accessibility/AXListBoxOption.cpp \
36	third_party/WebKit/Source/core/accessibility/AXMediaControls.cpp \
37	third_party/WebKit/Source/core/accessibility/AXMenuList.cpp \
38	third_party/WebKit/Source/core/accessibility/AXMenuListOption.cpp \
39	third_party/WebKit/Source/core/accessibility/AXMenuListPopup.cpp \
40	third_party/WebKit/Source/core/accessibility/AXMockObject.cpp \
41	third_party/WebKit/Source/core/accessibility/AXNodeObject.cpp \
42	third_party/WebKit/Source/core/accessibility/AXObject.cpp \
43	third_party/WebKit/Source/core/accessibility/AXProgressIndicator.cpp \
44	third_party/WebKit/Source/core/accessibility/AXRenderObject.cpp \
45	third_party/WebKit/Source/core/accessibility/AXScrollView.cpp \
46	third_party/WebKit/Source/core/accessibility/AXScrollbar.cpp \
47	third_party/WebKit/Source/core/accessibility/AXSlider.cpp \
48	third_party/WebKit/Source/core/accessibility/AXSpinButton.cpp \
49	third_party/WebKit/Source/core/accessibility/AXSVGRoot.cpp \
50	third_party/WebKit/Source/core/accessibility/AXTable.cpp \
51	third_party/WebKit/Source/core/accessibility/AXTableCell.cpp \
52	third_party/WebKit/Source/core/accessibility/AXTableColumn.cpp \
53	third_party/WebKit/Source/core/accessibility/AXTableHeaderContainer.cpp \
54	third_party/WebKit/Source/core/accessibility/AXTableRow.cpp \
55	third_party/WebKit/Source/core/animation/ActiveAnimations.cpp \
56	third_party/WebKit/Source/core/animation/AnimatableClipPathOperation.cpp \
57	third_party/WebKit/Source/core/animation/AnimatableColor.cpp \
58	third_party/WebKit/Source/core/animation/AnimatableDouble.cpp \
59	third_party/WebKit/Source/core/animation/AnimatableFilterOperations.cpp \
60	third_party/WebKit/Source/core/animation/AnimatableImage.cpp \
61	third_party/WebKit/Source/core/animation/AnimatableLength.cpp \
62	third_party/WebKit/Source/core/animation/AnimatableLengthBox.cpp \
63	third_party/WebKit/Source/core/animation/AnimatableLengthBoxAndBool.cpp \
64	third_party/WebKit/Source/core/animation/AnimatableLengthPoint.cpp \
65	third_party/WebKit/Source/core/animation/AnimatableLengthSize.cpp \
66	third_party/WebKit/Source/core/animation/AnimatableRepeatable.cpp \
67	third_party/WebKit/Source/core/animation/AnimatableSVGLength.cpp \
68	third_party/WebKit/Source/core/animation/AnimatableSVGPaint.cpp \
69	third_party/WebKit/Source/core/animation/AnimatableShadow.cpp \
70	third_party/WebKit/Source/core/animation/AnimatableShapeValue.cpp \
71	third_party/WebKit/Source/core/animation/AnimatableStrokeDasharrayList.cpp \
72	third_party/WebKit/Source/core/animation/AnimatableTransform.cpp \
73	third_party/WebKit/Source/core/animation/AnimatableValue.cpp \
74	third_party/WebKit/Source/core/animation/AnimatableVisibility.cpp \
75	third_party/WebKit/Source/core/animation/ElementAnimation.cpp \
76	third_party/WebKit/Source/core/animation/Animation.cpp \
77	third_party/WebKit/Source/core/animation/AnimationStack.cpp \
78	third_party/WebKit/Source/core/animation/CompositorAnimations.cpp \
79	third_party/WebKit/Source/core/animation/DocumentAnimations.cpp \
80	third_party/WebKit/Source/core/animation/DocumentTimeline.cpp \
81	third_party/WebKit/Source/core/animation/InertAnimation.cpp \
82	third_party/WebKit/Source/core/animation/KeyframeAnimationEffect.cpp \
83	third_party/WebKit/Source/core/animation/Player.cpp \
84	third_party/WebKit/Source/core/animation/TimedItem.cpp \
85	third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp \
86	third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp \
87	third_party/WebKit/Source/core/animation/css/CSSPendingAnimations.cpp \
88	third_party/WebKit/Source/core/animation/css/TransitionTimeline.cpp \
89	third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp \
90	third_party/WebKit/Source/core/css/CSSArrayFunctionValue.cpp \
91	third_party/WebKit/Source/core/css/CSSAspectRatioValue.cpp \
92	third_party/WebKit/Source/core/css/CSSBasicShapes.cpp \
93	third_party/WebKit/Source/core/css/CSSBorderImage.cpp \
94	third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.cpp \
95	third_party/WebKit/Source/core/css/CSSCanvasValue.cpp \
96	third_party/WebKit/Source/core/css/CSSCalculationValue.cpp \
97	third_party/WebKit/Source/core/css/CSSCharsetRule.cpp \
98	third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp \
99	third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp \
100	third_party/WebKit/Source/core/css/CSSCursorImageValue.cpp \
101	third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp \
102	third_party/WebKit/Source/core/css/CSSFilterRule.cpp \
103	third_party/WebKit/Source/core/css/CSSFilterValue.cpp \
104	third_party/WebKit/Source/core/css/CSSFontFace.cpp \
105	third_party/WebKit/Source/core/css/CSSFontFaceLoadEvent.cpp \
106	third_party/WebKit/Source/core/css/CSSFontFaceRule.cpp \
107	third_party/WebKit/Source/core/css/CSSFontFaceSource.cpp \
108	third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp \
109	third_party/WebKit/Source/core/css/CSSFontFeatureValue.cpp \
110	third_party/WebKit/Source/core/css/CSSFontSelector.cpp \
111	third_party/WebKit/Source/core/css/CSSFontValue.cpp \
112	third_party/WebKit/Source/core/css/CSSFunctionValue.cpp \
113	third_party/WebKit/Source/core/css/CSSGradientValue.cpp \
114	third_party/WebKit/Source/core/css/CSSGridLineNamesValue.cpp \
115	third_party/WebKit/Source/core/css/CSSGridTemplateValue.cpp \
116	third_party/WebKit/Source/core/css/CSSGroupingRule.cpp \
117	third_party/WebKit/Source/core/css/CSSImageGeneratorValue.cpp \
118	third_party/WebKit/Source/core/css/CSSImageSetValue.cpp \
119	third_party/WebKit/Source/core/css/CSSImageValue.cpp \
120	third_party/WebKit/Source/core/css/CSSImportRule.cpp \
121	third_party/WebKit/Source/core/css/CSSInheritedValue.cpp \
122	third_party/WebKit/Source/core/css/CSSInitialValue.cpp \
123	third_party/WebKit/Source/core/css/CSSKeyframeRule.cpp \
124	third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp \
125	third_party/WebKit/Source/core/css/CSSLengthFunctions.cpp \
126	third_party/WebKit/Source/core/css/CSSLineBoxContainValue.cpp \
127	third_party/WebKit/Source/core/css/CSSMatrix.cpp \
128	third_party/WebKit/Source/core/css/CSSMediaRule.cpp \
129	third_party/WebKit/Source/core/css/CSSMixFunctionValue.cpp \
130	third_party/WebKit/Source/core/css/CSSOMUtils.cpp \
131	third_party/WebKit/Source/core/css/CSSPageRule.cpp \
132	third_party/WebKit/Source/core/css/CSSParserMode.cpp \
133	third_party/WebKit/Source/core/css/CSSParserValues.cpp \
134	third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp \
135	third_party/WebKit/Source/core/css/CSSProperty.cpp \
136	third_party/WebKit/Source/core/css/CSSPropertySourceData.cpp \
137	third_party/WebKit/Source/core/css/CSSReflectValue.cpp \
138	third_party/WebKit/Source/core/css/CSSRegionRule.cpp \
139	third_party/WebKit/Source/core/css/CSSRule.cpp \
140	third_party/WebKit/Source/core/css/CSSRuleList.cpp \
141	third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp \
142	third_party/WebKit/Source/core/css/CSSSegmentedFontFaceCache.cpp \
143	third_party/WebKit/Source/core/css/CSSSelector.cpp \
144	third_party/WebKit/Source/core/css/CSSSelectorList.cpp \
145	third_party/WebKit/Source/core/css/CSSShaderValue.cpp \
146	third_party/WebKit/Source/core/css/CSSShadowValue.cpp \
147	third_party/WebKit/Source/core/css/CSSStyleDeclaration.cpp \
148	third_party/WebKit/Source/core/css/CSSStyleRule.cpp \
149	third_party/WebKit/Source/core/css/CSSStyleSheet.cpp \
150	third_party/WebKit/Source/core/css/CSSSupportsRule.cpp \
151	third_party/WebKit/Source/core/css/CSSSVGDocumentValue.cpp \
152	third_party/WebKit/Source/core/css/CSSTimingFunctionValue.cpp \
153	third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp \
154	third_party/WebKit/Source/core/css/CSSTransformValue.cpp \
155	third_party/WebKit/Source/core/css/CSSUnicodeRangeValue.cpp \
156	third_party/WebKit/Source/core/css/CSSValue.cpp \
157	third_party/WebKit/Source/core/css/CSSValueList.cpp \
158	third_party/WebKit/Source/core/css/CSSValuePool.cpp \
159	third_party/WebKit/Source/core/css/CSSVariablesMap.cpp \
160	third_party/WebKit/Source/core/css/CSSViewportRule.cpp \
161	third_party/WebKit/Source/core/css/DOMWindowCSS.cpp \
162	third_party/WebKit/Source/core/css/DocumentFontFaceSet.cpp \
163	third_party/WebKit/Source/core/css/ElementRuleCollector.cpp \
164	third_party/WebKit/Source/core/css/FontFaceSet.cpp \
165	third_party/WebKit/Source/core/css/FontFace.cpp \
166	third_party/WebKit/Source/core/css/FontSize.cpp \
167	third_party/WebKit/Source/core/css/InspectorCSSOMWrappers.cpp \
168	third_party/WebKit/Source/core/css/MediaFeatureNames.cpp \
169	third_party/WebKit/Source/core/css/MediaList.cpp \
170	third_party/WebKit/Source/core/css/MediaQuery.cpp \
171	third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp \
172	third_party/WebKit/Source/core/css/MediaQueryExp.cpp \
173	third_party/WebKit/Source/core/css/MediaQueryList.cpp \
174	third_party/WebKit/Source/core/css/MediaQueryListListener.cpp \
175	third_party/WebKit/Source/core/css/MediaQueryMatcher.cpp \
176	third_party/WebKit/Source/core/css/PageRuleCollector.cpp \
177	third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp \
178	third_party/WebKit/Source/core/css/RGBColor.cpp \
179	third_party/WebKit/Source/core/css/RuleFeature.cpp \
180	third_party/WebKit/Source/core/css/RuleSet.cpp \
181	third_party/WebKit/Source/core/css/SVGCSSComputedStyleDeclaration.cpp \
182	third_party/WebKit/Source/core/css/SVGCSSParser.cpp \
183	third_party/WebKit/Source/core/css/SelectorChecker.cpp \
184	third_party/WebKit/Source/core/css/SelectorCheckerFastPath.cpp \
185	third_party/WebKit/Source/core/css/SelectorFilter.cpp \
186	third_party/WebKit/Source/core/css/StyleInvalidationAnalysis.cpp \
187	third_party/WebKit/Source/core/css/StyleMedia.cpp \
188	third_party/WebKit/Source/core/css/StylePropertySerializer.cpp \
189	third_party/WebKit/Source/core/css/StylePropertySet.cpp \
190	third_party/WebKit/Source/core/css/StylePropertyShorthandCustom.cpp \
191	third_party/WebKit/Source/core/css/StyleRule.cpp \
192	third_party/WebKit/Source/core/css/StyleRuleImport.cpp \
193	third_party/WebKit/Source/core/css/StyleSheet.cpp \
194	third_party/WebKit/Source/core/css/StyleSheetContents.cpp \
195	third_party/WebKit/Source/core/css/StyleSheetList.cpp \
196	third_party/WebKit/Source/core/css/TreeBoundaryCrossingRules.cpp \
197	third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp \
198	third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp \
199	third_party/WebKit/Source/core/css/resolver/ElementResolveContext.cpp \
200	third_party/WebKit/Source/core/css/resolver/ElementStyleResources.cpp \
201	third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp \
202	third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp \
203	third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp \
204	third_party/WebKit/Source/core/css/resolver/MatchResult.cpp \
205	third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp \
206	third_party/WebKit/Source/core/css/resolver/ScopedStyleTree.cpp \
207	third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp \
208	third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp \
209	third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp \
210	third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp \
211	third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp \
212	third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp \
213	third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp \
214	third_party/WebKit/Source/core/css/resolver/StyleResourceLoader.cpp \
215	third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp \
216	third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp \
217	third_party/WebKit/Source/core/editing/AppendNodeCommand.cpp \
218	third_party/WebKit/Source/core/editing/ApplyBlockElementCommand.cpp \
219	third_party/WebKit/Source/core/editing/ApplyStyleCommand.cpp \
220	third_party/WebKit/Source/core/editing/BreakBlockquoteCommand.cpp \
221	third_party/WebKit/Source/core/editing/Caret.cpp \
222	third_party/WebKit/Source/core/editing/CompositeEditCommand.cpp \
223	third_party/WebKit/Source/core/editing/CreateLinkCommand.cpp \
224	third_party/WebKit/Source/core/editing/DeleteFromTextNodeCommand.cpp \
225	third_party/WebKit/Source/core/editing/DeleteSelectionCommand.cpp \
226	third_party/WebKit/Source/core/editing/EditCommand.cpp \
227	third_party/WebKit/Source/core/editing/EditingStyle.cpp \
228	third_party/WebKit/Source/core/editing/Editor.cpp \
229	third_party/WebKit/Source/core/editing/EditorCommand.cpp \
230	third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp \
231	third_party/WebKit/Source/core/editing/FormatBlockCommand.cpp \
232	third_party/WebKit/Source/core/editing/FrameSelection.cpp \
233	third_party/WebKit/Source/core/editing/HTMLInterchange.cpp \
234	third_party/WebKit/Source/core/editing/IndentOutdentCommand.cpp \
235	third_party/WebKit/Source/core/editing/InputMethodController.cpp \
236	third_party/WebKit/Source/core/editing/InsertIntoTextNodeCommand.cpp \
237	third_party/WebKit/Source/core/editing/InsertLineBreakCommand.cpp \
238	third_party/WebKit/Source/core/editing/InsertListCommand.cpp \
239	third_party/WebKit/Source/core/editing/InsertNodeBeforeCommand.cpp \
240	third_party/WebKit/Source/core/editing/InsertParagraphSeparatorCommand.cpp \
241	third_party/WebKit/Source/core/editing/InsertTextCommand.cpp \
242	third_party/WebKit/Source/core/editing/MarkupAccumulator.cpp \
243	third_party/WebKit/Source/core/editing/MergeIdenticalElementsCommand.cpp \
244	third_party/WebKit/Source/core/editing/ModifySelectionListLevel.cpp \
245	third_party/WebKit/Source/core/editing/MoveSelectionCommand.cpp \
246	third_party/WebKit/Source/core/editing/PlainTextRange.cpp \
247	third_party/WebKit/Source/core/editing/RemoveCSSPropertyCommand.cpp \
248	third_party/WebKit/Source/core/editing/RemoveFormatCommand.cpp \
249	third_party/WebKit/Source/core/editing/RemoveNodeCommand.cpp \
250	third_party/WebKit/Source/core/editing/RemoveNodePreservingChildrenCommand.cpp \
251	third_party/WebKit/Source/core/editing/RenderedPosition.cpp \
252	third_party/WebKit/Source/core/editing/ReplaceNodeWithSpanCommand.cpp \
253	third_party/WebKit/Source/core/editing/ReplaceSelectionCommand.cpp \
254	third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.cpp \
255	third_party/WebKit/Source/core/editing/SetSelectionCommand.cpp \
256	third_party/WebKit/Source/core/editing/SimplifyMarkupCommand.cpp \
257	third_party/WebKit/Source/core/editing/SmartReplaceICU.cpp \
258	third_party/WebKit/Source/core/editing/SpellChecker.cpp \
259	third_party/WebKit/Source/core/editing/SpellCheckRequester.cpp \
260	third_party/WebKit/Source/core/editing/SpellingCorrectionCommand.cpp \
261	third_party/WebKit/Source/core/editing/SplitElementCommand.cpp \
262	third_party/WebKit/Source/core/editing/SplitTextNodeCommand.cpp \
263	third_party/WebKit/Source/core/editing/SplitTextNodeContainingElementCommand.cpp \
264	third_party/WebKit/Source/core/editing/SurroundingText.cpp \
265	third_party/WebKit/Source/core/editing/TextCheckingHelper.cpp \
266	third_party/WebKit/Source/core/editing/TextInsertionBaseCommand.cpp \
267	third_party/WebKit/Source/core/editing/TextIterator.cpp \
268	third_party/WebKit/Source/core/editing/TypingCommand.cpp \
269	third_party/WebKit/Source/core/editing/UndoStack.cpp \
270	third_party/WebKit/Source/core/editing/UnlinkCommand.cpp \
271	third_party/WebKit/Source/core/editing/VisiblePosition.cpp \
272	third_party/WebKit/Source/core/editing/VisibleSelection.cpp \
273	third_party/WebKit/Source/core/editing/VisibleUnits.cpp \
274	third_party/WebKit/Source/core/editing/WrapContentsInDummySpanCommand.cpp \
275	third_party/WebKit/Source/core/editing/htmlediting.cpp \
276	third_party/WebKit/Source/core/editing/markup.cpp \
277	third_party/WebKit/Source/core/fetch/CachedMetadata.cpp \
278	third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.cpp \
279	third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp \
280	third_party/WebKit/Source/core/fetch/DocumentResource.cpp \
281	third_party/WebKit/Source/core/fetch/FetchContext.cpp \
282	third_party/WebKit/Source/core/fetch/FetchRequest.cpp \
283	third_party/WebKit/Source/core/fetch/FontResource.cpp \
284	third_party/WebKit/Source/core/fetch/ImageResource.cpp \
285	third_party/WebKit/Source/core/fetch/RawResource.cpp \
286	third_party/WebKit/Source/core/fetch/Resource.cpp \
287	third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp \
288	third_party/WebKit/Source/core/fetch/ResourceLoader.cpp \
289	third_party/WebKit/Source/core/fetch/ResourceLoaderSet.cpp \
290	third_party/WebKit/Source/core/fetch/ResourceLoadPriorityOptimizer.cpp \
291	third_party/WebKit/Source/core/fetch/ResourcePtr.cpp \
292	third_party/WebKit/Source/core/fetch/ScriptResource.cpp \
293	third_party/WebKit/Source/core/fetch/ShaderResource.cpp \
294	third_party/WebKit/Source/core/fetch/TextResourceDecoder.cpp \
295	third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp \
296	third_party/WebKit/Source/core/fetch/MemoryCache.cpp \
297	third_party/WebKit/Source/core/fileapi/Blob.cpp \
298	third_party/WebKit/Source/core/fileapi/BlobBuilder.cpp \
299	third_party/WebKit/Source/core/fileapi/File.cpp \
300	third_party/WebKit/Source/core/fileapi/FileError.cpp \
301	third_party/WebKit/Source/core/fileapi/FileList.cpp \
302	third_party/WebKit/Source/core/fileapi/FileReader.cpp \
303	third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp \
304	third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp \
305	third_party/WebKit/Source/core/fileapi/Stream.cpp \
306	third_party/WebKit/Source/core/history/HistoryItem.cpp \
307	third_party/WebKit/Source/core/inspector/AsyncCallStackTracker.cpp \
308	third_party/WebKit/Source/core/inspector/ConsoleMessage.cpp \
309	third_party/WebKit/Source/core/inspector/ContentSearchUtils.cpp \
310	third_party/WebKit/Source/core/inspector/DOMEditor.cpp \
311	third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp \
312	third_party/WebKit/Source/core/inspector/IdentifiersFactory.cpp \
313	third_party/WebKit/Source/core/inspector/InjectedScript.cpp \
314	third_party/WebKit/Source/core/inspector/InjectedScriptBase.cpp \
315	third_party/WebKit/Source/core/inspector/InjectedScriptCanvasModule.cpp \
316	third_party/WebKit/Source/core/inspector/InjectedScriptHost.cpp \
317	third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp \
318	third_party/WebKit/Source/core/inspector/InjectedScriptModule.cpp \
319	third_party/WebKit/Source/core/inspector/InspectorAgent.cpp \
320	third_party/WebKit/Source/core/inspector/InspectorApplicationCacheAgent.cpp \
321	third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp \
322	third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp \
323	third_party/WebKit/Source/core/inspector/InspectorCanvasAgent.cpp \
324	third_party/WebKit/Source/core/inspector/InspectorClient.cpp \
325	third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp \
326	third_party/WebKit/Source/core/inspector/InspectorController.cpp \
327	third_party/WebKit/Source/core/inspector/InspectorCounters.cpp \
328	third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp \
329	third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp \
330	third_party/WebKit/Source/core/inspector/InspectorDOMStorageAgent.cpp \
331	third_party/WebKit/Source/core/inspector/InspectorDatabaseAgent.cpp \
332	third_party/WebKit/Source/core/inspector/InspectorDatabaseResource.cpp \
333	third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp \
334	third_party/WebKit/Source/core/inspector/InspectorFileSystemAgent.cpp \
335	third_party/WebKit/Source/core/inspector/InspectorFrontendHost.cpp \
336	third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp \
337	third_party/WebKit/Source/core/inspector/InspectorHistory.cpp \
338	third_party/WebKit/Source/core/inspector/InspectorIndexedDBAgent.cpp \
339	third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp \
340	third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp \
341	third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp \
342	third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.cpp \
343	third_party/WebKit/Source/core/inspector/InspectorOverlay.cpp \
344	third_party/WebKit/Source/core/inspector/InspectorOverlayHost.cpp \
345	third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp \
346	third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp \
347	third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp \
348	third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp \
349	third_party/WebKit/Source/core/inspector/InspectorState.cpp \
350	third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp \
351	third_party/WebKit/Source/core/inspector/InspectorStyleTextEditor.cpp \
352	third_party/WebKit/Source/core/inspector/InspectorTimelineAgent.cpp \
353	third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp \
354	third_party/WebKit/Source/core/inspector/JavaScriptCallFrame.cpp \
355	third_party/WebKit/Source/core/inspector/JSONParser.cpp \
356	third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp \
357	third_party/WebKit/Source/core/inspector/PageConsoleAgent.cpp \
358	third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp \
359	third_party/WebKit/Source/core/inspector/PageRuntimeAgent.cpp \
360	third_party/WebKit/Source/core/inspector/ScriptArguments.cpp \
361	third_party/WebKit/Source/core/inspector/ScriptCallFrame.cpp \
362	third_party/WebKit/Source/core/inspector/ScriptCallStack.cpp \
363	third_party/WebKit/Source/core/inspector/ScriptProfile.cpp \
364	third_party/WebKit/Source/core/inspector/TimelineRecordFactory.cpp \
365	third_party/WebKit/Source/core/inspector/TraceEventDispatcher.cpp \
366	third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.cpp \
367	third_party/WebKit/Source/core/inspector/WorkerDebuggerAgent.cpp \
368	third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp \
369	third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp \
370	third_party/WebKit/Source/core/loader/CookieJar.cpp \
371	third_party/WebKit/Source/core/loader/CrossOriginPreflightResultCache.cpp \
372	third_party/WebKit/Source/core/loader/DocumentLoadTiming.cpp \
373	third_party/WebKit/Source/core/loader/DocumentLoader.cpp \
374	third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp \
375	third_party/WebKit/Source/core/loader/DocumentWriter.cpp \
376	third_party/WebKit/Source/core/loader/EmptyClients.cpp \
377	third_party/WebKit/Source/core/loader/FormState.cpp \
378	third_party/WebKit/Source/core/loader/FormSubmission.cpp \
379	third_party/WebKit/Source/core/loader/FrameFetchContext.cpp \
380	third_party/WebKit/Source/core/loader/FrameLoader.cpp \
381	third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp \
382	third_party/WebKit/Source/core/loader/HistoryController.cpp \
383	third_party/WebKit/Source/core/loader/ImageLoader.cpp \
384	third_party/WebKit/Source/core/loader/LinkLoader.cpp \
385	third_party/WebKit/Source/core/loader/MixedContentChecker.cpp \
386	third_party/WebKit/Source/core/loader/NavigationAction.cpp \
387	third_party/WebKit/Source/core/loader/NavigationPolicy.cpp \
388	third_party/WebKit/Source/core/loader/NavigationScheduler.cpp \
389	third_party/WebKit/Source/core/loader/PingLoader.cpp \
390	third_party/WebKit/Source/core/loader/PrerenderHandle.cpp \
391	third_party/WebKit/Source/core/loader/PrerendererClient.cpp \
392	third_party/WebKit/Source/core/loader/ProgressTracker.cpp \
393	third_party/WebKit/Source/core/loader/SinkDocument.cpp \
394	third_party/WebKit/Source/core/loader/TextResourceDecoderBuilder.cpp \
395	third_party/WebKit/Source/core/loader/TextTrackLoader.cpp \
396	third_party/WebKit/Source/core/loader/ThreadableLoader.cpp \
397	third_party/WebKit/Source/core/loader/UniqueIdentifier.cpp \
398	third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp \
399	third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp \
400	third_party/WebKit/Source/core/page/AutoscrollController.cpp \
401	third_party/WebKit/Source/core/frame/BarProp.cpp \
402	third_party/WebKit/Source/core/page/Chrome.cpp \
403	third_party/WebKit/Source/core/frame/Console.cpp \
404	third_party/WebKit/Source/core/frame/ConsoleBase.cpp \
405	third_party/WebKit/Source/core/frame/ContentSecurityPolicy.cpp \
406	third_party/WebKit/Source/core/frame/ContentSecurityPolicyResponseHeaders.cpp \
407	third_party/WebKit/Source/core/page/ContextMenuController.cpp \
408	third_party/WebKit/Source/core/page/CreateWindow.cpp \
409	third_party/WebKit/Source/core/frame/DOMSecurityPolicy.cpp \
410	third_party/WebKit/Source/core/page/DOMSelection.cpp \
411	third_party/WebKit/Source/core/frame/DOMTimer.cpp \
412	third_party/WebKit/Source/core/frame/DOMWindow.cpp \
413	third_party/WebKit/Source/core/frame/DOMWindowBase64.cpp \
414	third_party/WebKit/Source/core/frame/DOMWindowLifecycleNotifier.cpp \
415	third_party/WebKit/Source/core/frame/DOMWindowLifecycleObserver.cpp \
416	third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp \
417	third_party/WebKit/Source/core/page/DOMWindowPagePopup.cpp \
418	third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp \
419	third_party/WebKit/Source/core/page/DragController.cpp \
420	third_party/WebKit/Source/core/page/DragData.cpp \
421	third_party/WebKit/Source/core/page/EventHandler.cpp \
422	third_party/WebKit/Source/core/page/EventSource.cpp \
423	third_party/WebKit/Source/core/page/FocusController.cpp \
424	third_party/WebKit/Source/core/frame/Frame.cpp \
425	third_party/WebKit/Source/core/frame/FrameDestructionObserver.cpp \
426	third_party/WebKit/Source/core/page/FrameTree.cpp \
427	third_party/WebKit/Source/core/frame/FrameView.cpp \
428	third_party/WebKit/Source/core/frame/GraphicsLayerDebugInfo.cpp \
429	third_party/WebKit/Source/core/frame/History.cpp \
430	third_party/WebKit/Source/core/frame/ImageBitmap.cpp \
431	third_party/WebKit/Source/core/frame/Location.cpp \
432	third_party/WebKit/Source/core/timing/MemoryInfo.cpp \
433	third_party/WebKit/Source/core/page/MouseEventWithHitTestResults.cpp \
434	third_party/WebKit/Source/core/frame/SmartClip.cpp \
435	third_party/WebKit/Source/core/frame/Navigator.cpp \
436	third_party/WebKit/Source/core/frame/NavigatorID.cpp \
437	third_party/WebKit/Source/core/frame/SettingsDelegate.cpp \
438	third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp \
439	third_party/WebKit/Source/core/page/Page.cpp \
440	third_party/WebKit/Source/core/page/PageConsole.cpp \
441	third_party/WebKit/Source/core/page/PageGroup.cpp \
442	third_party/WebKit/Source/core/page/PageGroupLoadDeferrer.cpp \
443	third_party/WebKit/Source/core/page/PageLifecycleNotifier.cpp \
444	third_party/WebKit/Source/core/page/PageLifecycleObserver.cpp \
445	third_party/WebKit/Source/core/page/PagePopupController.cpp \
446	third_party/WebKit/Source/core/page/PagePopupClient.cpp \
447	third_party/WebKit/Source/core/page/PageScaleConstraints.cpp \
448	third_party/WebKit/Source/core/page/PageSerializer.cpp \
449	third_party/WebKit/Source/core/page/PageVisibilityState.cpp \
450	third_party/WebKit/Source/core/timing/Performance.cpp \
451	third_party/WebKit/Source/core/timing/PerformanceEntry.cpp \
452	third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp \
453	third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp \
454	third_party/WebKit/Source/core/timing/PerformanceTiming.cpp \
455	third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp \
456	third_party/WebKit/Source/core/page/PointerLockController.cpp \
457	third_party/WebKit/Source/core/page/PrintContext.cpp \
458	third_party/WebKit/Source/core/css/RuntimeCSSEnabled.cpp \
459	third_party/WebKit/Source/core/frame/Screen.cpp \
460	third_party/WebKit/Source/core/frame/Settings.cpp \
461	third_party/WebKit/Source/core/page/SpatialNavigation.cpp \
462	third_party/WebKit/Source/core/frame/SuspendableTimer.cpp \
463	third_party/WebKit/Source/core/page/TouchAdjustment.cpp \
464	third_party/WebKit/Source/core/page/TouchDisambiguation.cpp \
465	third_party/WebKit/Source/core/frame/UseCounter.cpp \
466	third_party/WebKit/Source/core/page/WindowFeatures.cpp \
467	third_party/WebKit/Source/core/page/WindowFocusAllowedIndicator.cpp \
468	third_party/WebKit/Source/core/workers/WorkerNavigator.cpp \
469	third_party/WebKit/Source/core/frame/animation/AnimationBase.cpp \
470	third_party/WebKit/Source/core/frame/animation/AnimationController.cpp \
471	third_party/WebKit/Source/core/frame/animation/CompositeAnimation.cpp \
472	third_party/WebKit/Source/core/frame/animation/CSSPropertyAnimation.cpp \
473	third_party/WebKit/Source/core/frame/animation/ImplicitAnimation.cpp \
474	third_party/WebKit/Source/core/frame/animation/KeyframeAnimation.cpp \
475	third_party/WebKit/Source/core/page/scrolling/ScrollingConstraints.cpp \
476	third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp \
477	third_party/WebKit/Source/core/plugins/DOMMimeType.cpp \
478	third_party/WebKit/Source/core/plugins/DOMMimeTypeArray.cpp \
479	third_party/WebKit/Source/core/plugins/DOMPlugin.cpp \
480	third_party/WebKit/Source/core/plugins/DOMPluginArray.cpp \
481	third_party/WebKit/Source/core/plugins/PluginOcclusionSupport.cpp \
482	third_party/WebKit/Source/core/speech/SpeechInput.cpp \
483	third_party/WebKit/Source/core/speech/SpeechInputEvent.cpp \
484	third_party/WebKit/Source/core/speech/SpeechInputResult.cpp \
485	third_party/WebKit/Source/core/speech/SpeechInputResultList.cpp \
486	third_party/WebKit/Source/core/storage/Storage.cpp \
487	third_party/WebKit/Source/core/storage/StorageEvent.cpp \
488	third_party/WebKit/Source/core/workers/AbstractWorker.cpp \
489	third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp \
490	third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp \
491	third_party/WebKit/Source/core/workers/SharedWorker.cpp \
492	third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp \
493	third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp \
494	third_party/WebKit/Source/core/workers/Worker.cpp \
495	third_party/WebKit/Source/core/workers/WorkerConsole.cpp \
496	third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp \
497	third_party/WebKit/Source/core/workers/WorkerGlobalScopeProxyProvider.cpp \
498	third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp \
499	third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp \
500	third_party/WebKit/Source/core/workers/WorkerObjectProxy.cpp \
501	third_party/WebKit/Source/core/workers/WorkerRunLoop.cpp \
502	third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp \
503	third_party/WebKit/Source/core/workers/WorkerThread.cpp \
504	third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp \
505	third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp \
506	third_party/WebKit/Source/core/xml/parser/XMLDocumentParserScope.cpp \
507	third_party/WebKit/Source/core/xml/DocumentXPathEvaluator.cpp \
508	third_party/WebKit/Source/core/xml/DOMParser.cpp \
509	third_party/WebKit/Source/core/xml/NativeXPathNSResolver.cpp \
510	third_party/WebKit/Source/core/xml/XMLErrors.cpp \
511	third_party/WebKit/Source/core/xml/XMLHttpRequest.cpp \
512	third_party/WebKit/Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp \
513	third_party/WebKit/Source/core/xml/XMLHttpRequestUpload.cpp \
514	third_party/WebKit/Source/core/xml/XMLSerializer.cpp \
515	third_party/WebKit/Source/core/xml/XMLTreeViewer.cpp \
516	third_party/WebKit/Source/core/xml/XPathEvaluator.cpp \
517	third_party/WebKit/Source/core/xml/XPathExpression.cpp \
518	third_party/WebKit/Source/core/xml/XPathExpressionNode.cpp \
519	third_party/WebKit/Source/core/xml/XPathFunctions.cpp \
520	third_party/WebKit/Source/core/xml/XPathNSResolver.cpp \
521	third_party/WebKit/Source/core/xml/XPathNodeSet.cpp \
522	third_party/WebKit/Source/core/xml/XPathParser.cpp \
523	third_party/WebKit/Source/core/xml/XPathPath.cpp \
524	third_party/WebKit/Source/core/xml/XPathPredicate.cpp \
525	third_party/WebKit/Source/core/xml/XPathResult.cpp \
526	third_party/WebKit/Source/core/xml/XPathStep.cpp \
527	third_party/WebKit/Source/core/xml/XPathUtil.cpp \
528	third_party/WebKit/Source/core/xml/XPathValue.cpp \
529	third_party/WebKit/Source/core/xml/XPathVariableReference.cpp \
530	third_party/WebKit/Source/core/xml/XSLImportRule.cpp \
531	third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp \
532	third_party/WebKit/Source/core/xml/XSLTExtensions.cpp \
533	third_party/WebKit/Source/core/xml/XSLTProcessor.cpp \
534	third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp \
535	third_party/WebKit/Source/core/xml/XSLTUnicodeSort.cpp
536
537
538# Flags passed to both C and C++ files.
539MY_CFLAGS_Debug := \
540	-fstack-protector \
541	--param=ssp-buffer-size=4 \
542	-Werror \
543	-fno-exceptions \
544	-fno-strict-aliasing \
545	-Wall \
546	-Wno-unused-parameter \
547	-Wno-missing-field-initializers \
548	-fvisibility=hidden \
549	-pipe \
550	-fPIC \
551	-fno-strict-aliasing \
552	-fno-tree-sra \
553	-fuse-ld=gold \
554	-Wno-psabi \
555	-ffunction-sections \
556	-funwind-tables \
557	-g \
558	-fstack-protector \
559	-fno-short-enums \
560	-finline-limit=64 \
561	-Wa,--noexecstack \
562	-U_FORTIFY_SOURCE \
563	-Wno-extra \
564	-Wno-ignored-qualifiers \
565	-Wno-type-limits \
566	-Os \
567	-g \
568	-fomit-frame-pointer \
569	-fdata-sections \
570	-ffunction-sections
571
572MY_DEFS_Debug := \
573	'-DV8_DEPRECATION_WARNINGS' \
574	'-D_FILE_OFFSET_BITS=64' \
575	'-DNO_TCMALLOC' \
576	'-DDISABLE_NACL' \
577	'-DCHROMIUM_BUILD' \
578	'-DUSE_LIBJPEG_TURBO=1' \
579	'-DUSE_PROPRIETARY_CODECS' \
580	'-DENABLE_CONFIGURATION_POLICY' \
581	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
582	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
583	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
584	'-DUSE_OPENSSL=1' \
585	'-DENABLE_EGLIMAGE=1' \
586	'-DCLD_VERSION=1' \
587	'-DENABLE_PRINTING=1' \
588	'-DENABLE_MANAGED_USERS=1' \
589	'-DBLINK_IMPLEMENTATION=1' \
590	'-DINSIDE_BLINK' \
591	'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
592	'-DENABLE_SVG_FONTS=1' \
593	'-DENABLE_GDI_FONTS_ON_WINDOWS=0' \
594	'-DENABLE_HARFBUZZ_ON_WINDOWS=1' \
595	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
596	'-DENABLE_FAST_MOBILE_SCROLLING=1' \
597	'-DENABLE_INPUT_SPEECH=0' \
598	'-DENABLE_LEGACY_NOTIFICATIONS=0' \
599	'-DENABLE_MEDIA_CAPTURE=1' \
600	'-DENABLE_ORIENTATION_EVENTS=1' \
601	'-DENABLE_TOUCH_ICON_LOADING=1' \
602	'-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \
603	'-DENABLE_OPENTYPE_VERTICAL=1' \
604	'-DU_USING_ICU_NAMESPACE=0' \
605	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
606	'-DCHROME_PNG_WRITE_SUPPORT' \
607	'-DPNG_USER_CONFIG' \
608	'-DCHROME_PNG_READ_PACK_SUPPORT' \
609	'-DLIBXML_STATIC' \
610	'-DLIBXSLT_STATIC' \
611	'-D__STDC_CONSTANT_MACROS' \
612	'-D__STDC_FORMAT_MACROS' \
613	'-DANDROID' \
614	'-D__GNU_SOURCE=1' \
615	'-DUSE_STLPORT=1' \
616	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
617	'-DCHROME_BUILD_ID=""' \
618	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
619	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
620	'-D_DEBUG'
621
622
623# Include paths placed before CFLAGS/CPPFLAGS
624LOCAL_C_INCLUDES_Debug := \
625	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
626	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
627	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
628	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
629	$(LOCAL_PATH)/third_party/WebKit/Source \
630	$(LOCAL_PATH) \
631	$(LOCAL_PATH)/skia/config \
632	$(LOCAL_PATH)/third_party/khronos \
633	$(LOCAL_PATH)/gpu \
634	$(LOCAL_PATH)/third_party/WebKit \
635	$(gyp_shared_intermediate_dir)/blink \
636	$(gyp_shared_intermediate_dir)/blink/bindings \
637	$(LOCAL_PATH)/third_party/angle/include \
638	$(PWD)/external/icu4c/common \
639	$(PWD)/external/icu4c/i18n \
640	$(PWD)/external/skia/include \
641	$(PWD)/external/skia/include/core \
642	$(LOCAL_PATH)/third_party/skia/src/core \
643	$(LOCAL_PATH)/skia/ext \
644	$(LOCAL_PATH)/third_party/iccjpeg \
645	$(LOCAL_PATH)/third_party/libpng \
646	$(LOCAL_PATH)/third_party/libwebp \
647	$(LOCAL_PATH)/third_party/libxml/linux/include \
648	$(LOCAL_PATH)/third_party/libxml/src/include \
649	$(LOCAL_PATH)/third_party/libxslt \
650	$(LOCAL_PATH)/third_party/npapi \
651	$(LOCAL_PATH)/third_party/npapi/bindings \
652	$(LOCAL_PATH)/third_party/ots/include \
653	$(LOCAL_PATH)/third_party/qcms/src \
654	$(LOCAL_PATH)/third_party/sqlite \
655	$(LOCAL_PATH)/third_party/zlib \
656	$(LOCAL_PATH)/v8/include \
657	$(PWD)/frameworks/wilhelm/include \
658	$(PWD)/bionic \
659	$(PWD)/external/stlport/stlport
660
661
662# Flags passed to only C++ (and not C) files.
663LOCAL_CPPFLAGS_Debug := \
664	-fno-rtti \
665	-fno-threadsafe-statics \
666	-fvisibility-inlines-hidden \
667	-Wsign-compare \
668	-Wno-c++0x-compat \
669	-Wno-abi \
670	-Wno-error=c++0x-compat \
671	-Wno-non-virtual-dtor \
672	-Wno-sign-promo
673
674
675# Flags passed to both C and C++ files.
676MY_CFLAGS_Release := \
677	-fstack-protector \
678	--param=ssp-buffer-size=4 \
679	-Werror \
680	-fno-exceptions \
681	-fno-strict-aliasing \
682	-Wall \
683	-Wno-unused-parameter \
684	-Wno-missing-field-initializers \
685	-fvisibility=hidden \
686	-pipe \
687	-fPIC \
688	-fno-strict-aliasing \
689	-fno-tree-sra \
690	-fuse-ld=gold \
691	-Wno-psabi \
692	-ffunction-sections \
693	-funwind-tables \
694	-g \
695	-fstack-protector \
696	-fno-short-enums \
697	-finline-limit=64 \
698	-Wa,--noexecstack \
699	-U_FORTIFY_SOURCE \
700	-Wno-extra \
701	-Wno-ignored-qualifiers \
702	-Wno-type-limits \
703	-Os \
704	-fno-ident \
705	-fdata-sections \
706	-ffunction-sections \
707	-fomit-frame-pointer
708
709MY_DEFS_Release := \
710	'-DV8_DEPRECATION_WARNINGS' \
711	'-D_FILE_OFFSET_BITS=64' \
712	'-DNO_TCMALLOC' \
713	'-DDISABLE_NACL' \
714	'-DCHROMIUM_BUILD' \
715	'-DUSE_LIBJPEG_TURBO=1' \
716	'-DUSE_PROPRIETARY_CODECS' \
717	'-DENABLE_CONFIGURATION_POLICY' \
718	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
719	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
720	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
721	'-DUSE_OPENSSL=1' \
722	'-DENABLE_EGLIMAGE=1' \
723	'-DCLD_VERSION=1' \
724	'-DENABLE_PRINTING=1' \
725	'-DENABLE_MANAGED_USERS=1' \
726	'-DBLINK_IMPLEMENTATION=1' \
727	'-DINSIDE_BLINK' \
728	'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
729	'-DENABLE_SVG_FONTS=1' \
730	'-DENABLE_GDI_FONTS_ON_WINDOWS=0' \
731	'-DENABLE_HARFBUZZ_ON_WINDOWS=1' \
732	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
733	'-DENABLE_FAST_MOBILE_SCROLLING=1' \
734	'-DENABLE_INPUT_SPEECH=0' \
735	'-DENABLE_LEGACY_NOTIFICATIONS=0' \
736	'-DENABLE_MEDIA_CAPTURE=1' \
737	'-DENABLE_ORIENTATION_EVENTS=1' \
738	'-DENABLE_TOUCH_ICON_LOADING=1' \
739	'-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \
740	'-DENABLE_OPENTYPE_VERTICAL=1' \
741	'-DU_USING_ICU_NAMESPACE=0' \
742	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
743	'-DCHROME_PNG_WRITE_SUPPORT' \
744	'-DPNG_USER_CONFIG' \
745	'-DCHROME_PNG_READ_PACK_SUPPORT' \
746	'-DLIBXML_STATIC' \
747	'-DLIBXSLT_STATIC' \
748	'-D__STDC_CONSTANT_MACROS' \
749	'-D__STDC_FORMAT_MACROS' \
750	'-DANDROID' \
751	'-D__GNU_SOURCE=1' \
752	'-DUSE_STLPORT=1' \
753	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
754	'-DCHROME_BUILD_ID=""' \
755	'-DNDEBUG' \
756	'-DNVALGRIND' \
757	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
758	'-D_FORTIFY_SOURCE=2'
759
760
761# Include paths placed before CFLAGS/CPPFLAGS
762LOCAL_C_INCLUDES_Release := \
763	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
764	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
765	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
766	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
767	$(LOCAL_PATH)/third_party/WebKit/Source \
768	$(LOCAL_PATH) \
769	$(LOCAL_PATH)/skia/config \
770	$(LOCAL_PATH)/third_party/khronos \
771	$(LOCAL_PATH)/gpu \
772	$(LOCAL_PATH)/third_party/WebKit \
773	$(gyp_shared_intermediate_dir)/blink \
774	$(gyp_shared_intermediate_dir)/blink/bindings \
775	$(LOCAL_PATH)/third_party/angle/include \
776	$(PWD)/external/icu4c/common \
777	$(PWD)/external/icu4c/i18n \
778	$(PWD)/external/skia/include \
779	$(PWD)/external/skia/include/core \
780	$(LOCAL_PATH)/third_party/skia/src/core \
781	$(LOCAL_PATH)/skia/ext \
782	$(LOCAL_PATH)/third_party/iccjpeg \
783	$(LOCAL_PATH)/third_party/libpng \
784	$(LOCAL_PATH)/third_party/libwebp \
785	$(LOCAL_PATH)/third_party/libxml/linux/include \
786	$(LOCAL_PATH)/third_party/libxml/src/include \
787	$(LOCAL_PATH)/third_party/libxslt \
788	$(LOCAL_PATH)/third_party/npapi \
789	$(LOCAL_PATH)/third_party/npapi/bindings \
790	$(LOCAL_PATH)/third_party/ots/include \
791	$(LOCAL_PATH)/third_party/qcms/src \
792	$(LOCAL_PATH)/third_party/sqlite \
793	$(LOCAL_PATH)/third_party/zlib \
794	$(LOCAL_PATH)/v8/include \
795	$(PWD)/frameworks/wilhelm/include \
796	$(PWD)/bionic \
797	$(PWD)/external/stlport/stlport
798
799
800# Flags passed to only C++ (and not C) files.
801LOCAL_CPPFLAGS_Release := \
802	-fno-rtti \
803	-fno-threadsafe-statics \
804	-fvisibility-inlines-hidden \
805	-Wsign-compare \
806	-Wno-c++0x-compat \
807	-Wno-abi \
808	-Wno-error=c++0x-compat \
809	-Wno-non-virtual-dtor \
810	-Wno-sign-promo
811
812
813LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
814LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
815LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
816### Rules for final target.
817
818LOCAL_LDFLAGS_Debug := \
819	-Wl,-z,now \
820	-Wl,-z,relro \
821	-Wl,-z,noexecstack \
822	-fPIC \
823	-Wl,-z,relro \
824	-Wl,-z,now \
825	-fuse-ld=gold \
826	-nostdlib \
827	-Wl,--no-undefined \
828	-Wl,--exclude-libs=ALL \
829	-Wl,--icf=safe \
830	-Wl,--fatal-warnings \
831	-Wl,--gc-sections \
832	-Wl,--warn-shared-textrel \
833	-Wl,-O1 \
834	-Wl,--as-needed
835
836
837LOCAL_LDFLAGS_Release := \
838	-Wl,-z,now \
839	-Wl,-z,relro \
840	-Wl,-z,noexecstack \
841	-fPIC \
842	-Wl,-z,relro \
843	-Wl,-z,now \
844	-fuse-ld=gold \
845	-nostdlib \
846	-Wl,--no-undefined \
847	-Wl,--exclude-libs=ALL \
848	-Wl,--icf=safe \
849	-Wl,-O1 \
850	-Wl,--as-needed \
851	-Wl,--gc-sections \
852	-Wl,--fatal-warnings \
853	-Wl,--warn-shared-textrel
854
855
856LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
857
858LOCAL_STATIC_LIBRARIES :=
859
860# Enable grouping to fix circular references
861LOCAL_GROUP_STATIC_LIBRARIES := true
862
863LOCAL_SHARED_LIBRARIES := \
864	libskia \
865	libstlport \
866	libdl
867
868# Add target alias to "gyp_all_modules" target.
869.PHONY: gyp_all_modules
870gyp_all_modules: third_party_WebKit_Source_core_webcore_remaining_gyp
871
872# Alias gyp target name.
873.PHONY: webcore_remaining
874webcore_remaining: third_party_WebKit_Source_core_webcore_remaining_gyp
875
876include $(BUILD_STATIC_LIBRARY)
877