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_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 17 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \ 18 $(call intermediates-dir-for,GYP,components_components_strings_gyp,,,$(GYP_VAR_PREFIX))/components_strings.stamp 19 20 GYP_GENERATED_OUTPUTS := 21 22 # Make sure our deps and generated files are built first. 23 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 24 25 LOCAL_CPP_EXTENSION := .cc 26 LOCAL_GENERATED_SOURCES := 27 28 GYP_COPIED_SOURCE_ORIGIN_DIRS := 29 30 LOCAL_SRC_FILES := \ 31 components/autofill/content/renderer/autofill_agent.cc \ 32 components/autofill/content/renderer/form_autofill_util.cc \ 33 components/autofill/content/renderer/form_cache.cc \ 34 components/autofill/content/renderer/page_click_tracker.cc \ 35 components/autofill/content/renderer/password_autofill_agent.cc \ 36 components/autofill/content/renderer/password_form_conversion_utils.cc \ 37 components/autofill/content/renderer/password_generation_agent.cc \ 38 components/autofill/content/renderer/renderer_save_password_progress_logger.cc 39 40 41 # Flags passed to both C and C++ files. 42 MY_CFLAGS_Debug := \ 43 --param=ssp-buffer-size=4 \ 44 -Werror \ 45 -fno-exceptions \ 46 -fno-strict-aliasing \ 47 -Wall \ 48 -Wno-unused-parameter \ 49 -Wno-missing-field-initializers \ 50 -fvisibility=hidden \ 51 -pipe \ 52 -fPIC \ 53 -Wno-unused-local-typedefs \ 54 -msse2 \ 55 -mfpmath=sse \ 56 -mmmx \ 57 -m32 \ 58 -ffunction-sections \ 59 -funwind-tables \ 60 -g \ 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 -fno-stack-protector \ 70 -Os \ 71 -g \ 72 -fdata-sections \ 73 -ffunction-sections \ 74 -fomit-frame-pointer \ 75 -funwind-tables 76 77 MY_DEFS_Debug := \ 78 '-DV8_DEPRECATION_WARNINGS' \ 79 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 80 '-D_FILE_OFFSET_BITS=64' \ 81 '-DNO_TCMALLOC' \ 82 '-DDISABLE_NACL' \ 83 '-DCHROMIUM_BUILD' \ 84 '-DUSE_LIBJPEG_TURBO=1' \ 85 '-DENABLE_WEBRTC=1' \ 86 '-DUSE_PROPRIETARY_CODECS' \ 87 '-DENABLE_BROWSER_CDMS' \ 88 '-DENABLE_CONFIGURATION_POLICY' \ 89 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 90 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 91 '-DENABLE_EGLIMAGE=1' \ 92 '-DCLD_VERSION=1' \ 93 '-DENABLE_PRINTING=1' \ 94 '-DENABLE_MANAGED_USERS=1' \ 95 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 96 '-DDATA_REDUCTION_DEV_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 '-DMOJO_USE_SYSTEM_IMPL' \ 102 '-DLIBPEERCONNECTION_LIB=1' \ 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_GETTOPDEVICE' \ 111 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 112 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 113 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 114 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 115 '-DSK_IGNORE_ETC1_SUPPORT' \ 116 '-DSK_IGNORE_GPU_DITHER' \ 117 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 118 '-DSK_BUILD_FOR_ANDROID' \ 119 '-DSK_USE_POSIX_THREADS' \ 120 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 121 '-DU_USING_ICU_NAMESPACE=0' \ 122 '-DCHROME_PNG_WRITE_SUPPORT' \ 123 '-DPNG_USER_CONFIG' \ 124 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 125 '-DUSE_SYSTEM_LIBJPEG' \ 126 '-DUSE_OPENSSL=1' \ 127 '-DUSE_OPENSSL_CERTS=1' \ 128 '-D__STDC_CONSTANT_MACROS' \ 129 '-D__STDC_FORMAT_MACROS' \ 130 '-DANDROID' \ 131 '-D__GNU_SOURCE=1' \ 132 '-DUSE_STLPORT=1' \ 133 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 134 '-DCHROME_BUILD_ID=""' \ 135 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 136 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 137 '-D_DEBUG' 138 139 140 # Include paths placed before CFLAGS/CPPFLAGS 141 LOCAL_C_INCLUDES_Debug := \ 142 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 143 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 144 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 145 $(gyp_shared_intermediate_dir) \ 146 $(LOCAL_PATH) \ 147 $(LOCAL_PATH)/third_party/khronos \ 148 $(LOCAL_PATH)/gpu \ 149 $(LOCAL_PATH)/skia/config \ 150 $(LOCAL_PATH)/third_party/WebKit/Source \ 151 $(LOCAL_PATH)/third_party/WebKit \ 152 $(LOCAL_PATH)/third_party/skia/src/core \ 153 $(LOCAL_PATH)/third_party/skia/include/core \ 154 $(LOCAL_PATH)/third_party/skia/include/effects \ 155 $(LOCAL_PATH)/third_party/skia/include/pdf \ 156 $(LOCAL_PATH)/third_party/skia/include/gpu \ 157 $(LOCAL_PATH)/third_party/skia/include/lazy \ 158 $(LOCAL_PATH)/third_party/skia/include/pathops \ 159 $(LOCAL_PATH)/third_party/skia/include/pipe \ 160 $(LOCAL_PATH)/third_party/skia/include/ports \ 161 $(LOCAL_PATH)/third_party/skia/include/utils \ 162 $(LOCAL_PATH)/skia/ext \ 163 $(LOCAL_PATH)/third_party/WebKit \ 164 $(PWD)/external/icu/icu4c/source/common \ 165 $(PWD)/external/icu/icu4c/source/i18n \ 166 $(LOCAL_PATH)/third_party/npapi \ 167 $(LOCAL_PATH)/third_party/npapi/bindings \ 168 $(LOCAL_PATH)/v8/include \ 169 $(LOCAL_PATH)/third_party/libpng \ 170 $(LOCAL_PATH)/third_party/zlib \ 171 $(LOCAL_PATH)/third_party/libwebp \ 172 $(LOCAL_PATH)/third_party/ots/include \ 173 $(LOCAL_PATH)/third_party/qcms/src \ 174 $(LOCAL_PATH)/third_party/iccjpeg \ 175 $(PWD)/external/jpeg \ 176 $(gyp_shared_intermediate_dir)/components/strings \ 177 $(PWD)/frameworks/wilhelm/include \ 178 $(PWD)/bionic \ 179 $(PWD)/external/stlport/stlport 180 181 182 # Flags passed to only C++ (and not C) files. 183 LOCAL_CPPFLAGS_Debug := \ 184 -fno-rtti \ 185 -fno-threadsafe-statics \ 186 -fvisibility-inlines-hidden \ 187 -Wsign-compare \ 188 -Wno-non-virtual-dtor \ 189 -Wno-sign-promo 190 191 192 LOCAL_FDO_SUPPORT_Debug := false 193 194 # Flags passed to both C and C++ files. 195 MY_CFLAGS_Release := \ 196 --param=ssp-buffer-size=4 \ 197 -Werror \ 198 -fno-exceptions \ 199 -fno-strict-aliasing \ 200 -Wall \ 201 -Wno-unused-parameter \ 202 -Wno-missing-field-initializers \ 203 -fvisibility=hidden \ 204 -pipe \ 205 -fPIC \ 206 -Wno-unused-local-typedefs \ 207 -msse2 \ 208 -mfpmath=sse \ 209 -mmmx \ 210 -m32 \ 211 -ffunction-sections \ 212 -funwind-tables \ 213 -g \ 214 -fno-short-enums \ 215 -finline-limit=64 \ 216 -Wa,--noexecstack \ 217 -U_FORTIFY_SOURCE \ 218 -Wno-extra \ 219 -Wno-ignored-qualifiers \ 220 -Wno-type-limits \ 221 -Wno-unused-but-set-variable \ 222 -fno-stack-protector \ 223 -Os \ 224 -fno-ident \ 225 -fdata-sections \ 226 -ffunction-sections \ 227 -fomit-frame-pointer \ 228 -funwind-tables 229 230 MY_DEFS_Release := \ 231 '-DV8_DEPRECATION_WARNINGS' \ 232 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 233 '-D_FILE_OFFSET_BITS=64' \ 234 '-DNO_TCMALLOC' \ 235 '-DDISABLE_NACL' \ 236 '-DCHROMIUM_BUILD' \ 237 '-DUSE_LIBJPEG_TURBO=1' \ 238 '-DENABLE_WEBRTC=1' \ 239 '-DUSE_PROPRIETARY_CODECS' \ 240 '-DENABLE_BROWSER_CDMS' \ 241 '-DENABLE_CONFIGURATION_POLICY' \ 242 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 243 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 244 '-DENABLE_EGLIMAGE=1' \ 245 '-DCLD_VERSION=1' \ 246 '-DENABLE_PRINTING=1' \ 247 '-DENABLE_MANAGED_USERS=1' \ 248 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 249 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 250 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 251 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 252 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 253 '-DVIDEO_HOLE=1' \ 254 '-DMOJO_USE_SYSTEM_IMPL' \ 255 '-DLIBPEERCONNECTION_LIB=1' \ 256 '-DSK_ENABLE_INST_COUNT=0' \ 257 '-DSK_SUPPORT_GPU=1' \ 258 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 259 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 260 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 261 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 262 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 263 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 264 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 265 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 266 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 267 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 268 '-DSK_IGNORE_ETC1_SUPPORT' \ 269 '-DSK_IGNORE_GPU_DITHER' \ 270 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 271 '-DSK_BUILD_FOR_ANDROID' \ 272 '-DSK_USE_POSIX_THREADS' \ 273 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 274 '-DU_USING_ICU_NAMESPACE=0' \ 275 '-DCHROME_PNG_WRITE_SUPPORT' \ 276 '-DPNG_USER_CONFIG' \ 277 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 278 '-DUSE_SYSTEM_LIBJPEG' \ 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)/shim_headers/ashmem/target \ 299 $(gyp_shared_intermediate_dir) \ 300 $(LOCAL_PATH) \ 301 $(LOCAL_PATH)/third_party/khronos \ 302 $(LOCAL_PATH)/gpu \ 303 $(LOCAL_PATH)/skia/config \ 304 $(LOCAL_PATH)/third_party/WebKit/Source \ 305 $(LOCAL_PATH)/third_party/WebKit \ 306 $(LOCAL_PATH)/third_party/skia/src/core \ 307 $(LOCAL_PATH)/third_party/skia/include/core \ 308 $(LOCAL_PATH)/third_party/skia/include/effects \ 309 $(LOCAL_PATH)/third_party/skia/include/pdf \ 310 $(LOCAL_PATH)/third_party/skia/include/gpu \ 311 $(LOCAL_PATH)/third_party/skia/include/lazy \ 312 $(LOCAL_PATH)/third_party/skia/include/pathops \ 313 $(LOCAL_PATH)/third_party/skia/include/pipe \ 314 $(LOCAL_PATH)/third_party/skia/include/ports \ 315 $(LOCAL_PATH)/third_party/skia/include/utils \ 316 $(LOCAL_PATH)/skia/ext \ 317 $(LOCAL_PATH)/third_party/WebKit \ 318 $(PWD)/external/icu/icu4c/source/common \ 319 $(PWD)/external/icu/icu4c/source/i18n \ 320 $(LOCAL_PATH)/third_party/npapi \ 321 $(LOCAL_PATH)/third_party/npapi/bindings \ 322 $(LOCAL_PATH)/v8/include \ 323 $(LOCAL_PATH)/third_party/libpng \ 324 $(LOCAL_PATH)/third_party/zlib \ 325 $(LOCAL_PATH)/third_party/libwebp \ 326 $(LOCAL_PATH)/third_party/ots/include \ 327 $(LOCAL_PATH)/third_party/qcms/src \ 328 $(LOCAL_PATH)/third_party/iccjpeg \ 329 $(PWD)/external/jpeg \ 330 $(gyp_shared_intermediate_dir)/components/strings \ 331 $(PWD)/frameworks/wilhelm/include \ 332 $(PWD)/bionic \ 333 $(PWD)/external/stlport/stlport 334 335 336 # Flags passed to only C++ (and not C) files. 337 LOCAL_CPPFLAGS_Release := \ 338 -fno-rtti \ 339 -fno-threadsafe-statics \ 340 -fvisibility-inlines-hidden \ 341 -Wsign-compare \ 342 -Wno-non-virtual-dtor \ 343 -Wno-sign-promo 344 345 346 LOCAL_FDO_SUPPORT_Release := false 347 348 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 349 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 350 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 351 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 352 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 353 ### Rules for final target. 354 355 LOCAL_LDFLAGS_Debug := \ 356 -Wl,-z,now \ 357 -Wl,-z,relro \ 358 -Wl,--fatal-warnings \ 359 -Wl,-z,noexecstack \ 360 -fPIC \ 361 -m32 \ 362 -fuse-ld=gold \ 363 -nostdlib \ 364 -Wl,--no-undefined \ 365 -Wl,--exclude-libs=ALL \ 366 -Wl,--warn-shared-textrel \ 367 -Wl,-O1 \ 368 -Wl,--as-needed 369 370 371 LOCAL_LDFLAGS_Release := \ 372 -Wl,-z,now \ 373 -Wl,-z,relro \ 374 -Wl,--fatal-warnings \ 375 -Wl,-z,noexecstack \ 376 -fPIC \ 377 -m32 \ 378 -fuse-ld=gold \ 379 -nostdlib \ 380 -Wl,--no-undefined \ 381 -Wl,--exclude-libs=ALL \ 382 -Wl,-O1 \ 383 -Wl,--as-needed \ 384 -Wl,--gc-sections \ 385 -Wl,--warn-shared-textrel 386 387 388 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 389 390 LOCAL_STATIC_LIBRARIES := \ 391 skia_skia_library_gyp 392 393 # Enable grouping to fix circular references 394 LOCAL_GROUP_STATIC_LIBRARIES := true 395 396 LOCAL_SHARED_LIBRARIES := \ 397 libstlport \ 398 libdl 399 400 # Add target alias to "gyp_all_modules" target. 401 .PHONY: gyp_all_modules 402 gyp_all_modules: components_autofill_content_renderer_gyp 403 404 # Alias gyp target name. 405 .PHONY: autofill_content_renderer 406 autofill_content_renderer: components_autofill_content_renderer_gyp 407 408 include $(BUILD_STATIC_LIBRARY) 409