Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +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 |
Torne (Richard Coles) | 5267f70 | 2013-06-11 10:57:24 +0100 | [diff] [blame^] | 6 | LOCAL_MODULE := third_party_WebKit_Source_core_webcore_platform_geometry_gyp |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 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 := \ |
Torne (Richard Coles) | 5267f70 | 2013-06-11 10:57:24 +0100 | [diff] [blame^] | 14 | $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_prerequisites_gyp)/webcore_prerequisites.stamp \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 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/platform/graphics/FloatPoint.cpp \ |
| 28 | third_party/WebKit/Source/core/platform/graphics/FloatPolygon.cpp \ |
| 29 | third_party/WebKit/Source/core/platform/graphics/FloatPoint3D.cpp \ |
| 30 | third_party/WebKit/Source/core/platform/graphics/FloatQuad.cpp \ |
| 31 | third_party/WebKit/Source/core/platform/graphics/FloatRect.cpp \ |
| 32 | third_party/WebKit/Source/core/platform/graphics/FloatSize.cpp \ |
| 33 | third_party/WebKit/Source/core/platform/graphics/IntRect.cpp \ |
| 34 | third_party/WebKit/Source/core/platform/graphics/LayoutRect.cpp \ |
| 35 | third_party/WebKit/Source/core/platform/graphics/Region.cpp \ |
| 36 | third_party/WebKit/Source/core/platform/graphics/transforms/TransformationMatrix.cpp \ |
| 37 | third_party/WebKit/Source/core/platform/graphics/transforms/AffineTransform.cpp |
| 38 | |
| 39 | |
| 40 | # Flags passed to both C and C++ files. |
| 41 | MY_CFLAGS := \ |
| 42 | -fstack-protector \ |
| 43 | --param=ssp-buffer-size=4 \ |
| 44 | -fno-exceptions \ |
| 45 | -fno-strict-aliasing \ |
| 46 | -Wno-unused-parameter \ |
| 47 | -Wno-missing-field-initializers \ |
| 48 | -fvisibility=hidden \ |
| 49 | -pipe \ |
| 50 | -fPIC \ |
| 51 | -Wno-format \ |
| 52 | -fno-tree-sra \ |
| 53 | -fuse-ld=gold \ |
| 54 | -Wno-psabi \ |
| 55 | -ffunction-sections \ |
| 56 | -funwind-tables \ |
| 57 | -g \ |
| 58 | -fstack-protector \ |
| 59 | -fno-short-enums \ |
| 60 | -finline-limit=64 \ |
| 61 | -Wa,--noexecstack \ |
| 62 | -U_FORTIFY_SOURCE \ |
| 63 | -Wno-extra \ |
| 64 | -Wno-ignored-qualifiers \ |
| 65 | -Wno-type-limits \ |
| 66 | -Wno-address \ |
| 67 | -Wno-format-security \ |
| 68 | -Wno-return-type \ |
| 69 | -Wno-sequence-point \ |
| 70 | -Os \ |
| 71 | -g \ |
| 72 | -fomit-frame-pointer \ |
| 73 | -fdata-sections \ |
| 74 | -ffunction-sections |
| 75 | |
| 76 | MY_CFLAGS_C := |
| 77 | |
| 78 | MY_DEFS := \ |
| 79 | '-D_FILE_OFFSET_BITS=64' \ |
| 80 | '-DUSE_LINUX_BREAKPAD' \ |
| 81 | '-DNO_TCMALLOC' \ |
| 82 | '-DDISABLE_NACL' \ |
| 83 | '-DCHROMIUM_BUILD' \ |
| 84 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 85 | '-DUSE_PROPRIETARY_CODECS' \ |
| 86 | '-DENABLE_GPU=1' \ |
| 87 | '-DUSE_OPENSSL=1' \ |
| 88 | '-DENABLE_EGLIMAGE=1' \ |
| 89 | '-DENABLE_LANGUAGE_DETECTION=1' \ |
| 90 | '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ |
| 91 | '-DWEBKIT_IMPLEMENTATION=1' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 92 | '-DENABLE_CANVAS_USES_MAILBOX=0' \ |
| 93 | '-DENABLE_CSS3_TEXT=0' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 94 | '-DENABLE_CSS_DEVICE_ADAPTATION=0' \ |
| 95 | '-DENABLE_CSS_EXCLUSIONS=1' \ |
| 96 | '-DENABLE_CSS_REGIONS=1' \ |
| 97 | '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ |
Torne (Richard Coles) | 93ac45c | 2013-05-29 14:40:20 +0100 | [diff] [blame] | 98 | '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ |
Torne (Richard Coles) | 5267f70 | 2013-06-11 10:57:24 +0100 | [diff] [blame^] | 99 | '-DENABLE_GRAPHICS_CONTEXT_ANNOTATIONS=0' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 100 | '-DENABLE_SVG_FONTS=1' \ |
| 101 | '-DENABLE_TOUCH_ICON_LOADING=1' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 102 | '-DENABLE_XHR_TIMEOUT=0' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 103 | '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ |
| 104 | '-DENABLE_CALENDAR_PICKER=0' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 105 | '-DENABLE_FAST_MOBILE_SCROLLING=1' \ |
| 106 | '-DENABLE_INPUT_SPEECH=0' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 107 | '-DENABLE_LEGACY_NOTIFICATIONS=0' \ |
| 108 | '-DENABLE_MEDIA_CAPTURE=1' \ |
| 109 | '-DENABLE_NOTIFICATIONS=0' \ |
| 110 | '-DENABLE_ORIENTATION_EVENTS=1' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 111 | '-DENABLE_PRINTING=0' \ |
| 112 | '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ |
| 113 | '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ |
| 114 | '-DENABLE_8BIT_TEXTRUN=1' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 115 | '-DENABLE_OPENTYPE_VERTICAL=1' \ |
| 116 | '-DWTF_USE_HARFBUZZ=1' \ |
| 117 | '-DU_USING_ICU_NAMESPACE=0' \ |
| 118 | '-DSK_BUILD_NO_IMAGE_ENCODE' \ |
| 119 | '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \ |
| 120 | '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| 121 | '-DGR_AGGRESSIVE_SHADER_OPTS=1' \ |
| 122 | '-DSK_ENABLE_INST_COUNT=0' \ |
| 123 | '-DSK_USE_POSIX_THREADS' \ |
Torne (Richard Coles) | e524955 | 2013-05-15 11:35:13 +0100 | [diff] [blame] | 124 | '-DSK_BUILD_FOR_ANDROID' \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 125 | '-DCHROME_PNG_WRITE_SUPPORT' \ |
| 126 | '-DPNG_USER_CONFIG' \ |
| 127 | '-DLIBXML_STATIC' \ |
| 128 | '-DLIBXSLT_STATIC' \ |
| 129 | '-DUSE_SYSTEM_LIBJPEG' \ |
| 130 | '-DANDROID' \ |
| 131 | '-D__GNU_SOURCE=1' \ |
| 132 | '-DUSE_STLPORT=1' \ |
| 133 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 134 | '-DCHROME_BUILD_ID=""' \ |
| 135 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 136 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 137 | '-D_DEBUG' |
| 138 | |
| 139 | LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS) |
| 140 | |
| 141 | # Include paths placed before CFLAGS/CPPFLAGS |
| 142 | LOCAL_C_INCLUDES := \ |
| 143 | $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ |
| 144 | $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| 145 | $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ |
| 146 | $(LOCAL_PATH)/third_party/khronos \ |
| 147 | $(LOCAL_PATH)/gpu \ |
| 148 | $(LOCAL_PATH) \ |
Torne (Richard Coles) | 5267f70 | 2013-06-11 10:57:24 +0100 | [diff] [blame^] | 149 | $(LOCAL_PATH)/third_party/WebKit \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 150 | $(LOCAL_PATH)/third_party/WebKit/Source \ |
| 151 | $(gyp_shared_intermediate_dir)/webkit \ |
| 152 | $(gyp_shared_intermediate_dir)/webkit/bindings \ |
| 153 | $(LOCAL_PATH)/third_party/angle/include/GLSLANG \ |
Torne (Richard Coles) | 93ac45c | 2013-05-29 14:40:20 +0100 | [diff] [blame] | 154 | $(PWD)/external/icu4c/common \ |
| 155 | $(PWD)/external/icu4c/i18n \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 156 | $(LOCAL_PATH)/skia/config \ |
| 157 | $(LOCAL_PATH)/third_party/skia/src/core \ |
| 158 | $(LOCAL_PATH)/third_party/skia/include/config \ |
| 159 | $(LOCAL_PATH)/third_party/skia/include/core \ |
| 160 | $(LOCAL_PATH)/third_party/skia/include/effects \ |
| 161 | $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| 162 | $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| 163 | $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ |
| 164 | $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| 165 | $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| 166 | $(LOCAL_PATH)/third_party/skia/include/ports \ |
| 167 | $(LOCAL_PATH)/third_party/skia/include/utils \ |
| 168 | $(LOCAL_PATH)/skia/ext \ |
| 169 | $(LOCAL_PATH)/third_party/iccjpeg \ |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 170 | $(LOCAL_PATH)/third_party/libwebp \ |
| 171 | $(LOCAL_PATH)/third_party/libpng \ |
| 172 | $(LOCAL_PATH)/third_party/libxml/linux/include \ |
| 173 | $(LOCAL_PATH)/third_party/libxml/src/include \ |
| 174 | $(LOCAL_PATH)/third_party/libxslt \ |
| 175 | $(LOCAL_PATH)/third_party/npapi \ |
| 176 | $(LOCAL_PATH)/third_party/npapi/bindings \ |
| 177 | $(LOCAL_PATH)/third_party/ots/include \ |
| 178 | $(LOCAL_PATH)/third_party/qcms/src \ |
| 179 | $(LOCAL_PATH)/third_party/sqlite \ |
| 180 | $(LOCAL_PATH)/third_party/zlib \ |
| 181 | $(LOCAL_PATH)/v8/include \ |
Torne (Richard Coles) | 93ac45c | 2013-05-29 14:40:20 +0100 | [diff] [blame] | 182 | $(PWD)/external/jpeg \ |
| 183 | $(PWD)/frameworks/wilhelm/include \ |
| 184 | $(PWD)/bionic \ |
| 185 | $(PWD)/external/stlport/stlport |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 186 | |
| 187 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES) |
| 188 | |
| 189 | # Flags passed to only C++ (and not C) files. |
| 190 | LOCAL_CPPFLAGS := \ |
| 191 | -fno-rtti \ |
| 192 | -fno-threadsafe-statics \ |
| 193 | -fvisibility-inlines-hidden \ |
| 194 | -Wno-c++0x-compat \ |
| 195 | -Wno-deprecated \ |
| 196 | -Wno-abi \ |
| 197 | -Wno-error=c++0x-compat \ |
| 198 | -Wno-non-virtual-dtor \ |
| 199 | -Wno-sign-promo \ |
| 200 | -Wno-non-virtual-dtor |
| 201 | |
| 202 | ### Rules for final target. |
| 203 | |
| 204 | LOCAL_LDFLAGS := \ |
| 205 | -Wl,-z,now \ |
| 206 | -Wl,-z,relro \ |
| 207 | -Wl,-z,noexecstack \ |
| 208 | -fPIC \ |
| 209 | -Wl,-z,relro \ |
| 210 | -Wl,-z,now \ |
| 211 | -fuse-ld=gold \ |
| 212 | -nostdlib \ |
| 213 | -Wl,--no-undefined \ |
| 214 | -Wl,--exclude-libs=ALL \ |
| 215 | -Wl,--icf=safe \ |
| 216 | -Wl,--gc-sections \ |
| 217 | -Wl,-O1 \ |
| 218 | -Wl,--as-needed |
| 219 | |
| 220 | |
| 221 | LOCAL_STATIC_LIBRARIES := \ |
| 222 | skia_skia_gyp |
| 223 | |
| 224 | # Enable grouping to fix circular references |
| 225 | LOCAL_GROUP_STATIC_LIBRARIES := true |
| 226 | |
| 227 | LOCAL_SHARED_LIBRARIES := \ |
| 228 | libstlport \ |
| 229 | libdl |
| 230 | |
| 231 | # Add target alias to "gyp_all_modules" target. |
| 232 | .PHONY: gyp_all_modules |
Torne (Richard Coles) | 5267f70 | 2013-06-11 10:57:24 +0100 | [diff] [blame^] | 233 | gyp_all_modules: third_party_WebKit_Source_core_webcore_platform_geometry_gyp |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 234 | |
| 235 | # Alias gyp target name. |
| 236 | .PHONY: webcore_platform_geometry |
Torne (Richard Coles) | 5267f70 | 2013-06-11 10:57:24 +0100 | [diff] [blame^] | 237 | webcore_platform_geometry: third_party_WebKit_Source_core_webcore_platform_geometry_gyp |
Torne (Richard Coles) | 53e740f | 2013-05-09 18:38:43 +0100 | [diff] [blame] | 238 | |
| 239 | include $(BUILD_STATIC_LIBRARY) |