summaryrefslogtreecommitdiffstats
path: root/media/media_lib.scons
blob: cb4969899eba7718663b9ffc06008790174dd261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

__doc__ = """
Configuration for building media.lib / libmedia.a.
"""

Import('env')

env_res = env.Clone()
env_tests = env.Clone()
env = env.Clone()

env.SConscript([
    '$ICU38_DIR/using_icu38.scons',
], {'env':env})

env.Prepend(
    CPPPATH = [
        '$CHROME_SRC_DIR',
    ],
)

# These net files work on *all* platforms; files that don't work
# cross-platform live below.
input_files = [
    'base/data_buffer.cc',
    'base/media_format.cc',
]

if env.Bit('windows'):
  input_files.extend([
  ])

if env.Bit('mac'):
  input_files.extend([
  ])

if env.Bit('linux'):
  input_files.extend([
  ])

if env.Bit('posix'):
  input_files.extend([
  ])

env.ChromeLibrary('media', input_files)

env.ChromeMSVSProject('$MEDIA_DIR/build/media.vcproj',
                guid='{6AE76406-B03B-11DD-94B1-80B556D89593}')