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