OLD | NEW |
---|---|
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 static_library("content") { | 7 static_library("content") { |
8 sources = [ | 8 sources = [ |
9 "payment_request.cc", | 9 "payment_request.cc", |
10 "payment_request.h", | 10 "payment_request.h", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
54 } | 54 } |
55 | 55 |
56 static_library("utils") { | 56 static_library("utils") { |
57 sources = [ | 57 sources = [ |
58 "payment_details_validation.cc", | 58 "payment_details_validation.cc", |
59 "payment_details_validation.h", | 59 "payment_details_validation.h", |
60 "payment_manifest_downloader.cc", | 60 "payment_manifest_downloader.cc", |
61 "payment_manifest_downloader.h", | 61 "payment_manifest_downloader.h", |
62 "payment_manifest_parser_host.cc", | 62 "payment_manifest_parser_host.cc", |
63 "payment_manifest_parser_host.h", | 63 "payment_manifest_parser_host.h", |
64 "payment_manifest_section_table.cc", | |
65 "payment_manifest_section_table.h", | |
64 "payments_validators.cc", | 66 "payments_validators.cc", |
65 "payments_validators.h", | 67 "payments_validators.h", |
66 ] | 68 ] |
67 | 69 |
68 deps = [ | 70 deps = [ |
69 ":mojom", | 71 ":mojom", |
70 ":mojom_parser", | 72 ":mojom_parser", |
71 "//base", | 73 "//base", |
72 "//components/autofill/core/browser", | 74 "//components/autofill/core/browser", |
73 "//components/data_use_measurement/core", | 75 "//components/data_use_measurement/core", |
74 "//components/link_header_util", | 76 "//components/link_header_util", |
75 "//components/payments/core", | 77 "//components/payments/core", |
76 "//components/strings", | 78 "//components/strings", |
79 "//components/webdata/common:common", | |
please use gerrit instead
2017/04/05 20:33:30
:common is redundant. Remove.
gogerald1
2017/04/05 23:38:48
common is not the only target in that gn, why it i
please use gerrit instead
2017/04/06 14:35:28
"//components/webdata/common:common" is equivalent
gogerald1
2017/04/06 16:42:09
common is the default target of //components/webda
| |
77 "//content/public/browser", | 80 "//content/public/browser", |
78 "//net", | 81 "//net", |
82 "//sql:sql", | |
please use gerrit instead
2017/04/05 20:33:30
:sql is redundant. Remove.
gogerald1
2017/04/05 23:38:48
ditto
| |
79 "//third_party/re2", | 83 "//third_party/re2", |
80 "//ui/base", | 84 "//ui/base", |
81 "//url", | 85 "//url", |
82 ] | 86 ] |
83 | 87 |
84 public_deps = [ | 88 public_deps = [ |
85 "//third_party/icu", | 89 "//third_party/icu", |
86 "//third_party/libaddressinput", | 90 "//third_party/libaddressinput", |
87 ] | 91 ] |
88 } | 92 } |
89 | 93 |
90 source_set("unit_tests") { | 94 source_set("unit_tests") { |
91 testonly = true | 95 testonly = true |
92 sources = [ | 96 sources = [ |
93 "payment_manifest_downloader_unittest.cc", | 97 "payment_manifest_downloader_unittest.cc", |
98 "payment_manifest_section_table_unittest.cc", | |
94 "payment_request_spec_unittest.cc", | 99 "payment_request_spec_unittest.cc", |
95 "payment_request_state_unittest.cc", | 100 "payment_request_state_unittest.cc", |
96 "payments_validators_unittest.cc", | 101 "payments_validators_unittest.cc", |
97 ] | 102 ] |
98 | 103 |
99 deps = [ | 104 deps = [ |
100 ":content", | 105 ":content", |
101 ":mojom", | 106 ":mojom", |
102 ":utils", | 107 ":utils", |
103 "//base", | 108 "//base", |
104 "//base/test:test_support", | 109 "//base/test:test_support", |
105 "//components/autofill/core/browser", | 110 "//components/autofill/core/browser", |
106 "//components/autofill/core/browser:test_support", | 111 "//components/autofill/core/browser:test_support", |
107 "//content/test:test_support", | 112 "//content/test:test_support", |
108 "//net:test_support", | 113 "//net:test_support", |
109 "//testing/gtest", | 114 "//testing/gtest", |
110 "//third_party/icu", | 115 "//third_party/icu", |
111 "//third_party/libaddressinput:test_support", | 116 "//third_party/libaddressinput:test_support", |
112 ] | 117 ] |
113 } | 118 } |
OLD | NEW |