| 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_enums.h", |
| 11 "browsing_data_utils.cc", | 12 "browsing_data_utils.cc", |
| 12 "browsing_data_utils.h", | 13 "browsing_data_utils.h", |
| 13 "counters/autofill_counter.cc", | 14 "counters/autofill_counter.cc", |
| 14 "counters/autofill_counter.h", | 15 "counters/autofill_counter.h", |
| 15 "counters/browsing_data_counter.cc", | 16 "counters/browsing_data_counter.cc", |
| 16 "counters/browsing_data_counter.h", | 17 "counters/browsing_data_counter.h", |
| 17 "counters/history_counter.cc", | 18 "counters/history_counter.cc", |
| 18 "counters/history_counter.h", | 19 "counters/history_counter.h", |
| 19 "counters/passwords_counter.cc", | 20 "counters/passwords_counter.cc", |
| 20 "counters/passwords_counter.h", | 21 "counters/passwords_counter.h", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 "//ui/base", | 39 "//ui/base", |
| 39 ] | 40 ] |
| 40 } | 41 } |
| 41 | 42 |
| 42 if (is_android) { | 43 if (is_android) { |
| 43 java_cpp_enum("browsing_data_utils_java") { | 44 java_cpp_enum("browsing_data_utils_java") { |
| 44 sources = [ | 45 sources = [ |
| 45 "browsing_data_utils.h", | 46 "browsing_data_utils.h", |
| 46 ] | 47 ] |
| 47 } | 48 } |
| 49 java_cpp_enum("browsing_data_enums_java") { |
| 50 sources = [ |
| 51 "browsing_data_enums.h", |
| 52 ] |
| 53 } |
| 48 } | 54 } |
| 49 | 55 |
| 50 source_set("unit_tests") { | 56 source_set("unit_tests") { |
| 51 testonly = true | 57 testonly = true |
| 52 sources = [ | 58 sources = [ |
| 53 "browsing_data_utils_unittest.cc", | 59 "browsing_data_utils_unittest.cc", |
| 54 "history_notice_utils_unittest.cc", | 60 "history_notice_utils_unittest.cc", |
| 55 ] | 61 ] |
| 56 | 62 |
| 57 deps = [ | 63 deps = [ |
| 58 ":core", | 64 ":core", |
| 59 "//base", | 65 "//base", |
| 60 "//components/autofill/core/browser:browser", | 66 "//components/autofill/core/browser:browser", |
| 61 "//components/history/core/test:test", | 67 "//components/history/core/test:test", |
| 62 "//components/signin/core/browser:test_support", | 68 "//components/signin/core/browser:test_support", |
| 63 "//components/sync", | 69 "//components/sync", |
| 64 "//components/sync:test_support_driver", | 70 "//components/sync:test_support_driver", |
| 71 "//components/sync_preferences:test_support", |
| 65 "//components/version_info:version_info", | 72 "//components/version_info:version_info", |
| 66 "//net", | 73 "//net", |
| 67 "//testing/gtest", | 74 "//testing/gtest", |
| 68 ] | 75 ] |
| 69 } | 76 } |
| OLD | NEW |