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