Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / media / media_nacl.gyp
blob595ee519da6243fed4afd268edb6d48b42ce1133
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.
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_nacl',
17           'type': 'none',
18           'variables': {
19             'nacl_untrusted_build': 1,
20             'nlib_target': 'libshared_memory_support_nacl.a',
21             'build_glibc': 0,
22             'build_newlib': 0,
23             'build_irt': 1,
24             'build_pnacl_newlib': 0,
25             'build_nonsfi_helper': 1,
26           },
27           'dependencies': [
28             '../base/base_nacl.gyp:base_nacl',
29             '../base/base_nacl.gyp:base_nacl_nonsfi',
30           ],
31           'defines': [
32             'MEDIA_IMPLEMENTATION',
33           ],
34           'include_dirs': [
35             '..',
36           ],
37           'includes': [
38             'shared_memory_support.gypi',
39           ],
40           'sources': [
41             '<@(shared_memory_support_sources)',
42           ],
43         },  # end of target 'shared_memory_support_nacl'
44       ],
45     }],
46   ],