blob: 40b2d892bb06dfe575bdf0fdac05c72c02672a9d [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/config.gni")
import("//build/config/android/rules.gni")
import("//chrome/browser/buildflags.gni")
source_set("share") {
sources = [
"bitmap_download_request.cc",
"editor_screenshot_task.cc",
"link_to_text_bridge.cc",
"qr_code_generation_request.cc",
"qr_code_generation_request.h",
]
deps = [
"//base",
"//chrome/browser/share/android:jni_headers",
"//chrome/services/qrcode_generator/public/cpp",
"//chrome/services/qrcode_generator/public/mojom",
"//components/shared_highlighting/core/common",
"//content/public/browser",
"//skia",
"//ui/android",
"//ui/gfx",
"//ui/snapshot",
"//url:gurl_android",
]
}
android_library("java") {
sources = [
"android/java/src/org/chromium/chrome/browser/share/ChromeShareExtras.java",
"android/java/src/org/chromium/chrome/browser/share/ShareDelegate.java",
"android/java/src/org/chromium/chrome/browser/share/share_sheet/ChromeOptionShareCallback.java",
]
deps = [
"//chrome/browser/tab:java",
"//components/browser_ui/share/android:java",
"//third_party/androidx:androidx_annotation_annotation_java",
"//url:gurl_java",
]
}