1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := components_pref_registry_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 17 18GYP_GENERATED_OUTPUTS := 19 20# Make sure our deps and generated files are built first. 21LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23LOCAL_CPP_EXTENSION := .cc 24LOCAL_GENERATED_SOURCES := 25 26GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28LOCAL_SRC_FILES := \ 29 components/pref_registry/pref_registry_syncable.cc 30 31 32# Flags passed to both C and C++ files. 33MY_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 -ffunction-sections \ 46 -funwind-tables \ 47 -g \ 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 -fdata-sections \ 59 -ffunction-sections \ 60 -funwind-tables 61 62MY_DEFS_Debug := \ 63 '-DV8_DEPRECATION_WARNINGS' \ 64 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 65 '-D_FILE_OFFSET_BITS=64' \ 66 '-DNO_TCMALLOC' \ 67 '-DDISABLE_NACL' \ 68 '-DCHROMIUM_BUILD' \ 69 '-DUSE_LIBJPEG_TURBO=1' \ 70 '-DENABLE_WEBRTC=1' \ 71 '-DUSE_PROPRIETARY_CODECS' \ 72 '-DENABLE_BROWSER_CDMS' \ 73 '-DENABLE_CONFIGURATION_POLICY' \ 74 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 75 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 76 '-DENABLE_EGLIMAGE=1' \ 77 '-DCLD_VERSION=1' \ 78 '-DENABLE_PRINTING=1' \ 79 '-DENABLE_MANAGED_USERS=1' \ 80 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 81 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 82 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 83 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 84 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 85 '-DVIDEO_HOLE=1' \ 86 '-DPREF_REGISTRY_IMPLEMENTATION' \ 87 '-DPOSIX_AVOID_MMAP' \ 88 '-DSK_ENABLE_INST_COUNT=0' \ 89 '-DSK_SUPPORT_GPU=1' \ 90 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 91 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 92 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 93 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 94 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 95 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 96 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 97 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 98 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 99 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 100 '-DSK_IGNORE_ETC1_SUPPORT' \ 101 '-DSK_IGNORE_GPU_DITHER' \ 102 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 103 '-DSK_BUILD_FOR_ANDROID' \ 104 '-DSK_USE_POSIX_THREADS' \ 105 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 106 '-DU_USING_ICU_NAMESPACE=0' \ 107 '-DUSE_OPENSSL=1' \ 108 '-DUSE_OPENSSL_CERTS=1' \ 109 '-D__STDC_CONSTANT_MACROS' \ 110 '-D__STDC_FORMAT_MACROS' \ 111 '-DANDROID' \ 112 '-D__GNU_SOURCE=1' \ 113 '-DUSE_STLPORT=1' \ 114 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 115 '-DCHROME_BUILD_ID=""' \ 116 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 117 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 118 '-D_DEBUG' 119 120 121# Include paths placed before CFLAGS/CPPFLAGS 122LOCAL_C_INCLUDES_Debug := \ 123 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 124 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 125 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 126 $(gyp_shared_intermediate_dir) \ 127 $(LOCAL_PATH) \ 128 $(LOCAL_PATH)/skia/config \ 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 $(PWD)/frameworks/wilhelm/include \ 143 $(PWD)/bionic \ 144 $(PWD)/external/stlport/stlport 145 146 147# Flags passed to only C++ (and not C) files. 148LOCAL_CPPFLAGS_Debug := \ 149 -fno-rtti \ 150 -fno-threadsafe-statics \ 151 -fvisibility-inlines-hidden \ 152 -Wsign-compare \ 153 -Wno-non-virtual-dtor \ 154 -Wno-sign-promo 155 156 157LOCAL_FDO_SUPPORT_Debug := false 158 159# Flags passed to both C and C++ files. 160MY_CFLAGS_Release := \ 161 --param=ssp-buffer-size=4 \ 162 -Werror \ 163 -fno-exceptions \ 164 -fno-strict-aliasing \ 165 -Wall \ 166 -Wno-unused-parameter \ 167 -Wno-missing-field-initializers \ 168 -fvisibility=hidden \ 169 -pipe \ 170 -fPIC \ 171 -Wno-unused-local-typedefs \ 172 -ffunction-sections \ 173 -funwind-tables \ 174 -g \ 175 -fno-short-enums \ 176 -finline-limit=64 \ 177 -Wa,--noexecstack \ 178 -U_FORTIFY_SOURCE \ 179 -Wno-extra \ 180 -Wno-ignored-qualifiers \ 181 -Wno-type-limits \ 182 -Wno-unused-but-set-variable \ 183 -Os \ 184 -fno-ident \ 185 -fdata-sections \ 186 -ffunction-sections \ 187 -funwind-tables 188 189MY_DEFS_Release := \ 190 '-DV8_DEPRECATION_WARNINGS' \ 191 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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="http://proxy-dev.googlezip.net:80/"' \ 209 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 210 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 211 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 212 '-DVIDEO_HOLE=1' \ 213 '-DPREF_REGISTRY_IMPLEMENTATION' \ 214 '-DPOSIX_AVOID_MMAP' \ 215 '-DSK_ENABLE_INST_COUNT=0' \ 216 '-DSK_SUPPORT_GPU=1' \ 217 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 218 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 219 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 220 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 221 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 222 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 223 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 224 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 225 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 226 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 227 '-DSK_IGNORE_ETC1_SUPPORT' \ 228 '-DSK_IGNORE_GPU_DITHER' \ 229 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 230 '-DSK_BUILD_FOR_ANDROID' \ 231 '-DSK_USE_POSIX_THREADS' \ 232 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 233 '-DU_USING_ICU_NAMESPACE=0' \ 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 250LOCAL_C_INCLUDES_Release := \ 251 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 252 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 253 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 254 $(gyp_shared_intermediate_dir) \ 255 $(LOCAL_PATH) \ 256 $(LOCAL_PATH)/skia/config \ 257 $(LOCAL_PATH)/third_party/skia/src/core \ 258 $(LOCAL_PATH)/third_party/skia/include/core \ 259 $(LOCAL_PATH)/third_party/skia/include/effects \ 260 $(LOCAL_PATH)/third_party/skia/include/pdf \ 261 $(LOCAL_PATH)/third_party/skia/include/gpu \ 262 $(LOCAL_PATH)/third_party/skia/include/lazy \ 263 $(LOCAL_PATH)/third_party/skia/include/pathops \ 264 $(LOCAL_PATH)/third_party/skia/include/pipe \ 265 $(LOCAL_PATH)/third_party/skia/include/ports \ 266 $(LOCAL_PATH)/third_party/skia/include/utils \ 267 $(LOCAL_PATH)/skia/ext \ 268 $(PWD)/external/icu/icu4c/source/common \ 269 $(PWD)/external/icu/icu4c/source/i18n \ 270 $(PWD)/frameworks/wilhelm/include \ 271 $(PWD)/bionic \ 272 $(PWD)/external/stlport/stlport 273 274 275# Flags passed to only C++ (and not C) files. 276LOCAL_CPPFLAGS_Release := \ 277 -fno-rtti \ 278 -fno-threadsafe-statics \ 279 -fvisibility-inlines-hidden \ 280 -Wsign-compare \ 281 -Wno-non-virtual-dtor \ 282 -Wno-sign-promo 283 284 285LOCAL_FDO_SUPPORT_Release := false 286 287LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 288LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 289LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 290LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 291LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 292### Rules for final target. 293 294LOCAL_LDFLAGS_Debug := \ 295 -Wl,-z,now \ 296 -Wl,-z,relro \ 297 -Wl,--fatal-warnings \ 298 -Wl,-z,noexecstack \ 299 -fPIC \ 300 -nostdlib \ 301 -Wl,--no-undefined \ 302 -Wl,--exclude-libs=ALL \ 303 -Wl,--warn-shared-textrel \ 304 -Wl,-O1 \ 305 -Wl,--as-needed 306 307 308LOCAL_LDFLAGS_Release := \ 309 -Wl,-z,now \ 310 -Wl,-z,relro \ 311 -Wl,--fatal-warnings \ 312 -Wl,-z,noexecstack \ 313 -fPIC \ 314 -nostdlib \ 315 -Wl,--no-undefined \ 316 -Wl,--exclude-libs=ALL \ 317 -Wl,-O1 \ 318 -Wl,--as-needed \ 319 -Wl,--gc-sections \ 320 -Wl,--warn-shared-textrel 321 322 323LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 324 325LOCAL_STATIC_LIBRARIES := \ 326 ui_base_ui_base_gyp \ 327 skia_skia_library_gyp 328 329# Enable grouping to fix circular references 330LOCAL_GROUP_STATIC_LIBRARIES := true 331 332LOCAL_SHARED_LIBRARIES := \ 333 libstlport \ 334 libdl 335 336# Add target alias to "gyp_all_modules" target. 337.PHONY: gyp_all_modules 338gyp_all_modules: components_pref_registry_gyp 339 340# Alias gyp target name. 341.PHONY: pref_registry 342pref_registry: components_pref_registry_gyp 343 344include $(BUILD_STATIC_LIBRARY) 345