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

Side by Side Diff: gyp/dng_sdk.gyp

Issue 1630723003: Fix gyp files so that gyp_to_Android.mk succeeds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | « gyp/android_deps.gyp ('k') | gyp/piex.gyp » ('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 2016 Google Inc. 1 # Copyright 2016 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 # The Adobe DNG SDK, an API for reading and writing DNG files. 5 # The Adobe DNG SDK, an API for reading and writing DNG files.
6 { 6 {
7 'targets': [{ 7 'targets': [{
8 'target_name': 'dng_sdk-selector', 8 'target_name': 'dng_sdk-selector',
9 'type': 'none', 9 'type': 'none',
10 'conditions': [ 10 'conditions': [
11 [ 'skia_android_framework', { 11 [ 'skia_android_framework', {
12 'dependencies': [ 'android_deps.gyp:dng_sdk' ], 12 'dependencies': [ 'android_deps.gyp:libdng_sdk' ],
msarett 2016/01/25 19:24:39 Targets cannot have the same name.
13 'export_dependent_settings': [ 'android_deps.gyp:dng_sdk' ], 13 'export_dependent_settings': [ 'android_deps.gyp:libdng_sdk' ],
14 }, { 14 }, {
15 'dependencies': [ 'dng_sdk' ], 15 'dependencies': [ 'dng_sdk.gyp:dng_sdk' ],
16 'export_dependent_settings': [ 'dng_sdk' ], 16 'export_dependent_settings': [ 'dng_sdk.gyp:dng_sdk' ],
17 }] 17 }]
18 ] 18 ]
19 },{ 19 },{
20 'target_name': 'dng_sdk', 20 'target_name': 'dng_sdk',
21 'type': 'static_library', 21 'type': 'static_library',
22 'cflags_cc': [ '-fexceptions' ], 22 'cflags_cc': [ '-fexceptions' ],
23 'cflags': [ 23 'cflags': [
24 '-fexceptions', 24 '-fexceptions',
25 '-w', 25 '-w',
26 # FIXME: only disable ::posix_memalign() when needed. 26 # FIXME: only disable ::posix_memalign() when needed.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 '../third_party/externals/dng_sdk/source/dng_types.h', 124 '../third_party/externals/dng_sdk/source/dng_types.h',
125 '../third_party/externals/dng_sdk/source/dng_uncopyable.h', 125 '../third_party/externals/dng_sdk/source/dng_uncopyable.h',
126 '../third_party/externals/dng_sdk/source/dng_utils.h', 126 '../third_party/externals/dng_sdk/source/dng_utils.h',
127 '../third_party/externals/dng_sdk/source/dng_xy_coord.h', 127 '../third_party/externals/dng_sdk/source/dng_xy_coord.h',
128 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.h', 128 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.h',
129 '../third_party/externals/dng_sdk/source/dng_jpeglib.h', 129 '../third_party/externals/dng_sdk/source/dng_jpeglib.h',
130 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.h', 130 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.h',
131 ], 131 ],
132 }, 132 },
133 'dependencies': [ 133 'dependencies': [
134 'libjpeg-turbo.gyp:libjpeg-turbo', 134 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
135 'zlib.gyp:zlib', 135 'zlib.gyp:zlib',
136 ], 136 ],
137 'export_dependent_settings': [ 137 'export_dependent_settings': [
138 'libjpeg-turbo.gyp:libjpeg-turbo', 138 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
msarett 2016/01/25 19:24:39 Need to include the selector.
scroggo 2016/01/26 13:28:58 I'm surprised - I thought this was okay because th
msarett 2016/01/26 14:30:41 Yeah this *should* be ok. AFAICT, the issue is th
139 'zlib.gyp:zlib', 139 'zlib.gyp:zlib',
140 ], 140 ],
141 'direct_dependent_settings': { 141 'direct_dependent_settings': {
142 'sources': [ 142 'sources': [
143 '../third_party/externals/dng_sdk/source/dng_1d_function.cpp', 143 '../third_party/externals/dng_sdk/source/dng_1d_function.cpp',
144 '../third_party/externals/dng_sdk/source/dng_1d_table.cpp', 144 '../third_party/externals/dng_sdk/source/dng_1d_table.cpp',
145 '../third_party/externals/dng_sdk/source/dng_abort_sniffer.cpp', 145 '../third_party/externals/dng_sdk/source/dng_abort_sniffer.cpp',
146 '../third_party/externals/dng_sdk/source/dng_area_task.cpp', 146 '../third_party/externals/dng_sdk/source/dng_area_task.cpp',
147 '../third_party/externals/dng_sdk/source/dng_bad_pixels.cpp', 147 '../third_party/externals/dng_sdk/source/dng_bad_pixels.cpp',
148 '../third_party/externals/dng_sdk/source/dng_bottlenecks.cpp', 148 '../third_party/externals/dng_sdk/source/dng_bottlenecks.cpp',
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 ], 273 ],
274 }, 274 },
275 }, { 275 }, {
276 'target_name': 'dng_frame_larger_than_flags', 276 'target_name': 'dng_frame_larger_than_flags',
277 'type': 'none', 277 'type': 'none',
278 'direct_dependent_settings': { 278 'direct_dependent_settings': {
279 'cflags': ['-Wframe-larger-than=20000'], 279 'cflags': ['-Wframe-larger-than=20000'],
280 }, 280 },
281 }], 281 }],
282 } 282 }
OLDNEW
« no previous file with comments | « gyp/android_deps.gyp ('k') | gyp/piex.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698