Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +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) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 6 | LOCAL_MODULE := webkit_support_glue_child_gyp |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +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 := \ |
| 14 | $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_gyp)/skia_skia_gyp.a \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 15 | $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 16 | $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame^] | 17 | $(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp)/v8.stamp \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 18 | $(call intermediates-dir-for,GYP,webkit_support_overscroller_jni_headers_gyp)/overscroller_jni_headers.stamp |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 19 | |
| 20 | GYP_GENERATED_OUTPUTS := |
| 21 | |
| 22 | # Make sure our deps and generated files are built first. |
| 23 | LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| 24 | |
| 25 | LOCAL_CPP_EXTENSION := .cc |
| 26 | LOCAL_GENERATED_SOURCES := |
| 27 | |
| 28 | GYP_COPIED_SOURCE_ORIGIN_DIRS := |
| 29 | |
| 30 | LOCAL_SRC_FILES := \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 31 | webkit/child/fling_animator_impl_android.cc \ |
| 32 | webkit/child/fling_curve_configuration.cc \ |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame^] | 33 | webkit/child/ftp_directory_listing_response_delegate.cc \ |
| 34 | webkit/child/multipart_response_delegate.cc \ |
| 35 | webkit/child/resource_loader_bridge.cc \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 36 | webkit/child/touch_fling_gesture_curve.cc \ |
| 37 | webkit/child/web_discardable_memory_impl.cc \ |
| 38 | webkit/child/webfallbackthemeengine_impl.cc \ |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame^] | 39 | webkit/child/webkit_child_helpers.cc \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 40 | webkit/child/webkitplatformsupport_child_impl.cc \ |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame^] | 41 | webkit/child/webkitplatformsupport_impl.cc \ |
| 42 | webkit/child/websocketstreamhandle_impl.cc \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 43 | webkit/child/webthemeengine_impl_android.cc \ |
| 44 | webkit/child/webthread_impl.cc \ |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame^] | 45 | webkit/child/weburlloader_impl.cc \ |
| 46 | webkit/child/weburlrequest_extradata_impl.cc \ |
| 47 | webkit/child/weburlresponse_extradata_impl.cc \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 48 | webkit/child/worker_task_runner.cc |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 49 | |
| 50 | |
| 51 | # Flags passed to both C and C++ files. |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 52 | MY_CFLAGS_Debug := \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 53 | -Wno-narrowing \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 54 | --param=ssp-buffer-size=4 \ |
| 55 | -Werror \ |
| 56 | -fno-exceptions \ |
| 57 | -fno-strict-aliasing \ |
| 58 | -Wall \ |
| 59 | -Wno-unused-parameter \ |
| 60 | -Wno-missing-field-initializers \ |
| 61 | -fvisibility=hidden \ |
| 62 | -pipe \ |
| 63 | -fPIC \ |
| 64 | -m32 \ |
| 65 | -mmmx \ |
| 66 | -march=pentium4 \ |
| 67 | -msse2 \ |
| 68 | -mfpmath=sse \ |
| 69 | -fuse-ld=gold \ |
| 70 | -ffunction-sections \ |
| 71 | -funwind-tables \ |
| 72 | -g \ |
| 73 | -fno-short-enums \ |
| 74 | -finline-limit=64 \ |
| 75 | -Wa,--noexecstack \ |
| 76 | -U_FORTIFY_SOURCE \ |
| 77 | -Wno-extra \ |
| 78 | -Wno-ignored-qualifiers \ |
| 79 | -Wno-type-limits \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 80 | -Wno-address \ |
| 81 | -Wno-format-security \ |
| 82 | -Wno-return-type \ |
| 83 | -Wno-sequence-point \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 84 | -fno-stack-protector \ |
| 85 | -Os \ |
| 86 | -g \ |
| 87 | -fomit-frame-pointer \ |
| 88 | -fdata-sections \ |
| 89 | -ffunction-sections |
| 90 | |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 91 | MY_DEFS_Debug := \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 92 | '-DANGLE_DX11' \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 93 | '-D_FILE_OFFSET_BITS=64' \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 94 | '-DNO_TCMALLOC' \ |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 95 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 96 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 97 | '-DDISABLE_NACL' \ |
| 98 | '-DCHROMIUM_BUILD' \ |
| 99 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 100 | '-DUSE_PROPRIETARY_CODECS' \ |
| 101 | '-DENABLE_GPU=1' \ |
| 102 | '-DUSE_OPENSSL=1' \ |
| 103 | '-DENABLE_EGLIMAGE=1' \ |
| 104 | '-DENABLE_LANGUAGE_DETECTION=1' \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 105 | '-DWEBKIT_CHILD_IMPLEMENTATION' \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 106 | '-DSK_BUILD_NO_IMAGE_ENCODE' \ |
| 107 | '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \ |
| 108 | '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| 109 | '-DGR_AGGRESSIVE_SHADER_OPTS=1' \ |
| 110 | '-DSK_ENABLE_INST_COUNT=0' \ |
| 111 | '-DSK_USE_POSIX_THREADS' \ |
Torne (Richard Coles) | a93a17c | 2013-05-15 11:34:50 +0100 | [diff] [blame] | 112 | '-DSK_BUILD_FOR_ANDROID' \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 113 | '-DU_USING_ICU_NAMESPACE=0' \ |
| 114 | '-D__STDC_CONSTANT_MACROS' \ |
| 115 | '-D__STDC_FORMAT_MACROS' \ |
| 116 | '-DANDROID' \ |
| 117 | '-D__GNU_SOURCE=1' \ |
| 118 | '-DUSE_STLPORT=1' \ |
| 119 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 120 | '-DCHROME_BUILD_ID=""' \ |
| 121 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 122 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 123 | '-D_DEBUG' |
| 124 | |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 125 | |
| 126 | # Include paths placed before CFLAGS/CPPFLAGS |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 127 | LOCAL_C_INCLUDES_Debug := \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 128 | $(gyp_shared_intermediate_dir)/webkit \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 129 | $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ |
| 130 | $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ |
| 131 | $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| 132 | $(LOCAL_PATH)/third_party/khronos \ |
| 133 | $(LOCAL_PATH)/gpu \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 134 | $(LOCAL_PATH) \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 135 | $(LOCAL_PATH)/skia/config \ |
| 136 | $(LOCAL_PATH)/third_party/skia/src/core \ |
| 137 | $(LOCAL_PATH)/third_party/skia/include/config \ |
| 138 | $(LOCAL_PATH)/third_party/skia/include/core \ |
| 139 | $(LOCAL_PATH)/third_party/skia/include/effects \ |
| 140 | $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| 141 | $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| 142 | $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 143 | $(LOCAL_PATH)/third_party/skia/include/lazy \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 144 | $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| 145 | $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| 146 | $(LOCAL_PATH)/third_party/skia/include/ports \ |
| 147 | $(LOCAL_PATH)/third_party/skia/include/utils \ |
| 148 | $(LOCAL_PATH)/skia/ext \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 149 | $(LOCAL_PATH)/third_party/WebKit \ |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 150 | $(PWD)/external/icu4c/common \ |
| 151 | $(PWD)/external/icu4c/i18n \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 152 | $(LOCAL_PATH)/third_party/npapi \ |
| 153 | $(LOCAL_PATH)/third_party/npapi/bindings \ |
| 154 | $(LOCAL_PATH)/v8/include \ |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 155 | $(PWD)/frameworks/wilhelm/include \ |
| 156 | $(PWD)/bionic \ |
| 157 | $(PWD)/external/stlport/stlport |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 158 | |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 159 | |
| 160 | # Flags passed to only C++ (and not C) files. |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 161 | LOCAL_CPPFLAGS_Debug := \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 162 | -Wno-narrowing \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 163 | -fno-rtti \ |
| 164 | -fno-threadsafe-statics \ |
| 165 | -fvisibility-inlines-hidden \ |
| 166 | -Wsign-compare \ |
| 167 | -Wno-error=c++0x-compat \ |
| 168 | -Wno-non-virtual-dtor \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 169 | -Wno-sign-promo \ |
| 170 | -Wno-non-virtual-dtor |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 171 | |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 172 | |
| 173 | # Flags passed to both C and C++ files. |
| 174 | MY_CFLAGS_Release := \ |
| 175 | -Wno-narrowing \ |
| 176 | --param=ssp-buffer-size=4 \ |
| 177 | -Werror \ |
| 178 | -fno-exceptions \ |
| 179 | -fno-strict-aliasing \ |
| 180 | -Wall \ |
| 181 | -Wno-unused-parameter \ |
| 182 | -Wno-missing-field-initializers \ |
| 183 | -fvisibility=hidden \ |
| 184 | -pipe \ |
| 185 | -fPIC \ |
| 186 | -m32 \ |
| 187 | -mmmx \ |
| 188 | -march=pentium4 \ |
| 189 | -msse2 \ |
| 190 | -mfpmath=sse \ |
| 191 | -fuse-ld=gold \ |
| 192 | -ffunction-sections \ |
| 193 | -funwind-tables \ |
| 194 | -g \ |
| 195 | -fno-short-enums \ |
| 196 | -finline-limit=64 \ |
| 197 | -Wa,--noexecstack \ |
| 198 | -U_FORTIFY_SOURCE \ |
| 199 | -Wno-extra \ |
| 200 | -Wno-ignored-qualifiers \ |
| 201 | -Wno-type-limits \ |
| 202 | -Wno-address \ |
| 203 | -Wno-format-security \ |
| 204 | -Wno-return-type \ |
| 205 | -Wno-sequence-point \ |
| 206 | -fno-stack-protector \ |
| 207 | -Os \ |
| 208 | -fno-ident \ |
| 209 | -fdata-sections \ |
| 210 | -ffunction-sections \ |
| 211 | -fomit-frame-pointer \ |
| 212 | -fno-unwind-tables \ |
| 213 | -fno-asynchronous-unwind-tables |
| 214 | |
| 215 | MY_DEFS_Release := \ |
| 216 | '-DANGLE_DX11' \ |
| 217 | '-D_FILE_OFFSET_BITS=64' \ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 218 | '-DNO_TCMALLOC' \ |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 219 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 220 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 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 | '-DWEBKIT_CHILD_IMPLEMENTATION' \ |
| 230 | '-DSK_BUILD_NO_IMAGE_ENCODE' \ |
| 231 | '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \ |
| 232 | '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| 233 | '-DGR_AGGRESSIVE_SHADER_OPTS=1' \ |
| 234 | '-DSK_ENABLE_INST_COUNT=0' \ |
| 235 | '-DSK_USE_POSIX_THREADS' \ |
| 236 | '-DSK_BUILD_FOR_ANDROID' \ |
| 237 | '-DU_USING_ICU_NAMESPACE=0' \ |
| 238 | '-D__STDC_CONSTANT_MACROS' \ |
| 239 | '-D__STDC_FORMAT_MACROS' \ |
| 240 | '-DANDROID' \ |
| 241 | '-D__GNU_SOURCE=1' \ |
| 242 | '-DUSE_STLPORT=1' \ |
| 243 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 244 | '-DCHROME_BUILD_ID=""' \ |
| 245 | '-DNDEBUG' \ |
| 246 | '-DNVALGRIND' \ |
| 247 | '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ |
| 248 | '-D_FORTIFY_SOURCE=2' |
| 249 | |
| 250 | |
| 251 | # Include paths placed before CFLAGS/CPPFLAGS |
| 252 | LOCAL_C_INCLUDES_Release := \ |
| 253 | $(gyp_shared_intermediate_dir)/webkit \ |
| 254 | $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ |
| 255 | $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ |
| 256 | $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| 257 | $(LOCAL_PATH)/third_party/khronos \ |
| 258 | $(LOCAL_PATH)/gpu \ |
| 259 | $(LOCAL_PATH) \ |
| 260 | $(LOCAL_PATH)/skia/config \ |
| 261 | $(LOCAL_PATH)/third_party/skia/src/core \ |
| 262 | $(LOCAL_PATH)/third_party/skia/include/config \ |
| 263 | $(LOCAL_PATH)/third_party/skia/include/core \ |
| 264 | $(LOCAL_PATH)/third_party/skia/include/effects \ |
| 265 | $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| 266 | $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| 267 | $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ |
| 268 | $(LOCAL_PATH)/third_party/skia/include/lazy \ |
| 269 | $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| 270 | $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| 271 | $(LOCAL_PATH)/third_party/skia/include/ports \ |
| 272 | $(LOCAL_PATH)/third_party/skia/include/utils \ |
| 273 | $(LOCAL_PATH)/skia/ext \ |
| 274 | $(LOCAL_PATH)/third_party/WebKit \ |
| 275 | $(PWD)/external/icu4c/common \ |
| 276 | $(PWD)/external/icu4c/i18n \ |
| 277 | $(LOCAL_PATH)/third_party/npapi \ |
| 278 | $(LOCAL_PATH)/third_party/npapi/bindings \ |
| 279 | $(LOCAL_PATH)/v8/include \ |
| 280 | $(PWD)/frameworks/wilhelm/include \ |
| 281 | $(PWD)/bionic \ |
| 282 | $(PWD)/external/stlport/stlport |
| 283 | |
| 284 | |
| 285 | # Flags passed to only C++ (and not C) files. |
| 286 | LOCAL_CPPFLAGS_Release := \ |
| 287 | -Wno-narrowing \ |
| 288 | -fno-rtti \ |
| 289 | -fno-threadsafe-statics \ |
| 290 | -fvisibility-inlines-hidden \ |
| 291 | -Wsign-compare \ |
| 292 | -Wno-error=c++0x-compat \ |
| 293 | -Wno-non-virtual-dtor \ |
| 294 | -Wno-sign-promo \ |
| 295 | -Wno-non-virtual-dtor |
| 296 | |
| 297 | |
| 298 | LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |
| 299 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) |
| 300 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 301 | ### Rules for final target. |
| 302 | |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 303 | LOCAL_LDFLAGS_Debug := \ |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 304 | -Wl,-z,now \ |
| 305 | -Wl,-z,relro \ |
| 306 | -Wl,-z,noexecstack \ |
| 307 | -fPIC \ |
| 308 | -m32 \ |
| 309 | -fuse-ld=gold \ |
| 310 | -nostdlib \ |
| 311 | -Wl,--no-undefined \ |
| 312 | -Wl,--exclude-libs=ALL \ |
| 313 | -Wl,--gc-sections \ |
| 314 | -Wl,-O1 \ |
| 315 | -Wl,--as-needed |
| 316 | |
| 317 | |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 318 | LOCAL_LDFLAGS_Release := \ |
| 319 | -Wl,-z,now \ |
| 320 | -Wl,-z,relro \ |
| 321 | -Wl,-z,noexecstack \ |
| 322 | -fPIC \ |
| 323 | -m32 \ |
| 324 | -fuse-ld=gold \ |
| 325 | -nostdlib \ |
| 326 | -Wl,--no-undefined \ |
| 327 | -Wl,--exclude-libs=ALL \ |
| 328 | -Wl,-O1 \ |
| 329 | -Wl,--as-needed \ |
| 330 | -Wl,--gc-sections |
| 331 | |
| 332 | |
| 333 | LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) |
| 334 | |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 335 | LOCAL_STATIC_LIBRARIES := \ |
| 336 | skia_skia_gyp \ |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame^] | 337 | ui_ui_gyp |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 338 | |
| 339 | # Enable grouping to fix circular references |
| 340 | LOCAL_GROUP_STATIC_LIBRARIES := true |
| 341 | |
| 342 | LOCAL_SHARED_LIBRARIES := \ |
| 343 | libstlport \ |
| 344 | libdl |
| 345 | |
| 346 | # Add target alias to "gyp_all_modules" target. |
| 347 | .PHONY: gyp_all_modules |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 348 | gyp_all_modules: webkit_support_glue_child_gyp |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 349 | |
| 350 | # Alias gyp target name. |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 351 | .PHONY: glue_child |
| 352 | glue_child: webkit_support_glue_child_gyp |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 353 | |
| 354 | include $(BUILD_STATIC_LIBRARY) |