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("native_app_launcher") { | 5 source_set("native_app_launcher") { |
6 sources = [ | 6 sources = [ |
7 "ios_appstore_ids.h", | 7 "ios_appstore_ids.h", |
8 "ios_appstore_ids.mm", | 8 "ios_appstore_ids.mm", |
9 "native_app_infobar_controller.h", | 9 "native_app_infobar_controller.h", |
10 "native_app_infobar_controller.mm", | 10 "native_app_infobar_controller.mm", |
11 "native_app_infobar_delegate.h", | 11 "native_app_infobar_delegate.h", |
12 "native_app_infobar_delegate.mm", | 12 "native_app_infobar_delegate.mm", |
13 "native_app_navigation_controller_protocol.h", | 13 "native_app_navigation_controller_protocol.h", |
14 ] | 14 ] |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
17 "//components/infobars/core", | 17 "//components/infobars/core", |
18 "//ios/chrome/app/strings", | 18 "//ios/chrome/app/strings", |
19 "//ios/chrome/browser/infobars", | 19 "//ios/chrome/browser/infobars", |
20 "//ios/public/provider/chrome/browser", | 20 "//ios/public/provider/chrome/browser", |
21 "//ios/public/provider/chrome/browser/native_app_launcher", | 21 "//ios/public/provider/chrome/browser/native_app_launcher", |
22 "//ios/public/provider/chrome/browser/ui", | 22 "//ios/public/provider/chrome/browser/ui", |
23 "//ui/base", | 23 "//ui/base", |
24 "//url", | 24 "//url", |
25 ] | 25 ] |
26 } | 26 } |
27 | 27 |
28 source_set("unit_tests") { | 28 source_set("unit_tests") { |
| 29 configs += [ "//build/config/compiler:enable_arc" ] |
29 testonly = true | 30 testonly = true |
30 sources = [ | 31 sources = [ |
31 "native_app_infobar_controller_unittest.mm", | 32 "native_app_infobar_controller_unittest.mm", |
32 "native_app_infobar_delegate_unittest.mm", | 33 "native_app_infobar_delegate_unittest.mm", |
33 ] | 34 ] |
34 deps = [ | 35 deps = [ |
35 ":native_app_launcher", | 36 ":native_app_launcher", |
36 "//base", | 37 "//base", |
37 "//base/test:test_support", | 38 "//base/test:test_support", |
38 "//components/infobars/core", | 39 "//components/infobars/core", |
39 "//ios/chrome/browser", | 40 "//ios/chrome/browser", |
40 "//ios/chrome/test:test_support", | 41 "//ios/chrome/test:test_support", |
41 "//ios/public/provider/chrome/browser", | 42 "//ios/public/provider/chrome/browser", |
42 "//ios/public/provider/chrome/browser:test_support", | 43 "//ios/public/provider/chrome/browser:test_support", |
43 "//ios/public/provider/chrome/browser/native_app_launcher", | 44 "//ios/public/provider/chrome/browser/native_app_launcher", |
44 "//ios/web", | 45 "//ios/web", |
45 "//ios/web:test_support", | 46 "//ios/web:test_support", |
46 "//net:test_support", | 47 "//net:test_support", |
47 "//testing/gmock", | 48 "//testing/gmock", |
48 "//testing/gtest", | 49 "//testing/gtest", |
49 "//url", | 50 "//url", |
50 ] | 51 ] |
51 } | 52 } |
OLD | NEW |