OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 } | 7 } |
8 | 8 |
9 static_library("core") { | 9 static_library("core") { |
10 sources = [ | 10 sources = [ |
(...skipping 10 matching lines...) Expand all Loading... |
21 "pref_names.cc", | 21 "pref_names.cc", |
22 "pref_names.h", | 22 "pref_names.h", |
23 ] | 23 ] |
24 | 24 |
25 deps = [ | 25 deps = [ |
26 "//base", | 26 "//base", |
27 "//components/autofill/core/browser", | 27 "//components/autofill/core/browser", |
28 "//components/history/core/browser", | 28 "//components/history/core/browser", |
29 "//components/password_manager/core/browser", | 29 "//components/password_manager/core/browser", |
30 "//components/prefs:prefs", | 30 "//components/prefs:prefs", |
| 31 "//components/strings", |
31 "//components/sync", | 32 "//components/sync", |
32 "//components/webdata/common", | 33 "//components/webdata/common", |
| 34 "//ui/base", |
33 ] | 35 ] |
34 } | 36 } |
35 | 37 |
36 if (is_android) { | 38 if (is_android) { |
37 # GYP: //components/browsing_data.gypi:browsing_data_utils_java | 39 # GYP: //components/browsing_data.gypi:browsing_data_utils_java |
38 java_cpp_enum("browsing_data_utils_java") { | 40 java_cpp_enum("browsing_data_utils_java") { |
39 sources = [ | 41 sources = [ |
40 "browsing_data_utils.h", | 42 "browsing_data_utils.h", |
41 ] | 43 ] |
42 } | 44 } |
43 } | 45 } |
| 46 |
| 47 source_set("unit_tests") { |
| 48 testonly = true |
| 49 sources = [ |
| 50 "browsing_data_utils_unittest.cc", |
| 51 ] |
| 52 |
| 53 deps = [ |
| 54 ":core", |
| 55 "//base", |
| 56 "//components/autofill/core/browser:browser", |
| 57 "//testing/gtest", |
| 58 ] |
| 59 } |
OLD | NEW |