| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("webp_transcode") { | 5 source_set("webp_transcode") { |
| 6 sources = [ | 6 sources = [ |
| 7 "webp_decoder.h", | 7 "webp_decoder.h", |
| 8 "webp_decoder.mm", | 8 "webp_decoder.mm", |
| 9 "webp_network_client.h", | |
| 10 "webp_network_client.mm", | |
| 11 "webp_network_client_factory.h", | |
| 12 "webp_network_client_factory.mm", | |
| 13 ] | 9 ] |
| 14 | 10 |
| 15 deps = [ | 11 deps = [ |
| 16 "//base", | 12 "//base", |
| 17 "//ios/net", | 13 "//ios/net", |
| 18 "//net", | 14 "//net", |
| 19 "//third_party/libwebp:libwebp_dec", | 15 "//third_party/libwebp:libwebp_dec", |
| 20 ] | 16 ] |
| 21 } | 17 } |
| 22 | 18 |
| 23 source_set("unit_tests") { | 19 source_set("unit_tests") { |
| 24 testonly = true | 20 testonly = true |
| 25 sources = [ | 21 sources = [ |
| 26 "webp_decoder_unittest.mm", | 22 "webp_decoder_unittest.mm", |
| 27 "webp_network_client_unittest.mm", | |
| 28 ] | 23 ] |
| 29 | 24 |
| 30 deps = [ | 25 deps = [ |
| 31 ":webp_transcode", | 26 ":webp_transcode", |
| 32 "//base", | 27 "//base", |
| 33 "//net", | 28 "//net", |
| 34 "//net:test_support", | 29 "//net:test_support", |
| 35 "//testing/gmock", | 30 "//testing/gmock", |
| 36 "//testing/gtest", | 31 "//testing/gtest", |
| 37 "//third_party/ocmock", | 32 "//third_party/ocmock", |
| 38 ] | 33 ] |
| 39 } | 34 } |
| OLD | NEW |