Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 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_rendering_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 | $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_gyp)/skia_skia_gyp.a |
| 16 | |
| 17 | GYP_GENERATED_OUTPUTS := |
| 18 | |
| 19 | # Make sure our deps and generated files are built first. |
| 20 | LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| 21 | |
| 22 | LOCAL_GENERATED_SOURCES := |
| 23 | |
| 24 | GYP_COPIED_SOURCE_ORIGIN_DIRS := |
| 25 | |
| 26 | LOCAL_SRC_FILES := \ |
| 27 | third_party/WebKit/Source/core/rendering/AutoTableLayout.cpp \ |
| 28 | third_party/WebKit/Source/core/rendering/BidiRun.cpp \ |
| 29 | third_party/WebKit/Source/core/rendering/CounterNode.cpp \ |
| 30 | third_party/WebKit/Source/core/rendering/EllipsisBox.cpp \ |
| 31 | third_party/WebKit/Source/core/rendering/exclusions/ExclusionInterval.cpp \ |
| 32 | third_party/WebKit/Source/core/rendering/exclusions/ExclusionPolygon.cpp \ |
| 33 | third_party/WebKit/Source/core/rendering/exclusions/ExclusionRectangle.cpp \ |
| 34 | third_party/WebKit/Source/core/rendering/exclusions/ExclusionShape.cpp \ |
| 35 | third_party/WebKit/Source/core/rendering/exclusions/ExclusionShapeInfo.cpp \ |
| 36 | third_party/WebKit/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp \ |
| 37 | third_party/WebKit/Source/core/rendering/exclusions/ExclusionShapeOutsideInfo.cpp \ |
| 38 | third_party/WebKit/Source/core/rendering/FilterEffectRenderer.cpp \ |
| 39 | third_party/WebKit/Source/core/rendering/FixedTableLayout.cpp \ |
| 40 | third_party/WebKit/Source/core/rendering/FlowThreadController.cpp \ |
| 41 | third_party/WebKit/Source/core/rendering/TextAutosizer.cpp \ |
| 42 | third_party/WebKit/Source/core/rendering/HitTestingTransformState.cpp \ |
| 43 | third_party/WebKit/Source/core/rendering/HitTestLocation.cpp \ |
| 44 | third_party/WebKit/Source/core/rendering/HitTestResult.cpp \ |
| 45 | third_party/WebKit/Source/core/rendering/InlineBox.cpp \ |
| 46 | third_party/WebKit/Source/core/rendering/InlineFlowBox.cpp \ |
| 47 | third_party/WebKit/Source/core/rendering/InlineTextBox.cpp \ |
| 48 | third_party/WebKit/Source/core/rendering/ImageQualityController.cpp \ |
| 49 | third_party/WebKit/Source/core/rendering/LayoutState.cpp \ |
| 50 | third_party/WebKit/Source/core/rendering/LayoutRepainter.cpp \ |
| 51 | third_party/WebKit/Source/core/rendering/PointerEventsHitRules.cpp \ |
| 52 | third_party/WebKit/Source/core/rendering/RenderApplet.cpp \ |
| 53 | third_party/WebKit/Source/core/rendering/RenderArena.cpp \ |
| 54 | third_party/WebKit/Source/core/rendering/RenderBR.cpp \ |
| 55 | third_party/WebKit/Source/core/rendering/RenderBlock.cpp \ |
| 56 | third_party/WebKit/Source/core/rendering/RenderBlockLineLayout.cpp \ |
| 57 | third_party/WebKit/Source/core/rendering/RenderBox.cpp \ |
| 58 | third_party/WebKit/Source/core/rendering/RenderBoxModelObject.cpp \ |
| 59 | third_party/WebKit/Source/core/rendering/RenderButton.cpp \ |
| 60 | third_party/WebKit/Source/core/rendering/RenderCombineText.cpp \ |
| 61 | third_party/WebKit/Source/core/rendering/RenderCounter.cpp \ |
| 62 | third_party/WebKit/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp \ |
| 63 | third_party/WebKit/Source/core/rendering/RenderDetailsMarker.cpp \ |
| 64 | third_party/WebKit/Source/core/rendering/RenderEmbeddedObject.cpp \ |
| 65 | third_party/WebKit/Source/core/rendering/RenderFieldset.cpp \ |
| 66 | third_party/WebKit/Source/core/rendering/RenderFileUploadControl.cpp \ |
| 67 | third_party/WebKit/Source/core/rendering/RenderFlexibleBox.cpp \ |
| 68 | third_party/WebKit/Source/core/rendering/RenderFlowThread.cpp \ |
| 69 | third_party/WebKit/Source/core/rendering/RenderFrame.cpp \ |
| 70 | third_party/WebKit/Source/core/rendering/RenderFrameSet.cpp \ |
| 71 | third_party/WebKit/Source/core/rendering/RenderFullScreen.cpp \ |
| 72 | third_party/WebKit/Source/core/rendering/RenderGrid.cpp \ |
| 73 | third_party/WebKit/Source/core/rendering/RenderGeometryMap.cpp \ |
| 74 | third_party/WebKit/Source/core/rendering/RenderHTMLCanvas.cpp \ |
| 75 | third_party/WebKit/Source/core/rendering/RenderIFrame.cpp \ |
| 76 | third_party/WebKit/Source/core/rendering/RenderImage.cpp \ |
| 77 | third_party/WebKit/Source/core/rendering/RenderImageResource.cpp \ |
| 78 | third_party/WebKit/Source/core/rendering/RenderImageResourceStyleImage.cpp \ |
| 79 | third_party/WebKit/Source/core/rendering/RenderInline.cpp \ |
| 80 | third_party/WebKit/Source/core/rendering/RenderInputSpeech.cpp \ |
| 81 | third_party/WebKit/Source/core/rendering/RenderLayer.cpp \ |
| 82 | third_party/WebKit/Source/core/rendering/RenderLayerBacking.cpp \ |
| 83 | third_party/WebKit/Source/core/rendering/RenderLayerCompositor.cpp \ |
| 84 | third_party/WebKit/Source/core/rendering/RenderLayerFilterInfo.cpp \ |
| 85 | third_party/WebKit/Source/core/rendering/RenderLayerModelObject.cpp \ |
| 86 | third_party/WebKit/Source/core/rendering/RenderLazyBlock.cpp \ |
| 87 | third_party/WebKit/Source/core/rendering/RenderLineBoxList.cpp \ |
| 88 | third_party/WebKit/Source/core/rendering/RenderListBox.cpp \ |
| 89 | third_party/WebKit/Source/core/rendering/RenderListItem.cpp \ |
| 90 | third_party/WebKit/Source/core/rendering/RenderListMarker.cpp \ |
| 91 | third_party/WebKit/Source/core/rendering/RenderMarquee.cpp \ |
| 92 | third_party/WebKit/Source/core/rendering/RenderMedia.cpp \ |
| 93 | third_party/WebKit/Source/core/rendering/RenderMediaControlElements.cpp \ |
| 94 | third_party/WebKit/Source/core/rendering/RenderMediaControls.cpp \ |
| 95 | third_party/WebKit/Source/core/rendering/RenderMediaControlsChromium.cpp \ |
| 96 | third_party/WebKit/Source/core/rendering/RenderMenuList.cpp \ |
| 97 | third_party/WebKit/Source/core/rendering/RenderMeter.cpp \ |
| 98 | third_party/WebKit/Source/core/rendering/RenderMultiColumnBlock.cpp \ |
| 99 | third_party/WebKit/Source/core/rendering/RenderMultiColumnFlowThread.cpp \ |
| 100 | third_party/WebKit/Source/core/rendering/RenderMultiColumnSet.cpp \ |
| 101 | third_party/WebKit/Source/core/rendering/RenderNamedFlowThread.cpp \ |
| 102 | third_party/WebKit/Source/core/rendering/RenderObject.cpp \ |
| 103 | third_party/WebKit/Source/core/rendering/RenderObjectChildList.cpp \ |
| 104 | third_party/WebKit/Source/core/rendering/RenderPart.cpp \ |
| 105 | third_party/WebKit/Source/core/rendering/RenderProgress.cpp \ |
| 106 | third_party/WebKit/Source/core/rendering/RenderQuote.cpp \ |
| 107 | third_party/WebKit/Source/core/rendering/RenderRegion.cpp \ |
| 108 | third_party/WebKit/Source/core/rendering/RenderRegionSet.cpp \ |
| 109 | third_party/WebKit/Source/core/rendering/RenderReplaced.cpp \ |
| 110 | third_party/WebKit/Source/core/rendering/RenderReplica.cpp \ |
| 111 | third_party/WebKit/Source/core/rendering/RenderRuby.cpp \ |
| 112 | third_party/WebKit/Source/core/rendering/RenderRubyBase.cpp \ |
| 113 | third_party/WebKit/Source/core/rendering/RenderRubyRun.cpp \ |
| 114 | third_party/WebKit/Source/core/rendering/RenderRubyText.cpp \ |
| 115 | third_party/WebKit/Source/core/rendering/RenderScrollbar.cpp \ |
| 116 | third_party/WebKit/Source/core/rendering/RenderScrollbarPart.cpp \ |
| 117 | third_party/WebKit/Source/core/rendering/RenderScrollbarTheme.cpp \ |
| 118 | third_party/WebKit/Source/core/rendering/RenderSearchField.cpp \ |
| 119 | third_party/WebKit/Source/core/rendering/RenderSlider.cpp \ |
| 120 | third_party/WebKit/Source/core/rendering/RenderTable.cpp \ |
| 121 | third_party/WebKit/Source/core/rendering/RenderTableCaption.cpp \ |
| 122 | third_party/WebKit/Source/core/rendering/RenderTableCell.cpp \ |
| 123 | third_party/WebKit/Source/core/rendering/RenderTableCol.cpp \ |
| 124 | third_party/WebKit/Source/core/rendering/RenderTableRow.cpp \ |
| 125 | third_party/WebKit/Source/core/rendering/RenderTableSection.cpp \ |
| 126 | third_party/WebKit/Source/core/rendering/RenderText.cpp \ |
| 127 | third_party/WebKit/Source/core/rendering/RenderTextControl.cpp \ |
| 128 | third_party/WebKit/Source/core/rendering/RenderTextControlMultiLine.cpp \ |
| 129 | third_party/WebKit/Source/core/rendering/RenderTextControlSingleLine.cpp \ |
| 130 | third_party/WebKit/Source/core/rendering/RenderTextFragment.cpp \ |
| 131 | third_party/WebKit/Source/core/rendering/RenderTextTrackCue.cpp \ |
| 132 | third_party/WebKit/Source/core/rendering/RenderTheme.cpp \ |
| 133 | third_party/WebKit/Source/core/rendering/RenderThemeChromiumAndroid.cpp \ |
| 134 | third_party/WebKit/Source/core/rendering/RenderThemeChromiumDefault.cpp \ |
| 135 | third_party/WebKit/Source/core/rendering/RenderThemeChromiumFontProvider.cpp \ |
| 136 | third_party/WebKit/Source/core/rendering/RenderThemeChromiumFontProviderLinux.cpp \ |
| 137 | third_party/WebKit/Source/core/rendering/RenderThemeChromiumSkia.cpp \ |
| 138 | third_party/WebKit/Source/core/rendering/RenderTreeAsText.cpp \ |
| 139 | third_party/WebKit/Source/core/rendering/RenderVideo.cpp \ |
| 140 | third_party/WebKit/Source/core/rendering/RenderView.cpp \ |
| 141 | third_party/WebKit/Source/core/rendering/RenderWidget.cpp \ |
| 142 | third_party/WebKit/Source/core/rendering/RenderWordBreak.cpp \ |
| 143 | third_party/WebKit/Source/core/rendering/RootInlineBox.cpp \ |
| 144 | third_party/WebKit/Source/core/rendering/ScrollBehavior.cpp \ |
| 145 | third_party/WebKit/Source/core/rendering/break_lines.cpp \ |
| 146 | third_party/WebKit/Source/core/rendering/style/BasicShapes.cpp \ |
| 147 | third_party/WebKit/Source/core/rendering/style/ContentData.cpp \ |
| 148 | third_party/WebKit/Source/core/rendering/style/CounterDirectives.cpp \ |
| 149 | third_party/WebKit/Source/core/rendering/style/FillLayer.cpp \ |
| 150 | third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp \ |
| 151 | third_party/WebKit/Source/core/rendering/style/NinePieceImage.cpp \ |
| 152 | third_party/WebKit/Source/core/rendering/style/QuotesData.cpp \ |
| 153 | third_party/WebKit/Source/core/rendering/style/RenderStyle.cpp \ |
| 154 | third_party/WebKit/Source/core/rendering/style/ShadowData.cpp \ |
| 155 | third_party/WebKit/Source/core/rendering/style/StyleBackgroundData.cpp \ |
| 156 | third_party/WebKit/Source/core/rendering/style/StyleBoxData.cpp \ |
| 157 | third_party/WebKit/Source/core/rendering/style/StyleCachedImage.cpp \ |
| 158 | third_party/WebKit/Source/core/rendering/style/StyleCachedImageSet.cpp \ |
| 159 | third_party/WebKit/Source/core/rendering/style/StyleCachedShader.cpp \ |
| 160 | third_party/WebKit/Source/core/rendering/style/StyleCustomFilterProgramCache.cpp \ |
| 161 | third_party/WebKit/Source/core/rendering/style/StyleCustomFilterProgram.cpp \ |
| 162 | third_party/WebKit/Source/core/rendering/style/StyleDeprecatedFlexibleBoxData.cpp \ |
| 163 | third_party/WebKit/Source/core/rendering/style/StyleFilterData.cpp \ |
| 164 | third_party/WebKit/Source/core/rendering/style/StyleFlexibleBoxData.cpp \ |
| 165 | third_party/WebKit/Source/core/rendering/style/StyleGeneratedImage.cpp \ |
| 166 | third_party/WebKit/Source/core/rendering/style/StyleGridData.cpp \ |
| 167 | third_party/WebKit/Source/core/rendering/style/StyleGridItemData.cpp \ |
| 168 | third_party/WebKit/Source/core/rendering/style/StyleInheritedData.cpp \ |
| 169 | third_party/WebKit/Source/core/rendering/style/StyleMarqueeData.cpp \ |
| 170 | third_party/WebKit/Source/core/rendering/style/StyleMultiColData.cpp \ |
| 171 | third_party/WebKit/Source/core/rendering/style/StyleRareInheritedData.cpp \ |
| 172 | third_party/WebKit/Source/core/rendering/style/StyleRareNonInheritedData.cpp \ |
| 173 | third_party/WebKit/Source/core/rendering/style/StyleSurroundData.cpp \ |
| 174 | third_party/WebKit/Source/core/rendering/style/StyleTransformData.cpp \ |
| 175 | third_party/WebKit/Source/core/rendering/style/StyleVisualData.cpp |
| 176 | |
| 177 | |
| 178 | # Flags passed to both C and C++ files. |
| 179 | MY_CFLAGS := \ |
| 180 | -fstack-protector \ |
| 181 | --param=ssp-buffer-size=4 \ |
| 182 | \ |
| 183 | -fno-exceptions \ |
| 184 | -fno-strict-aliasing \ |
| 185 | -Wno-unused-parameter \ |
| 186 | -Wno-missing-field-initializers \ |
| 187 | -fvisibility=hidden \ |
| 188 | -pipe \ |
| 189 | -fPIC \ |
| 190 | -Wno-format \ |
| 191 | -EL \ |
| 192 | -mhard-float \ |
Ben Murdoch | 874cc8d | 2013-06-27 01:42:22 +0100 | [diff] [blame^] | 193 | --sysroot=/usr/local/google2/src/clank/webview/external/chromium_org/mipsel-sysroot/sysroot \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 194 | -ffunction-sections \ |
| 195 | -funwind-tables \ |
| 196 | -g \ |
| 197 | -fstack-protector \ |
| 198 | -fno-short-enums \ |
| 199 | -finline-limit=64 \ |
| 200 | -Wa,--noexecstack \ |
| 201 | -U_FORTIFY_SOURCE \ |
| 202 | -Wno-extra \ |
| 203 | -Wno-ignored-qualifiers \ |
| 204 | -Wno-type-limits \ |
| 205 | -Wno-address \ |
| 206 | -Wno-format-security \ |
| 207 | -Wno-return-type \ |
| 208 | -Wno-sequence-point \ |
| 209 | -Os \ |
| 210 | -g \ |
| 211 | -fomit-frame-pointer \ |
| 212 | -fdata-sections \ |
| 213 | -ffunction-sections |
| 214 | |
| 215 | MY_CFLAGS_C := |
| 216 | |
| 217 | MY_DEFS := \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 218 | '-DANGLE_DX11' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 219 | '-D_FILE_OFFSET_BITS=64' \ |
| 220 | '-DNO_TCMALLOC' \ |
| 221 | '-DDISABLE_NACL' \ |
| 222 | '-DCHROMIUM_BUILD' \ |
| 223 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 224 | '-DUSE_PROPRIETARY_CODECS' \ |
| 225 | '-DENABLE_GPU=1' \ |
| 226 | '-DUSE_OPENSSL=1' \ |
| 227 | '-DENABLE_EGLIMAGE=1' \ |
| 228 | '-DENABLE_LANGUAGE_DETECTION=1' \ |
| 229 | '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ |
| 230 | '-DWEBKIT_IMPLEMENTATION=1' \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 231 | '-DINSIDE_WEBKIT' \ |
| 232 | '-DENABLE_CANVAS_USES_MAILBOX=1' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 233 | '-DENABLE_CSS3_TEXT=0' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 234 | '-DENABLE_CSS_EXCLUSIONS=1' \ |
| 235 | '-DENABLE_CSS_REGIONS=1' \ |
| 236 | '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ |
| 237 | '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ |
| 238 | '-DENABLE_GRAPHICS_CONTEXT_ANNOTATIONS=0' \ |
| 239 | '-DENABLE_SVG_FONTS=1' \ |
| 240 | '-DENABLE_TOUCH_ICON_LOADING=1' \ |
| 241 | '-DENABLE_XHR_TIMEOUT=0' \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 242 | '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 243 | '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ |
| 244 | '-DENABLE_CALENDAR_PICKER=0' \ |
| 245 | '-DENABLE_FAST_MOBILE_SCROLLING=1' \ |
| 246 | '-DENABLE_INPUT_SPEECH=0' \ |
| 247 | '-DENABLE_LEGACY_NOTIFICATIONS=0' \ |
| 248 | '-DENABLE_MEDIA_CAPTURE=1' \ |
| 249 | '-DENABLE_NOTIFICATIONS=0' \ |
| 250 | '-DENABLE_ORIENTATION_EVENTS=1' \ |
| 251 | '-DENABLE_PRINTING=0' \ |
| 252 | '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ |
| 253 | '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ |
| 254 | '-DENABLE_8BIT_TEXTRUN=1' \ |
| 255 | '-DENABLE_OPENTYPE_VERTICAL=1' \ |
| 256 | '-DWTF_USE_HARFBUZZ=1' \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 257 | '-DENABLE_PARTITION_ALLOC=1' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 258 | '-DU_USING_ICU_NAMESPACE=0' \ |
| 259 | '-DSK_BUILD_NO_IMAGE_ENCODE' \ |
| 260 | '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \ |
| 261 | '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| 262 | '-DGR_AGGRESSIVE_SHADER_OPTS=1' \ |
| 263 | '-DSK_ENABLE_INST_COUNT=0' \ |
| 264 | '-DSK_USE_POSIX_THREADS' \ |
| 265 | '-DSK_BUILD_FOR_ANDROID' \ |
| 266 | '-DCHROME_PNG_WRITE_SUPPORT' \ |
| 267 | '-DPNG_USER_CONFIG' \ |
| 268 | '-DLIBXML_STATIC' \ |
| 269 | '-DLIBXSLT_STATIC' \ |
| 270 | '-DUSE_SYSTEM_LIBJPEG' \ |
| 271 | '-DANDROID' \ |
| 272 | '-D__GNU_SOURCE=1' \ |
| 273 | '-DUSE_STLPORT=1' \ |
| 274 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 275 | '-DCHROME_BUILD_ID=""' \ |
| 276 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 277 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 278 | '-D_DEBUG' |
| 279 | |
| 280 | LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS) |
| 281 | |
| 282 | # Include paths placed before CFLAGS/CPPFLAGS |
| 283 | LOCAL_C_INCLUDES := \ |
| 284 | $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ |
| 285 | $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| 286 | $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ |
| 287 | $(LOCAL_PATH)/third_party/khronos \ |
| 288 | $(LOCAL_PATH)/gpu \ |
| 289 | $(LOCAL_PATH) \ |
| 290 | $(LOCAL_PATH)/third_party/WebKit \ |
| 291 | $(LOCAL_PATH)/third_party/WebKit/Source \ |
| 292 | $(gyp_shared_intermediate_dir)/webkit \ |
| 293 | $(gyp_shared_intermediate_dir)/webkit/bindings \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 294 | $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 295 | $(PWD)/external/icu4c/common \ |
| 296 | $(PWD)/external/icu4c/i18n \ |
| 297 | $(LOCAL_PATH)/skia/config \ |
| 298 | $(LOCAL_PATH)/third_party/skia/src/core \ |
| 299 | $(LOCAL_PATH)/third_party/skia/include/config \ |
| 300 | $(LOCAL_PATH)/third_party/skia/include/core \ |
| 301 | $(LOCAL_PATH)/third_party/skia/include/effects \ |
| 302 | $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| 303 | $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| 304 | $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ |
| 305 | $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| 306 | $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| 307 | $(LOCAL_PATH)/third_party/skia/include/ports \ |
| 308 | $(LOCAL_PATH)/third_party/skia/include/utils \ |
| 309 | $(LOCAL_PATH)/skia/ext \ |
| 310 | $(LOCAL_PATH)/third_party/iccjpeg \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 311 | $(LOCAL_PATH)/third_party/libpng \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 312 | $(LOCAL_PATH)/third_party/libwebp \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 313 | $(LOCAL_PATH)/third_party/libxml/linux/include \ |
| 314 | $(LOCAL_PATH)/third_party/libxml/src/include \ |
| 315 | $(LOCAL_PATH)/third_party/libxslt \ |
| 316 | $(LOCAL_PATH)/third_party/npapi \ |
| 317 | $(LOCAL_PATH)/third_party/npapi/bindings \ |
| 318 | $(LOCAL_PATH)/third_party/ots/include \ |
| 319 | $(LOCAL_PATH)/third_party/qcms/src \ |
| 320 | $(LOCAL_PATH)/third_party/sqlite \ |
| 321 | $(LOCAL_PATH)/third_party/zlib \ |
| 322 | $(LOCAL_PATH)/v8/include \ |
| 323 | $(PWD)/external/jpeg \ |
| 324 | $(PWD)/frameworks/wilhelm/include \ |
| 325 | $(PWD)/bionic \ |
| 326 | $(PWD)/external/stlport/stlport |
| 327 | |
| 328 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES) |
| 329 | |
| 330 | # Flags passed to only C++ (and not C) files. |
| 331 | LOCAL_CPPFLAGS := \ |
| 332 | -fno-rtti \ |
| 333 | -fno-threadsafe-statics \ |
| 334 | -fvisibility-inlines-hidden \ |
| 335 | -Wno-c++0x-compat \ |
| 336 | -Wno-deprecated \ |
| 337 | -Wno-uninitialized \ |
| 338 | -Wno-error=c++0x-compat \ |
| 339 | -Wno-non-virtual-dtor \ |
| 340 | -Wno-sign-promo \ |
| 341 | -Wno-non-virtual-dtor |
| 342 | |
| 343 | ### Rules for final target. |
| 344 | |
| 345 | LOCAL_LDFLAGS := \ |
| 346 | -Wl,-z,now \ |
| 347 | -Wl,-z,relro \ |
| 348 | -Wl,-z,noexecstack \ |
| 349 | -fPIC \ |
| 350 | -EL \ |
| 351 | -Wl,--no-keep-memory \ |
Ben Murdoch | 874cc8d | 2013-06-27 01:42:22 +0100 | [diff] [blame^] | 352 | --sysroot=/usr/local/google2/src/clank/webview/external/chromium_org/mipsel-sysroot/sysroot \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 353 | \ |
| 354 | -nostdlib \ |
| 355 | -Wl,--no-undefined \ |
| 356 | -Wl,--exclude-libs=ALL \ |
| 357 | -Wl,--gc-sections \ |
| 358 | -Wl,-O1 \ |
| 359 | -Wl,--as-needed |
| 360 | |
| 361 | |
| 362 | LOCAL_STATIC_LIBRARIES := \ |
| 363 | skia_skia_gyp |
| 364 | |
| 365 | # Enable grouping to fix circular references |
| 366 | LOCAL_GROUP_STATIC_LIBRARIES := true |
| 367 | |
| 368 | LOCAL_SHARED_LIBRARIES := \ |
| 369 | libstlport \ |
| 370 | libdl |
| 371 | |
| 372 | # Add target alias to "gyp_all_modules" target. |
| 373 | .PHONY: gyp_all_modules |
| 374 | gyp_all_modules: third_party_WebKit_Source_core_webcore_rendering_gyp |
| 375 | |
| 376 | # Alias gyp target name. |
| 377 | .PHONY: webcore_rendering |
| 378 | webcore_rendering: third_party_WebKit_Source_core_webcore_rendering_gyp |
| 379 | |
| 380 | include $(BUILD_STATIC_LIBRARY) |