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