summaryrefslogtreecommitdiffstats
path: root/media/media_lib.scons
blob: a5d26dd4fffae9c68fdef66bf6074c04c06ad3fb (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
# 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.ChromeStaticLibrary('media', input_files)