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