| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 "//ios/web", | 59 "//ios/web", |
| 60 "//ios/web:core", | 60 "//ios/web:core", |
| 61 "//net", | 61 "//net", |
| 62 "//ui/base", | 62 "//ui/base", |
| 63 "//ui/gfx", | 63 "//ui/gfx", |
| 64 ] | 64 ] |
| 65 libs = [ "UIKit.framework" ] | 65 libs = [ "UIKit.framework" ] |
| 66 } | 66 } |
| 67 | 67 |
| 68 source_set("unit_tests") { | 68 source_set("unit_tests") { |
| 69 configs += [ "//build/config/compiler:enable_arc" ] |
| 69 testonly = true | 70 testonly = true |
| 70 sources = [ | 71 sources = [ |
| 71 "download_manager_controller_unittest.mm", | 72 "download_manager_controller_unittest.mm", |
| 72 ] | 73 ] |
| 73 deps = [ | 74 deps = [ |
| 74 ":downloads", | 75 ":downloads", |
| 75 "//base", | 76 "//base", |
| 76 "//ios/chrome/browser", | 77 "//ios/chrome/browser", |
| 77 "//ios/chrome/browser/store_kit", | 78 "//ios/chrome/browser/store_kit", |
| 78 "//ios/chrome/browser/web:test_support", | 79 "//ios/chrome/browser/web:test_support", |
| 79 "//ios/web:test_support", | 80 "//ios/web:test_support", |
| 80 "//net:test_support", | 81 "//net:test_support", |
| 81 "//testing/gtest", | 82 "//testing/gtest", |
| 82 "//third_party/ocmock:ocmock", | 83 "//third_party/ocmock:ocmock", |
| 83 ] | 84 ] |
| 84 } | 85 } |
| OLD | NEW |