1 # Copyright (c) 2012 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 'variables': { 7 'chromium_code': 1, 8 }, 9 'includes': [ 10 '../native_client/build/untrusted.gypi', 11 ], 12 'conditions': [ 13 ['disable_nacl==0 and disable_nacl_untrusted==0', { 14 'targets': [ 15 { 16 'target_name': 'shared_memory_support_untrusted', 17 'type': 'none', 18 'variables': { 19 'nacl_untrusted_build': 1, 20 'nlib_target': 'libshared_memory_support_untrusted.a', 21 'build_glibc': 0, 22 'build_newlib': 0, 23 'build_irt': 1, 24 }, 25 'dependencies': [ 26 '../native_client/tools.gyp:prep_toolchain', 27 '../base/base_untrusted.gyp:base_untrusted', 28 ], 29 'defines': [ 30 'MEDIA_IMPLEMENTATION', 31 ], 32 'include_dirs': [ 33 '..', 34 ], 35 'includes': [ 36 'shared_memory_support.gypi', 37 ], 38 'sources': [ 39 '<@(shared_memory_support_sources)', 40 ], 41 }, 42 ], 43 }], 44 ], 45 } 46