| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 static_library("core") { | 5 static_library("core") { |
| 6 sources = [ | 6 sources = [ |
| 7 "bad_clock_ui.cc", | 7 "bad_clock_ui.cc", |
| 8 "bad_clock_ui.h", | 8 "bad_clock_ui.h", |
| 9 "common_string_util.cc", | 9 "common_string_util.cc", |
| 10 "common_string_util.h", | 10 "common_string_util.h", |
| 11 "controller_client.cc", | 11 "controller_client.cc", |
| 12 "controller_client.h", | 12 "controller_client.h", |
| 13 "metrics_helper.cc", | 13 "metrics_helper.cc", |
| 14 "metrics_helper.h", | 14 "metrics_helper.h", |
| 15 "ssl_error_ui.cc", | 15 "ssl_error_ui.cc", |
| 16 "ssl_error_ui.h", | 16 "ssl_error_ui.h", |
| 17 "unsafe_resource.cc", |
| 18 "unsafe_resource.h", |
| 17 ] | 19 ] |
| 18 | 20 |
| 19 deps = [ | 21 deps = [ |
| 20 "//base", | 22 "//base", |
| 21 "//base:i18n", | 23 "//base:i18n", |
| 22 "//components/google/core/browser", | 24 "//components/google/core/browser", |
| 23 "//components/history/core/browser", | 25 "//components/history/core/browser", |
| 24 "//components/metrics", | 26 "//components/metrics", |
| 25 "//components/prefs", | 27 "//components/prefs", |
| 26 "//components/rappor", | 28 "//components/rappor", |
| 29 "//components/safe_browsing_db:hit_report", |
| 30 "//components/safe_browsing_db:util", |
| 27 "//components/ssl_errors", | 31 "//components/ssl_errors", |
| 28 "//components/strings", | 32 "//components/strings", |
| 29 "//components/url_formatter", | 33 "//components/url_formatter", |
| 34 "//content/public/browser", |
| 30 "//net", | 35 "//net", |
| 31 "//ui/base", | 36 "//ui/base", |
| 32 ] | 37 ] |
| 38 |
| 39 if (is_ios) { |
| 40 sources -= [ |
| 41 "unsafe_resource.cc", |
| 42 "unsafe_resource.h", |
| 43 ] |
| 44 deps -= [ |
| 45 "//components/safe_browsing_db:hit_report", |
| 46 "//components/safe_browsing_db:util", |
| 47 "//content/public/browser", |
| 48 ] |
| 49 } |
| 33 } | 50 } |
| OLD | NEW |