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("browser") { | 5 static_library("browser") { |
6 sources = [ | 6 sources = [ |
7 "delete_directive_handler.cc", | 7 "delete_directive_handler.cc", |
8 "delete_directive_handler.h", | 8 "delete_directive_handler.h", |
9 "download_constants.h", | 9 "download_constants.h", |
10 "download_database.cc", | 10 "download_database.cc", |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 "android/sql_handler.h", | 121 "android/sql_handler.h", |
122 "android/urls_sql_handler.cc", | 122 "android/urls_sql_handler.cc", |
123 "android/urls_sql_handler.h", | 123 "android/urls_sql_handler.h", |
124 "android/visit_sql_handler.cc", | 124 "android/visit_sql_handler.cc", |
125 "android/visit_sql_handler.h", | 125 "android/visit_sql_handler.h", |
126 ] | 126 ] |
127 } | 127 } |
128 | 128 |
129 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 129 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
130 } | 130 } |
| 131 |
| 132 source_set("unit_tests") { |
| 133 testonly = true |
| 134 sources = [ |
| 135 "expire_history_backend_unittest.cc", |
| 136 "history_backend_db_unittest.cc", |
| 137 "history_backend_unittest.cc", |
| 138 "history_database_unittest.cc", |
| 139 "history_querying_unittest.cc", |
| 140 "history_service_unittest.cc", |
| 141 "history_types_unittest.cc", |
| 142 "thumbnail_database_unittest.cc", |
| 143 "top_sites_cache_unittest.cc", |
| 144 "top_sites_database_unittest.cc", |
| 145 "top_sites_impl_unittest.cc", |
| 146 "typed_url_syncable_service_unittest.cc", |
| 147 "url_database_unittest.cc", |
| 148 "url_utils_unittest.cc", |
| 149 "visit_database_unittest.cc", |
| 150 "visit_filter_unittest.cc", |
| 151 "visit_tracker_unittest.cc", |
| 152 ] |
| 153 deps = [ |
| 154 ":browser", |
| 155 "//base", |
| 156 "//base:prefs_test_support", |
| 157 "//base/test:test_support", |
| 158 "//components/favicon_base", |
| 159 "//components/history/core/common", |
| 160 "//components/history/core/test", |
| 161 "//sql", |
| 162 "//sql:test_support", |
| 163 "//sync:test_support_sync_api", |
| 164 "//testing/gtest", |
| 165 "//ui/gfx:gfx", |
| 166 "//url", |
| 167 ] |
| 168 if (is_android) { |
| 169 sources += [ "android/android_history_types_unittest.cc" ] |
| 170 } |
| 171 } |
OLD | NEW |