# Copyright 2013 Lovell Fuller and others. # SPDX-License-Identifier: Apache-2.0 { 'variables': { 'OS': 'emscripten' }, 'target_defaults': { 'default_configuration': 'Release', 'type': 'executable', 'cflags': [ '-pthread', '-sDEFAULT_TO_CXX=0' ], 'cflags_cc': [ '-pthread' ], 'ldflags': [ '--js-library= JSON.stringify(path.relative(process.cwd(), x))).join(\' \')")' ], 'configurations': { 'Release': {} } } }