summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/android/public/profiles/BUILD.gn
blob: fc3721c37ee428d432095d52ddd837c4fe692269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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",
  ]
}