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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/content/BUILD.gn
diff --git a/components/payments/content/BUILD.gn b/components/payments/content/BUILD.gn
index a20079996c5a582ade6e8d640364213fff36ca18..ac16b7b52f1a23479ed5de6c9b3a32f478819aa1 100644
--- a/components/payments/content/BUILD.gn
+++ b/components/payments/content/BUILD.gn
@@ -2,8 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//mojo/public/tools/bindings/mojom.gni")
-
static_library("content") {
sources = [
"payment_request.cc",
@@ -20,44 +18,16 @@ static_library("content") {
]
deps = [
- ":mojom",
":utils",
"//components/autofill/core/browser",
"//components/payments/core",
+ "//components/payments/mojom",
"//content/public/browser",
"//mojo/public/cpp/bindings",
"//third_party/libphonenumber",
]
}
-mojom("mojom") {
- sources = [
- "payment_request.mojom",
- ]
-}
-
-mojom("mojom_parser") {
- sources = [
- "payment_manifest_parser.mojom",
- ]
-
- public_deps = [
- "//url/mojo:url_mojom_gurl",
- ]
-}
-
-mojom("mojom_payment_app") {
- sources = [
- "payment_app.mojom",
- ]
-
- public_deps = [
- ":mojom",
- "//mojo/common:common_custom_types",
- "//url/mojo:url_mojom_gurl",
- ]
-}
-
static_library("utils") {
sources = [
"payment_details_validation.cc",
@@ -71,13 +41,13 @@ static_library("utils") {
]
deps = [
- ":mojom",
- ":mojom_parser",
"//base",
"//components/autofill/core/browser",
"//components/data_use_measurement/core",
"//components/link_header_util",
"//components/payments/core",
+ "//components/payments/mojom",
+ "//components/payments/mojom:mojom_parser",
"//components/strings",
"//content/public/browser",
"//net",
@@ -104,13 +74,13 @@ source_set("unit_tests") {
deps = [
":content",
- ":mojom",
":utils",
"//base",
"//base/test:test_support",
"//components/autofill/core/browser",
"//components/autofill/core/browser:test_support",
"//components/payments/core",
+ "//components/payments/mojom",
"//content/test:test_support",
"//net:test_support",
"//testing/gtest",
« 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