Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: components/payments/content/android/BUILD.gn

Issue 2645813006: Download web payment manifests. (Closed)
Patch Set: At most INT_MAX sections in manifest and fingperints in section Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 import("//mojo/public/tools/bindings/mojom.gni")
7 8
8 static_library("android") { 9 static_library("android") {
9 sources = [ 10 sources = [
10 "currency_formatter_android.cc", 11 "currency_formatter_android.cc",
11 "currency_formatter_android.h", 12 "currency_formatter_android.h",
12 "payment_details_validation_android.cc", 13 "payment_details_validation_android.cc",
13 "payment_details_validation_android.h", 14 "payment_details_validation_android.h",
15 "payment_manifest_downloader_android.cc",
16 "payment_manifest_downloader_android.h",
17 "payment_manifest_parser_android.cc",
18 "payment_manifest_parser_android.h",
14 ] 19 ]
15 deps = [ 20 deps = [
21 ":downloader",
16 ":jni_headers", 22 ":jni_headers",
23 ":mojom",
17 "//base", 24 "//base",
18 "//components/payments/content:payment_request", 25 "//components/payments/content:payment_request",
19 "//components/payments/content:payment_validation", 26 "//components/payments/content:payment_validation",
20 "//components/payments/core", 27 "//components/payments/core",
28 "//components/strings",
29 "//content/public/browser",
30 "//net",
31 "//ui/base",
32 ]
33 }
34
35 static_library("downloader") {
36 sources = [
37 "payment_manifest_downloader.cc",
38 "payment_manifest_downloader.h",
39 ]
40 deps = [
41 "//base",
42 "//components/data_use_measurement/core",
43 "//components/link_header_util",
44 "//net",
21 ] 45 ]
22 } 46 }
23 47
24 generate_jni("jni_headers") { 48 generate_jni("jni_headers") {
25 sources = [ 49 sources = [
26 "//chrome/android/java/src/org/chromium/chrome/browser/payments/CurrencyForm atter.java", 50 "//chrome/android/java/src/org/chromium/chrome/browser/payments/CurrencyForm atter.java",
51 "//chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentManif estDownloader.java",
52 "//chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentManif estParser.java",
27 "//chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentValid ator.java", 53 "//chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentValid ator.java",
28 ] 54 ]
29 jni_package = "payments" 55 jni_package = "payments"
30 } 56 }
57
58 mojom("mojom") {
59 sources = [
60 "payment_manifest_parser.mojom",
61 ]
62 }
63
64 source_set("unit_tests") {
65 testonly = true
66 sources = [
67 "payment_manifest_downloader_test.cc",
68 ]
69 deps = [
70 ":downloader",
71 "//base",
72 "//content/test:test_support",
73 "//net:test_support",
74 "//testing/gtest",
75 ]
76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698