diff options
Diffstat (limited to 'chromium/native_client/src/trusted/gio/gio_wrapped_desc_tests.gyp')
-rw-r--r-- | chromium/native_client/src/trusted/gio/gio_wrapped_desc_tests.gyp | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/chromium/native_client/src/trusted/gio/gio_wrapped_desc_tests.gyp b/chromium/native_client/src/trusted/gio/gio_wrapped_desc_tests.gyp new file mode 100644 index 00000000000..e0d071b728e --- /dev/null +++ b/chromium/native_client/src/trusted/gio/gio_wrapped_desc_tests.gyp @@ -0,0 +1,80 @@ +# -*- python -*- +# Copyright 2010 The Native Client Authors. All rights reserved. Use +# of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'conditions': [ + ['OS=="win"', { + 'msvs_cygwin_shell': 0, + }], + ], + }, + 'includes': [ + '../../../build/common.gypi', + ], + 'target_defaults': { + 'variables': { + 'target_base': 'none', + }, + 'target_conditions': [ + ['OS=="mac"', { + 'xcode_settings': { + 'GCC_ENABLE_CPP_RTTI': 'YES', # override -fno-rtti + }, + }], + ], + 'cflags_cc!': ['-fno-rtti'], + }, + 'targets': [ + { + 'target_name': 'gio_shm_test', + 'type': 'executable', + 'dependencies': [ + '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio', + '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_c', + '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', + '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc', + '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer', + '<(DEPTH)/native_client/src/trusted/gio/gio_wrapped_desc.gyp:gio_wrapped_desc', + '<(DEPTH)/native_client/src/trusted/nonnacl_util/nonnacl_util.gyp:nonnacl_util', + ], + 'sources': [ + 'gio_shm_test.c', + ], + }, + { + 'target_name': 'gio_shm_unbounded_test', + 'type': 'executable', + 'dependencies': [ + '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio', + '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_c', + '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', + '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc', + '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer', + '<(DEPTH)/native_client/src/trusted/gio/gio_wrapped_desc.gyp:gio_wrapped_desc', + '<(DEPTH)/native_client/src/trusted/nonnacl_util/nonnacl_util.gyp:nonnacl_util', + ], + 'sources': [ + 'gio_shm_unbounded_test.c', + ], + }, + { + 'target_name': 'gio_nacl_desc_test', + 'type': 'executable', + 'dependencies': [ + '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio', + '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_c', + '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', + '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc', + '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer', + '<(DEPTH)/native_client/src/trusted/gio/gio_wrapped_desc.gyp:gio_wrapped_desc', + '<(DEPTH)/native_client/src/trusted/nonnacl_util/nonnacl_util.gyp:nonnacl_util', + ], + 'sources': [ + 'gio_nacl_desc_test.c', + ], + }, + ], +} |