summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/image_fetcher/BUILD.gn
blob: 7822872a9234b67439adb0f92b47687f7cedb642 (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
32
33
# 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")

android_library("java") {
  deps = [
    "//base:base_java",
    "//base:jni_java",
    "//chrome/browser/profiles/android:java",
    "//chrome/browser/util:java",
    "//components/browser_ui/util/android:java",
    "//content/public/android:content_java",
    "//third_party/android_deps:androidx_annotation_annotation_java",
    "//third_party/gif_player:gif_player_java",
  ]
  annotation_processor_deps = [ "//base/android/jni_generator:jni_processor" ]
  sources = [
    "android/java/src/org/chromium/chrome/browser/image_fetcher/CachedImageFetcher.java",
    "android/java/src/org/chromium/chrome/browser/image_fetcher/ImageFetcher.java",
    "android/java/src/org/chromium/chrome/browser/image_fetcher/ImageFetcherBridge.java",
    "android/java/src/org/chromium/chrome/browser/image_fetcher/ImageFetcherFactory.java",
    "android/java/src/org/chromium/chrome/browser/image_fetcher/InMemoryCachedImageFetcher.java",
    "android/java/src/org/chromium/chrome/browser/image_fetcher/NetworkImageFetcher.java",
  ]

  srcjar_deps = [ "//components/image_fetcher/core:java_enums_srcjar" ]
}

generate_jni("jni_headers") {
  sources = [ "android/java/src/org/chromium/chrome/browser/image_fetcher/ImageFetcherBridge.java" ]
}