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_content_renderer_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,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 16 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \ 17 $(call intermediates-dir-for,GYP,components_components_strings_gyp,,,$(GYP_VAR_PREFIX))/components_strings.stamp 18 19 GYP_GENERATED_OUTPUTS := 20 21 # Make sure our deps and generated files are built first. 22 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 23 24 LOCAL_CPP_EXTENSION := .cc 25 LOCAL_GENERATED_SOURCES := 26 27 GYP_COPIED_SOURCE_ORIGIN_DIRS := 28 29 LOCAL_SRC_FILES := \ 30 components/autofill/content/renderer/autofill_agent.cc \ 31 components/autofill/content/renderer/form_autofill_util.cc \ 32 components/autofill/content/renderer/form_cache.cc \ 33 components/autofill/content/renderer/page_click_tracker.cc \ 34 components/autofill/content/renderer/password_autofill_agent.cc \ 35 components/autofill/content/renderer/password_form_conversion_utils.cc \ 36 components/autofill/content/renderer/password_generation_agent.cc \ 37 components/autofill/content/renderer/renderer_save_password_progress_logger.cc 38 39 40 # Flags passed to both C and C++ files. 41 MY_CFLAGS_Debug := \ 42 -fstack-protector \ 43 --param=ssp-buffer-size=4 \ 44 -Werror \ 45 -fno-strict-aliasing \ 46 -Wall \ 47 -Wno-unused-parameter \ 48 -Wno-missing-field-initializers \ 49 -fvisibility=hidden \ 50 -pipe \ 51 -fPIC \ 52 -Wno-unused-local-typedefs \ 53 -fno-tree-sra \ 54 -fno-caller-saves \ 55 -Wno-psabi \ 56 -fno-partial-inlining \ 57 -fno-early-inlining \ 58 -fno-tree-copy-prop \ 59 -fno-tree-loop-optimize \ 60 -fno-move-loop-invariants \ 61 -ffunction-sections \ 62 -funwind-tables \ 63 -g \ 64 -fstack-protector \ 65 -fno-short-enums \ 66 -finline-limit=64 \ 67 -Wa,--noexecstack \ 68 -U_FORTIFY_SOURCE \ 69 -Wno-extra \ 70 -Wno-ignored-qualifiers \ 71 -Wno-type-limits \ 72 -Wno-unused-but-set-variable \ 73 -Os \ 74 -g \ 75 -gdwarf-4 \ 76 -fdata-sections \ 77 -ffunction-sections \ 78 -fomit-frame-pointer \ 79 -funwind-tables 80 81 MY_DEFS_Debug := \ 82 '-DV8_DEPRECATION_WARNINGS' \ 83 '-D_FILE_OFFSET_BITS=64' \ 84 '-DNO_TCMALLOC' \ 85 '-DDISABLE_NACL' \ 86 '-DCHROMIUM_BUILD' \ 87 '-DUSE_LIBJPEG_TURBO=1' \ 88 '-DENABLE_WEBRTC=1' \ 89 '-DUSE_PROPRIETARY_CODECS' \ 90 '-DENABLE_BROWSER_CDMS' \ 91 '-DENABLE_CONFIGURATION_POLICY' \ 92 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 93 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 94 '-DENABLE_EGLIMAGE=1' \ 95 '-DCLD_VERSION=1' \ 96 '-DENABLE_PRINTING=1' \ 97 '-DENABLE_MANAGED_USERS=1' \ 98 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 99 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 100 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 101 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 102 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 103 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 104 '-DVIDEO_HOLE=1' \ 105 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 106 '-DMOJO_USE_SYSTEM_IMPL' \ 107 '-DLIBPEERCONNECTION_LIB=1' \ 108 '-DSK_ENABLE_INST_COUNT=0' \ 109 '-DSK_SUPPORT_GPU=1' \ 110 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 111 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 112 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 113 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 114 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 115 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 116 '-DSK_BUILD_FOR_ANDROID' \ 117 '-DSK_USE_POSIX_THREADS' \ 118 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 119 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 120 '-DU_USING_ICU_NAMESPACE=0' \ 121 '-DU_ENABLE_DYLOAD=0' \ 122 '-DCHROME_PNG_WRITE_SUPPORT' \ 123 '-DPNG_USER_CONFIG' \ 124 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 125 '-DUSE_OPENSSL=1' \ 126 '-DUSE_OPENSSL_CERTS=1' \ 127 '-D__STDC_CONSTANT_MACROS' \ 128 '-D__STDC_FORMAT_MACROS' \ 129 '-DANDROID' \ 130 '-D__GNU_SOURCE=1' \ 131 '-DUSE_STLPORT=1' \ 132 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 133 '-DCHROME_BUILD_ID=""' \ 134 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 135 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 136 '-D_DEBUG' 137 138 139 # Include paths placed before CFLAGS/CPPFLAGS 140 LOCAL_C_INCLUDES_Debug := \ 141 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 142 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 143 $(gyp_shared_intermediate_dir) \ 144 $(LOCAL_PATH) \ 145 $(LOCAL_PATH)/third_party/khronos \ 146 $(LOCAL_PATH)/gpu \ 147 $(LOCAL_PATH)/skia/config \ 148 $(LOCAL_PATH)/third_party/WebKit/Source \ 149 $(LOCAL_PATH)/third_party/WebKit \ 150 $(LOCAL_PATH)/third_party/skia/src/core \ 151 $(LOCAL_PATH)/third_party/skia/include/core \ 152 $(LOCAL_PATH)/third_party/skia/include/effects \ 153 $(LOCAL_PATH)/third_party/skia/include/pdf \ 154 $(LOCAL_PATH)/third_party/skia/include/gpu \ 155 $(LOCAL_PATH)/third_party/skia/include/lazy \ 156 $(LOCAL_PATH)/third_party/skia/include/pathops \ 157 $(LOCAL_PATH)/third_party/skia/include/pipe \ 158 $(LOCAL_PATH)/third_party/skia/include/ports \ 159 $(LOCAL_PATH)/third_party/skia/include/utils \ 160 $(LOCAL_PATH)/skia/ext \ 161 $(LOCAL_PATH)/third_party/WebKit \ 162 $(PWD)/external/icu/icu4c/source/common \ 163 $(PWD)/external/icu/icu4c/source/i18n \ 164 $(LOCAL_PATH)/third_party/npapi \ 165 $(LOCAL_PATH)/third_party/npapi/bindings \ 166 $(LOCAL_PATH)/v8/include \ 167 $(LOCAL_PATH)/third_party/libpng \ 168 $(LOCAL_PATH)/third_party/zlib \ 169 $(LOCAL_PATH)/third_party/libwebp \ 170 $(LOCAL_PATH)/third_party/ots/include \ 171 $(LOCAL_PATH)/third_party/qcms/src \ 172 $(LOCAL_PATH)/third_party/iccjpeg \ 173 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 174 $(gyp_shared_intermediate_dir)/components/strings \ 175 $(PWD)/frameworks/wilhelm/include \ 176 $(PWD)/bionic \ 177 $(PWD)/external/stlport/stlport 178 179 180 # Flags passed to only C++ (and not C) files. 181 LOCAL_CPPFLAGS_Debug := \ 182 -fno-exceptions \ 183 -fno-rtti \ 184 -fno-threadsafe-statics \ 185 -fvisibility-inlines-hidden \ 186 -Wsign-compare \ 187 -Wno-abi \ 188 -std=gnu++11 \ 189 -Wno-narrowing \ 190 -Wno-literal-suffix \ 191 -Wno-non-virtual-dtor \ 192 -Wno-sign-promo 193 194 195 # Flags passed to both C and C++ files. 196 MY_CFLAGS_Release := \ 197 -fstack-protector \ 198 --param=ssp-buffer-size=4 \ 199 -Werror \ 200 -fno-strict-aliasing \ 201 -Wall \ 202 -Wno-unused-parameter \ 203 -Wno-missing-field-initializers \ 204 -fvisibility=hidden \ 205 -pipe \ 206 -fPIC \ 207 -Wno-unused-local-typedefs \ 208 -fno-tree-sra \ 209 -fno-caller-saves \ 210 -Wno-psabi \ 211 -fno-partial-inlining \ 212 -fno-early-inlining \ 213 -fno-tree-copy-prop \ 214 -fno-tree-loop-optimize \ 215 -fno-move-loop-invariants \ 216 -ffunction-sections \ 217 -funwind-tables \ 218 -g \ 219 -fstack-protector \ 220 -fno-short-enums \ 221 -finline-limit=64 \ 222 -Wa,--noexecstack \ 223 -U_FORTIFY_SOURCE \ 224 -Wno-extra \ 225 -Wno-ignored-qualifiers \ 226 -Wno-type-limits \ 227 -Wno-unused-but-set-variable \ 228 -Os \ 229 -fno-ident \ 230 -fdata-sections \ 231 -ffunction-sections \ 232 -fomit-frame-pointer \ 233 -funwind-tables 234 235 MY_DEFS_Release := \ 236 '-DV8_DEPRECATION_WARNINGS' \ 237 '-D_FILE_OFFSET_BITS=64' \ 238 '-DNO_TCMALLOC' \ 239 '-DDISABLE_NACL' \ 240 '-DCHROMIUM_BUILD' \ 241 '-DUSE_LIBJPEG_TURBO=1' \ 242 '-DENABLE_WEBRTC=1' \ 243 '-DUSE_PROPRIETARY_CODECS' \ 244 '-DENABLE_BROWSER_CDMS' \ 245 '-DENABLE_CONFIGURATION_POLICY' \ 246 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 247 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 248 '-DENABLE_EGLIMAGE=1' \ 249 '-DCLD_VERSION=1' \ 250 '-DENABLE_PRINTING=1' \ 251 '-DENABLE_MANAGED_USERS=1' \ 252 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 253 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 254 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 255 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 256 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 257 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 258 '-DVIDEO_HOLE=1' \ 259 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 260 '-DMOJO_USE_SYSTEM_IMPL' \ 261 '-DLIBPEERCONNECTION_LIB=1' \ 262 '-DSK_ENABLE_INST_COUNT=0' \ 263 '-DSK_SUPPORT_GPU=1' \ 264 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 265 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 266 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 267 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 268 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 269 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 270 '-DSK_BUILD_FOR_ANDROID' \ 271 '-DSK_USE_POSIX_THREADS' \ 272 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 273 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 274 '-DU_USING_ICU_NAMESPACE=0' \ 275 '-DU_ENABLE_DYLOAD=0' \ 276 '-DCHROME_PNG_WRITE_SUPPORT' \ 277 '-DPNG_USER_CONFIG' \ 278 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 279 '-DUSE_OPENSSL=1' \ 280 '-DUSE_OPENSSL_CERTS=1' \ 281 '-D__STDC_CONSTANT_MACROS' \ 282 '-D__STDC_FORMAT_MACROS' \ 283 '-DANDROID' \ 284 '-D__GNU_SOURCE=1' \ 285 '-DUSE_STLPORT=1' \ 286 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 287 '-DCHROME_BUILD_ID=""' \ 288 '-DNDEBUG' \ 289 '-DNVALGRIND' \ 290 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 291 '-D_FORTIFY_SOURCE=2' 292 293 294 # Include paths placed before CFLAGS/CPPFLAGS 295 LOCAL_C_INCLUDES_Release := \ 296 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 297 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 298 $(gyp_shared_intermediate_dir) \ 299 $(LOCAL_PATH) \ 300 $(LOCAL_PATH)/third_party/khronos \ 301 $(LOCAL_PATH)/gpu \ 302 $(LOCAL_PATH)/skia/config \ 303 $(LOCAL_PATH)/third_party/WebKit/Source \ 304 $(LOCAL_PATH)/third_party/WebKit \ 305 $(LOCAL_PATH)/third_party/skia/src/core \ 306 $(LOCAL_PATH)/third_party/skia/include/core \ 307 $(LOCAL_PATH)/third_party/skia/include/effects \ 308 $(LOCAL_PATH)/third_party/skia/include/pdf \ 309 $(LOCAL_PATH)/third_party/skia/include/gpu \ 310 $(LOCAL_PATH)/third_party/skia/include/lazy \ 311 $(LOCAL_PATH)/third_party/skia/include/pathops \ 312 $(LOCAL_PATH)/third_party/skia/include/pipe \ 313 $(LOCAL_PATH)/third_party/skia/include/ports \ 314 $(LOCAL_PATH)/third_party/skia/include/utils \ 315 $(LOCAL_PATH)/skia/ext \ 316 $(LOCAL_PATH)/third_party/WebKit \ 317 $(PWD)/external/icu/icu4c/source/common \ 318 $(PWD)/external/icu/icu4c/source/i18n \ 319 $(LOCAL_PATH)/third_party/npapi \ 320 $(LOCAL_PATH)/third_party/npapi/bindings \ 321 $(LOCAL_PATH)/v8/include \ 322 $(LOCAL_PATH)/third_party/libpng \ 323 $(LOCAL_PATH)/third_party/zlib \ 324 $(LOCAL_PATH)/third_party/libwebp \ 325 $(LOCAL_PATH)/third_party/ots/include \ 326 $(LOCAL_PATH)/third_party/qcms/src \ 327 $(LOCAL_PATH)/third_party/iccjpeg \ 328 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 329 $(gyp_shared_intermediate_dir)/components/strings \ 330 $(PWD)/frameworks/wilhelm/include \ 331 $(PWD)/bionic \ 332 $(PWD)/external/stlport/stlport 333 334 335 # Flags passed to only C++ (and not C) files. 336 LOCAL_CPPFLAGS_Release := \ 337 -fno-exceptions \ 338 -fno-rtti \ 339 -fno-threadsafe-statics \ 340 -fvisibility-inlines-hidden \ 341 -Wsign-compare \ 342 -Wno-abi \ 343 -std=gnu++11 \ 344 -Wno-narrowing \ 345 -Wno-literal-suffix \ 346 -Wno-non-virtual-dtor \ 347 -Wno-sign-promo 348 349 350 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 351 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 352 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 353 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 354 ### Rules for final target. 355 356 LOCAL_SHARED_LIBRARIES := \ 357 libstlport \ 358 libdl 359 360 # Add target alias to "gyp_all_modules" target. 361 .PHONY: gyp_all_modules 362 gyp_all_modules: components_autofill_content_renderer_gyp 363 364 # Alias gyp target name. 365 .PHONY: autofill_content_renderer 366 autofill_content_renderer: components_autofill_content_renderer_gyp 367 368 include $(BUILD_STATIC_LIBRARY) 369