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 --param=ssp-buffer-size=4 \ 47 -Werror \ 48 -fno-strict-aliasing \ 49 -Wall \ 50 -Wno-unused-parameter \ 51 -Wno-missing-field-initializers \ 52 -fvisibility=hidden \ 53 -pipe \ 54 -fPIC \ 55 -Wno-unused-local-typedefs \ 56 -ffunction-sections \ 57 -funwind-tables \ 58 -g \ 59 -fno-short-enums \ 60 -finline-limit=64 \ 61 -Wa,--noexecstack \ 62 -U_FORTIFY_SOURCE \ 63 -Wno-extra \ 64 -Wno-ignored-qualifiers \ 65 -Wno-type-limits \ 66 -Wno-unused-but-set-variable \ 67 -Os \ 68 -g \ 69 -gdwarf-4 \ 70 -fdata-sections \ 71 -ffunction-sections \ 72 -funwind-tables 73 74 MY_DEFS_Debug := \ 75 '-DV8_DEPRECATION_WARNINGS' \ 76 '-D_FILE_OFFSET_BITS=64' \ 77 '-DNO_TCMALLOC' \ 78 '-DDISABLE_NACL' \ 79 '-DCHROMIUM_BUILD' \ 80 '-DUSE_LIBJPEG_TURBO=1' \ 81 '-DENABLE_WEBRTC=1' \ 82 '-DUSE_PROPRIETARY_CODECS' \ 83 '-DENABLE_BROWSER_CDMS' \ 84 '-DENABLE_CONFIGURATION_POLICY' \ 85 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 86 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 87 '-DENABLE_EGLIMAGE=1' \ 88 '-DCLD_VERSION=1' \ 89 '-DENABLE_PRINTING=1' \ 90 '-DENABLE_MANAGED_USERS=1' \ 91 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 92 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 93 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 94 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 95 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 96 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 97 '-DVIDEO_HOLE=1' \ 98 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 99 '-DPOSIX_AVOID_MMAP' \ 100 '-DSK_ENABLE_INST_COUNT=0' \ 101 '-DSK_SUPPORT_GPU=1' \ 102 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 103 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 104 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 105 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 106 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 107 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 108 '-DSK_BUILD_FOR_ANDROID' \ 109 '-DSK_USE_POSIX_THREADS' \ 110 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 111 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 112 '-DU_USING_ICU_NAMESPACE=0' \ 113 '-DU_ENABLE_DYLOAD=0' \ 114 '-DUSE_OPENSSL=1' \ 115 '-DUSE_OPENSSL_CERTS=1' \ 116 '-D__STDC_CONSTANT_MACROS' \ 117 '-D__STDC_FORMAT_MACROS' \ 118 '-DANDROID' \ 119 '-D__GNU_SOURCE=1' \ 120 '-DUSE_STLPORT=1' \ 121 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 122 '-DCHROME_BUILD_ID=""' \ 123 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 124 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 125 '-D_DEBUG' 126 127 128 # Include paths placed before CFLAGS/CPPFLAGS 129 LOCAL_C_INCLUDES_Debug := \ 130 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 131 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 132 $(gyp_shared_intermediate_dir) \ 133 $(LOCAL_PATH) \ 134 $(LOCAL_PATH)/skia/config \ 135 $(LOCAL_PATH)/third_party/skia/src/core \ 136 $(LOCAL_PATH)/third_party/skia/include/core \ 137 $(LOCAL_PATH)/third_party/skia/include/effects \ 138 $(LOCAL_PATH)/third_party/skia/include/pdf \ 139 $(LOCAL_PATH)/third_party/skia/include/gpu \ 140 $(LOCAL_PATH)/third_party/skia/include/lazy \ 141 $(LOCAL_PATH)/third_party/skia/include/pathops \ 142 $(LOCAL_PATH)/third_party/skia/include/pipe \ 143 $(LOCAL_PATH)/third_party/skia/include/ports \ 144 $(LOCAL_PATH)/third_party/skia/include/utils \ 145 $(LOCAL_PATH)/skia/ext \ 146 $(PWD)/external/icu/icu4c/source/common \ 147 $(PWD)/external/icu/icu4c/source/i18n \ 148 $(PWD)/frameworks/wilhelm/include \ 149 $(PWD)/bionic \ 150 $(PWD)/external/stlport/stlport 151 152 153 # Flags passed to only C++ (and not C) files. 154 LOCAL_CPPFLAGS_Debug := \ 155 -fno-exceptions \ 156 -fno-rtti \ 157 -fno-threadsafe-statics \ 158 -fvisibility-inlines-hidden \ 159 -Wsign-compare \ 160 -std=gnu++11 \ 161 -Wno-narrowing \ 162 -Wno-literal-suffix \ 163 -Wno-non-virtual-dtor \ 164 -Wno-sign-promo 165 166 167 # Flags passed to both C and C++ files. 168 MY_CFLAGS_Release := \ 169 --param=ssp-buffer-size=4 \ 170 -Werror \ 171 -fno-strict-aliasing \ 172 -Wall \ 173 -Wno-unused-parameter \ 174 -Wno-missing-field-initializers \ 175 -fvisibility=hidden \ 176 -pipe \ 177 -fPIC \ 178 -Wno-unused-local-typedefs \ 179 -ffunction-sections \ 180 -funwind-tables \ 181 -g \ 182 -fno-short-enums \ 183 -finline-limit=64 \ 184 -Wa,--noexecstack \ 185 -U_FORTIFY_SOURCE \ 186 -Wno-extra \ 187 -Wno-ignored-qualifiers \ 188 -Wno-type-limits \ 189 -Wno-unused-but-set-variable \ 190 -Os \ 191 -fno-ident \ 192 -fdata-sections \ 193 -ffunction-sections \ 194 -funwind-tables 195 196 MY_DEFS_Release := \ 197 '-DV8_DEPRECATION_WARNINGS' \ 198 '-D_FILE_OFFSET_BITS=64' \ 199 '-DNO_TCMALLOC' \ 200 '-DDISABLE_NACL' \ 201 '-DCHROMIUM_BUILD' \ 202 '-DUSE_LIBJPEG_TURBO=1' \ 203 '-DENABLE_WEBRTC=1' \ 204 '-DUSE_PROPRIETARY_CODECS' \ 205 '-DENABLE_BROWSER_CDMS' \ 206 '-DENABLE_CONFIGURATION_POLICY' \ 207 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 208 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 209 '-DENABLE_EGLIMAGE=1' \ 210 '-DCLD_VERSION=1' \ 211 '-DENABLE_PRINTING=1' \ 212 '-DENABLE_MANAGED_USERS=1' \ 213 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 214 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 215 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 216 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 217 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 218 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 219 '-DVIDEO_HOLE=1' \ 220 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 221 '-DPOSIX_AVOID_MMAP' \ 222 '-DSK_ENABLE_INST_COUNT=0' \ 223 '-DSK_SUPPORT_GPU=1' \ 224 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 225 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 226 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 227 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 228 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 229 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 230 '-DSK_BUILD_FOR_ANDROID' \ 231 '-DSK_USE_POSIX_THREADS' \ 232 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 233 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 234 '-DU_USING_ICU_NAMESPACE=0' \ 235 '-DU_ENABLE_DYLOAD=0' \ 236 '-DUSE_OPENSSL=1' \ 237 '-DUSE_OPENSSL_CERTS=1' \ 238 '-D__STDC_CONSTANT_MACROS' \ 239 '-D__STDC_FORMAT_MACROS' \ 240 '-DANDROID' \ 241 '-D__GNU_SOURCE=1' \ 242 '-DUSE_STLPORT=1' \ 243 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 244 '-DCHROME_BUILD_ID=""' \ 245 '-DNDEBUG' \ 246 '-DNVALGRIND' \ 247 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 248 '-D_FORTIFY_SOURCE=2' 249 250 251 # Include paths placed before CFLAGS/CPPFLAGS 252 LOCAL_C_INCLUDES_Release := \ 253 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 254 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 255 $(gyp_shared_intermediate_dir) \ 256 $(LOCAL_PATH) \ 257 $(LOCAL_PATH)/skia/config \ 258 $(LOCAL_PATH)/third_party/skia/src/core \ 259 $(LOCAL_PATH)/third_party/skia/include/core \ 260 $(LOCAL_PATH)/third_party/skia/include/effects \ 261 $(LOCAL_PATH)/third_party/skia/include/pdf \ 262 $(LOCAL_PATH)/third_party/skia/include/gpu \ 263 $(LOCAL_PATH)/third_party/skia/include/lazy \ 264 $(LOCAL_PATH)/third_party/skia/include/pathops \ 265 $(LOCAL_PATH)/third_party/skia/include/pipe \ 266 $(LOCAL_PATH)/third_party/skia/include/ports \ 267 $(LOCAL_PATH)/third_party/skia/include/utils \ 268 $(LOCAL_PATH)/skia/ext \ 269 $(PWD)/external/icu/icu4c/source/common \ 270 $(PWD)/external/icu/icu4c/source/i18n \ 271 $(PWD)/frameworks/wilhelm/include \ 272 $(PWD)/bionic \ 273 $(PWD)/external/stlport/stlport 274 275 276 # Flags passed to only C++ (and not C) files. 277 LOCAL_CPPFLAGS_Release := \ 278 -fno-exceptions \ 279 -fno-rtti \ 280 -fno-threadsafe-statics \ 281 -fvisibility-inlines-hidden \ 282 -Wsign-compare \ 283 -std=gnu++11 \ 284 -Wno-narrowing \ 285 -Wno-literal-suffix \ 286 -Wno-non-virtual-dtor \ 287 -Wno-sign-promo 288 289 290 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 291 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 292 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 293 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 294 ### Rules for final target. 295 296 LOCAL_SHARED_LIBRARIES := \ 297 libstlport \ 298 libdl 299 300 # Add target alias to "gyp_all_modules" target. 301 .PHONY: gyp_all_modules 302 gyp_all_modules: components_autofill_core_common_gyp 303 304 # Alias gyp target name. 305 .PHONY: autofill_core_common 306 autofill_core_common: components_autofill_core_common_gyp 307 308 include $(BUILD_STATIC_LIBRARY) 309