[Sync] Update owners files
[chromium-blink-merge.git] / media / media_nacl.gyp
blob2dd4bf9863e741d300f6a2f43f214f22c49a2d8d
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           },
25           'dependencies': [
26             '../native_client/tools.gyp:prep_toolchain',
27             '../base/base_nacl.gyp:base_nacl',
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         },  # end of target 'shared_memory_support_nacl'
42         {
43           'target_name': 'media_yuv_nacl',
44           'type': 'none',
45           'variables': {
46             'nlib_target': 'libmedia_yuv_nacl.a',
47             'build_glibc': 0,
48             'build_newlib': 0,
49             'build_pnacl_newlib': 1,
50           },
51           'dependencies': [
52             '../native_client/tools.gyp:prep_toolchain',
53           ],
54           'sources': [
55             'base/media.cc',
56             'base/media.h',
57             'base/media_stub.cc',
58             'base/simd/convert_rgb_to_yuv.h',
59             'base/simd/convert_rgb_to_yuv_c.cc',
60             'base/simd/convert_yuv_to_rgb.h',
61             'base/simd/convert_yuv_to_rgb_c.cc',
62             'base/simd/filter_yuv.h',
63             'base/simd/filter_yuv_c.cc',
64             'base/simd/yuv_to_rgb_table.cc',
65             'base/simd/yuv_to_rgb_table.h',
66             'base/yuv_convert.cc',
67             'base/yuv_convert.h',
68           ],
69         },  # end of target 'media_yuv_nacl'
70       ],
71     }],
72   ],