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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 # again. | 760 # again. |
761 # NOTE: The check for disable_nacl==0 and component=="static_library" | 761 # NOTE: The check for disable_nacl==0 and component=="static_library" |
762 # can't be used here because these variables are not defined yet, but it | 762 # can't be used here because these variables are not defined yet, but it |
763 # is still not supported. | 763 # is still not supported. |
764 ['OS!="mac" and OS!="ios" and OS!="android" and chromeos==0', { | 764 ['OS!="mac" and OS!="ios" and OS!="android" and chromeos==0', { |
765 'test_isolation_mode%': 'check', | 765 'test_isolation_mode%': 'check', |
766 }, { | 766 }, { |
767 'test_isolation_mode%': 'noop', | 767 'test_isolation_mode%': 'noop', |
768 }], | 768 }], |
769 # Whether Android ARM build uses OpenMAX DL FFT. | 769 # Whether Android ARM build uses OpenMAX DL FFT. |
770 ['OS=="android" and target_arch=="arm" and android_webview_build==0', { | 770 ['OS=="android" and (target_arch=="arm" or target_arch=="ia32") and andr
oid_webview_build==0', { |
771 # Currently only supported on Android ARM, without webview. | 771 # When set to 1, use_openmax_dl_fft will also make WebAudio |
772 # When enabled, this will also enable WebAudio on Android | 772 # available on Android. However, chrome://flags controls whether |
773 # ARM. Default is enabled. | 773 # WebAudio is actually enabled. |
774 'use_openmax_dl_fft%': 1, | 774 'use_openmax_dl_fft%': 1, |
775 }, { | 775 }, { |
776 'use_openmax_dl_fft%': 0, | 776 'use_openmax_dl_fft%': 0, |
777 }], | 777 }], |
778 ['OS=="win" or OS=="linux"', { | 778 ['OS=="win" or OS=="linux"', { |
779 'enable_mdns%' : 1, | 779 'enable_mdns%' : 1, |
780 }], | 780 }], |
781 | 781 |
782 # Turns on compiler optimizations in V8 in Debug build, except | 782 # Turns on compiler optimizations in V8 in Debug build, except |
783 # on android_clang, where we're hitting a weird linker error. | 783 # on android_clang, where we're hitting a weird linker error. |
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 }], | 1646 }], |
1647 ['image_loader_extension==1', { | 1647 ['image_loader_extension==1', { |
1648 'grit_defines': ['-D', 'image_loader_extension'], | 1648 'grit_defines': ['-D', 'image_loader_extension'], |
1649 }], | 1649 }], |
1650 ['remoting==1', { | 1650 ['remoting==1', { |
1651 'grit_defines': ['-D', 'remoting'], | 1651 'grit_defines': ['-D', 'remoting'], |
1652 }], | 1652 }], |
1653 ['use_titlecase_in_grd_files==1', { | 1653 ['use_titlecase_in_grd_files==1', { |
1654 'grit_defines': ['-D', 'use_titlecase'], | 1654 'grit_defines': ['-D', 'use_titlecase'], |
1655 }], | 1655 }], |
| 1656 ['OS=="android" and target_arch=="ia32"', { |
| 1657 # WebAudio on Android/x86 is disabled by default, unlike |
| 1658 # everywhere else, so use appropriate message. |
| 1659 'grit_defines': ['-D', 'use_webaudio_enable_message'], |
| 1660 }], |
1656 ['use_third_party_translations==1', { | 1661 ['use_third_party_translations==1', { |
1657 'grit_defines': ['-D', 'use_third_party_translations'], | 1662 'grit_defines': ['-D', 'use_third_party_translations'], |
1658 'locales': [ | 1663 'locales': [ |
1659 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', | 1664 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', |
1660 'ka', 'ku', 'kw', 'ms', 'ug' | 1665 'ka', 'ku', 'kw', 'ms', 'ug' |
1661 ], | 1666 ], |
1662 }], | 1667 }], |
1663 ['OS=="android"', { | 1668 ['OS=="android"', { |
1664 'grit_defines': ['-t', 'android', | 1669 'grit_defines': ['-t', 'android', |
1665 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], | 1670 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], |
(...skipping 3079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4745 # settings in target dicts. SYMROOT is a special case, because many other | 4750 # settings in target dicts. SYMROOT is a special case, because many other |
4746 # Xcode variables depend on it, including variables such as | 4751 # Xcode variables depend on it, including variables such as |
4747 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4752 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4748 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4753 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4749 # files to appear (when present) in the UI as actual files and not red | 4754 # files to appear (when present) in the UI as actual files and not red |
4750 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4755 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4751 # and therefore SYMROOT, needs to be set at the project level. | 4756 # and therefore SYMROOT, needs to be set at the project level. |
4752 'SYMROOT': '<(DEPTH)/xcodebuild', | 4757 'SYMROOT': '<(DEPTH)/xcodebuild', |
4753 }, | 4758 }, |
4754 } | 4759 } |
OLD | NEW |