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