OLD | NEW |
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 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 # Define an "os_include" variable that points at the OS-specific generated | 8 # Define an "os_include" variable that points at the OS-specific generated |
9 # headers. These were generated by running the configure script offline. | 9 # headers. These were generated by running the configure script offline. |
10 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 10 ['os_posix == 1 and OS != "mac"', { |
11 'os_include': 'linux' | 11 'os_include': 'linux' |
12 }], | 12 }], |
13 ['OS=="mac"', {'os_include': 'mac'}], | 13 ['OS=="mac"', {'os_include': 'mac'}], |
14 ['OS=="win"', {'os_include': 'win32'}], | 14 ['OS=="win"', {'os_include': 'win32'}], |
15 ], | 15 ], |
16 'use_system_libxml%': 0, | 16 'use_system_libxml%': 0, |
17 }, | 17 }, |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'snappy', | 20 'target_name': 'snappy', |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 ], | 57 ], |
58 }, | 58 }, |
59 ], | 59 ], |
60 } | 60 } |
61 | 61 |
62 # Local Variables: | 62 # Local Variables: |
63 # tab-width:2 | 63 # tab-width:2 |
64 # indent-tabs-mode:nil | 64 # indent-tabs-mode:nil |
65 # End: | 65 # End: |
66 # vim: set expandtab tabstop=2 shiftwidth=2: | 66 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |