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

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

Issue 2750103005: [Payments] Move journey logger to native. (Closed)
Patch Set: Addressed comments 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 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 static_library("android") { 9 static_library("android") {
10 sources = [ 10 sources = [
11 "currency_formatter_android.cc", 11 "currency_formatter_android.cc",
12 "currency_formatter_android.h", 12 "currency_formatter_android.h",
13 "journey_logger_android.cc",
14 "journey_logger_android.h",
13 "payment_details_validation_android.cc", 15 "payment_details_validation_android.cc",
14 "payment_details_validation_android.h", 16 "payment_details_validation_android.h",
15 "payment_manifest_downloader_android.cc", 17 "payment_manifest_downloader_android.cc",
16 "payment_manifest_downloader_android.h", 18 "payment_manifest_downloader_android.h",
17 "payment_manifest_parser_android.cc", 19 "payment_manifest_parser_android.cc",
18 "payment_manifest_parser_android.h", 20 "payment_manifest_parser_android.h",
19 ] 21 ]
20 deps = [ 22 deps = [
21 ":downloader", 23 ":downloader",
22 ":jni_headers", 24 ":jni_headers",
(...skipping 18 matching lines...) Expand all
41 "//base", 43 "//base",
42 "//components/data_use_measurement/core", 44 "//components/data_use_measurement/core",
43 "//components/link_header_util", 45 "//components/link_header_util",
44 "//net", 46 "//net",
45 ] 47 ]
46 } 48 }
47 49
48 generate_jni("jni_headers") { 50 generate_jni("jni_headers") {
49 sources = [ 51 sources = [
50 "java/src/org/chromium/components/payments/CurrencyFormatter.java", 52 "java/src/org/chromium/components/payments/CurrencyFormatter.java",
53 "java/src/org/chromium/components/payments/JourneyLogger.java",
51 "java/src/org/chromium/components/payments/PaymentManifestDownloader.java", 54 "java/src/org/chromium/components/payments/PaymentManifestDownloader.java",
52 "java/src/org/chromium/components/payments/PaymentManifestParser.java", 55 "java/src/org/chromium/components/payments/PaymentManifestParser.java",
53 "java/src/org/chromium/components/payments/PaymentValidator.java", 56 "java/src/org/chromium/components/payments/PaymentValidator.java",
54 ] 57 ]
55 jni_package = "payments" 58 jni_package = "payments"
56 } 59 }
57 60
58 android_library("java") { 61 android_library("java") {
59 java_files = [ 62 java_files = [
60 "java/src/org/chromium/components/payments/CurrencyFormatter.java", 63 "java/src/org/chromium/components/payments/CurrencyFormatter.java",
64 "java/src/org/chromium/components/payments/JourneyLogger.java",
61 "java/src/org/chromium/components/payments/PaymentManifestDownloader.java", 65 "java/src/org/chromium/components/payments/PaymentManifestDownloader.java",
62 "java/src/org/chromium/components/payments/PaymentManifestParser.java", 66 "java/src/org/chromium/components/payments/PaymentManifestParser.java",
63 "java/src/org/chromium/components/payments/PaymentValidator.java", 67 "java/src/org/chromium/components/payments/PaymentValidator.java",
64 ] 68 ]
65 deps = [ 69 deps = [
66 ":mojom_java", 70 ":mojom_java",
67 "//base:base_java", 71 "//base:base_java",
68 "//components/payments/content:payment_request_java", 72 "//components/payments/content:payment_request_java",
69 "//content/public/android:content_java", 73 "//content/public/android:content_java",
70 "//mojo/public/java:bindings_java", 74 "//mojo/public/java:bindings_java",
(...skipping 12 matching lines...) Expand all
83 "payment_manifest_downloader_unittest.cc", 87 "payment_manifest_downloader_unittest.cc",
84 ] 88 ]
85 deps = [ 89 deps = [
86 ":downloader", 90 ":downloader",
87 "//base", 91 "//base",
88 "//content/test:test_support", 92 "//content/test:test_support",
89 "//net:test_support", 93 "//net:test_support",
90 "//testing/gtest", 94 "//testing/gtest",
91 ] 95 ]
92 } 96 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698