| 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("open_from_clipboard") { | 5 static_library("open_from_clipboard") { |
| 6 sources = [ | 6 sources = [ |
| 7 "clipboard_recent_content.cc", | 7 "clipboard_recent_content.cc", |
| 8 "clipboard_recent_content.h", | 8 "clipboard_recent_content.h", |
| 9 "clipboard_recent_content_ios.h", | 9 "clipboard_recent_content_ios.h", |
| 10 "clipboard_recent_content_ios.mm", | 10 "clipboard_recent_content_ios.mm", |
| 11 ] | 11 ] |
| 12 | 12 |
| 13 if (!is_ios) { | 13 if (!is_ios) { |
| 14 sources += [ | 14 sources += [ |
| 15 "clipboard_recent_content_generic.cc", | 15 "clipboard_recent_content_generic.cc", |
| 16 "clipboard_recent_content_generic.h", | 16 "clipboard_recent_content_generic.h", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | 19 |
| 20 deps = [ | 20 deps = [ |
| 21 ":open_from_clipboard_impl", | 21 ":open_from_clipboard_impl", |
| 22 "//base", | 22 "//base", |
| 23 "//components/variations", |
| 23 "//net", | 24 "//net", |
| 24 "//ui/base:base", | 25 "//ui/base:base", |
| 25 "//url", | 26 "//url", |
| 26 ] | 27 ] |
| 27 } | 28 } |
| 28 | 29 |
| 29 # Helper classes used by "open_from_clipboard" target. These classes must have | 30 # Helper classes used by "open_from_clipboard" target. These classes must have |
| 30 # no dependencies on "//base:i18n". | 31 # no dependencies on "//base:i18n". |
| 31 source_set("open_from_clipboard_impl") { | 32 source_set("open_from_clipboard_impl") { |
| 32 sources = [ | 33 sources = [ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 69 |
| 69 deps = [ | 70 deps = [ |
| 70 ":open_from_clipboard", | 71 ":open_from_clipboard", |
| 71 ":open_from_clipboard_impl", | 72 ":open_from_clipboard_impl", |
| 72 "//base", | 73 "//base", |
| 73 "//testing/gtest", | 74 "//testing/gtest", |
| 74 "//ui/base:test_support", | 75 "//ui/base:test_support", |
| 75 "//url", | 76 "//url", |
| 76 ] | 77 ] |
| 77 } | 78 } |
| OLD | NEW |