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 import("//build/config/ios/rules.gni") | 5 import("//build/config/ios/rules.gni") |
6 | 6 |
7 bundle_data("assets") { | 7 bundle_data("assets") { |
8 sources = [ | 8 sources = [ |
9 "resources/download_manager_assets.xcassets/Contents.json", | 9 "resources/download_manager_assets.xcassets/Contents.json", |
10 "resources/download_manager_assets.xcassets/error_icon.imageset/Contents.jso
n", | 10 "resources/download_manager_assets.xcassets/error_icon.imageset/Contents.jso
n", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 "//ios/web", | 58 "//ios/web", |
59 "//ios/web:core", | 59 "//ios/web:core", |
60 "//net", | 60 "//net", |
61 "//ui/base", | 61 "//ui/base", |
62 "//ui/gfx", | 62 "//ui/gfx", |
63 ] | 63 ] |
64 libs = [ "UIKit.framework" ] | 64 libs = [ "UIKit.framework" ] |
65 } | 65 } |
66 | 66 |
67 source_set("unit_tests") { | 67 source_set("unit_tests") { |
| 68 configs += [ "//build/config/compiler:enable_arc" ] |
68 testonly = true | 69 testonly = true |
69 sources = [ | 70 sources = [ |
70 "download_manager_controller_unittest.mm", | 71 "download_manager_controller_unittest.mm", |
71 ] | 72 ] |
72 deps = [ | 73 deps = [ |
73 ":downloads", | 74 ":downloads", |
74 "//base", | 75 "//base", |
75 "//ios/chrome/browser", | 76 "//ios/chrome/browser", |
76 "//ios/web:test_support", | 77 "//ios/web:test_support", |
77 "//net:test_support", | 78 "//net:test_support", |
78 "//testing/gtest", | 79 "//testing/gtest", |
79 ] | 80 ] |
80 } | 81 } |
OLD | NEW |