Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1127)

Unified Diff: media/media.gyp

Issue 7055003: Last gyp patch for cross-platform Unix support (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « jingle/jingle.gyp ('k') | net/net.gyp » ('j') | printing/printing.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media.gyp
diff --git a/media/media.gyp b/media/media.gyp
index 9b6b1959d684d42dd3284affe4c6d8e9c3e25f0c..384fee8ba30ae53173721de9a1ef7f1511dc8d50 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -206,7 +206,7 @@
'video/mft_h264_decode_engine.h',
],
}],
- ['OS=="linux" or OS=="freebsd"', {
+ ['OS == "linux" or OS == "freebsd" or OS == "solaris"', {
'link_settings': {
'libraries': [
'-lasound',
@@ -228,7 +228,7 @@
'audio/openbsd/audio_manager_openbsd.h',
],
}],
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
+ ['os_posix == 1 and OS != "mac"', {
'sources': [
'filters/omx_video_decoder.cc',
'filters/omx_video_decoder.h',
@@ -237,7 +237,7 @@
'omx_wrapper',
]
}],
- ['OS=="linux"', {
+ ['os_posix == 1 and OS != "mac"', {
'sources!': [
'video/capture/video_capture_device_dummy.cc',
'video/capture/video_capture_device_dummy.h',
@@ -310,7 +310,7 @@
'..',
],
'conditions': [
- [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
+ [ 'os_posix == 1 and OS != "mac"', {
'cflags': [
'-msse2',
],
@@ -337,7 +337,7 @@
'ffmpeg/ffmpeg_unittest.cc',
],
'conditions': [
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ ['toolkit_uses_gtk == 1', {
'dependencies': [
# Needed for the following #include chain:
# base/run_all_unittests.cc
@@ -422,7 +422,7 @@
'video/ffmpeg_video_decode_engine_unittest.cc',
],
'conditions': [
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ ['toolkit_uses_gtk == 1', {
'dependencies': [
# Needed for the following #include chain:
# base/run_all_unittests.cc
@@ -625,7 +625,7 @@
'tools/shader_bench/window.h',
],
'conditions': [
- ['OS=="linux"', {
+ ['toolkit_uses_gtk == 1', {
'dependencies': [
'../build/linux/system.gyp:gtk',
],
@@ -665,7 +665,7 @@
},
],
}],
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
+ ['os_posix == 1 and OS != "mac"', {
'targets': [
{
'target_name': 'omx_test',
@@ -697,7 +697,7 @@
'../testing/gtest.gyp:gtest',
],
'conditions': [
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ ['toolkit_uses_gtk == 1', {
'dependencies': [
'../build/linux/system.gyp:gtk',
],
« no previous file with comments | « jingle/jingle.gyp ('k') | net/net.gyp » ('j') | printing/printing.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698