OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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) { |
| 6 import("//build/config/android/rules.gni") |
| 7 } |
| 8 |
5 static_library("browsing_data") { | 9 static_library("browsing_data") { |
6 output_name = "browsing_data" | 10 output_name = "browsing_data" |
7 sources = [ | 11 sources = [ |
| 12 "browsing_data_utils.cc", |
| 13 "browsing_data_utils.h", |
8 "conditional_cache_deletion_helper.cc", | 14 "conditional_cache_deletion_helper.cc", |
9 "conditional_cache_deletion_helper.h", | 15 "conditional_cache_deletion_helper.h", |
| 16 "counters/browsing_data_counter.cc", |
| 17 "counters/browsing_data_counter.h", |
| 18 "pref_names.cc", |
| 19 "pref_names.h", |
10 "storage_partition_http_cache_data_remover.cc", | 20 "storage_partition_http_cache_data_remover.cc", |
11 "storage_partition_http_cache_data_remover.h", | 21 "storage_partition_http_cache_data_remover.h", |
12 ] | 22 ] |
13 | 23 |
14 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 24 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
15 | 25 |
16 deps = [ | 26 deps = [ |
17 "//base", | 27 "//base", |
| 28 "//components/prefs:prefs", |
18 "//content/public/browser", | 29 "//content/public/browser", |
19 "//net", | 30 "//net", |
20 ] | 31 ] |
21 } | 32 } |
| 33 |
| 34 if (is_android) { |
| 35 # GYP: //components/browsing_data.gypi:browsing_data_utils_java |
| 36 java_cpp_enum("browsing_data_utils_java") { |
| 37 sources = [ |
| 38 "browsing_data_utils.h", |
| 39 ] |
| 40 } |
| 41 } |
OLD | NEW |