| 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..c5c1705d31a47f815573faf4614674a2e5b4810c
|
| --- /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") {
|
| + sources = [
|
| + "ios_image_data_fetcher_wrapper.h",
|
| + "ios_image_data_fetcher_wrapper.mm",
|
| + ]
|
| + deps = [
|
| + "//base",
|
| + "//components/image_fetcher",
|
| + "//ios/web/public/image_fetcher",
|
| + "//net",
|
| + ]
|
| + configs += [ "//build/config/compiler:enable_arc" ]
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + 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",
|
| + ]
|
| + configs += [ "//build/config/compiler:enable_arc" ]
|
| +}
|
|
|