| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'includes': [ | 6 'includes': [ |
| 7 'libwebm.gypi', | 7 'libwebm.gypi', |
| 8 '../../native_client/build/untrusted.gypi', | 8 '../../native_client/build/untrusted.gypi', |
| 9 ], | 9 ], |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 'target_name': 'libwebm_nacl', | 12 'target_name': 'libwebm_nacl', |
| 13 'type': 'none', | 13 'type': 'none', |
| 14 'variables': { | 14 'variables': { |
| 15 'nlib_target': 'libwebm_nacl.a', | 15 'nlib_target': 'libwebm_nacl.a', |
| 16 'build_glibc': 0, | 16 'build_glibc': 0, |
| 17 'build_newlib': 0, | 17 'build_newlib': 0, |
| 18 'build_pnacl_newlib': 1, | 18 'build_pnacl_newlib': 1, |
| 19 }, | 19 }, |
| 20 'dependencies': [ | 20 'dependencies': [ |
| 21 '../../native_client/tools.gyp:prep_toolchain', | 21 '../../native_client/tools.gyp:prep_toolchain', |
| 22 ], | 22 ], |
| 23 'sources': [ | 23 'sources': [ |
| 24 '<@(libwebm_sources)', | 24 '<@(libwebm_sources)', |
| 25 ], | 25 ], |
| 26 'defines': [ | |
| 27 # LLONG_MIN and UULONG_MAX are defined in newlib only for C++11. | |
| 28 'LLONG_MIN=LONG_LONG_MIN', | |
| 29 'ULLONG_MAX=ULONG_LONG_MAX', | |
| 30 ], | |
| 31 }, # target libwebm_nacl | 26 }, # target libwebm_nacl |
| 32 ] | 27 ] |
| 33 } | 28 } |
| OLD | NEW |