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

Side by Side Diff: third_party/iccjpeg/iccjpeg.gyp

Issue 8598010: replace platform conditions with os_posix and os_bsd where applicable (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 9 years 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 (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'iccjpeg', 8 'target_name': 'iccjpeg',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
11 '<(libjpeg_gyp_path):libjpeg', 11 '<(libjpeg_gyp_path):libjpeg',
12 ], 12 ],
13 'sources': [ 13 'sources': [
14 'iccjpeg.c', 14 'iccjpeg.c',
15 'iccjpeg.h', 15 'iccjpeg.h',
16 ], 16 ],
17 'conditions': [ 17 'conditions': [
18 ['OS=="openbsd" and use_system_libjpeg==1', { 18 ['os_bsd==1 and use_system_libjpeg==1', {
19 'include_dirs': [ 19 'include_dirs': [
20 '/usr/local/include', 20 '/usr/local/include',
21 ], 21 ],
22 }], 22 }],
23 ], 23 ],
24 'direct_dependent_settings': { 24 'direct_dependent_settings': {
25 'include_dirs': [ 25 'include_dirs': [
26 '.', 26 '.',
27 ], 27 ],
28 }, 28 },
29 }, 29 },
30 ], 30 ],
31 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698