naiveproxy/components/autofill/core/common/BUILD.gn

93 lines
2.4 KiB
Plaintext
Raw Normal View History

2018-12-10 05:59: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.
import("//build/config/jumbo.gni")
jumbo_static_library("common") {
sources = [
"autofill_clock.cc",
"autofill_clock.h",
"autofill_constants.cc",
"autofill_constants.h",
"autofill_data_validation.cc",
"autofill_data_validation.h",
"autofill_features.cc",
"autofill_features.h",
"autofill_l10n_util.cc",
"autofill_l10n_util.h",
"autofill_prefs.cc",
"autofill_prefs.h",
"autofill_regex_constants.cc",
"autofill_regex_constants.h",
"autofill_regexes.cc",
"autofill_regexes.h",
"autofill_switches.cc",
"autofill_switches.h",
"autofill_util.cc",
"autofill_util.h",
"filling_status.h",
"form_data.cc",
"form_data.h",
"form_data_predictions.cc",
"form_data_predictions.h",
"form_field_data.cc",
"form_field_data.h",
"form_field_data_predictions.cc",
"form_field_data_predictions.h",
"password_form.cc",
"password_form.h",
"password_form_field_prediction_map.h",
"password_form_fill_data.cc",
"password_form_fill_data.h",
"password_form_generation_data.cc",
"password_form_generation_data.h",
"password_generation_util.cc",
"password_generation_util.h",
"save_password_progress_logger.cc",
"save_password_progress_logger.h",
"signatures_util.cc",
"signatures_util.h",
"submission_source.h",
]
deps = [
"//base",
"//base:i18n",
"//components/pref_registry",
"//components/prefs",
"//components/variations",
"//ui/base",
"//ui/gfx/geometry",
"//url",
]
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"autofill_l10n_util_unittest.cc",
"autofill_prefs_unittest.cc",
"autofill_regexes_unittest.cc",
"autofill_util_unittest.cc",
"form_data_unittest.cc",
"form_field_data_unittest.cc",
"password_form_fill_data_unittest.cc",
"save_password_progress_logger_unittest.cc",
]
deps = [
":common",
"//base",
"//base:i18n",
"//base/test:test_support",
"//components/pref_registry",
"//components/prefs",
"//components/prefs:test_support",
"//testing/gmock",
"//testing/gtest",
"//url",
]
}