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

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: updated more files for desktop compile 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 ] 27 ]
30 } 28 }
31 29
32 mojom("mojom") {
33 sources = [
34 "payment_request.mojom",
35 ]
36 }
37
38 mojom("mojom_parser") {
39 sources = [
40 "payment_manifest_parser.mojom",
41 ]
42
43 public_deps = [
44 "//url/mojo:url_mojom_gurl",
45 ]
46 }
47
48 mojom("mojom_payment_app") {
49 sources = [
50 "payment_app.mojom",
51 ]
52
53 public_deps = [
54 ":mojom",
55 "//mojo/common:common_custom_types",
56 "//url/mojo:url_mojom_gurl",
57 ]
58 }
59
60 static_library("utils") { 30 static_library("utils") {
61 sources = [ 31 sources = [
62 "payment_details_validation.cc", 32 "payment_details_validation.cc",
63 "payment_details_validation.h", 33 "payment_details_validation.h",
64 "payment_manifest_downloader.cc", 34 "payment_manifest_downloader.cc",
65 "payment_manifest_downloader.h", 35 "payment_manifest_downloader.h",
66 "payment_manifest_parser_host.cc", 36 "payment_manifest_parser_host.cc",
67 "payment_manifest_parser_host.h", 37 "payment_manifest_parser_host.h",
68 "payments_validators.cc", 38 "payments_validators.cc",
69 "payments_validators.h", 39 "payments_validators.h",
70 ] 40 ]
71 41
72 deps = [ 42 deps = [
73 ":mojom",
74 ":mojom_parser",
75 "//base", 43 "//base",
76 "//components/autofill/core/browser", 44 "//components/autofill/core/browser",
77 "//components/data_use_measurement/core", 45 "//components/data_use_measurement/core",
78 "//components/link_header_util", 46 "//components/link_header_util",
79 "//components/payments/core", 47 "//components/payments/core",
48 "//components/payments/mojom",
49 "//components/payments/mojom:mojom_parser",
80 "//components/strings", 50 "//components/strings",
81 "//content/public/browser", 51 "//content/public/browser",
82 "//net", 52 "//net",
83 "//third_party/re2", 53 "//third_party/re2",
84 "//ui/base", 54 "//ui/base",
85 "//url", 55 "//url",
86 ] 56 ]
87 57
88 public_deps = [ 58 public_deps = [
89 "//third_party/icu", 59 "//third_party/icu",
90 "//third_party/libaddressinput", 60 "//third_party/libaddressinput",
91 ] 61 ]
92 } 62 }
93 63
94 source_set("unit_tests") { 64 source_set("unit_tests") {
95 testonly = true 65 testonly = true
96 sources = [ 66 sources = [
97 "payment_manifest_downloader_unittest.cc", 67 "payment_manifest_downloader_unittest.cc",
98 "payment_request_spec_unittest.cc", 68 "payment_request_spec_unittest.cc",
99 "payment_request_state_unittest.cc", 69 "payment_request_state_unittest.cc",
100 "payment_response_helper_unittest.cc", 70 "payment_response_helper_unittest.cc",
101 "payments_validators_unittest.cc", 71 "payments_validators_unittest.cc",
102 ] 72 ]
103 73
104 deps = [ 74 deps = [
105 ":content", 75 ":content",
106 ":mojom",
107 ":utils", 76 ":utils",
108 "//base", 77 "//base",
109 "//base/test:test_support", 78 "//base/test:test_support",
110 "//components/autofill/core/browser", 79 "//components/autofill/core/browser",
111 "//components/autofill/core/browser:test_support", 80 "//components/autofill/core/browser:test_support",
112 "//components/payments/core", 81 "//components/payments/core",
82 "//components/payments/mojom",
113 "//content/test:test_support", 83 "//content/test:test_support",
114 "//net:test_support", 84 "//net:test_support",
115 "//testing/gtest", 85 "//testing/gtest",
116 "//third_party/icu", 86 "//third_party/icu",
117 "//third_party/libaddressinput:test_support", 87 "//third_party/libaddressinput:test_support",
118 ] 88 ]
119 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698