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

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

Issue 2811593009: [Payments] move //components/payments/content/*.mojom files to //components/payments/mojom (Closed)
Patch Set: Reland after updating chrome_content_browser_client.cc to fix android build Created 3 years, 8 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("//mojo/public/tools/bindings/mojom.gni")
6
7 static_library("content") { 5 static_library("content") {
8 sources = [ 6 sources = [
9 "payment_request.cc", 7 "payment_request.cc",
10 "payment_request.h", 8 "payment_request.h",
11 "payment_request_dialog.h", 9 "payment_request_dialog.h",
12 "payment_request_spec.cc", 10 "payment_request_spec.cc",
13 "payment_request_spec.h", 11 "payment_request_spec.h",
14 "payment_request_state.cc", 12 "payment_request_state.cc",
15 "payment_request_state.h", 13 "payment_request_state.h",
16 "payment_request_web_contents_manager.cc", 14 "payment_request_web_contents_manager.cc",
17 "payment_request_web_contents_manager.h", 15 "payment_request_web_contents_manager.h",
18 "payment_response_helper.cc", 16 "payment_response_helper.cc",
19 "payment_response_helper.h", 17 "payment_response_helper.h",
20 ] 18 ]
21 19
22 deps = [ 20 deps = [
23 ":mojom",
24 ":utils", 21 ":utils",
25 "//components/autofill/core/browser", 22 "//components/autofill/core/browser",
26 "//components/payments/core", 23 "//components/payments/core",
24 "//components/payments/mojom",
27 "//content/public/browser", 25 "//content/public/browser",
28 "//mojo/public/cpp/bindings", 26 "//mojo/public/cpp/bindings",
29 "//third_party/libphonenumber", 27 "//third_party/libphonenumber",
30 ] 28 ]
31 } 29 }
32 30
33 mojom("mojom") {
34 sources = [
35 "payment_request.mojom",
36 ]
37 }
38
39 mojom("mojom_parser") {
40 sources = [
41 "payment_manifest_parser.mojom",
42 ]
43
44 public_deps = [
45 "//url/mojo:url_mojom_gurl",
46 ]
47 }
48
49 mojom("mojom_payment_app") {
50 sources = [
51 "payment_app.mojom",
52 ]
53
54 public_deps = [
55 ":mojom",
56 "//mojo/common:common_custom_types",
57 "//url/mojo:url_mojom_gurl",
58 ]
59 }
60
61 static_library("utils") { 31 static_library("utils") {
62 sources = [ 32 sources = [
63 "payment_details_validation.cc", 33 "payment_details_validation.cc",
64 "payment_details_validation.h", 34 "payment_details_validation.h",
65 "payment_manifest_downloader.cc", 35 "payment_manifest_downloader.cc",
66 "payment_manifest_downloader.h", 36 "payment_manifest_downloader.h",
67 "payment_manifest_parser_host.cc", 37 "payment_manifest_parser_host.cc",
68 "payment_manifest_parser_host.h", 38 "payment_manifest_parser_host.h",
69 "payments_validators.cc", 39 "payments_validators.cc",
70 "payments_validators.h", 40 "payments_validators.h",
71 ] 41 ]
72 42
73 deps = [ 43 deps = [
74 ":mojom",
75 ":mojom_parser",
76 "//base", 44 "//base",
77 "//components/autofill/core/browser", 45 "//components/autofill/core/browser",
78 "//components/data_use_measurement/core", 46 "//components/data_use_measurement/core",
79 "//components/link_header_util", 47 "//components/link_header_util",
80 "//components/payments/core", 48 "//components/payments/core",
49 "//components/payments/mojom",
50 "//components/payments/mojom:mojom_parser",
81 "//components/strings", 51 "//components/strings",
82 "//content/public/browser", 52 "//content/public/browser",
83 "//net", 53 "//net",
84 "//third_party/re2", 54 "//third_party/re2",
85 "//ui/base", 55 "//ui/base",
86 "//url", 56 "//url",
87 ] 57 ]
88 58
89 public_deps = [ 59 public_deps = [
90 "//third_party/icu", 60 "//third_party/icu",
91 "//third_party/libaddressinput", 61 "//third_party/libaddressinput",
92 ] 62 ]
93 } 63 }
94 64
95 source_set("unit_tests") { 65 source_set("unit_tests") {
96 testonly = true 66 testonly = true
97 sources = [ 67 sources = [
98 "payment_manifest_downloader_unittest.cc", 68 "payment_manifest_downloader_unittest.cc",
99 "payment_request_spec_unittest.cc", 69 "payment_request_spec_unittest.cc",
100 "payment_request_state_unittest.cc", 70 "payment_request_state_unittest.cc",
101 "payment_response_helper_unittest.cc", 71 "payment_response_helper_unittest.cc",
102 "payments_validators_unittest.cc", 72 "payments_validators_unittest.cc",
103 ] 73 ]
104 74
105 deps = [ 75 deps = [
106 ":content", 76 ":content",
107 ":mojom",
108 ":utils", 77 ":utils",
109 "//base", 78 "//base",
110 "//base/test:test_support", 79 "//base/test:test_support",
111 "//components/autofill/core/browser", 80 "//components/autofill/core/browser",
112 "//components/autofill/core/browser:test_support", 81 "//components/autofill/core/browser:test_support",
113 "//components/payments/core", 82 "//components/payments/core",
83 "//components/payments/mojom",
114 "//content/test:test_support", 84 "//content/test:test_support",
115 "//net:test_support", 85 "//net:test_support",
116 "//testing/gtest", 86 "//testing/gtest",
117 "//third_party/icu", 87 "//third_party/icu",
118 "//third_party/libaddressinput:test_support", 88 "//third_party/libaddressinput:test_support",
119 ] 89 ]
120 } 90 }
OLDNEW
« no previous file with comments | « components/payments/android/web_app_manifest_section_table.h ('k') | components/payments/content/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698