Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: components/browsing_data/BUILD.gn

Issue 2084903002: Moved BrowsingDataCounter and part of BrowsingDataCounterUtils to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/browsing_data.gypi ('k') | components/browsing_data/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+ }
+}
« no previous file with comments | « components/browsing_data.gypi ('k') | components/browsing_data/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698