summaryrefslogtreecommitdiffstats
path: root/media/media_lib.scons
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 19:10:21 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 19:10:21 +0000
commita02ff58019cc94efe054751468944ccd5b0ab457 (patch)
treeac10286e54f395e6c02f95138f5304a7324d6e8d /media/media_lib.scons
parent322f7f7005061fee5e3b691e6aee318ea93a7eb8 (diff)
downloadchromium_src-a02ff58019cc94efe054751468944ccd5b0ab457.zip
chromium_src-a02ff58019cc94efe054751468944ccd5b0ab457.tar.gz
chromium_src-a02ff58019cc94efe054751468944ccd5b0ab457.tar.bz2
Recommit of media project files due to a mistake in media_unittest.vcproj
that worked in Visual Studio but broke on IncrediBuild. Also updated to include dmg_fp dependency. Trying ONE MORE TIME because I think gcl breaks with "A +" files (I used "svn merge -c REV ." to un-rollback my change). Original: http://codereview.chromium.org/10683 Rollback: http://codereview.chromium.org/10908 Review URL: http://codereview.chromium.org/10733 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media_lib.scons')
-rw-r--r--media/media_lib.scons46
1 files changed, 46 insertions, 0 deletions
diff --git a/media/media_lib.scons b/media/media_lib.scons
new file mode 100644
index 0000000..de42fed
--- /dev/null
+++ b/media/media_lib.scons
@@ -0,0 +1,46 @@
+# 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 = [
+]
+
+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)