OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 static_library("common") { | 5 static_library("common") { |
6 sources = [ | 6 sources = [ |
7 "autofill_constants.cc", | 7 "autofill_constants.cc", |
8 "autofill_constants.h", | 8 "autofill_constants.h", |
9 "autofill_data_validation.cc", | 9 "autofill_data_validation.cc", |
10 "autofill_data_validation.h", | 10 "autofill_data_validation.h", |
11 "autofill_l10n_util.cc", | 11 "autofill_l10n_util.cc", |
12 "autofill_l10n_util.h", | 12 "autofill_l10n_util.h", |
13 "autofill_pref_names.cc", | 13 "autofill_pref_names.cc", |
14 "autofill_pref_names.h", | 14 "autofill_pref_names.h", |
15 "autofill_regexes.cc", | |
16 "autofill_regexes.h", | |
17 "autofill_switches.cc", | 15 "autofill_switches.cc", |
18 "autofill_switches.h", | 16 "autofill_switches.h", |
19 "form_data.cc", | 17 "form_data.cc", |
20 "form_data.h", | 18 "form_data.h", |
21 "form_data_predictions.cc", | 19 "form_data_predictions.cc", |
22 "form_data_predictions.h", | 20 "form_data_predictions.h", |
23 "form_field_data.cc", | 21 "form_field_data.cc", |
24 "form_field_data.h", | 22 "form_field_data.h", |
25 "form_field_data_predictions.cc", | 23 "form_field_data_predictions.cc", |
26 "form_field_data_predictions.h", | 24 "form_field_data_predictions.h", |
(...skipping 18 matching lines...) Expand all Loading... |
45 ] | 43 ] |
46 | 44 |
47 if (is_android) { | 45 if (is_android) { |
48 # deps += [ 'autofill_jni_headers' ] TODO(GYP) | 46 # deps += [ 'autofill_jni_headers' ] TODO(GYP) |
49 } | 47 } |
50 } | 48 } |
51 | 49 |
52 source_set("unit_tests") { | 50 source_set("unit_tests") { |
53 testonly = true | 51 testonly = true |
54 sources = [ | 52 sources = [ |
55 "autofill_regexes_unittest.cc", | |
56 "form_data_unittest.cc", | 53 "form_data_unittest.cc", |
57 "form_field_data_unittest.cc", | 54 "form_field_data_unittest.cc", |
58 "password_form_fill_data_unittest.cc", | 55 "password_form_fill_data_unittest.cc", |
59 "save_password_progress_logger_unittest.cc", | 56 "save_password_progress_logger_unittest.cc", |
60 ] | 57 ] |
61 | 58 |
62 deps = [ | 59 deps = [ |
63 ":common", | 60 ":common", |
64 "//base", | 61 "//base", |
65 "//base:i18n", | 62 "//base:i18n", |
66 "//testing/gmock", | 63 "//testing/gmock", |
67 "//testing/gtest", | 64 "//testing/gtest", |
68 "//url", | 65 "//url", |
69 ] | 66 ] |
70 } | 67 } |
OLD | NEW |