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 := cc_blink_cc_blink_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 17 18 GYP_GENERATED_OUTPUTS := 19 20 # Make sure our deps and generated files are built first. 21 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23 LOCAL_CPP_EXTENSION := .cc 24 LOCAL_GENERATED_SOURCES := 25 26 GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28 LOCAL_SRC_FILES := \ 29 cc/blink/scrollbar_impl.cc \ 30 cc/blink/web_animation_curve_common.cc \ 31 cc/blink/web_animation_impl.cc \ 32 cc/blink/web_compositor_support_impl.cc \ 33 cc/blink/web_content_layer_impl.cc \ 34 cc/blink/web_external_bitmap_impl.cc \ 35 cc/blink/web_external_texture_layer_impl.cc \ 36 cc/blink/web_filter_animation_curve_impl.cc \ 37 cc/blink/web_filter_operations_impl.cc \ 38 cc/blink/web_float_animation_curve_impl.cc \ 39 cc/blink/web_image_layer_impl.cc \ 40 cc/blink/web_layer_impl.cc \ 41 cc/blink/web_layer_impl_fixed_bounds.cc \ 42 cc/blink/web_nine_patch_layer_impl.cc \ 43 cc/blink/web_scroll_offset_animation_curve_impl.cc \ 44 cc/blink/web_scrollbar_layer_impl.cc \ 45 cc/blink/web_to_cc_animation_delegate_adapter.cc \ 46 cc/blink/web_transform_animation_curve_impl.cc \ 47 cc/blink/web_transform_operations_impl.cc 48 49 50 # Flags passed to both C and C++ files. 51 MY_CFLAGS_Debug := \ 52 --param=ssp-buffer-size=4 \ 53 -fno-strict-aliasing \ 54 -Wno-unused-parameter \ 55 -Wno-missing-field-initializers \ 56 -fvisibility=hidden \ 57 -pipe \ 58 -fPIC \ 59 -Wno-unused-local-typedefs \ 60 -Wno-format \ 61 -ffunction-sections \ 62 -funwind-tables \ 63 -g \ 64 -fno-short-enums \ 65 -finline-limit=64 \ 66 -Wa,--noexecstack \ 67 -U_FORTIFY_SOURCE \ 68 -Wno-extra \ 69 -Wno-ignored-qualifiers \ 70 -Wno-type-limits \ 71 -Wno-unused-but-set-variable \ 72 -Wno-address \ 73 -Wno-format-security \ 74 -Wno-return-type \ 75 -Wno-sequence-point \ 76 -Os \ 77 -g \ 78 -gdwarf-4 \ 79 -fdata-sections \ 80 -ffunction-sections \ 81 -funwind-tables 82 83 MY_DEFS_Debug := \ 84 '-DV8_DEPRECATION_WARNINGS' \ 85 '-D_FILE_OFFSET_BITS=64' \ 86 '-DNO_TCMALLOC' \ 87 '-DDISABLE_NACL' \ 88 '-DCHROMIUM_BUILD' \ 89 '-DUSE_LIBJPEG_TURBO=1' \ 90 '-DENABLE_WEBRTC=1' \ 91 '-DUSE_PROPRIETARY_CODECS' \ 92 '-DENABLE_BROWSER_CDMS' \ 93 '-DENABLE_CONFIGURATION_POLICY' \ 94 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 95 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 96 '-DENABLE_EGLIMAGE=1' \ 97 '-DCLD_VERSION=1' \ 98 '-DENABLE_PRINTING=1' \ 99 '-DENABLE_MANAGED_USERS=1' \ 100 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 101 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 102 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 103 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 104 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 105 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 106 '-DVIDEO_HOLE=1' \ 107 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 108 '-DCC_BLINK_IMPLEMENTATION' \ 109 '-DU_USING_ICU_NAMESPACE=0' \ 110 '-DU_ENABLE_DYLOAD=0' \ 111 '-DCHROME_PNG_WRITE_SUPPORT' \ 112 '-DPNG_USER_CONFIG' \ 113 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 114 '-DSK_ENABLE_INST_COUNT=0' \ 115 '-DSK_SUPPORT_GPU=1' \ 116 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 117 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 118 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 119 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 120 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 121 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 122 '-DSK_BUILD_FOR_ANDROID' \ 123 '-DSK_USE_POSIX_THREADS' \ 124 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 125 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 126 '-DUSE_OPENSSL=1' \ 127 '-DUSE_OPENSSL_CERTS=1' \ 128 '-DANDROID' \ 129 '-D__GNU_SOURCE=1' \ 130 '-DUSE_STLPORT=1' \ 131 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 132 '-DCHROME_BUILD_ID=""' \ 133 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 134 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 135 '-D_DEBUG' 136 137 138 # Include paths placed before CFLAGS/CPPFLAGS 139 LOCAL_C_INCLUDES_Debug := \ 140 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 141 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 142 $(gyp_shared_intermediate_dir) \ 143 $(LOCAL_PATH)/third_party/khronos \ 144 $(LOCAL_PATH)/gpu \ 145 $(LOCAL_PATH)/third_party/WebKit/Source \ 146 $(LOCAL_PATH) \ 147 $(LOCAL_PATH)/skia/config \ 148 $(LOCAL_PATH)/third_party/WebKit \ 149 $(PWD)/external/icu/icu4c/source/common \ 150 $(PWD)/external/icu/icu4c/source/i18n \ 151 $(LOCAL_PATH)/third_party/npapi \ 152 $(LOCAL_PATH)/third_party/npapi/bindings \ 153 $(LOCAL_PATH)/v8/include \ 154 $(LOCAL_PATH)/third_party/libpng \ 155 $(LOCAL_PATH)/third_party/zlib \ 156 $(LOCAL_PATH)/third_party/libwebp \ 157 $(LOCAL_PATH)/third_party/ots/include \ 158 $(LOCAL_PATH)/third_party/qcms/src \ 159 $(LOCAL_PATH)/third_party/iccjpeg \ 160 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 161 $(LOCAL_PATH)/third_party/skia/src/core \ 162 $(LOCAL_PATH)/third_party/skia/include/core \ 163 $(LOCAL_PATH)/third_party/skia/include/effects \ 164 $(LOCAL_PATH)/third_party/skia/include/pdf \ 165 $(LOCAL_PATH)/third_party/skia/include/gpu \ 166 $(LOCAL_PATH)/third_party/skia/include/lazy \ 167 $(LOCAL_PATH)/third_party/skia/include/pathops \ 168 $(LOCAL_PATH)/third_party/skia/include/pipe \ 169 $(LOCAL_PATH)/third_party/skia/include/ports \ 170 $(LOCAL_PATH)/third_party/skia/include/utils \ 171 $(LOCAL_PATH)/skia/ext \ 172 $(PWD)/frameworks/wilhelm/include \ 173 $(PWD)/bionic \ 174 $(PWD)/external/stlport/stlport 175 176 177 # Flags passed to only C++ (and not C) files. 178 LOCAL_CPPFLAGS_Debug := \ 179 -fno-exceptions \ 180 -fno-rtti \ 181 -fno-threadsafe-statics \ 182 -fvisibility-inlines-hidden \ 183 -Wno-deprecated \ 184 -std=gnu++11 \ 185 -Wno-narrowing \ 186 -Wno-literal-suffix \ 187 -Wno-non-virtual-dtor \ 188 -Wno-sign-promo \ 189 -Wno-non-virtual-dtor 190 191 192 # Flags passed to both C and C++ files. 193 MY_CFLAGS_Release := \ 194 --param=ssp-buffer-size=4 \ 195 -fno-strict-aliasing \ 196 -Wno-unused-parameter \ 197 -Wno-missing-field-initializers \ 198 -fvisibility=hidden \ 199 -pipe \ 200 -fPIC \ 201 -Wno-unused-local-typedefs \ 202 -Wno-format \ 203 -ffunction-sections \ 204 -funwind-tables \ 205 -g \ 206 -fno-short-enums \ 207 -finline-limit=64 \ 208 -Wa,--noexecstack \ 209 -U_FORTIFY_SOURCE \ 210 -Wno-extra \ 211 -Wno-ignored-qualifiers \ 212 -Wno-type-limits \ 213 -Wno-unused-but-set-variable \ 214 -Wno-address \ 215 -Wno-format-security \ 216 -Wno-return-type \ 217 -Wno-sequence-point \ 218 -Os \ 219 -fno-ident \ 220 -fdata-sections \ 221 -ffunction-sections \ 222 -funwind-tables 223 224 MY_DEFS_Release := \ 225 '-DV8_DEPRECATION_WARNINGS' \ 226 '-D_FILE_OFFSET_BITS=64' \ 227 '-DNO_TCMALLOC' \ 228 '-DDISABLE_NACL' \ 229 '-DCHROMIUM_BUILD' \ 230 '-DUSE_LIBJPEG_TURBO=1' \ 231 '-DENABLE_WEBRTC=1' \ 232 '-DUSE_PROPRIETARY_CODECS' \ 233 '-DENABLE_BROWSER_CDMS' \ 234 '-DENABLE_CONFIGURATION_POLICY' \ 235 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 236 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 237 '-DENABLE_EGLIMAGE=1' \ 238 '-DCLD_VERSION=1' \ 239 '-DENABLE_PRINTING=1' \ 240 '-DENABLE_MANAGED_USERS=1' \ 241 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 242 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 243 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 244 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 245 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 246 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 247 '-DVIDEO_HOLE=1' \ 248 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 249 '-DCC_BLINK_IMPLEMENTATION' \ 250 '-DU_USING_ICU_NAMESPACE=0' \ 251 '-DU_ENABLE_DYLOAD=0' \ 252 '-DCHROME_PNG_WRITE_SUPPORT' \ 253 '-DPNG_USER_CONFIG' \ 254 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 255 '-DSK_ENABLE_INST_COUNT=0' \ 256 '-DSK_SUPPORT_GPU=1' \ 257 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 258 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 259 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 260 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 261 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 262 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 263 '-DSK_BUILD_FOR_ANDROID' \ 264 '-DSK_USE_POSIX_THREADS' \ 265 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 266 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 267 '-DUSE_OPENSSL=1' \ 268 '-DUSE_OPENSSL_CERTS=1' \ 269 '-DANDROID' \ 270 '-D__GNU_SOURCE=1' \ 271 '-DUSE_STLPORT=1' \ 272 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 273 '-DCHROME_BUILD_ID=""' \ 274 '-DNDEBUG' \ 275 '-DNVALGRIND' \ 276 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 277 278 279 # Include paths placed before CFLAGS/CPPFLAGS 280 LOCAL_C_INCLUDES_Release := \ 281 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 282 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 283 $(gyp_shared_intermediate_dir) \ 284 $(LOCAL_PATH)/third_party/khronos \ 285 $(LOCAL_PATH)/gpu \ 286 $(LOCAL_PATH)/third_party/WebKit/Source \ 287 $(LOCAL_PATH) \ 288 $(LOCAL_PATH)/skia/config \ 289 $(LOCAL_PATH)/third_party/WebKit \ 290 $(PWD)/external/icu/icu4c/source/common \ 291 $(PWD)/external/icu/icu4c/source/i18n \ 292 $(LOCAL_PATH)/third_party/npapi \ 293 $(LOCAL_PATH)/third_party/npapi/bindings \ 294 $(LOCAL_PATH)/v8/include \ 295 $(LOCAL_PATH)/third_party/libpng \ 296 $(LOCAL_PATH)/third_party/zlib \ 297 $(LOCAL_PATH)/third_party/libwebp \ 298 $(LOCAL_PATH)/third_party/ots/include \ 299 $(LOCAL_PATH)/third_party/qcms/src \ 300 $(LOCAL_PATH)/third_party/iccjpeg \ 301 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 302 $(LOCAL_PATH)/third_party/skia/src/core \ 303 $(LOCAL_PATH)/third_party/skia/include/core \ 304 $(LOCAL_PATH)/third_party/skia/include/effects \ 305 $(LOCAL_PATH)/third_party/skia/include/pdf \ 306 $(LOCAL_PATH)/third_party/skia/include/gpu \ 307 $(LOCAL_PATH)/third_party/skia/include/lazy \ 308 $(LOCAL_PATH)/third_party/skia/include/pathops \ 309 $(LOCAL_PATH)/third_party/skia/include/pipe \ 310 $(LOCAL_PATH)/third_party/skia/include/ports \ 311 $(LOCAL_PATH)/third_party/skia/include/utils \ 312 $(LOCAL_PATH)/skia/ext \ 313 $(PWD)/frameworks/wilhelm/include \ 314 $(PWD)/bionic \ 315 $(PWD)/external/stlport/stlport 316 317 318 # Flags passed to only C++ (and not C) files. 319 LOCAL_CPPFLAGS_Release := \ 320 -fno-exceptions \ 321 -fno-rtti \ 322 -fno-threadsafe-statics \ 323 -fvisibility-inlines-hidden \ 324 -Wno-deprecated \ 325 -std=gnu++11 \ 326 -Wno-narrowing \ 327 -Wno-literal-suffix \ 328 -Wno-non-virtual-dtor \ 329 -Wno-sign-promo \ 330 -Wno-non-virtual-dtor 331 332 333 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 334 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 335 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 336 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 337 ### Rules for final target. 338 339 LOCAL_SHARED_LIBRARIES := \ 340 libstlport \ 341 libdl 342 343 # Add target alias to "gyp_all_modules" target. 344 .PHONY: gyp_all_modules 345 gyp_all_modules: cc_blink_cc_blink_gyp 346 347 # Alias gyp target name. 348 .PHONY: cc_blink 349 cc_blink: cc_blink_cc_blink_gyp 350 351 include $(BUILD_STATIC_LIBRARY) 352