| 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_generic.cc", |
| 10 "clipboard_recent_content_generic.h", |
| 9 "clipboard_recent_content_ios.h", | 11 "clipboard_recent_content_ios.h", |
| 10 "clipboard_recent_content_ios.mm", | 12 "clipboard_recent_content_ios.mm", |
| 11 ] | 13 ] |
| 12 | 14 |
| 13 deps = [ | 15 deps = [ |
| 14 "//base", | 16 "//base", |
| 15 "//url", | 17 "//url", |
| 16 ] | 18 ] |
| 17 } | 19 } |
| 18 | 20 |
| 19 static_library("test_support") { | 21 static_library("test_support") { |
| 20 testonly = true | 22 testonly = true |
| 21 sources = [ | 23 sources = [ |
| 22 "fake_clipboard_recent_content.cc", | 24 "fake_clipboard_recent_content.cc", |
| 23 "fake_clipboard_recent_content.h", | 25 "fake_clipboard_recent_content.h", |
| 24 ] | 26 ] |
| 25 | 27 |
| 26 deps = [ | 28 deps = [ |
| 27 ":open_from_clipboard", | 29 ":open_from_clipboard", |
| 28 "//base", | 30 "//base", |
| 29 "//url", | 31 "//url", |
| 30 ] | 32 ] |
| 31 } | 33 } |
| 32 | 34 |
| 33 source_set("unit_tests") { | 35 source_set("unit_tests") { |
| 34 testonly = true | 36 testonly = true |
| 35 sources = [ | 37 sources = [ |
| 38 "clipboard_recent_content_generic_unittest.cc", |
| 36 "clipboard_recent_content_ios_unittest.mm", | 39 "clipboard_recent_content_ios_unittest.mm", |
| 37 ] | 40 ] |
| 38 | 41 |
| 39 deps = [ | 42 deps = [ |
| 40 ":open_from_clipboard", | 43 ":open_from_clipboard", |
| 41 "//base", | 44 "//base", |
| 42 "//testing/gtest", | 45 "//testing/gtest", |
| 46 "//ui/base", |
| 43 ] | 47 ] |
| 44 } | 48 } |
| OLD | NEW |