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 \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a 18 19 GYP_GENERATED_OUTPUTS := 20 21 # Make sure our deps and generated files are built first. 22 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 23 24 LOCAL_CPP_EXTENSION := .cc 25 LOCAL_GENERATED_SOURCES := 26 27 GYP_COPIED_SOURCE_ORIGIN_DIRS := 28 29 LOCAL_SRC_FILES := \ 30 webkit/renderer/compositor_bindings/scrollbar_impl.cc \ 31 webkit/renderer/compositor_bindings/web_animation_curve_common.cc \ 32 webkit/renderer/compositor_bindings/web_animation_impl.cc \ 33 webkit/renderer/compositor_bindings/web_compositing_reasons.cc \ 34 webkit/renderer/compositor_bindings/web_content_layer_impl.cc \ 35 webkit/renderer/compositor_bindings/web_external_bitmap_impl.cc \ 36 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc \ 37 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc \ 38 webkit/renderer/compositor_bindings/web_float_animation_curve_impl.cc \ 39 webkit/renderer/compositor_bindings/web_image_layer_impl.cc \ 40 webkit/renderer/compositor_bindings/web_layer_impl.cc \ 41 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc \ 42 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc \ 43 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc \ 44 webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc \ 45 webkit/renderer/compositor_bindings/web_transform_animation_curve_impl.cc \ 46 webkit/renderer/compositor_bindings/web_transform_operations_impl.cc 47 48 49 # Flags passed to both C and C++ files. 50 MY_CFLAGS_Debug := \ 51 -fstack-protector \ 52 --param=ssp-buffer-size=4 \ 53 -Werror \ 54 -fno-exceptions \ 55 -fno-strict-aliasing \ 56 -Wall \ 57 -Wno-unused-parameter \ 58 -Wno-missing-field-initializers \ 59 -fvisibility=hidden \ 60 -pipe \ 61 -fPIC \ 62 -fno-tree-sra \ 63 -fuse-ld=gold \ 64 -Wno-psabi \ 65 -ffunction-sections \ 66 -funwind-tables \ 67 -g \ 68 -fstack-protector \ 69 -fno-short-enums \ 70 -finline-limit=64 \ 71 -Wa,--noexecstack \ 72 -U_FORTIFY_SOURCE \ 73 -Wno-extra \ 74 -Wno-ignored-qualifiers \ 75 -Wno-type-limits \ 76 -Os \ 77 -g \ 78 -fomit-frame-pointer \ 79 -fdata-sections \ 80 -ffunction-sections 81 82 MY_DEFS_Debug := \ 83 '-DANGLE_DX11' \ 84 '-D_FILE_OFFSET_BITS=64' \ 85 '-DNO_TCMALLOC' \ 86 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 87 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 88 '-DDISABLE_NACL' \ 89 '-DCHROMIUM_BUILD' \ 90 '-DUSE_LIBJPEG_TURBO=1' \ 91 '-DUSE_PROPRIETARY_CODECS' \ 92 '-DENABLE_CONFIGURATION_POLICY' \ 93 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 94 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 95 '-DENABLE_GPU=1' \ 96 '-DUSE_OPENSSL=1' \ 97 '-DENABLE_EGLIMAGE=1' \ 98 '-DENABLE_PRINTING=1' \ 99 '-DWEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION=1' \ 100 '-DMEDIA_DISABLE_LIBVPX' \ 101 '-DU_USING_ICU_NAMESPACE=0' \ 102 '-DPOSIX_AVOID_MMAP' \ 103 '-D__STDC_CONSTANT_MACROS' \ 104 '-D__STDC_FORMAT_MACROS' \ 105 '-DANDROID' \ 106 '-D__GNU_SOURCE=1' \ 107 '-DUSE_STLPORT=1' \ 108 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 109 '-DCHROME_BUILD_ID=""' \ 110 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 111 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 112 '-D_DEBUG' 113 114 115 # Include paths placed before CFLAGS/CPPFLAGS 116 LOCAL_C_INCLUDES_Debug := \ 117 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 118 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 119 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 120 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 121 $(LOCAL_PATH) \ 122 $(LOCAL_PATH)/third_party/khronos \ 123 $(LOCAL_PATH)/gpu \ 124 $(LOCAL_PATH)/third_party/skia/src/core \ 125 $(LOCAL_PATH)/skia/ext \ 126 $(LOCAL_PATH)/third_party/WebKit \ 127 $(PWD)/external/icu4c/common \ 128 $(PWD)/external/icu4c/i18n \ 129 $(LOCAL_PATH)/third_party/npapi \ 130 $(LOCAL_PATH)/third_party/npapi/bindings \ 131 $(LOCAL_PATH)/v8/include \ 132 $(PWD)/frameworks/wilhelm/include \ 133 $(PWD)/bionic \ 134 $(PWD)/external/stlport/stlport 135 136 137 # Flags passed to only C++ (and not C) files. 138 LOCAL_CPPFLAGS_Debug := \ 139 -fno-rtti \ 140 -fno-threadsafe-statics \ 141 -fvisibility-inlines-hidden \ 142 -Wsign-compare \ 143 -Wno-abi \ 144 -Wno-error=c++0x-compat \ 145 -Wno-non-virtual-dtor \ 146 -Wno-sign-promo 147 148 149 # Flags passed to both C and C++ files. 150 MY_CFLAGS_Release := \ 151 -fstack-protector \ 152 --param=ssp-buffer-size=4 \ 153 -Werror \ 154 -fno-exceptions \ 155 -fno-strict-aliasing \ 156 -Wall \ 157 -Wno-unused-parameter \ 158 -Wno-missing-field-initializers \ 159 -fvisibility=hidden \ 160 -pipe \ 161 -fPIC \ 162 -fno-tree-sra \ 163 -fuse-ld=gold \ 164 -Wno-psabi \ 165 -ffunction-sections \ 166 -funwind-tables \ 167 -g \ 168 -fstack-protector \ 169 -fno-short-enums \ 170 -finline-limit=64 \ 171 -Wa,--noexecstack \ 172 -U_FORTIFY_SOURCE \ 173 -Wno-extra \ 174 -Wno-ignored-qualifiers \ 175 -Wno-type-limits \ 176 -Os \ 177 -fno-ident \ 178 -fdata-sections \ 179 -ffunction-sections \ 180 -fomit-frame-pointer 181 182 MY_DEFS_Release := \ 183 '-DANGLE_DX11' \ 184 '-D_FILE_OFFSET_BITS=64' \ 185 '-DNO_TCMALLOC' \ 186 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 187 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 188 '-DDISABLE_NACL' \ 189 '-DCHROMIUM_BUILD' \ 190 '-DUSE_LIBJPEG_TURBO=1' \ 191 '-DUSE_PROPRIETARY_CODECS' \ 192 '-DENABLE_CONFIGURATION_POLICY' \ 193 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 194 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 195 '-DENABLE_GPU=1' \ 196 '-DUSE_OPENSSL=1' \ 197 '-DENABLE_EGLIMAGE=1' \ 198 '-DENABLE_PRINTING=1' \ 199 '-DWEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION=1' \ 200 '-DMEDIA_DISABLE_LIBVPX' \ 201 '-DU_USING_ICU_NAMESPACE=0' \ 202 '-DPOSIX_AVOID_MMAP' \ 203 '-D__STDC_CONSTANT_MACROS' \ 204 '-D__STDC_FORMAT_MACROS' \ 205 '-DANDROID' \ 206 '-D__GNU_SOURCE=1' \ 207 '-DUSE_STLPORT=1' \ 208 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 209 '-DCHROME_BUILD_ID=""' \ 210 '-DNDEBUG' \ 211 '-DNVALGRIND' \ 212 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 213 '-D_FORTIFY_SOURCE=2' 214 215 216 # Include paths placed before CFLAGS/CPPFLAGS 217 LOCAL_C_INCLUDES_Release := \ 218 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 219 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 220 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 221 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 222 $(LOCAL_PATH) \ 223 $(LOCAL_PATH)/third_party/khronos \ 224 $(LOCAL_PATH)/gpu \ 225 $(LOCAL_PATH)/third_party/skia/src/core \ 226 $(LOCAL_PATH)/skia/ext \ 227 $(LOCAL_PATH)/third_party/WebKit \ 228 $(PWD)/external/icu4c/common \ 229 $(PWD)/external/icu4c/i18n \ 230 $(LOCAL_PATH)/third_party/npapi \ 231 $(LOCAL_PATH)/third_party/npapi/bindings \ 232 $(LOCAL_PATH)/v8/include \ 233 $(PWD)/frameworks/wilhelm/include \ 234 $(PWD)/bionic \ 235 $(PWD)/external/stlport/stlport 236 237 238 # Flags passed to only C++ (and not C) files. 239 LOCAL_CPPFLAGS_Release := \ 240 -fno-rtti \ 241 -fno-threadsafe-statics \ 242 -fvisibility-inlines-hidden \ 243 -Wsign-compare \ 244 -Wno-abi \ 245 -Wno-error=c++0x-compat \ 246 -Wno-non-virtual-dtor \ 247 -Wno-sign-promo 248 249 250 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 251 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 252 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 253 ### Rules for final target. 254 255 LOCAL_LDFLAGS_Debug := \ 256 -Wl,-z,now \ 257 -Wl,-z,relro \ 258 -Wl,-z,noexecstack \ 259 -fPIC \ 260 -Wl,-z,relro \ 261 -Wl,-z,now \ 262 -fuse-ld=gold \ 263 -nostdlib \ 264 -Wl,--no-undefined \ 265 -Wl,--exclude-libs=ALL \ 266 -Wl,--icf=safe \ 267 -Wl,--fatal-warnings \ 268 -Wl,--gc-sections \ 269 -Wl,--warn-shared-textrel \ 270 -Wl,-O1 \ 271 -Wl,--as-needed 272 273 274 LOCAL_LDFLAGS_Release := \ 275 -Wl,-z,now \ 276 -Wl,-z,relro \ 277 -Wl,-z,noexecstack \ 278 -fPIC \ 279 -Wl,-z,relro \ 280 -Wl,-z,now \ 281 -fuse-ld=gold \ 282 -nostdlib \ 283 -Wl,--no-undefined \ 284 -Wl,--exclude-libs=ALL \ 285 -Wl,--icf=safe \ 286 -Wl,-O1 \ 287 -Wl,--as-needed \ 288 -Wl,--gc-sections \ 289 -Wl,--fatal-warnings \ 290 -Wl,--warn-shared-textrel 291 292 293 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 294 295 LOCAL_STATIC_LIBRARIES := \ 296 ui_ui_gyp 297 298 # Enable grouping to fix circular references 299 LOCAL_GROUP_STATIC_LIBRARIES := true 300 301 LOCAL_SHARED_LIBRARIES := \ 302 libskia \ 303 libstlport \ 304 libdl 305 306 # Add target alias to "gyp_all_modules" target. 307 .PHONY: gyp_all_modules 308 gyp_all_modules: webkit_renderer_compositor_bindings_webkit_compositor_bindings_gyp 309 310 # Alias gyp target name. 311 .PHONY: webkit_compositor_bindings 312 webkit_compositor_bindings: webkit_renderer_compositor_bindings_webkit_compositor_bindings_gyp 313 314 include $(BUILD_STATIC_LIBRARY) 315