| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("ios") { | 5 source_set("ios") { |
| 6 sources = [ | 6 sources = [ |
| 7 "ios_image_data_fetcher_wrapper.h", | 7 "ios_image_data_fetcher_wrapper.h", |
| 8 "ios_image_data_fetcher_wrapper.mm", | 8 "ios_image_data_fetcher_wrapper.mm", |
| 9 "ios_image_decoder_impl.h", | 9 "ios_image_decoder_impl.h", |
| 10 "ios_image_decoder_impl.mm", | 10 "ios_image_decoder_impl.mm", |
| 11 "webp_decoder.h", | 11 "webp_decoder.h", |
| 12 "webp_decoder.mm", | 12 "webp_decoder.mm", |
| 13 ] | 13 ] |
| 14 deps = [ | 14 deps = [ |
| 15 "//base", | 15 "//base", |
| 16 "//components/image_fetcher/core", | 16 "//components/image_fetcher/core", |
| 17 "//ios/web", | 17 "//ios/web", |
| 18 "//net", | 18 "//net", |
| 19 "//third_party/libwebp:libwebp_dec", | 19 "//third_party/libwebp:libwebp_headers", |
| 20 "//ui/gfx", | 20 "//ui/gfx", |
| 21 ] | 21 ] |
| 22 configs += [ "//build/config/compiler:enable_arc" ] | 22 configs += [ "//build/config/compiler:enable_arc" ] |
| 23 } | 23 } |
| 24 | 24 |
| 25 source_set("unit_tests") { | 25 source_set("unit_tests") { |
| 26 testonly = true | 26 testonly = true |
| 27 sources = [ | 27 sources = [ |
| 28 "ios_image_data_fetcher_wrapper_unittest.mm", | 28 "ios_image_data_fetcher_wrapper_unittest.mm", |
| 29 "ios_image_decoder_impl_unittest.mm", | 29 "ios_image_decoder_impl_unittest.mm", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 51 "//components/test/data/webp_transcode/test_alpha.png", | 51 "//components/test/data/webp_transcode/test_alpha.png", |
| 52 "//components/test/data/webp_transcode/test_alpha.webp", | 52 "//components/test/data/webp_transcode/test_alpha.webp", |
| 53 "//components/test/data/webp_transcode/test_small.tiff", | 53 "//components/test/data/webp_transcode/test_small.tiff", |
| 54 "//components/test/data/webp_transcode/test_small.webp", | 54 "//components/test/data/webp_transcode/test_small.webp", |
| 55 ] | 55 ] |
| 56 outputs = [ | 56 outputs = [ |
| 57 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + | 57 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + |
| 58 "{{source_file_part}}", | 58 "{{source_file_part}}", |
| 59 ] | 59 ] |
| 60 } | 60 } |
| OLD | NEW |