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

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

Issue 2611253004: [Payment Request] Change the lifetime management of PaymentRequestImpl (Closed)
Patch Set: addressed comments Created 3 years, 11 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") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 mojom("payment_request") { 7 mojom("payment_request") {
8 sources = [ 8 sources = [
9 "payment_request.mojom", 9 "payment_request.mojom",
10 ] 10 ]
11 11
12 public_deps = [ 12 public_deps = [
13 "//mojo/common:common_custom_types", 13 "//mojo/common:common_custom_types",
14 ] 14 ]
15 } 15 }
16 16
17 mojom("payment_app") { 17 mojom("payment_app") {
18 sources = [ 18 sources = [
19 "payment_app.mojom", 19 "payment_app.mojom",
20 ] 20 ]
21 21
22 public_deps = [ 22 public_deps = [
23 "//mojo/common:common_custom_types", 23 "//mojo/common:common_custom_types",
24 ] 24 ]
25 } 25 }
26 26
27 static_library("payment_request_impl") {
28 sources = [
29 "payment_request_delegate.h",
30 "payment_request_impl.cc",
31 "payment_request_impl.h",
32 "payment_request_web_contents_manager.cc",
33 "payment_request_web_contents_manager.h",
34 ]
35
36 deps = [
37 ":payment_request",
38 ":payment_validation",
39 "//content/public/browser",
sdefresne 2017/01/09 16:38:47 If components/payments/BUILD.gn is loaded on iOS t
40 "//mojo/public/cpp/bindings",
41 ]
42 }
43
27 static_library("payment_validation") { 44 static_library("payment_validation") {
28 sources = [ 45 sources = [
29 "payment_details_validation.cc", 46 "payment_details_validation.cc",
30 "payment_details_validation.h", 47 "payment_details_validation.h",
31 "payments_validators.cc", 48 "payments_validators.cc",
32 "payments_validators.h", 49 "payments_validators.h",
33 ] 50 ]
34 51
35 deps = [ 52 deps = [
36 ":payment_request", 53 ":payment_request",
37 "//base", 54 "//base",
38 "//third_party/re2:re2", 55 "//third_party/re2:re2",
39 "//url:url", 56 "//url:url",
40 ] 57 ]
41 } 58 }
42 59
43 static_library("unit_tests") { 60 static_library("unit_tests") {
44 testonly = true 61 testonly = true
45 sources = [ 62 sources = [
46 "payments_validators_test.cc", 63 "payments_validators_test.cc",
47 ] 64 ]
48 65
49 deps = [ 66 deps = [
50 ":payment_validation", 67 ":payment_validation",
51 "//testing/gtest", 68 "//testing/gtest",
52 ] 69 ]
53 } 70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698