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 3 # found in the LICENSE file. 4 5 { 6 'includes': [ 7 'libwebm.gypi', 8 '../../native_client/build/untrusted.gypi', 9 ], 10 'targets': [ 11 { 12 'target_name': 'libwebm_nacl', 13 'type': 'none', 14 'variables': { 15 'nlib_target': 'libwebm_nacl.a', 16 'build_glibc': 0, 17 'build_newlib': 0, 18 'build_pnacl_newlib': 1, 19 }, 20 'dependencies': [ 21 '../../native_client/tools.gyp:prep_toolchain', 22 ], 23 'sources': [ 24 '<@(libwebm_sources)', 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 32 ] 33 } 34