blob: fc3721c37ee428d432095d52ddd837c4fe692269 [file] [log] [blame]
# Copyright 2019 The Chromium Authors. All rights reserved.
# 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")
# Keep profiles and cookies in the same target due to bi-directional dependency
# between Profile and CookiesFetcher.
android_library("java") {
deps = [
"//base:base_java",
"//chrome/android/public/crypto:java",
"//content/public/android:content_java",
]
java_files = [
"java/src/org/chromium/chrome/browser/cookies/CanonicalCookie.java",
"java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java",
"java/src/org/chromium/chrome/browser/profiles/Profile.java",
"java/src/org/chromium/chrome/browser/profiles/ProfileKey.java",
"java/src/org/chromium/chrome/browser/profiles/ProfileManagerUtils.java",
]
}
generate_jni("jni_headers") {
sources = [
"java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java",
"java/src/org/chromium/chrome/browser/profiles/Profile.java",
"java/src/org/chromium/chrome/browser/profiles/ProfileKey.java",
"java/src/org/chromium/chrome/browser/profiles/ProfileManagerUtils.java",
]
}