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

Side by Side Diff: ui/gfx/codec/BUILD.gn

Issue 2944633002: Use SkPngEncoder in gfx jpeg_codec (Closed)
Patch Set: Cast Created 3 years, 5 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 | « no previous file | ui/gfx/codec/jpeg_codec.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 component("codec") { 7 component("codec") {
8 sources = [ 8 sources = [
9 "codec_export.h", 9 "codec_export.h",
10 "jpeg_codec.cc", 10 "jpeg_codec.cc",
11 "jpeg_codec.h", 11 "jpeg_codec.h",
12 "png_codec.cc", 12 "png_codec.cc",
13 "png_codec.h", 13 "png_codec.h",
14 "vector_wstream.cc",
15 "vector_wstream.h",
14 ] 16 ]
15 17
16 deps = [ 18 deps = [
17 "//base", 19 "//base",
18 "//skia", 20 "//skia",
19 "//third_party/libpng", 21 "//third_party/libpng",
20 "//ui/gfx:geometry_skia", 22 "//ui/gfx:geometry_skia",
21 "//ui/gfx:gfx_export", 23 "//ui/gfx:gfx_export",
22 "//ui/gfx/geometry", 24 "//ui/gfx/geometry",
23 ] 25 ]
(...skipping 16 matching lines...) Expand all
40 deps += [ "//third_party/libjpeg" ] 42 deps += [ "//third_party/libjpeg" ]
41 } 43 }
42 44
43 if (is_win) { 45 if (is_win) {
44 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), 46 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()),
45 # which is uninteresting. 47 # which is uninteresting.
46 } 48 }
47 49
48 defines = [ "CODEC_IMPLEMENTATION" ] 50 defines = [ "CODEC_IMPLEMENTATION" ]
49 } 51 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/codec/jpeg_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698