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