naiveproxy/components/autofill/content/renderer/BUILD.gn

103 lines
2.8 KiB
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +03:00
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("renderer") {
sources = [
"autofill_agent.cc",
"autofill_agent.h",
"form_autofill_util.cc",
"form_autofill_util.h",
"form_cache.cc",
"form_cache.h",
"form_classifier.cc",
"form_classifier.h",
"form_tracker.cc",
"form_tracker.h",
"html_based_username_detector.cc",
"html_based_username_detector.h",
"html_based_username_detector_vocabulary.cc",
"html_based_username_detector_vocabulary.h",
"page_form_analyser_logger.cc",
"page_form_analyser_logger.h",
"page_passwords_analyser.cc",
"page_passwords_analyser.h",
"password_autofill_agent.cc",
"password_autofill_agent.h",
"password_form_conversion_utils.cc",
"password_form_conversion_utils.h",
"password_generation_agent.cc",
"password_generation_agent.h",
"provisionally_saved_password_form.cc",
"provisionally_saved_password_form.h",
"renderer_save_password_progress_logger.cc",
"renderer_save_password_progress_logger.h",
]
deps = [
"//base",
"//base:i18n",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/core/common",
# TODO(melandory): remove once manual fallbacks are launched
# https://crbug.com/739343
"//components/password_manager/core/common:common",
# TODO(elawrence): remove security_state/core when the Form-Not-Secure
# feature is fully launched. https://crbug.com/677295
"//components/security_state/core",
"//components/strings",
"//content/public/common",
"//content/public/renderer",
"//google_apis",
"//mojo/public/cpp/system",
"//net",
"//services/service_manager/public/cpp",
"//skia",
"//third_party/blink/public:blink",
"//third_party/re2",
"//ui/base",
]
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}
static_library("test_support") {
testonly = true
sources = [
"test_password_autofill_agent.cc",
"test_password_autofill_agent.h",
"test_password_generation_agent.cc",
"test_password_generation_agent.h",
]
public_deps = [
":renderer",
"//base",
]
deps = [
"//components/autofill/content/renderer",
"//services/service_manager/public/cpp",
"//skia",
"//third_party/blink/public:blink",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"form_cache_unittest.cc",
"renderer_save_password_progress_logger_unittest.cc",
]
deps = [
":test_support",
"//base/test:test_support",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/core/common",
"//testing/gtest",
]
}