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

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

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