Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 source_set("webp_transcode") { | |
| 6 sources = [ | |
| 7 "webp_decoder.h", | |
| 8 "webp_decoder.mm", | |
| 9 ] | |
| 10 deps = [ | |
| 11 "//base", | |
| 12 "//third_party/libwebp:libwebp_dec", | |
| 13 ] | |
| 14 } | |
| 15 | |
| 16 source_set("unit_tests") { | |
| 17 testonly = true | |
| 18 sources = [ | |
| 19 "webp_decoder_unittest.mm", | |
| 20 ] | |
| 21 deps = [ | |
| 22 ":webp_transcode", | |
| 23 ":webp_transcode_unit_tests_bundle_data", | |
| 24 "//base", | |
| 25 "//testing/gmock", | |
| 26 "//testing/gtest", | |
| 27 ] | |
| 28 libs = [ "CoreGraphics.framework" ] | |
| 29 } | |
| 30 | |
| 31 bundle_data("webp_transcode_unit_tests_bundle_data") { | |
| 32 visibility = [ ":unit_tests" ] | |
| 33 testonly = true | |
| 34 sources = [ | |
| 35 "//ios/chrome/test/data/webp_transcode/test.jpg", | |
|
rohitrao (ping after 24h)
2016/10/25 19:48:53
This part feels a little weird. Should this rule
sdefresne
2016/10/25 21:10:23
I have the same feeling, but I prefer having the b
| |
| 36 "//ios/chrome/test/data/webp_transcode/test.webp", | |
| 37 "//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_small.tiff", | |
| 40 "//ios/chrome/test/data/webp_transcode/test_small.webp", | |
| 41 ] | |
| 42 outputs = [ | |
| 43 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + | |
| 44 "{{source_file_part}}", | |
| 45 ] | |
| 46 } | |
| OLD | NEW |