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