Chromium Code Reviews| Index: components/image_fetcher/ios/BUILD.gn |
| diff --git a/components/image_fetcher/ios/BUILD.gn b/components/image_fetcher/ios/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d21355e0b1ccfe8242b54f25a9ae1f0fa135e492 |
| --- /dev/null |
| +++ b/components/image_fetcher/ios/BUILD.gn |
| @@ -0,0 +1,34 @@ |
| +# Copyright 2017 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +source_set("ios") { |
| + configs += [ "//build/config/compiler:enable_arc" ] |
|
sdefresne
2017/02/02 10:42:05
nit: please move the "configs" line at the bottom
gambard
2017/02/02 11:57:02
Done.
|
| + sources = [ |
| + "ios_image_data_fetcher_wrapper.h", |
| + "ios_image_data_fetcher_wrapper.mm", |
| + ] |
| + deps = [ |
| + "//base", |
| + "//components/image_fetcher", |
| + "//ios/web/public/image_fetcher", |
| + "//net", |
| + ] |
| +} |
| + |
| +source_set("unit_tests") { |
| + configs += [ "//build/config/compiler:enable_arc" ] |
|
sdefresne
2017/02/02 10:42:05
ditto
gambard
2017/02/02 11:57:02
Done.
|
| + testonly = true |
| + sources = [ |
| + "ios_image_data_fetcher_wrapper_unittest.mm", |
| + ] |
| + deps = [ |
| + ":ios", |
| + "//base", |
| + "//ios/web/public/image_fetcher", |
| + "//net", |
| + "//net:test_support", |
| + "//testing/gmock", |
| + "//testing/gtest", |
| + ] |
| +} |