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 := components_user_prefs_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 17 18 GYP_GENERATED_OUTPUTS := 19 20 # Make sure our deps and generated files are built first. 21 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23 LOCAL_CPP_EXTENSION := .cc 24 LOCAL_GENERATED_SOURCES := 25 26 GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28 LOCAL_SRC_FILES := \ 29 components/user_prefs/user_prefs.cc 30 31 32 # Flags passed to both C and C++ files. 33 MY_CFLAGS_Debug := \ 34 --param=ssp-buffer-size=4 \ 35 -Werror \ 36 -fno-exceptions \ 37 -fno-strict-aliasing \ 38 -Wall \ 39 -Wno-unused-parameter \ 40 -Wno-missing-field-initializers \ 41 -fvisibility=hidden \ 42 -pipe \ 43 -fPIC \ 44 -Wno-unused-local-typedefs \ 45 -msse2 \ 46 -mfpmath=sse \ 47 -mmmx \ 48 -m32 \ 49 -ffunction-sections \ 50 -funwind-tables \ 51 -g \ 52 -fno-short-enums \ 53 -finline-limit=64 \ 54 -Wa,--noexecstack \ 55 -U_FORTIFY_SOURCE \ 56 -Wno-extra \ 57 -Wno-ignored-qualifiers \ 58 -Wno-type-limits \ 59 -Wno-unused-but-set-variable \ 60 -fno-stack-protector \ 61 -Os \ 62 -g \ 63 -fdata-sections \ 64 -ffunction-sections \ 65 -fomit-frame-pointer \ 66 -funwind-tables 67 68 MY_DEFS_Debug := \ 69 '-DV8_DEPRECATION_WARNINGS' \ 70 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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="http://proxy-dev.googlezip.net:80/"' \ 88 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 89 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 90 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 91 '-DVIDEO_HOLE=1' \ 92 '-DUSER_PREFS_IMPLEMENTATION' \ 93 '-DMOJO_USE_SYSTEM_IMPL' \ 94 '-DSK_ENABLE_INST_COUNT=0' \ 95 '-DSK_SUPPORT_GPU=1' \ 96 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 97 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 98 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 99 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 100 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 101 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 102 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 103 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 104 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 105 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 106 '-DSK_IGNORE_ETC1_SUPPORT' \ 107 '-DSK_IGNORE_GPU_DITHER' \ 108 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 109 '-DSK_BUILD_FOR_ANDROID' \ 110 '-DSK_USE_POSIX_THREADS' \ 111 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 112 '-DUSE_OPENSSL=1' \ 113 '-DUSE_OPENSSL_CERTS=1' \ 114 '-D__STDC_CONSTANT_MACROS' \ 115 '-D__STDC_FORMAT_MACROS' \ 116 '-DANDROID' \ 117 '-D__GNU_SOURCE=1' \ 118 '-DUSE_STLPORT=1' \ 119 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 120 '-DCHROME_BUILD_ID=""' \ 121 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 122 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 123 '-D_DEBUG' 124 125 126 # Include paths placed before CFLAGS/CPPFLAGS 127 LOCAL_C_INCLUDES_Debug := \ 128 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 129 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 130 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 131 $(gyp_shared_intermediate_dir) \ 132 $(LOCAL_PATH) \ 133 $(LOCAL_PATH)/third_party/khronos \ 134 $(LOCAL_PATH)/gpu \ 135 $(LOCAL_PATH)/skia/config \ 136 $(LOCAL_PATH)/third_party/WebKit/Source \ 137 $(LOCAL_PATH)/third_party/WebKit \ 138 $(LOCAL_PATH)/third_party/skia/src/core \ 139 $(LOCAL_PATH)/third_party/skia/include/core \ 140 $(LOCAL_PATH)/third_party/skia/include/effects \ 141 $(LOCAL_PATH)/third_party/skia/include/pdf \ 142 $(LOCAL_PATH)/third_party/skia/include/gpu \ 143 $(LOCAL_PATH)/third_party/skia/include/lazy \ 144 $(LOCAL_PATH)/third_party/skia/include/pathops \ 145 $(LOCAL_PATH)/third_party/skia/include/pipe \ 146 $(LOCAL_PATH)/third_party/skia/include/ports \ 147 $(LOCAL_PATH)/third_party/skia/include/utils \ 148 $(LOCAL_PATH)/skia/ext \ 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-rtti \ 157 -fno-threadsafe-statics \ 158 -fvisibility-inlines-hidden \ 159 -Wsign-compare \ 160 -Wno-non-virtual-dtor \ 161 -Wno-sign-promo 162 163 164 LOCAL_FDO_SUPPORT_Debug := false 165 166 # Flags passed to both C and C++ files. 167 MY_CFLAGS_Release := \ 168 --param=ssp-buffer-size=4 \ 169 -Werror \ 170 -fno-exceptions \ 171 -fno-strict-aliasing \ 172 -Wall \ 173 -Wno-unused-parameter \ 174 -Wno-missing-field-initializers \ 175 -fvisibility=hidden \ 176 -pipe \ 177 -fPIC \ 178 -Wno-unused-local-typedefs \ 179 -msse2 \ 180 -mfpmath=sse \ 181 -mmmx \ 182 -m32 \ 183 -ffunction-sections \ 184 -funwind-tables \ 185 -g \ 186 -fno-short-enums \ 187 -finline-limit=64 \ 188 -Wa,--noexecstack \ 189 -U_FORTIFY_SOURCE \ 190 -Wno-extra \ 191 -Wno-ignored-qualifiers \ 192 -Wno-type-limits \ 193 -Wno-unused-but-set-variable \ 194 -fno-stack-protector \ 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 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 205 '-D_FILE_OFFSET_BITS=64' \ 206 '-DNO_TCMALLOC' \ 207 '-DDISABLE_NACL' \ 208 '-DCHROMIUM_BUILD' \ 209 '-DUSE_LIBJPEG_TURBO=1' \ 210 '-DENABLE_WEBRTC=1' \ 211 '-DUSE_PROPRIETARY_CODECS' \ 212 '-DENABLE_BROWSER_CDMS' \ 213 '-DENABLE_CONFIGURATION_POLICY' \ 214 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 215 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 216 '-DENABLE_EGLIMAGE=1' \ 217 '-DCLD_VERSION=1' \ 218 '-DENABLE_PRINTING=1' \ 219 '-DENABLE_MANAGED_USERS=1' \ 220 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 221 '-DDATA_REDUCTION_DEV_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 '-DUSER_PREFS_IMPLEMENTATION' \ 227 '-DMOJO_USE_SYSTEM_IMPL' \ 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_GETTOPDEVICE' \ 236 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 237 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 238 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 239 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 240 '-DSK_IGNORE_ETC1_SUPPORT' \ 241 '-DSK_IGNORE_GPU_DITHER' \ 242 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 243 '-DSK_BUILD_FOR_ANDROID' \ 244 '-DSK_USE_POSIX_THREADS' \ 245 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 246 '-DUSE_OPENSSL=1' \ 247 '-DUSE_OPENSSL_CERTS=1' \ 248 '-D__STDC_CONSTANT_MACROS' \ 249 '-D__STDC_FORMAT_MACROS' \ 250 '-DANDROID' \ 251 '-D__GNU_SOURCE=1' \ 252 '-DUSE_STLPORT=1' \ 253 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 254 '-DCHROME_BUILD_ID=""' \ 255 '-DNDEBUG' \ 256 '-DNVALGRIND' \ 257 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 258 '-D_FORTIFY_SOURCE=2' 259 260 261 # Include paths placed before CFLAGS/CPPFLAGS 262 LOCAL_C_INCLUDES_Release := \ 263 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 264 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 265 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 266 $(gyp_shared_intermediate_dir) \ 267 $(LOCAL_PATH) \ 268 $(LOCAL_PATH)/third_party/khronos \ 269 $(LOCAL_PATH)/gpu \ 270 $(LOCAL_PATH)/skia/config \ 271 $(LOCAL_PATH)/third_party/WebKit/Source \ 272 $(LOCAL_PATH)/third_party/WebKit \ 273 $(LOCAL_PATH)/third_party/skia/src/core \ 274 $(LOCAL_PATH)/third_party/skia/include/core \ 275 $(LOCAL_PATH)/third_party/skia/include/effects \ 276 $(LOCAL_PATH)/third_party/skia/include/pdf \ 277 $(LOCAL_PATH)/third_party/skia/include/gpu \ 278 $(LOCAL_PATH)/third_party/skia/include/lazy \ 279 $(LOCAL_PATH)/third_party/skia/include/pathops \ 280 $(LOCAL_PATH)/third_party/skia/include/pipe \ 281 $(LOCAL_PATH)/third_party/skia/include/ports \ 282 $(LOCAL_PATH)/third_party/skia/include/utils \ 283 $(LOCAL_PATH)/skia/ext \ 284 $(PWD)/frameworks/wilhelm/include \ 285 $(PWD)/bionic \ 286 $(PWD)/external/stlport/stlport 287 288 289 # Flags passed to only C++ (and not C) files. 290 LOCAL_CPPFLAGS_Release := \ 291 -fno-rtti \ 292 -fno-threadsafe-statics \ 293 -fvisibility-inlines-hidden \ 294 -Wsign-compare \ 295 -Wno-non-virtual-dtor \ 296 -Wno-sign-promo 297 298 299 LOCAL_FDO_SUPPORT_Release := false 300 301 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 302 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(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_LDFLAGS_Debug := \ 309 -Wl,-z,now \ 310 -Wl,-z,relro \ 311 -Wl,--fatal-warnings \ 312 -Wl,-z,noexecstack \ 313 -fPIC \ 314 -m32 \ 315 -fuse-ld=gold \ 316 -nostdlib \ 317 -Wl,--no-undefined \ 318 -Wl,--exclude-libs=ALL \ 319 -Wl,--warn-shared-textrel \ 320 -Wl,-O1 \ 321 -Wl,--as-needed 322 323 324 LOCAL_LDFLAGS_Release := \ 325 -Wl,-z,now \ 326 -Wl,-z,relro \ 327 -Wl,--fatal-warnings \ 328 -Wl,-z,noexecstack \ 329 -fPIC \ 330 -m32 \ 331 -fuse-ld=gold \ 332 -nostdlib \ 333 -Wl,--no-undefined \ 334 -Wl,--exclude-libs=ALL \ 335 -Wl,-O1 \ 336 -Wl,--as-needed \ 337 -Wl,--gc-sections \ 338 -Wl,--warn-shared-textrel 339 340 341 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 342 343 LOCAL_STATIC_LIBRARIES := \ 344 ui_accessibility_ax_gen_gyp \ 345 skia_skia_library_gyp 346 347 # Enable grouping to fix circular references 348 LOCAL_GROUP_STATIC_LIBRARIES := true 349 350 LOCAL_SHARED_LIBRARIES := \ 351 libstlport \ 352 libdl 353 354 # Add target alias to "gyp_all_modules" target. 355 .PHONY: gyp_all_modules 356 gyp_all_modules: components_user_prefs_gyp 357 358 # Alias gyp target name. 359 .PHONY: user_prefs 360 user_prefs: components_user_prefs_gyp 361 362 include $(BUILD_STATIC_LIBRARY) 363