| Index: components/browsing_data/BUILD.gn
|
| diff --git a/components/browsing_data/BUILD.gn b/components/browsing_data/BUILD.gn
|
| index 7b964e54960599e711d3946425cf8ea1e771d1e7..b39d3ed84eb098f5e0ce7406d3817106570ffc7c 100644
|
| --- a/components/browsing_data/BUILD.gn
|
| +++ b/components/browsing_data/BUILD.gn
|
| @@ -2,11 +2,21 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +if (is_android) {
|
| + import("//build/config/android/rules.gni")
|
| +}
|
| +
|
| static_library("browsing_data") {
|
| output_name = "browsing_data"
|
| sources = [
|
| + "browsing_data_utils.cc",
|
| + "browsing_data_utils.h",
|
| "conditional_cache_deletion_helper.cc",
|
| "conditional_cache_deletion_helper.h",
|
| + "counters/browsing_data_counter.cc",
|
| + "counters/browsing_data_counter.h",
|
| + "pref_names.cc",
|
| + "pref_names.h",
|
| "storage_partition_http_cache_data_remover.cc",
|
| "storage_partition_http_cache_data_remover.h",
|
| ]
|
| @@ -15,7 +25,17 @@ static_library("browsing_data") {
|
|
|
| deps = [
|
| "//base",
|
| + "//components/prefs:prefs",
|
| "//content/public/browser",
|
| "//net",
|
| ]
|
| }
|
| +
|
| +if (is_android) {
|
| + # GYP: //components/browsing_data.gypi:browsing_data_utils_java
|
| + java_cpp_enum("browsing_data_utils_java") {
|
| + sources = [
|
| + "browsing_data_utils.h",
|
| + ]
|
| + }
|
| +}
|
|
|