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