# Copyright 2016 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("//mojo/public/tools/bindings/mojom.gni") static_library("android") { sources = [ "currency_formatter_android.cc", "currency_formatter_android.h", "origin_security_checker_android.cc", "payment_details_validation_android.cc", "payment_manifest_downloader_android.cc", "payment_manifest_parser_android.cc", "payment_manifest_parser_android.h", ] deps = [ ":jni_headers", "//base", "//components/payments/content", "//components/payments/content:utils", "//components/payments/content/utility", "//components/payments/core", "//content/public/browser", "//net", ] } generate_jni("jni_headers") { sources = [ "java/src/org/chromium/components/payments/CurrencyFormatter.java", "java/src/org/chromium/components/payments/OriginSecurityChecker.java", "java/src/org/chromium/components/payments/PaymentManifestDownloader.java", "java/src/org/chromium/components/payments/PaymentManifestParser.java", "java/src/org/chromium/components/payments/PaymentValidator.java", ] jni_package = "payments" } android_library("java") { java_files = [ "java/src/org/chromium/components/payments/CurrencyFormatter.java", "java/src/org/chromium/components/payments/OriginSecurityChecker.java", "java/src/org/chromium/components/payments/PaymentManifestDownloader.java", "java/src/org/chromium/components/payments/PaymentManifestParser.java", "java/src/org/chromium/components/payments/PaymentValidator.java", "java/src/org/chromium/components/payments/WebAppManifestSection.java", ] deps = [ "//base:base_java", "//content/public/android:content_java", "//mojo/public/java:bindings_java", "//third_party/blink/public:android_mojo_bindings_java", ] }