OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # Override to dynamically link the PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
10 # Override to dynamically link the cras (ChromeOS audio) library. | 10 # Override to dynamically link the cras (ChromeOS audio) library. |
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 # gcc on the mac builds horribly unoptimized sse code in | 982 # gcc on the mac builds horribly unoptimized sse code in |
983 # debug mode. Since this is rarely going to be debugged, | 983 # debug mode. Since this is rarely going to be debugged, |
984 # run with full optimizations in Debug as well as Release. | 984 # run with full optimizations in Debug as well as Release. |
985 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 | 985 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 |
986 }, | 986 }, |
987 }, | 987 }, |
988 }, | 988 }, |
989 }], | 989 }], |
990 [ 'OS=="win"', { | 990 [ 'OS=="win"', { |
991 'variables': { | 991 'variables': { |
992 'yasm_flags': [ | 992 'conditions': [ |
993 '-DWIN32', | 993 [ 'target_arch=="ia32"', { |
994 '-DMSVC', | 994 'yasm_flags': [ |
995 '-DCHROMIUM', | 995 '-DCHROMIUM', |
996 '-Isimd', | 996 '-Isimd', |
| 997 ], |
| 998 }, { |
| 999 'yasm_flags': [ |
| 1000 '-DARCH_X86_64', |
| 1001 '-DCHROMIUM', |
| 1002 '-Isimd', |
| 1003 ], |
| 1004 }], |
997 ], | 1005 ], |
998 }, | 1006 }, |
999 }], | 1007 }], |
1000 [ 'OS=="mac"', { | 1008 [ 'OS=="mac"', { |
1001 'variables': { | 1009 'variables': { |
1002 'conditions': [ | 1010 'conditions': [ |
1003 [ 'target_arch=="ia32"', { | 1011 [ 'target_arch=="ia32"', { |
1004 'yasm_flags': [ | 1012 'yasm_flags': [ |
1005 '-DPREFIX', | 1013 '-DPREFIX', |
1006 '-DMACHO', | 1014 '-DMACHO', |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1342 'media', | 1350 'media', |
1343 ], | 1351 ], |
1344 'sources': [ | 1352 'sources': [ |
1345 'tools/media_bench/media_bench.cc', | 1353 'tools/media_bench/media_bench.cc', |
1346 ], | 1354 ], |
1347 }, | 1355 }, |
1348 ], | 1356 ], |
1349 }] | 1357 }] |
1350 ], | 1358 ], |
1351 } | 1359 } |
OLD | NEW |