| # 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", |
| "features.cc", |
| "features.h", |
| "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", |
| "//content/public/browser", |
| "//skia", |
| "//ui/gfx", |
| ] |
| } |
| |
| android_library("java") { |
| sources = [ |
| "android/java/src/org/chromium/chrome/browser/share/ChromeShareExtras.java", |
| "android/java/src/org/chromium/chrome/browser/share/share_sheet/ChromeOptionShareCallback.java", |
| ] |
| |
| deps = [ "//components/browser_ui/share/android:java" ] |
| } |