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 := base_base_prefs_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := 14 15 GYP_GENERATED_OUTPUTS := 16 17 # Make sure our deps and generated files are built first. 18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20 LOCAL_CPP_EXTENSION := .cc 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 base/prefs/default_pref_store.cc \ 27 base/prefs/json_pref_store.cc \ 28 base/prefs/overlay_user_pref_store.cc \ 29 base/prefs/pref_change_registrar.cc \ 30 base/prefs/pref_member.cc \ 31 base/prefs/pref_notifier_impl.cc \ 32 base/prefs/pref_registry.cc \ 33 base/prefs/pref_registry_simple.cc \ 34 base/prefs/pref_service.cc \ 35 base/prefs/pref_service_factory.cc \ 36 base/prefs/pref_store.cc \ 37 base/prefs/pref_value_map.cc \ 38 base/prefs/pref_value_store.cc \ 39 base/prefs/scoped_user_pref_update.cc \ 40 base/prefs/value_map_pref_store.cc 41 42 43 # Flags passed to both C and C++ files. 44 MY_CFLAGS_Debug := \ 45 --param=ssp-buffer-size=4 \ 46 -Werror \ 47 -fno-exceptions \ 48 -fno-strict-aliasing \ 49 -Wall \ 50 -Wno-unused-parameter \ 51 -Wno-missing-field-initializers \ 52 -fvisibility=hidden \ 53 -pipe \ 54 -fPIC \ 55 -m32 \ 56 -mmmx \ 57 -march=pentium4 \ 58 -msse2 \ 59 -mfpmath=sse \ 60 -fuse-ld=gold \ 61 -ffunction-sections \ 62 -funwind-tables \ 63 -g \ 64 -fno-short-enums \ 65 -finline-limit=64 \ 66 -Wa,--noexecstack \ 67 -U_FORTIFY_SOURCE \ 68 -Wno-extra \ 69 -Wno-ignored-qualifiers \ 70 -Wno-type-limits \ 71 -fno-stack-protector \ 72 -Os \ 73 -g \ 74 -fomit-frame-pointer \ 75 -fdata-sections \ 76 -ffunction-sections 77 78 MY_DEFS_Debug := \ 79 '-DV8_DEPRECATION_WARNINGS' \ 80 '-D_FILE_OFFSET_BITS=64' \ 81 '-DNO_TCMALLOC' \ 82 '-DDISABLE_NACL' \ 83 '-DCHROMIUM_BUILD' \ 84 '-DUSE_LIBJPEG_TURBO=1' \ 85 '-DUSE_PROPRIETARY_CODECS' \ 86 '-DENABLE_CONFIGURATION_POLICY' \ 87 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 88 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 89 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 90 '-DUSE_OPENSSL=1' \ 91 '-DENABLE_EGLIMAGE=1' \ 92 '-DCLD_VERSION=1' \ 93 '-DENABLE_PRINTING=1' \ 94 '-DENABLE_MANAGED_USERS=1' \ 95 '-DBASE_PREFS_IMPLEMENTATION' \ 96 '-D__STDC_CONSTANT_MACROS' \ 97 '-D__STDC_FORMAT_MACROS' \ 98 '-DANDROID' \ 99 '-D__GNU_SOURCE=1' \ 100 '-DUSE_STLPORT=1' \ 101 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 102 '-DCHROME_BUILD_ID=""' \ 103 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 104 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 105 '-D_DEBUG' 106 107 108 # Include paths placed before CFLAGS/CPPFLAGS 109 LOCAL_C_INCLUDES_Debug := \ 110 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 111 $(LOCAL_PATH) \ 112 $(PWD)/frameworks/wilhelm/include \ 113 $(PWD)/bionic \ 114 $(PWD)/external/stlport/stlport 115 116 117 # Flags passed to only C++ (and not C) files. 118 LOCAL_CPPFLAGS_Debug := \ 119 -fno-rtti \ 120 -fno-threadsafe-statics \ 121 -fvisibility-inlines-hidden \ 122 -Wsign-compare \ 123 -Wno-error=c++0x-compat \ 124 -Wno-non-virtual-dtor \ 125 -Wno-sign-promo 126 127 128 # Flags passed to both C and C++ files. 129 MY_CFLAGS_Release := \ 130 --param=ssp-buffer-size=4 \ 131 -Werror \ 132 -fno-exceptions \ 133 -fno-strict-aliasing \ 134 -Wall \ 135 -Wno-unused-parameter \ 136 -Wno-missing-field-initializers \ 137 -fvisibility=hidden \ 138 -pipe \ 139 -fPIC \ 140 -m32 \ 141 -mmmx \ 142 -march=pentium4 \ 143 -msse2 \ 144 -mfpmath=sse \ 145 -fuse-ld=gold \ 146 -ffunction-sections \ 147 -funwind-tables \ 148 -g \ 149 -fno-short-enums \ 150 -finline-limit=64 \ 151 -Wa,--noexecstack \ 152 -U_FORTIFY_SOURCE \ 153 -Wno-extra \ 154 -Wno-ignored-qualifiers \ 155 -Wno-type-limits \ 156 -fno-stack-protector \ 157 -Os \ 158 -fno-ident \ 159 -fdata-sections \ 160 -ffunction-sections \ 161 -fomit-frame-pointer \ 162 -fno-unwind-tables \ 163 -fno-asynchronous-unwind-tables 164 165 MY_DEFS_Release := \ 166 '-DV8_DEPRECATION_WARNINGS' \ 167 '-D_FILE_OFFSET_BITS=64' \ 168 '-DNO_TCMALLOC' \ 169 '-DDISABLE_NACL' \ 170 '-DCHROMIUM_BUILD' \ 171 '-DUSE_LIBJPEG_TURBO=1' \ 172 '-DUSE_PROPRIETARY_CODECS' \ 173 '-DENABLE_CONFIGURATION_POLICY' \ 174 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 175 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 176 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 177 '-DUSE_OPENSSL=1' \ 178 '-DENABLE_EGLIMAGE=1' \ 179 '-DCLD_VERSION=1' \ 180 '-DENABLE_PRINTING=1' \ 181 '-DENABLE_MANAGED_USERS=1' \ 182 '-DBASE_PREFS_IMPLEMENTATION' \ 183 '-D__STDC_CONSTANT_MACROS' \ 184 '-D__STDC_FORMAT_MACROS' \ 185 '-DANDROID' \ 186 '-D__GNU_SOURCE=1' \ 187 '-DUSE_STLPORT=1' \ 188 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 189 '-DCHROME_BUILD_ID=""' \ 190 '-DNDEBUG' \ 191 '-DNVALGRIND' \ 192 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 193 '-D_FORTIFY_SOURCE=2' 194 195 196 # Include paths placed before CFLAGS/CPPFLAGS 197 LOCAL_C_INCLUDES_Release := \ 198 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 199 $(LOCAL_PATH) \ 200 $(PWD)/frameworks/wilhelm/include \ 201 $(PWD)/bionic \ 202 $(PWD)/external/stlport/stlport 203 204 205 # Flags passed to only C++ (and not C) files. 206 LOCAL_CPPFLAGS_Release := \ 207 -fno-rtti \ 208 -fno-threadsafe-statics \ 209 -fvisibility-inlines-hidden \ 210 -Wsign-compare \ 211 -Wno-error=c++0x-compat \ 212 -Wno-non-virtual-dtor \ 213 -Wno-sign-promo 214 215 216 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 217 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 218 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 219 ### Rules for final target. 220 221 LOCAL_LDFLAGS_Debug := \ 222 -Wl,-z,now \ 223 -Wl,-z,relro \ 224 -Wl,-z,noexecstack \ 225 -fPIC \ 226 -m32 \ 227 -fuse-ld=gold \ 228 -nostdlib \ 229 -Wl,--no-undefined \ 230 -Wl,--exclude-libs=ALL \ 231 -Wl,--fatal-warnings \ 232 -Wl,--gc-sections \ 233 -Wl,--warn-shared-textrel \ 234 -Wl,-O1 \ 235 -Wl,--as-needed 236 237 238 LOCAL_LDFLAGS_Release := \ 239 -Wl,-z,now \ 240 -Wl,-z,relro \ 241 -Wl,-z,noexecstack \ 242 -fPIC \ 243 -m32 \ 244 -fuse-ld=gold \ 245 -nostdlib \ 246 -Wl,--no-undefined \ 247 -Wl,--exclude-libs=ALL \ 248 -Wl,-O1 \ 249 -Wl,--as-needed \ 250 -Wl,--gc-sections \ 251 -Wl,--fatal-warnings \ 252 -Wl,--warn-shared-textrel 253 254 255 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 256 257 LOCAL_STATIC_LIBRARIES := 258 259 # Enable grouping to fix circular references 260 LOCAL_GROUP_STATIC_LIBRARIES := true 261 262 LOCAL_SHARED_LIBRARIES := \ 263 libstlport \ 264 libdl 265 266 # Add target alias to "gyp_all_modules" target. 267 .PHONY: gyp_all_modules 268 gyp_all_modules: base_base_prefs_gyp 269 270 # Alias gyp target name. 271 .PHONY: base_prefs 272 base_prefs: base_base_prefs_gyp 273 274 include $(BUILD_STATIC_LIBRARY) 275