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