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