| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/common.gypi', | 10 '../build/common.gypi', |
| 11 ], | 11 ], |
| 12 'target_defaults': { | 12 'target_defaults': { |
| 13 'conditions': [ | 13 'conditions': [ |
| 14 ['OS!="linux"', {'sources/': [['exclude', '/linux/']]}], | 14 ['OS!="linux"', {'sources/': [['exclude', '/linux/']]}], |
| 15 ['OS!="freebsd"', {'sources/': [['exclude', '/freebsd/']]}], |
| 15 ['OS!="mac"', {'sources/': [['exclude', '/mac/']]}], | 16 ['OS!="mac"', {'sources/': [['exclude', '/mac/']]}], |
| 16 ['OS!="win"', {'sources/': [['exclude', '/win/']]}], | 17 ['OS!="win"', {'sources/': [['exclude', '/win/']]}], |
| 17 ], | 18 ], |
| 18 }, | 19 }, |
| 19 'targets': [ | 20 'targets': [ |
| 20 { | 21 { |
| 21 'target_name': 'media', | 22 'target_name': 'media', |
| 22 'type': '<(library)', | 23 'type': '<(library)', |
| 23 'dependencies': [ | 24 'dependencies': [ |
| 24 '../base/base.gyp:base', | 25 '../base/base.gyp:base', |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 'conditions': [ | 121 'conditions': [ |
| 121 ['OS =="linux"', { | 122 ['OS =="linux"', { |
| 122 'sources/': [ ['exclude', '_(mac|win)\\.cc$'], | 123 'sources/': [ ['exclude', '_(mac|win)\\.cc$'], |
| 123 ['exclude', '\\.mm?$' ] ], | 124 ['exclude', '\\.mm?$' ] ], |
| 124 'link_settings': { | 125 'link_settings': { |
| 125 'libraries': [ | 126 'libraries': [ |
| 126 '-lasound', | 127 '-lasound', |
| 127 ], | 128 ], |
| 128 }, | 129 }, |
| 129 }], | 130 }], |
| 131 ['OS =="freebsd"', { |
| 132 'sources/': [ ['exclude', '_(mac|win)\\.cc$'], |
| 133 ['exclude', '\\.mm?$' ] ], |
| 134 'link_settings': { |
| 135 'libraries': [ |
| 136 ], |
| 137 }, |
| 138 }], |
| 130 ['OS =="mac"', { | 139 ['OS =="mac"', { |
| 131 'link_settings': { | 140 'link_settings': { |
| 132 'libraries': [ | 141 'libraries': [ |
| 133 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 142 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
| 134 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', | 143 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', |
| 135 ], | 144 ], |
| 136 }, | 145 }, |
| 137 'sources/': [ ['exclude', '_(linux|win)\\.cc$'], | 146 'sources/': [ ['exclude', '_(linux|win)\\.cc$'], |
| 138 ], | 147 ], |
| 139 }], | 148 }], |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 'base/yuv_convert_unittest.cc', | 185 'base/yuv_convert_unittest.cc', |
| 177 'filters/audio_renderer_algorithm_ola_unittest.cc', | 186 'filters/audio_renderer_algorithm_ola_unittest.cc', |
| 178 'filters/audio_renderer_base_unittest.cc', | 187 'filters/audio_renderer_base_unittest.cc', |
| 179 'filters/ffmpeg_demuxer_unittest.cc', | 188 'filters/ffmpeg_demuxer_unittest.cc', |
| 180 'filters/ffmpeg_glue_unittest.cc', | 189 'filters/ffmpeg_glue_unittest.cc', |
| 181 'filters/ffmpeg_video_decoder_unittest.cc', | 190 'filters/ffmpeg_video_decoder_unittest.cc', |
| 182 'filters/file_data_source_unittest.cc', | 191 'filters/file_data_source_unittest.cc', |
| 183 'filters/video_renderer_base_unittest.cc', | 192 'filters/video_renderer_base_unittest.cc', |
| 184 ], | 193 ], |
| 185 'conditions': [ | 194 'conditions': [ |
| 186 ['OS=="linux"', { | 195 ['OS=="linux" or OS=="freebsd"', { |
| 187 'dependencies': [ | 196 'dependencies': [ |
| 188 # Needed for the following #include chain: | 197 # Needed for the following #include chain: |
| 189 # base/run_all_unittests.cc | 198 # base/run_all_unittests.cc |
| 190 # ../base/test_suite.h | 199 # ../base/test_suite.h |
| 191 # gtk/gtk.h | 200 # gtk/gtk.h |
| 192 '../build/linux/system.gyp:gtk', | 201 '../build/linux/system.gyp:gtk', |
| 193 ], | 202 ], |
| 194 }], | 203 }], |
| 195 ], | 204 ], |
| 196 }, | 205 }, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 }, | 273 }, |
| 265 }, | 274 }, |
| 266 'defines': [ | 275 'defines': [ |
| 267 '_CRT_SECURE_NO_WARNINGS=1', | 276 '_CRT_SECURE_NO_WARNINGS=1', |
| 268 ], | 277 ], |
| 269 }, | 278 }, |
| 270 ], | 279 ], |
| 271 }], | 280 }], |
| 272 ], | 281 ], |
| 273 } | 282 } |
| OLD | NEW |