Add host_info step to new android bots.
[chromium-blink-merge.git] / media / media_nacl.gyp
blob39c832e0b6f3abc9987d3ed4d0583747cce4bf14
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             '../native_client/tools.gyp:prep_toolchain',
31           ],
32           'defines': [
33             'MEDIA_IMPLEMENTATION',
34           ],
35           'include_dirs': [
36             '..',
37           ],
38           'includes': [
39             'shared_memory_support.gypi',
40           ],
41           'sources': [
42             '<@(shared_memory_support_sources)',
43           ],
44         },  # end of target 'shared_memory_support_nacl'
45         {
46           'target_name': 'media_yuv_nacl',
47           'type': 'none',
48           'variables': {
49             'nlib_target': 'libmedia_yuv_nacl.a',
50             'build_glibc': 0,
51             'build_newlib': 0,
52             'build_pnacl_newlib': 1,
53           },
54           'dependencies': [
55             '../native_client/tools.gyp:prep_toolchain',
56           ],
57           'sources': [
58             'base/media.cc',
59             'base/media.h',
60             'base/media_stub.cc',
61             'base/simd/convert_rgb_to_yuv.h',
62             'base/simd/convert_rgb_to_yuv_c.cc',
63             'base/simd/convert_yuv_to_rgb.h',
64             'base/simd/convert_yuv_to_rgb_c.cc',
65             'base/simd/filter_yuv.h',
66             'base/simd/filter_yuv_c.cc',
67             'base/yuv_convert.cc',
68             'base/yuv_convert.h',
69           ],
70         },  # end of target 'media_yuv_nacl'
71       ],
72     }],
73   ],