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 := ui_snapshot_snapshot_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,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_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 ui/snapshot/snapshot_android.cc \ 30 ui/snapshot/snapshot_async.cc 31 32 33 # Flags passed to both C and C++ files. 34 MY_CFLAGS_Debug := \ 35 -fstack-protector \ 36 --param=ssp-buffer-size=4 \ 37 -Werror \ 38 -fno-strict-aliasing \ 39 -Wall \ 40 -Wno-unused-parameter \ 41 -Wno-missing-field-initializers \ 42 -fvisibility=hidden \ 43 -pipe \ 44 -fPIC \ 45 -Wno-unused-local-typedefs \ 46 -fno-tree-sra \ 47 -fno-caller-saves \ 48 -Wno-psabi \ 49 -fno-partial-inlining \ 50 -fno-early-inlining \ 51 -fno-tree-copy-prop \ 52 -fno-tree-loop-optimize \ 53 -fno-move-loop-invariants \ 54 -ffunction-sections \ 55 -funwind-tables \ 56 -g \ 57 -fstack-protector \ 58 -fno-short-enums \ 59 -finline-limit=64 \ 60 -Wa,--noexecstack \ 61 -U_FORTIFY_SOURCE \ 62 -Wno-extra \ 63 -Wno-ignored-qualifiers \ 64 -Wno-type-limits \ 65 -Wno-unused-but-set-variable \ 66 -Os \ 67 -g \ 68 -gdwarf-4 \ 69 -fdata-sections \ 70 -ffunction-sections \ 71 -fomit-frame-pointer \ 72 -funwind-tables 73 74 MY_DEFS_Debug := \ 75 '-DV8_DEPRECATION_WARNINGS' \ 76 '-D_FILE_OFFSET_BITS=64' \ 77 '-DNO_TCMALLOC' \ 78 '-DDISABLE_NACL' \ 79 '-DCHROMIUM_BUILD' \ 80 '-DUSE_LIBJPEG_TURBO=1' \ 81 '-DENABLE_WEBRTC=1' \ 82 '-DUSE_PROPRIETARY_CODECS' \ 83 '-DENABLE_BROWSER_CDMS' \ 84 '-DENABLE_CONFIGURATION_POLICY' \ 85 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 86 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 87 '-DENABLE_EGLIMAGE=1' \ 88 '-DCLD_VERSION=1' \ 89 '-DENABLE_PRINTING=1' \ 90 '-DENABLE_MANAGED_USERS=1' \ 91 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 92 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 93 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 94 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 95 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 96 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 97 '-DVIDEO_HOLE=1' \ 98 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 99 '-DSNAPSHOT_IMPLEMENTATION' \ 100 '-DSK_ENABLE_INST_COUNT=0' \ 101 '-DSK_SUPPORT_GPU=1' \ 102 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 103 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 104 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 105 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 106 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 107 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 108 '-DSK_BUILD_FOR_ANDROID' \ 109 '-DSK_USE_POSIX_THREADS' \ 110 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 111 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 112 '-DPOSIX_AVOID_MMAP' \ 113 '-DU_USING_ICU_NAMESPACE=0' \ 114 '-DU_ENABLE_DYLOAD=0' \ 115 '-DUSE_OPENSSL=1' \ 116 '-DUSE_OPENSSL_CERTS=1' \ 117 '-D__STDC_CONSTANT_MACROS' \ 118 '-D__STDC_FORMAT_MACROS' \ 119 '-DANDROID' \ 120 '-D__GNU_SOURCE=1' \ 121 '-DUSE_STLPORT=1' \ 122 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 123 '-DCHROME_BUILD_ID=""' \ 124 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 125 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 126 '-D_DEBUG' 127 128 129 # Include paths placed before CFLAGS/CPPFLAGS 130 LOCAL_C_INCLUDES_Debug := \ 131 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 132 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 133 $(gyp_shared_intermediate_dir) \ 134 $(LOCAL_PATH)/ui \ 135 $(LOCAL_PATH) \ 136 $(LOCAL_PATH)/skia/config \ 137 $(LOCAL_PATH)/third_party/khronos \ 138 $(LOCAL_PATH)/gpu \ 139 $(LOCAL_PATH)/third_party/skia/src/core \ 140 $(LOCAL_PATH)/third_party/skia/include/core \ 141 $(LOCAL_PATH)/third_party/skia/include/effects \ 142 $(LOCAL_PATH)/third_party/skia/include/pdf \ 143 $(LOCAL_PATH)/third_party/skia/include/gpu \ 144 $(LOCAL_PATH)/third_party/skia/include/lazy \ 145 $(LOCAL_PATH)/third_party/skia/include/pathops \ 146 $(LOCAL_PATH)/third_party/skia/include/pipe \ 147 $(LOCAL_PATH)/third_party/skia/include/ports \ 148 $(LOCAL_PATH)/third_party/skia/include/utils \ 149 $(LOCAL_PATH)/skia/ext \ 150 $(PWD)/external/icu/icu4c/source/common \ 151 $(PWD)/external/icu/icu4c/source/i18n \ 152 $(PWD)/frameworks/wilhelm/include \ 153 $(PWD)/bionic \ 154 $(PWD)/external/stlport/stlport 155 156 157 # Flags passed to only C++ (and not C) files. 158 LOCAL_CPPFLAGS_Debug := \ 159 -fno-exceptions \ 160 -fno-rtti \ 161 -fno-threadsafe-statics \ 162 -fvisibility-inlines-hidden \ 163 -Wsign-compare \ 164 -Wno-abi \ 165 -std=gnu++11 \ 166 -Wno-narrowing \ 167 -Wno-literal-suffix \ 168 -Wno-non-virtual-dtor \ 169 -Wno-sign-promo 170 171 172 # Flags passed to both C and C++ files. 173 MY_CFLAGS_Release := \ 174 -fstack-protector \ 175 --param=ssp-buffer-size=4 \ 176 -Werror \ 177 -fno-strict-aliasing \ 178 -Wall \ 179 -Wno-unused-parameter \ 180 -Wno-missing-field-initializers \ 181 -fvisibility=hidden \ 182 -pipe \ 183 -fPIC \ 184 -Wno-unused-local-typedefs \ 185 -fno-tree-sra \ 186 -fno-caller-saves \ 187 -Wno-psabi \ 188 -fno-partial-inlining \ 189 -fno-early-inlining \ 190 -fno-tree-copy-prop \ 191 -fno-tree-loop-optimize \ 192 -fno-move-loop-invariants \ 193 -ffunction-sections \ 194 -funwind-tables \ 195 -g \ 196 -fstack-protector \ 197 -fno-short-enums \ 198 -finline-limit=64 \ 199 -Wa,--noexecstack \ 200 -U_FORTIFY_SOURCE \ 201 -Wno-extra \ 202 -Wno-ignored-qualifiers \ 203 -Wno-type-limits \ 204 -Wno-unused-but-set-variable \ 205 -Os \ 206 -fno-ident \ 207 -fdata-sections \ 208 -ffunction-sections \ 209 -fomit-frame-pointer \ 210 -funwind-tables 211 212 MY_DEFS_Release := \ 213 '-DV8_DEPRECATION_WARNINGS' \ 214 '-D_FILE_OFFSET_BITS=64' \ 215 '-DNO_TCMALLOC' \ 216 '-DDISABLE_NACL' \ 217 '-DCHROMIUM_BUILD' \ 218 '-DUSE_LIBJPEG_TURBO=1' \ 219 '-DENABLE_WEBRTC=1' \ 220 '-DUSE_PROPRIETARY_CODECS' \ 221 '-DENABLE_BROWSER_CDMS' \ 222 '-DENABLE_CONFIGURATION_POLICY' \ 223 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 224 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 225 '-DENABLE_EGLIMAGE=1' \ 226 '-DCLD_VERSION=1' \ 227 '-DENABLE_PRINTING=1' \ 228 '-DENABLE_MANAGED_USERS=1' \ 229 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 230 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 231 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 232 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 233 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 234 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 235 '-DVIDEO_HOLE=1' \ 236 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 237 '-DSNAPSHOT_IMPLEMENTATION' \ 238 '-DSK_ENABLE_INST_COUNT=0' \ 239 '-DSK_SUPPORT_GPU=1' \ 240 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 241 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 242 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 243 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 244 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 245 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 246 '-DSK_BUILD_FOR_ANDROID' \ 247 '-DSK_USE_POSIX_THREADS' \ 248 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 249 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 250 '-DPOSIX_AVOID_MMAP' \ 251 '-DU_USING_ICU_NAMESPACE=0' \ 252 '-DU_ENABLE_DYLOAD=0' \ 253 '-DUSE_OPENSSL=1' \ 254 '-DUSE_OPENSSL_CERTS=1' \ 255 '-D__STDC_CONSTANT_MACROS' \ 256 '-D__STDC_FORMAT_MACROS' \ 257 '-DANDROID' \ 258 '-D__GNU_SOURCE=1' \ 259 '-DUSE_STLPORT=1' \ 260 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 261 '-DCHROME_BUILD_ID=""' \ 262 '-DNDEBUG' \ 263 '-DNVALGRIND' \ 264 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 265 '-D_FORTIFY_SOURCE=2' 266 267 268 # Include paths placed before CFLAGS/CPPFLAGS 269 LOCAL_C_INCLUDES_Release := \ 270 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 271 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 272 $(gyp_shared_intermediate_dir) \ 273 $(LOCAL_PATH)/ui \ 274 $(LOCAL_PATH) \ 275 $(LOCAL_PATH)/skia/config \ 276 $(LOCAL_PATH)/third_party/khronos \ 277 $(LOCAL_PATH)/gpu \ 278 $(LOCAL_PATH)/third_party/skia/src/core \ 279 $(LOCAL_PATH)/third_party/skia/include/core \ 280 $(LOCAL_PATH)/third_party/skia/include/effects \ 281 $(LOCAL_PATH)/third_party/skia/include/pdf \ 282 $(LOCAL_PATH)/third_party/skia/include/gpu \ 283 $(LOCAL_PATH)/third_party/skia/include/lazy \ 284 $(LOCAL_PATH)/third_party/skia/include/pathops \ 285 $(LOCAL_PATH)/third_party/skia/include/pipe \ 286 $(LOCAL_PATH)/third_party/skia/include/ports \ 287 $(LOCAL_PATH)/third_party/skia/include/utils \ 288 $(LOCAL_PATH)/skia/ext \ 289 $(PWD)/external/icu/icu4c/source/common \ 290 $(PWD)/external/icu/icu4c/source/i18n \ 291 $(PWD)/frameworks/wilhelm/include \ 292 $(PWD)/bionic \ 293 $(PWD)/external/stlport/stlport 294 295 296 # Flags passed to only C++ (and not C) files. 297 LOCAL_CPPFLAGS_Release := \ 298 -fno-exceptions \ 299 -fno-rtti \ 300 -fno-threadsafe-statics \ 301 -fvisibility-inlines-hidden \ 302 -Wsign-compare \ 303 -Wno-abi \ 304 -std=gnu++11 \ 305 -Wno-narrowing \ 306 -Wno-literal-suffix \ 307 -Wno-non-virtual-dtor \ 308 -Wno-sign-promo 309 310 311 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 312 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 313 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 314 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 315 ### Rules for final target. 316 317 LOCAL_SHARED_LIBRARIES := \ 318 libstlport \ 319 libdl 320 321 # Add target alias to "gyp_all_modules" target. 322 .PHONY: gyp_all_modules 323 gyp_all_modules: ui_snapshot_snapshot_gyp 324 325 # Alias gyp target name. 326 .PHONY: snapshot 327 snapshot: ui_snapshot_snapshot_gyp 328 329 include $(BUILD_STATIC_LIBRARY) 330