Add helper method to determine the current application horizontal size classes.
[chromium-blink-merge.git] / media / media_nacl.gyp
blobf345376f658d8e7137f7cb5beb302f98c8855b62
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           'target_name': 'media_yuv_nacl',
46           'type': 'none',
47           'variables': {
48             'nlib_target': 'libmedia_yuv_nacl.a',
49             'build_glibc': 0,
50             'build_newlib': 0,
51             'build_pnacl_newlib': 1,
52           },
53           'sources': [
54             'base/media.cc',
55             'base/media.h',
56             'base/simd/convert_rgb_to_yuv.h',
57             'base/simd/convert_rgb_to_yuv_c.cc',
58             'base/simd/convert_yuv_to_rgb.h',
59             'base/simd/convert_yuv_to_rgb_c.cc',
60             'base/simd/filter_yuv.h',
61             'base/simd/filter_yuv_c.cc',
62             'base/yuv_convert.cc',
63             'base/yuv_convert.h',
64           ],
65           'defines': [
66             'MEDIA_DISABLE_FFMPEG',
67           ],
68         },  # end of target 'media_yuv_nacl'
69       ],
70     }],
71   ],