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