OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 source_set("password_protection") { | 5 source_set("password_protection") { |
6 sources = [ | 6 if (!is_android && !is_ios) { |
7 "password_protection_request.cc", | 7 sources = [ |
8 "password_protection_request.h", | 8 "password_protection_request.cc", |
9 "password_protection_service.cc", | 9 "password_protection_request.h", |
10 "password_protection_service.h", | 10 "password_protection_service.cc", |
11 ] | 11 "password_protection_service.h", |
| 12 ] |
12 | 13 |
13 public_deps = [ | 14 public_deps = [ |
14 "//google_apis:google_apis", | 15 "//google_apis:google_apis", |
15 ] | 16 ] |
16 | 17 |
17 deps = [ | 18 deps = [ |
18 "//base:base", | 19 "//base:base", |
19 "//components/content_settings/core/browser:browser", | 20 "//components/content_settings/core/browser:browser", |
20 "//components/data_use_measurement/core:core", | 21 "//components/data_use_measurement/core:core", |
21 "//components/history/core/browser:browser", | 22 "//components/history/core/browser:browser", |
22 "//components/safe_browsing:csd_proto", | 23 "//components/password_manager/core/browser:browser", |
23 "//components/safe_browsing_db:database_manager", | 24 "//components/safe_browsing:csd_proto", |
24 "//components/safe_browsing_db:v4_protocol_manager_util", | 25 "//components/safe_browsing_db:database_manager", |
25 "//content/public/browser:browser", | 26 "//components/safe_browsing_db:v4_protocol_manager_util", |
26 "//net:net", | 27 "//content/public/browser:browser", |
27 "//third_party/protobuf:protobuf_lite", | 28 "//net:net", |
28 ] | 29 "//third_party/protobuf:protobuf_lite", |
| 30 ] |
| 31 } |
29 } | 32 } |
30 | 33 |
31 source_set("password_protection_unittest") { | 34 source_set("password_protection_unittest") { |
32 testonly = true | 35 testonly = true |
33 sources = [ | 36 if (!is_android && !is_ios) { |
34 "password_protection_service_unittest.cc", | 37 sources = [ |
35 ] | 38 "password_protection_service_unittest.cc", |
36 deps = [ | 39 ] |
37 ":password_protection", | 40 deps = [ |
38 "//base", | 41 ":password_protection", |
39 "//base/test:test_support", | 42 "//base", |
40 "//components/content_settings/core/browser:browser", | 43 "//base/test:test_support", |
41 "//components/history/core/browser:browser", | 44 "//components/content_settings/core/browser:browser", |
42 "//components/safe_browsing_db:test_database_manager", | 45 "//components/history/core/browser:browser", |
43 "//components/sync_preferences:test_support", | 46 "//components/password_manager/core/browser:browser", |
44 "//content/test:test_support", | 47 "//components/safe_browsing_db:test_database_manager", |
45 "//net:test_support", | 48 "//components/sync_preferences:test_support", |
46 "//testing/gmock", | 49 "//content/test:test_support", |
47 "//testing/gtest", | 50 "//net:test_support", |
48 "//third_party/protobuf:protobuf_lite", | 51 "//testing/gmock", |
49 ] | 52 "//testing/gtest", |
| 53 "//third_party/protobuf:protobuf_lite", |
| 54 ] |
| 55 } |
50 } | 56 } |
OLD | NEW |