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