Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: ios/web/public/image_fetcher/BUILD.gn

Issue 2699633006: Move WebpDecoder from ios/web to components/image_fetcher (Closed)
Patch Set: Separate header Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/public/image_fetcher/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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("image_fetcher") {
6 configs += [ "//build/config/compiler:enable_arc" ]
7 sources = [
8 "webp_decoder.h",
9 "webp_decoder.mm",
10 ]
11 deps = [
12 "//base",
13 "//third_party/libwebp:libwebp_dec",
14 ]
15 }
16
17 source_set("unit_tests") {
18 configs += [ "//build/config/compiler:enable_arc" ]
19 testonly = true
20 sources = [
21 "webp_decoder_unittest.mm",
22 ]
23 deps = [
24 ":image_fetcher",
25 ":webp_transcode_unit_tests_bundle_data",
26 "//base",
27 "//testing/gmock",
28 "//testing/gtest",
29 ]
30 libs = [ "CoreGraphics.framework" ]
31 }
32
33 bundle_data("webp_transcode_unit_tests_bundle_data") {
34 visibility = [ ":unit_tests" ]
35 testonly = true
36 sources = [
37 "//ios/web/test/data/webp_transcode/test.jpg",
38 "//ios/web/test/data/webp_transcode/test.webp",
39 "//ios/web/test/data/webp_transcode/test_alpha.png",
40 "//ios/web/test/data/webp_transcode/test_alpha.webp",
41 "//ios/web/test/data/webp_transcode/test_small.tiff",
42 "//ios/web/test/data/webp_transcode/test_small.webp",
43 ]
44 outputs = [
45 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" +
46 "{{source_file_part}}",
47 ]
48 }
OLDNEW
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/public/image_fetcher/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698