aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_ffmpeg_chromium_scripts_generate__gyp.py
blob: e77bf709f5fb522ea12e431c38dd62d5f762a5c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- third_party/ffmpeg/chromium/scripts/generate_gyp.py.orig	2016-05-11 19:03:23 UTC
+++ third_party/ffmpeg/chromium/scripts/generate_gyp.py
@@ -43,6 +43,8 @@ import sys
 COPYRIGHT = """# Copyright %d 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.
+#
+# modified: cmt@burggraben.net
 
 # NOTE: this file is autogenerated by ffmpeg/chromium/scripts/generate_gyp.py
 
@@ -372,6 +374,8 @@ class SourceSet(object):
 
       if condition.PLATFORM == '*':
         platform_condition = None
+      elif condition.PLATFORM == 'linux':
+        platform_condition = '(OS == "%s" or os_bsd == 1)' % condition.PLATFORM
       else:
         platform_condition = 'OS == "%s"' % condition.PLATFORM