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