OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2009 Google Inc. All rights reserved. | 2 # Copyright (C) 2009 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 # Use concatenated HRTF impulse responses | 60 # Use concatenated HRTF impulse responses |
61 'feature_defines': ['WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1'], | 61 'feature_defines': ['WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1'], |
62 }], | 62 }], |
63 ['OS=="android"', { | 63 ['OS=="android"', { |
64 'feature_defines': [ | 64 'feature_defines': [ |
65 'WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION=1' | 65 'WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION=1' |
66 ], | 66 ], |
67 }, { # OS!=android | 67 }, { # OS!=android |
68 'feature_defines': [ | 68 'feature_defines': [ |
69 'ENABLE_INPUT_MULTIPLE_FIELDS_UI=1', | 69 'ENABLE_INPUT_MULTIPLE_FIELDS_UI=1', |
70 'ENABLE_WEB_AUDIO=1', | |
71 'WTF_USE_ICCJPEG=1', | 70 'WTF_USE_ICCJPEG=1', |
72 'WTF_USE_QCMSLIB=1' | 71 'WTF_USE_QCMSLIB=1' |
73 ], | 72 ], |
74 }], | 73 }], |
75 ['OS=="mac"', { | 74 ['OS=="mac"', { |
76 'feature_defines': [ | 75 'feature_defines': [ |
77 'WTF_USE_NEW_THEME=1' | 76 'WTF_USE_NEW_THEME=1' |
78 ], | 77 ], |
79 }], | 78 }], |
80 # Mac OS X uses Accelerate.framework FFT by default instead of FFmpeg. | 79 # Mac OS X uses Accelerate.framework FFT by default instead of FFmpeg. |
81 ['OS!="mac" and OS!="android"', { | 80 ['OS!="mac" and OS!="android"', { |
82 'feature_defines': [ | 81 'feature_defines': [ |
83 'WTF_USE_WEBAUDIO_FFMPEG=1', | 82 'WTF_USE_WEBAUDIO_FFMPEG=1', |
84 ], | 83 ], |
85 }], | 84 }], |
86 ['OS=="android" and use_openmax_dl_fft!=0', { | 85 ['OS=="android" and use_openmax_dl_fft!=0', { |
87 'feature_defines': [ | 86 'feature_defines': [ |
88 'WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1', | 87 'WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1', |
89 # Enabling the FFT is enough to enable WebAudio support to | |
90 # allow most WebAudio features to work on Android. | |
91 'ENABLE_WEB_AUDIO=1', | |
92 ], | 88 ], |
93 }], | 89 }], |
94 ['use_default_render_theme==1', { | 90 ['use_default_render_theme==1', { |
95 'feature_defines': [ | 91 'feature_defines': [ |
96 'WTF_USE_DEFAULT_RENDER_THEME=1', | 92 'WTF_USE_DEFAULT_RENDER_THEME=1', |
97 ], | 93 ], |
98 }], | 94 }], |
99 ['enable_oilpan==1', { | 95 ['enable_oilpan==1', { |
100 'feature_defines': [ | 96 'feature_defines': [ |
101 'ENABLE_OILPAN=1', | 97 'ENABLE_OILPAN=1', |
(...skipping 13 matching lines...) Expand all Loading... |
115 'feature_defines': [ | 111 'feature_defines': [ |
116 'LINK_CORE_MODULES_SEPARATELY', | 112 'LINK_CORE_MODULES_SEPARATELY', |
117 ], | 113 ], |
118 }], | 114 }], |
119 ], | 115 ], |
120 | 116 |
121 # shared build only. If set to 1, link web, core and modules separately. | 117 # shared build only. If set to 1, link web, core and modules separately. |
122 'link_core_modules_separately%': '<(link_core_modules_separately)', | 118 'link_core_modules_separately%': '<(link_core_modules_separately)', |
123 }, | 119 }, |
124 } | 120 } |
OLD | NEW |