# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/android/rules.gni")
import("//third_party/jni_zero/jni_zero.gni")
static_library("android") {
sources = [
"browsing_data_model_android.cc",
"browsing_data_model_android.h",
]
deps = [
":jni_headers",
"//base",
"//components/browsing_data/content",
"//components/permissions:permissions",
"//content/public/browser",
]
}
android_library("java") {
srcjar_deps = [ ":jni_headers" ]
sources = [
"java/src/org/chromium/components/browsing_data/content/BrowsingDataInfo.java",
"java/src/org/chromium/components/browsing_data/content/BrowsingDataModel.java",
]
deps = [
"//base:base_java",
"//build/android:build_java",
"//content/public/android:content_full_java",
"//third_party/androidx:androidx_annotation_annotation_java",
"//third_party/jni_zero:jni_zero_java",
"//url:gurl_java",
]
resources_package = "org.chromium.components.browsing_data.content"
}
generate_jni("jni_headers") {
sources = [ "java/src/org/chromium/components/browsing_data/content/BrowsingDataModel.java" ]
}