| 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_dec", |
| 20 "//third_party/libwebp:libwebp_webp", |
| 20 "//ui/gfx", | 21 "//ui/gfx", |
| 21 ] | 22 ] |
| 22 configs += [ "//build/config/compiler:enable_arc" ] | 23 configs += [ "//build/config/compiler:enable_arc" ] |
| 23 } | 24 } |
| 24 | 25 |
| 25 source_set("unit_tests") { | 26 source_set("unit_tests") { |
| 26 testonly = true | 27 testonly = true |
| 27 sources = [ | 28 sources = [ |
| 28 "ios_image_data_fetcher_wrapper_unittest.mm", | 29 "ios_image_data_fetcher_wrapper_unittest.mm", |
| 29 "ios_image_decoder_impl_unittest.mm", | 30 "ios_image_decoder_impl_unittest.mm", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 51 "//components/test/data/webp_transcode/test_alpha.png", | 52 "//components/test/data/webp_transcode/test_alpha.png", |
| 52 "//components/test/data/webp_transcode/test_alpha.webp", | 53 "//components/test/data/webp_transcode/test_alpha.webp", |
| 53 "//components/test/data/webp_transcode/test_small.tiff", | 54 "//components/test/data/webp_transcode/test_small.tiff", |
| 54 "//components/test/data/webp_transcode/test_small.webp", | 55 "//components/test/data/webp_transcode/test_small.webp", |
| 55 ] | 56 ] |
| 56 outputs = [ | 57 outputs = [ |
| 57 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + | 58 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + |
| 58 "{{source_file_part}}", | 59 "{{source_file_part}}", |
| 59 ] | 60 ] |
| 60 } | 61 } |
| OLD | NEW |