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 source_set("itunes_links") { | 5 source_set("itunes_links") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "itunes_links_observer.h", | 8 "itunes_links_observer.h", |
9 "itunes_links_observer.mm", | 9 "itunes_links_observer.mm", |
10 ] | 10 ] |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//ios/chrome/browser", | 13 "//ios/chrome/browser", |
14 "//ios/web", | 14 "//ios/web", |
15 "//url", | 15 "//url", |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 source_set("unit_tests") { | 19 source_set("unit_tests") { |
| 20 configs += [ "//build/config/compiler:enable_arc" ] |
20 testonly = true | 21 testonly = true |
21 sources = [ | 22 sources = [ |
22 "itunes_links_observer_unittest.mm", | 23 "itunes_links_observer_unittest.mm", |
23 ] | 24 ] |
24 deps = [ | 25 deps = [ |
25 ":itunes_links", | 26 ":itunes_links", |
26 "//base", | 27 "//base", |
27 "//ios/chrome/browser", | 28 "//ios/chrome/browser", |
28 "//ios/web:test_support", | 29 "//ios/web:test_support", |
29 "//testing/gtest", | 30 "//testing/gtest", |
30 "//third_party/ocmock", | 31 "//third_party/ocmock", |
31 "//url", | 32 "//url", |
32 ] | 33 ] |
33 } | 34 } |
OLD | NEW |