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_autofill_core_common_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 16 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_CPP_EXTENSION := .cc 23 LOCAL_GENERATED_SOURCES := 24 25 GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27 LOCAL_SRC_FILES := \ 28 components/autofill/core/common/autofill_constants.cc \ 29 components/autofill/core/common/autofill_data_validation.cc \ 30 components/autofill/core/common/autofill_pref_names.cc \ 31 components/autofill/core/common/autofill_switches.cc \ 32 components/autofill/core/common/form_data.cc \ 33 components/autofill/core/common/form_data_predictions.cc \ 34 components/autofill/core/common/form_field_data.cc \ 35 components/autofill/core/common/form_field_data_predictions.cc \ 36 components/autofill/core/common/password_autofill_util.cc \ 37 components/autofill/core/common/password_form.cc \ 38 components/autofill/core/common/password_form_fill_data.cc \ 39 components/autofill/core/common/password_generation_util.cc \ 40 components/autofill/core/common/save_password_progress_logger.cc \ 41 components/autofill/core/common/web_element_descriptor.cc 42 43 44 # Flags passed to both C and C++ files. 45 MY_CFLAGS_Debug := \ 46 -fstack-protector \ 47 --param=ssp-buffer-size=4 \ 48 \ 49 -fno-strict-aliasing \ 50 -Wall \ 51 -Wno-unused-parameter \ 52 -Wno-missing-field-initializers \ 53 -fvisibility=hidden \ 54 -pipe \ 55 -fPIC \ 56 -Wno-unused-local-typedefs \ 57 -ffunction-sections \ 58 -funwind-tables \ 59 -g \ 60 -fstack-protector \ 61 -fno-short-enums \ 62 -finline-limit=64 \ 63 -Wa,--noexecstack \ 64 -U_FORTIFY_SOURCE \ 65 -Wno-extra \ 66 -Wno-ignored-qualifiers \ 67 -Wno-type-limits \ 68 -Wno-unused-but-set-variable \ 69 -Os \ 70 -g \ 71 -gdwarf-4 \ 72 -fdata-sections \ 73 -ffunction-sections \ 74 -fomit-frame-pointer \ 75 -funwind-tables 76 77 MY_DEFS_Debug := \ 78 '-DV8_DEPRECATION_WARNINGS' \ 79 '-D_FILE_OFFSET_BITS=64' \ 80 '-DNO_TCMALLOC' \ 81 '-DDISABLE_NACL' \ 82 '-DCHROMIUM_BUILD' \ 83 '-DUSE_LIBJPEG_TURBO=1' \ 84 '-DENABLE_WEBRTC=1' \ 85 '-DUSE_PROPRIETARY_CODECS' \ 86 '-DENABLE_BROWSER_CDMS' \ 87 '-DENABLE_CONFIGURATION_POLICY' \ 88 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 89 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 90 '-DENABLE_EGLIMAGE=1' \ 91 '-DCLD_VERSION=1' \ 92 '-DENABLE_PRINTING=1' \ 93 '-DENABLE_MANAGED_USERS=1' \ 94 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 95 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 96 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 97 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 98 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 99 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 100 '-DVIDEO_HOLE=1' \ 101 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 102 '-DPOSIX_AVOID_MMAP' \ 103 '-DSK_ENABLE_INST_COUNT=0' \ 104 '-DSK_SUPPORT_GPU=1' \ 105 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 106 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 107 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 108 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 109 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 110 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 111 '-DSK_BUILD_FOR_ANDROID' \ 112 '-DSK_USE_POSIX_THREADS' \ 113 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 114 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 115 '-DU_USING_ICU_NAMESPACE=0' \ 116 '-DU_ENABLE_DYLOAD=0' \ 117 '-DUSE_OPENSSL=1' \ 118 '-DUSE_OPENSSL_CERTS=1' \ 119 '-D__STDC_CONSTANT_MACROS' \ 120 '-D__STDC_FORMAT_MACROS' \ 121 '-DANDROID' \ 122 '-D__GNU_SOURCE=1' \ 123 '-DUSE_STLPORT=1' \ 124 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 125 '-DCHROME_BUILD_ID=""' \ 126 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 127 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 128 '-D_DEBUG' 129 130 131 # Include paths placed before CFLAGS/CPPFLAGS 132 LOCAL_C_INCLUDES_Debug := \ 133 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 134 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 135 $(gyp_shared_intermediate_dir) \ 136 $(LOCAL_PATH) \ 137 $(LOCAL_PATH)/skia/config \ 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)/external/icu/icu4c/source/common \ 150 $(PWD)/external/icu/icu4c/source/i18n \ 151 $(PWD)/frameworks/wilhelm/include \ 152 $(PWD)/bionic \ 153 $(PWD)/external/stlport/stlport 154 155 156 # Flags passed to only C++ (and not C) files. 157 LOCAL_CPPFLAGS_Debug := \ 158 -fno-exceptions \ 159 -fno-rtti \ 160 -fno-threadsafe-statics \ 161 -fvisibility-inlines-hidden \ 162 -Wsign-compare \ 163 -Wno-uninitialized \ 164 -std=gnu++11 \ 165 -Wno-narrowing \ 166 -Wno-literal-suffix \ 167 -Wno-non-virtual-dtor \ 168 -Wno-sign-promo 169 170 171 # Flags passed to both C and C++ files. 172 MY_CFLAGS_Release := \ 173 -fstack-protector \ 174 --param=ssp-buffer-size=4 \ 175 \ 176 -fno-strict-aliasing \ 177 -Wall \ 178 -Wno-unused-parameter \ 179 -Wno-missing-field-initializers \ 180 -fvisibility=hidden \ 181 -pipe \ 182 -fPIC \ 183 -Wno-unused-local-typedefs \ 184 -ffunction-sections \ 185 -funwind-tables \ 186 -g \ 187 -fstack-protector \ 188 -fno-short-enums \ 189 -finline-limit=64 \ 190 -Wa,--noexecstack \ 191 -U_FORTIFY_SOURCE \ 192 -Wno-extra \ 193 -Wno-ignored-qualifiers \ 194 -Wno-type-limits \ 195 -Wno-unused-but-set-variable \ 196 -Os \ 197 -fno-ident \ 198 -fdata-sections \ 199 -ffunction-sections \ 200 -fomit-frame-pointer \ 201 -funwind-tables 202 203 MY_DEFS_Release := \ 204 '-DV8_DEPRECATION_WARNINGS' \ 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="https://proxy-dev.googlezip.net:443/"' \ 222 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 223 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 224 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 225 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 226 '-DVIDEO_HOLE=1' \ 227 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 228 '-DPOSIX_AVOID_MMAP' \ 229 '-DSK_ENABLE_INST_COUNT=0' \ 230 '-DSK_SUPPORT_GPU=1' \ 231 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 232 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 233 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 234 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 235 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 236 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 237 '-DSK_BUILD_FOR_ANDROID' \ 238 '-DSK_USE_POSIX_THREADS' \ 239 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 240 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 241 '-DU_USING_ICU_NAMESPACE=0' \ 242 '-DU_ENABLE_DYLOAD=0' \ 243 '-DUSE_OPENSSL=1' \ 244 '-DUSE_OPENSSL_CERTS=1' \ 245 '-D__STDC_CONSTANT_MACROS' \ 246 '-D__STDC_FORMAT_MACROS' \ 247 '-DANDROID' \ 248 '-D__GNU_SOURCE=1' \ 249 '-DUSE_STLPORT=1' \ 250 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 251 '-DCHROME_BUILD_ID=""' \ 252 '-DNDEBUG' \ 253 '-DNVALGRIND' \ 254 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 255 '-D_FORTIFY_SOURCE=2' 256 257 258 # Include paths placed before CFLAGS/CPPFLAGS 259 LOCAL_C_INCLUDES_Release := \ 260 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 261 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 262 $(gyp_shared_intermediate_dir) \ 263 $(LOCAL_PATH) \ 264 $(LOCAL_PATH)/skia/config \ 265 $(LOCAL_PATH)/third_party/skia/src/core \ 266 $(LOCAL_PATH)/third_party/skia/include/core \ 267 $(LOCAL_PATH)/third_party/skia/include/effects \ 268 $(LOCAL_PATH)/third_party/skia/include/pdf \ 269 $(LOCAL_PATH)/third_party/skia/include/gpu \ 270 $(LOCAL_PATH)/third_party/skia/include/lazy \ 271 $(LOCAL_PATH)/third_party/skia/include/pathops \ 272 $(LOCAL_PATH)/third_party/skia/include/pipe \ 273 $(LOCAL_PATH)/third_party/skia/include/ports \ 274 $(LOCAL_PATH)/third_party/skia/include/utils \ 275 $(LOCAL_PATH)/skia/ext \ 276 $(PWD)/external/icu/icu4c/source/common \ 277 $(PWD)/external/icu/icu4c/source/i18n \ 278 $(PWD)/frameworks/wilhelm/include \ 279 $(PWD)/bionic \ 280 $(PWD)/external/stlport/stlport 281 282 283 # Flags passed to only C++ (and not C) files. 284 LOCAL_CPPFLAGS_Release := \ 285 -fno-exceptions \ 286 -fno-rtti \ 287 -fno-threadsafe-statics \ 288 -fvisibility-inlines-hidden \ 289 -Wsign-compare \ 290 -Wno-uninitialized \ 291 -std=gnu++11 \ 292 -Wno-narrowing \ 293 -Wno-literal-suffix \ 294 -Wno-non-virtual-dtor \ 295 -Wno-sign-promo 296 297 298 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 299 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 300 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 301 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 302 ### Rules for final target. 303 304 LOCAL_SHARED_LIBRARIES := \ 305 libstlport \ 306 libdl 307 308 # Add target alias to "gyp_all_modules" target. 309 .PHONY: gyp_all_modules 310 gyp_all_modules: components_autofill_core_common_gyp 311 312 # Alias gyp target name. 313 .PHONY: autofill_core_common 314 autofill_core_common: components_autofill_core_common_gyp 315 316 include $(BUILD_STATIC_LIBRARY) 317