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': [ |
DaleCurtis
2013/01/26 01:44:14
Instead of doing this, you could convert this targ
wolenetz
2013/01/26 03:13:18
None of these are set (except PREFIX, incorrectly
| |
993 '-DWIN32', | 993 [ 'target_arch=="ia32"', { |
994 '-DMSVC', | 994 'yasm_flags': [ |
995 '-DCHROMIUM', | 995 '-DWIN32', |
996 '-Isimd', | 996 '-DMSVC', |
997 '-DCHROMIUM', | |
998 '-Isimd', | |
999 ], | |
1000 }, { | |
1001 'yasm_flags': [ | |
1002 '-DWIN32', | |
1003 '-DARCH_X86_64', | |
1004 '-DMSVC', | |
1005 '-DCHROMIUM', | |
1006 '-Isimd', | |
1007 ], | |
1008 }], | |
997 ], | 1009 ], |
998 }, | 1010 }, |
999 }], | 1011 }], |
1000 [ 'OS=="mac"', { | 1012 [ 'OS=="mac"', { |
1001 'variables': { | 1013 'variables': { |
1002 'conditions': [ | 1014 'conditions': [ |
1003 [ 'target_arch=="ia32"', { | 1015 [ 'target_arch=="ia32"', { |
1004 'yasm_flags': [ | 1016 'yasm_flags': [ |
1005 '-DPREFIX', | 1017 '-DPREFIX', |
1006 '-DMACHO', | 1018 '-DMACHO', |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1342 'media', | 1354 'media', |
1343 ], | 1355 ], |
1344 'sources': [ | 1356 'sources': [ |
1345 'tools/media_bench/media_bench.cc', | 1357 'tools/media_bench/media_bench.cc', |
1346 ], | 1358 ], |
1347 }, | 1359 }, |
1348 ], | 1360 ], |
1349 }] | 1361 }] |
1350 ], | 1362 ], |
1351 } | 1363 } |
OLD | NEW |