Don't preload rarely seen large images
[chromium-blink-merge.git] / components / autofill / core / common / BUILD.gn
blobed9d5894938016c1f083b10babbafc07f03920b6
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 static_library("common") {
6   sources = [
7     "autofill_constants.cc",
8     "autofill_constants.h",
9     "autofill_data_validation.cc",
10     "autofill_data_validation.h",
11     "autofill_l10n_util.cc",
12     "autofill_l10n_util.h",
13     "autofill_pref_names.cc",
14     "autofill_pref_names.h",
15     "autofill_regexes.cc",
16     "autofill_regexes.h",
17     "autofill_switches.cc",
18     "autofill_switches.h",
19     "form_data.cc",
20     "form_data.h",
21     "form_data_predictions.cc",
22     "form_data_predictions.h",
23     "form_field_data.cc",
24     "form_field_data.h",
25     "form_field_data_predictions.cc",
26     "form_field_data_predictions.h",
27     "password_form.cc",
28     "password_form.h",
29     "password_form_fill_data.cc",
30     "password_form_fill_data.h",
31     "password_generation_util.cc",
32     "password_generation_util.h",
33     "save_password_progress_logger.cc",
34     "save_password_progress_logger.h",
35     "web_element_descriptor.cc",
36     "web_element_descriptor.h",
37   ]
39   deps = [
40     "//base",
41     "//base:i18n",
42     "//ui/base",
43     "//ui/gfx",
44     "//url",
45   ]
47   if (is_android) {
48     # deps += [ 'autofill_jni_headers' ]  TODO(GYP)
49   }
51   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
54 source_set("unit_tests") {
55   testonly = true
56   sources = [
57     "autofill_regexes_unittest.cc",
58     "form_data_unittest.cc",
59     "form_field_data_unittest.cc",
60     "password_form_fill_data_unittest.cc",
61     "save_password_progress_logger_unittest.cc",
62   ]
64   deps = [
65     ":common",
66     "//base",
67     "//base:i18n",
68     "//components/autofill/core/browser",
69     "//testing/gmock",
70     "//testing/gtest",
71     "//url",
72   ]