summaryrefslogtreecommitdiffstats
path: root/media/media_lib.scons
blob: ba044e6f041d21f2f4dc8c8824bc9f96c4449007 (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
# 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/media.cc',
]

if env['PLATFORM'] == 'win32':
  input_files.extend([
  ])

if env['PLATFORM'] == 'darwin':
  input_files.extend([
  ])

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

if env['PLATFORM'] in ('darwin', 'posix'):
  input_files.extend([
  ])

env.ChromeStaticLibrary('media', input_files)