| 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=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 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', |
| 21 'type': '<(library)', | 21 'type': 'static_library', |
| 22 'include_dirs': [ | 22 'include_dirs': [ |
| 23 '<(os_include)', | 23 '<(os_include)', |
| 24 'src', | 24 'src', |
| 25 ], | 25 ], |
| 26 'direct_dependent_settings': { | 26 'direct_dependent_settings': { |
| 27 'include_dirs': [ | 27 'include_dirs': [ |
| 28 '<(os_include)', | 28 '<(os_include)', |
| 29 'src', | 29 'src', |
| 30 ], | 30 ], |
| 31 }, | 31 }, |
| (...skipping 25 matching lines...) Expand all 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 |