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