OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 ] | 9 ] |
10 deps = [ | 10 deps = [ |
11 "//base", | 11 "//base", |
12 "//third_party/libwebp:libwebp_dec", | 12 "//third_party/libwebp:libwebp_dec", |
13 ] | 13 ] |
14 } | 14 } |
15 | 15 |
16 source_set("unit_tests") { | 16 source_set("unit_tests") { |
| 17 configs += [ "//build/config/compiler:enable_arc" ] |
17 testonly = true | 18 testonly = true |
18 sources = [ | 19 sources = [ |
19 "webp_decoder_unittest.mm", | 20 "webp_decoder_unittest.mm", |
20 ] | 21 ] |
21 deps = [ | 22 deps = [ |
22 ":webp_transcode", | 23 ":webp_transcode", |
23 ":webp_transcode_unit_tests_bundle_data", | 24 ":webp_transcode_unit_tests_bundle_data", |
24 "//base", | 25 "//base", |
25 "//testing/gmock", | 26 "//testing/gmock", |
26 "//testing/gtest", | 27 "//testing/gtest", |
(...skipping 10 matching lines...) Expand all Loading... |
37 "//ios/chrome/test/data/webp_transcode/test_alpha.png", | 38 "//ios/chrome/test/data/webp_transcode/test_alpha.png", |
38 "//ios/chrome/test/data/webp_transcode/test_alpha.webp", | 39 "//ios/chrome/test/data/webp_transcode/test_alpha.webp", |
39 "//ios/chrome/test/data/webp_transcode/test_small.tiff", | 40 "//ios/chrome/test/data/webp_transcode/test_small.tiff", |
40 "//ios/chrome/test/data/webp_transcode/test_small.webp", | 41 "//ios/chrome/test/data/webp_transcode/test_small.webp", |
41 ] | 42 ] |
42 outputs = [ | 43 outputs = [ |
43 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + | 44 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + |
44 "{{source_file_part}}", | 45 "{{source_file_part}}", |
45 ] | 46 ] |
46 } | 47 } |
OLD | NEW |