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

Side by Side Diff: gyp/codec.gyp

Issue 1406153015: Remove dependencies on Android's forked decoder libraries (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixed images.gyp Created 5 years, 1 month 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
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # Copyright 2015 Google Inc. 5 # Copyright 2015 Google Inc.
6 # 6 #
7 # Use of this source code is governed by a BSD-style license that can be 7 # Use of this source code is governed by a BSD-style license that can be
8 # found in the LICENSE file. 8 # found in the LICENSE file.
9 9
10 # GYP file for codec project. 10 # GYP file for codec project.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 '../src/codec/SkSampledCodec.cpp', 51 '../src/codec/SkSampledCodec.cpp',
52 '../src/codec/SkSwizzler.cpp', 52 '../src/codec/SkSwizzler.cpp',
53 '../src/codec/SkWebpAdapterCodec.cpp', 53 '../src/codec/SkWebpAdapterCodec.cpp',
54 '../src/codec/SkWebpCodec.cpp', 54 '../src/codec/SkWebpCodec.cpp',
55 ], 55 ],
56 'direct_dependent_settings': { 56 'direct_dependent_settings': {
57 'include_dirs': [ 57 'include_dirs': [
58 '../include/codec', 58 '../include/codec',
59 ], 59 ],
60 }, 60 },
61 'defines': [
62 'TURBO_HAS_SKIP',
63 ],
61 'conditions': [ 64 'conditions': [
62 [ 'skia_android_framework == 1', 65 [ 'skia_android_framework == 1',
63 { 66 {
64 # TODO(djsollen): this is a temporary dependency until we can update 67 # TODO(djsollen): this is a temporary dependency until we can update
65 # the android framework to a more recent version of libpng. 68 # the android framework to a more recent version of libpng.
66 'dependencies': [ 69 'dependencies': [
67 'libpng.gyp:libpng', 70 'libpng.gyp:libpng',
71 'android_deps.gyp:libjpeg-turbo',
scroggo 2015/11/05 18:35:53 It's weird to me that we directly use libpng.gyp h
msarett 2015/11/05 22:13:25 Moving the decision out of this file.
68 ], 72 ],
69 # TODO(msarett): Add libjpeg-turbo to Android so we can compile SkJp egCodec 73 'export_dependent_settings': [
70 # for the framework. 74 'android_deps.gyp:libjpeg-turbo'
71 'sources!': [
72 '../src/codec/SkJpegCodec.cpp',
73 '../src/codec/SkJpegDecoderMgr.cpp',
74 '../src/codec/SkJpegUtility_codec.cpp',
75 ], 75 ],
76 }, { # !skia_android_framework 76 }, { # !skia_android_framework
77 'dependencies': [ 77 'dependencies': [
78 # TODO(msarett): Add libjpeg-turbo to Android so this can be a glo bal
79 # dependency.
80 'libjpeg-turbo.gyp:libjpeg-turbo', 78 'libjpeg-turbo.gyp:libjpeg-turbo',
81 'libpng.gyp:libpng_static', 79 'libpng.gyp:libpng_static',
scroggo 2015/11/05 18:35:53 Do we still need libpng_static? I thought it was o
msarett 2015/11/05 22:13:25 I think we're fine to include libpng now. I think
scroggo 2015/11/05 22:24:55 Oh, sorry, I didn't mean we should not build a sta
82 ], 80 ],
83 'export_dependent_settings': [ 81 'export_dependent_settings': [
84 'libjpeg-turbo.gyp:libjpeg-turbo', 82 'libjpeg-turbo.gyp:libjpeg-turbo',
85 ], 83 ],
86 'defines': [
87 'TURBO_HAS_SKIP',
88 ],
89 } 84 }
90 ] 85 ]
91 ] 86 ]
92 }, 87 },
93 ], 88 ],
94 } 89 }
OLDNEW
« no previous file with comments | « gyp/android_deps.gyp ('k') | gyp/common_conditions.gypi » ('j') | gyp/images.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698