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