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