| 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 = [ |
| 11 "browsing_data_utils.cc", | 11 "browsing_data_utils.cc", |
| 12 "browsing_data_utils.h", | 12 "browsing_data_utils.h", |
| 13 "counters/autofill_counter.cc", | 13 "counters/autofill_counter.cc", |
| 14 "counters/autofill_counter.h", | 14 "counters/autofill_counter.h", |
| 15 "counters/browsing_data_counter.cc", | 15 "counters/browsing_data_counter.cc", |
| 16 "counters/browsing_data_counter.h", | 16 "counters/browsing_data_counter.h", |
| 17 "counters/history_counter.cc", | 17 "counters/history_counter.cc", |
| 18 "counters/history_counter.h", | 18 "counters/history_counter.h", |
| 19 "counters/passwords_counter.cc", | 19 "counters/passwords_counter.cc", |
| 20 "counters/passwords_counter.h", | 20 "counters/passwords_counter.h", |
| 21 "history_notice_utils.cc", |
| 22 "history_notice_utils.h", |
| 21 "pref_names.cc", | 23 "pref_names.cc", |
| 22 "pref_names.h", | 24 "pref_names.h", |
| 23 ] | 25 ] |
| 24 | 26 |
| 25 deps = [ | 27 deps = [ |
| 26 "//base", | 28 "//base", |
| 27 "//components/autofill/core/browser", | 29 "//components/autofill/core/browser", |
| 28 "//components/history/core/browser", | 30 "//components/history/core/browser", |
| 29 "//components/password_manager/core/browser", | 31 "//components/password_manager/core/browser", |
| 30 "//components/pref_registry:pref_registry", | 32 "//components/pref_registry:pref_registry", |
| 31 "//components/prefs:prefs", | 33 "//components/prefs:prefs", |
| 32 "//components/strings", | 34 "//components/strings", |
| 33 "//components/sync", | 35 "//components/sync", |
| 36 "//components/version_info", |
| 34 "//components/webdata/common", | 37 "//components/webdata/common", |
| 35 "//ui/base", | 38 "//ui/base", |
| 36 ] | 39 ] |
| 37 } | 40 } |
| 38 | 41 |
| 39 if (is_android) { | 42 if (is_android) { |
| 40 # GYP: //components/browsing_data.gypi:browsing_data_utils_java | 43 # GYP: //components/browsing_data.gypi:browsing_data_utils_java |
| 41 java_cpp_enum("browsing_data_utils_java") { | 44 java_cpp_enum("browsing_data_utils_java") { |
| 42 sources = [ | 45 sources = [ |
| 43 "browsing_data_utils.h", | 46 "browsing_data_utils.h", |
| 44 ] | 47 ] |
| 45 } | 48 } |
| 46 } | 49 } |
| 47 | 50 |
| 48 source_set("unit_tests") { | 51 source_set("unit_tests") { |
| 49 testonly = true | 52 testonly = true |
| 50 sources = [ | 53 sources = [ |
| 51 "browsing_data_utils_unittest.cc", | 54 "browsing_data_utils_unittest.cc", |
| 55 "history_notice_utils_unittest.cc", |
| 52 ] | 56 ] |
| 53 | 57 |
| 54 deps = [ | 58 deps = [ |
| 55 ":core", | 59 ":core", |
| 56 "//base", | 60 "//base", |
| 57 "//components/autofill/core/browser:browser", | 61 "//components/autofill/core/browser:browser", |
| 62 "//components/history/core/test:test", |
| 63 "//components/signin/core/browser:test_support", |
| 64 "//components/sync:test_support_sync_driver", |
| 65 "//components/sync/protocol:protocol", |
| 66 "//components/version_info:version_info", |
| 67 "//net", |
| 58 "//testing/gtest", | 68 "//testing/gtest", |
| 59 ] | 69 ] |
| 60 } | 70 } |
| OLD | NEW |