OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'player_x11_renderer%': 'x11', | 8 'player_x11_renderer%': 'x11', |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 'type': 'static_library', | 308 'type': 'static_library', |
309 'include_dirs': [ | 309 'include_dirs': [ |
310 '..', | 310 '..', |
311 ], | 311 ], |
312 'conditions': [ | 312 'conditions': [ |
313 [ 'os_posix == 1 and OS != "mac"', { | 313 [ 'os_posix == 1 and OS != "mac"', { |
314 'cflags': [ | 314 'cflags': [ |
315 '-msse2', | 315 '-msse2', |
316 ], | 316 ], |
317 }], | 317 }], |
| 318 [ 'OS == "mac"', { |
| 319 'configurations': { |
| 320 'Debug': { |
| 321 'xcode_settings': { |
| 322 # gcc on the mac builds horribly unoptimized sse code in debug |
| 323 # mode. Since this is rarely going to be debugged, run with full |
| 324 # optimizations in Debug as well as Release. |
| 325 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 |
| 326 }, |
| 327 }, |
| 328 }, |
| 329 }], |
318 ], | 330 ], |
319 'sources': [ | 331 'sources': [ |
320 'base/yuv_convert_sse2.cc', | 332 'base/yuv_convert_sse2.cc', |
321 ], | 333 ], |
322 }, | 334 }, |
323 { | 335 { |
324 'target_name': 'ffmpeg_unittests', | 336 'target_name': 'ffmpeg_unittests', |
325 'type': 'executable', | 337 'type': 'executable', |
326 'dependencies': [ | 338 'dependencies': [ |
327 'media', | 339 'media', |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 ], | 798 ], |
787 }], | 799 }], |
788 ], | 800 ], |
789 } | 801 } |
790 | 802 |
791 # Local Variables: | 803 # Local Variables: |
792 # tab-width:2 | 804 # tab-width:2 |
793 # indent-tabs-mode:nil | 805 # indent-tabs-mode:nil |
794 # End: | 806 # End: |
795 # vim: set expandtab tabstop=2 shiftwidth=2: | 807 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |