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

Side by Side Diff: platform_tools/android/gyp/dependencies.gypi

Issue 1108013002: Make Skia for Android libjpeg use ashmem (Closed) Base URL: https://skia.googlesource.com/skia.git@jpeg-scanline
Patch Set: Moving README and LICENSE up one dir Created 5 years, 8 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 | platform_tools/android/third_party/ashmem/LICENSE » ('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 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 5
6 # This GYP file stores the dependencies necessary to build Skia on the Android 6 # This GYP file stores the dependencies necessary to build Skia on the Android
7 # platform. The OS doesn't provide many stable libraries as part of the 7 # platform. The OS doesn't provide many stable libraries as part of the
8 # distribution so we have to build a few of them ourselves. 8 # distribution so we have to build a few of them ourselves.
9 # 9 #
10 # NOTE: We tried adding the gyp file to the android/ directory at the root of 10 # NOTE: We tried adding the gyp file to the android/ directory at the root of
(...skipping 17 matching lines...) Expand all
28 }, 28 },
29 'sources': [ 29 'sources': [
30 '../third_party/cpufeatures/cpu-features.c', 30 '../third_party/cpufeatures/cpu-features.c',
31 '../third_party/cpufeatures/cpu-features.h', 31 '../third_party/cpufeatures/cpu-features.h',
32 ], 32 ],
33 'cflags': [ 33 'cflags': [
34 '-w', 34 '-w',
35 ], 35 ],
36 }, 36 },
37 { 37 {
38 'target_name': 'ashmem',
39 'type': 'static_library',
40 'sources': [
41 '../third_party/ashmem/cutils/ashmem.h',
42 '../third_party/ashmem/cutils/ashmem-dev.c'
43 ],
44 'direct_dependent_settings': {
45 'include_dirs': [
46 '../third_party/ashmem',
47 ]
48 },
49 },
50 {
38 'target_name': 'expat', 51 'target_name': 'expat',
39 'type': 'static_library', 52 'type': 'static_library',
40 'sources': [ 53 'sources': [
41 '../third_party/externals/expat/lib/xmlparse.c', 54 '../third_party/externals/expat/lib/xmlparse.c',
42 '../third_party/externals/expat/lib/xmlrole.c', 55 '../third_party/externals/expat/lib/xmlrole.c',
43 '../third_party/externals/expat/lib/xmltok.c', 56 '../third_party/externals/expat/lib/xmltok.c',
44 ], 57 ],
45 'include_dirs': [ 58 'include_dirs': [
46 '../third_party/externals/expat', 59 '../third_party/externals/expat',
47 '../third_party/externals/expat/lib', 60 '../third_party/externals/expat/lib',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 }, 108 },
96 'direct_dependent_settings': { 109 'direct_dependent_settings': {
97 'include_dirs': [ 110 'include_dirs': [
98 '../third_party/externals/png', 111 '../third_party/externals/png',
99 ], 112 ],
100 } 113 }
101 }, 114 },
102 { 115 {
103 'target_name': 'jpeg', 116 'target_name': 'jpeg',
104 'type': 'static_library', 117 'type': 'static_library',
118 'dependencies': [
119 'ashmem'
120 ],
105 'sources': [ 121 'sources': [
106 '../third_party/externals/jpeg/jcapimin.c', 122 '../third_party/externals/jpeg/jcapimin.c',
107 '../third_party/externals/jpeg/jcapistd.c', 123 '../third_party/externals/jpeg/jcapistd.c',
108 '../third_party/externals/jpeg/jccoefct.c', 124 '../third_party/externals/jpeg/jccoefct.c',
109 '../third_party/externals/jpeg/jccolor.c', 125 '../third_party/externals/jpeg/jccolor.c',
110 '../third_party/externals/jpeg/jcdctmgr.c', 126 '../third_party/externals/jpeg/jcdctmgr.c',
111 '../third_party/externals/jpeg/jchuff.c', 127 '../third_party/externals/jpeg/jchuff.c',
112 '../third_party/externals/jpeg/jcinit.c', 128 '../third_party/externals/jpeg/jcinit.c',
113 '../third_party/externals/jpeg/jcmainct.c', 129 '../third_party/externals/jpeg/jcmainct.c',
114 '../third_party/externals/jpeg/jcmarker.c', 130 '../third_party/externals/jpeg/jcmarker.c',
(...skipping 22 matching lines...) Expand all
137 '../third_party/externals/jpeg/jdsample.c', 153 '../third_party/externals/jpeg/jdsample.c',
138 '../third_party/externals/jpeg/jdtrans.c', 154 '../third_party/externals/jpeg/jdtrans.c',
139 '../third_party/externals/jpeg/jerror.c', 155 '../third_party/externals/jpeg/jerror.c',
140 '../third_party/externals/jpeg/jfdctflt.c', 156 '../third_party/externals/jpeg/jfdctflt.c',
141 '../third_party/externals/jpeg/jfdctfst.c', 157 '../third_party/externals/jpeg/jfdctfst.c',
142 '../third_party/externals/jpeg/jfdctint.c', 158 '../third_party/externals/jpeg/jfdctint.c',
143 '../third_party/externals/jpeg/jidctflt.c', 159 '../third_party/externals/jpeg/jidctflt.c',
144 '../third_party/externals/jpeg/jidctfst.c', 160 '../third_party/externals/jpeg/jidctfst.c',
145 '../third_party/externals/jpeg/jidctint.c', 161 '../third_party/externals/jpeg/jidctint.c',
146 '../third_party/externals/jpeg/jidctred.c', 162 '../third_party/externals/jpeg/jidctred.c',
147 '../third_party/externals/jpeg/jmem-android.c', 163 '../third_party/externals/jpeg/jmem-ashmem.c',
148 '../third_party/externals/jpeg/jmemmgr.c', 164 '../third_party/externals/jpeg/jmemmgr.c',
149 '../third_party/externals/jpeg/jquant1.c', 165 '../third_party/externals/jpeg/jquant1.c',
150 '../third_party/externals/jpeg/jquant2.c', 166 '../third_party/externals/jpeg/jquant2.c',
151 '../third_party/externals/jpeg/jutils.c', 167 '../third_party/externals/jpeg/jutils.c',
152 ], 168 ],
153 'conditions': [ 169 'conditions': [
154 [ 'arm_neon == 1 and skia_clang_build == 0', 170 [ 'arm_neon == 1 and skia_clang_build == 0',
155 { 171 {
156 'sources' : [ 172 'sources' : [
157 '../third_party/externals/jpeg/armv6_idct.S', 173 '../third_party/externals/jpeg/armv6_idct.S',
(...skipping 27 matching lines...) Expand all
185 }, 201 },
186 ], 202 ],
187 ], 203 ],
188 'include_dirs': [ 204 'include_dirs': [
189 '../third_party/externals/jpeg', 205 '../third_party/externals/jpeg',
190 ], 206 ],
191 'cflags': [ 207 'cflags': [
192 '-w', 208 '-w',
193 '-fvisibility=hidden', 209 '-fvisibility=hidden',
194 '-DAVOID_TABLES', 210 '-DAVOID_TABLES',
211 '-DUSE_ANDROID_ASHMEM',
195 '-O3', 212 '-O3',
196 '-fstrict-aliasing', 213 '-fstrict-aliasing',
197 '-fprefetch-loop-arrays', 214 '-fprefetch-loop-arrays',
198 '-DANDROID_TILE_BASED_DECODE', 215 '-DANDROID_TILE_BASED_DECODE',
199 ], 216 ],
200 'direct_dependent_settings': { 217 'direct_dependent_settings': {
201 'include_dirs': [ 218 'include_dirs': [
202 '../third_party/externals/jpeg', 219 '../third_party/externals/jpeg',
203 ], 220 ],
204 } 221 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 }], 271 }],
255 ], 272 ],
256 'sources': [ 273 'sources': [
257 '../app/jni/com_skia_SkiaSampleRenderer.cpp', 274 '../app/jni/com_skia_SkiaSampleRenderer.cpp',
258 ], 275 ],
259 }, 276 },
260 277
261 }, 278 },
262 ] 279 ]
263 } 280 }
OLDNEW
« no previous file with comments | « no previous file | platform_tools/android/third_party/ashmem/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698