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