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 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
759 | 759 |
760 # Android OS includes support for proprietary codecs regardless of | 760 # Android OS includes support for proprietary codecs regardless of |
761 # building Chromium or Google Chrome. We also ship Google Chrome and | 761 # building Chromium or Google Chrome. We also ship Google Chrome and |
762 # Chromecast with proprietary codecs. | 762 # Chromecast with proprietary codecs. |
763 ['OS=="android" or branding=="Chrome" or chromecast==1', { | 763 ['OS=="android" or branding=="Chrome" or chromecast==1', { |
764 'proprietary_codecs%': 1, | 764 'proprietary_codecs%': 1, |
765 }, { | 765 }, { |
766 'proprietary_codecs%': 0, | 766 'proprietary_codecs%': 0, |
767 }], | 767 }], |
768 | 768 |
769 # Widevine CDM is enabled by default for Chrome builds, and is a platfor m | |
DaleCurtis
2014/12/12 23:07:28
80 chars.
sandersd (OOO until July 31)
2014/12/15 21:51:22
Done.
| |
770 # feature on Android. | |
771 ['branding=="Chrome" or OS=="android"', { | |
772 'enable_widevine_cdm%': 1, | |
773 }, { | |
774 'enable_widevine_cdm%': 0, | |
775 }], | |
776 | |
777 # Widevine is distributed as a component for Mac and Win. | |
ddorwin
2014/12/15 18:31:06
This should be under/combined with branding==chrom
sandersd (OOO until July 31)
2014/12/15 21:51:22
Done.
| |
778 ['OS=="mac" or OS=="win"', { | |
779 'widevine_cdm_is_component%': 1, | |
780 }, { | |
781 'widevine_cdm_is_component%': 0, | |
782 }], | |
783 | |
769 ['OS=="mac" or OS=="ios"', { | 784 ['OS=="mac" or OS=="ios"', { |
770 'native_discardable_memory%': 1, | 785 'native_discardable_memory%': 1, |
771 'native_memory_pressure_signals%': 1, | 786 'native_memory_pressure_signals%': 1, |
772 }], | 787 }], |
773 | 788 |
774 # Enable autofill dialog for Android, Mac and Views-enabled platforms. | 789 # Enable autofill dialog for Android, Mac and Views-enabled platforms. |
775 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS =="mac"', { | 790 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS =="mac"', { |
776 'enable_autofill_dialog%': 1, | 791 'enable_autofill_dialog%': 1, |
777 | 792 |
778 'conditions': [ | 793 'conditions': [ |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1193 'native_discardable_memory%': '<(native_discardable_memory)', | 1208 'native_discardable_memory%': '<(native_discardable_memory)', |
1194 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', | 1209 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', |
1195 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', | 1210 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', |
1196 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', | 1211 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', |
1197 'enable_mdns%' : '<(enable_mdns)', | 1212 'enable_mdns%' : '<(enable_mdns)', |
1198 'enable_service_discovery%' : '<(enable_service_discovery)', | 1213 'enable_service_discovery%' : '<(enable_service_discovery)', |
1199 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)', | 1214 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)', |
1200 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ', | 1215 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ', |
1201 'v8_optimized_debug%': '<(v8_optimized_debug)', | 1216 'v8_optimized_debug%': '<(v8_optimized_debug)', |
1202 'proprietary_codecs%': '<(proprietary_codecs)', | 1217 'proprietary_codecs%': '<(proprietary_codecs)', |
1218 'enable_widevine_cdm%': '<(enable_widevine_cdm)', | |
1219 'widevine_cdm_is_component%': '<(widevine_cdm_is_component)', | |
1203 'use_goma%': '<(use_goma)', | 1220 'use_goma%': '<(use_goma)', |
1204 'gomadir%': '<(gomadir)', | 1221 'gomadir%': '<(gomadir)', |
1205 'use_lto%': '<(use_lto)', | 1222 'use_lto%': '<(use_lto)', |
1206 'use_lto_o2%': '<(use_lto_o2)', | 1223 'use_lto_o2%': '<(use_lto_o2)', |
1207 'video_hole%': '<(video_hole)', | 1224 'video_hole%': '<(video_hole)', |
1208 'enable_load_completion_hacks%': '<(enable_load_completion_hacks)', | 1225 'enable_load_completion_hacks%': '<(enable_load_completion_hacks)', |
1209 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)', | 1226 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)', |
1210 'v8_use_external_startup_data': '<(v8_use_external_startup_data)', | 1227 'v8_use_external_startup_data': '<(v8_use_external_startup_data)', |
1211 | 1228 |
1212 # Whether or not we are building the Athena shell. | 1229 # Whether or not we are building the Athena shell. |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1770 # breaking assumptions in the build system that when inputs have changed | 1787 # breaking assumptions in the build system that when inputs have changed |
1771 # the outputs should always change as well. This is meant purely for | 1788 # the outputs should always change as well. This is meant purely for |
1772 # developer builds, to avoid spurious re-linking of native files. | 1789 # developer builds, to avoid spurious re-linking of native files. |
1773 'optimize_jni_generation%': '<(optimize_jni_generation)', | 1790 'optimize_jni_generation%': '<(optimize_jni_generation)', |
1774 | 1791 |
1775 # Always uses openssl. | 1792 # Always uses openssl. |
1776 'use_openssl%': 1, | 1793 'use_openssl%': 1, |
1777 'use_openssl_certs%': 1, | 1794 'use_openssl_certs%': 1, |
1778 | 1795 |
1779 'proprietary_codecs%': '<(proprietary_codecs)', | 1796 'proprietary_codecs%': '<(proprietary_codecs)', |
1797 'enable_widevine_cdm%': '<(enable_widevine_cdm)', | |
1798 'widevine_cdm_is_component': '<(widevine_cdm_is_component)', | |
1780 'safe_browsing%': 2, | 1799 'safe_browsing%': 2, |
1781 'enable_web_speech%': 0, | 1800 'enable_web_speech%': 0, |
1782 'java_bridge%': 1, | 1801 'java_bridge%': 1, |
1783 'build_ffmpegsumo%': 0, | 1802 'build_ffmpegsumo%': 0, |
1784 'use_allocator%': 'none', | 1803 'use_allocator%': 'none', |
1785 | 1804 |
1786 # Disable Native Client. | 1805 # Disable Native Client. |
1787 'disable_nacl%': 1, | 1806 'disable_nacl%': 1, |
1788 | 1807 |
1789 # Android does not support background apps. | 1808 # Android does not support background apps. |
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2642 'defines': ['ENABLE_WEBRTC=1'], | 2661 'defines': ['ENABLE_WEBRTC=1'], |
2643 }], | 2662 }], |
2644 ['proprietary_codecs==1', { | 2663 ['proprietary_codecs==1', { |
2645 'defines': ['USE_PROPRIETARY_CODECS'], | 2664 'defines': ['USE_PROPRIETARY_CODECS'], |
2646 'conditions': [ | 2665 'conditions': [ |
2647 ['enable_mpeg2ts_stream_parser==1', { | 2666 ['enable_mpeg2ts_stream_parser==1', { |
2648 'defines': ['ENABLE_MPEG2TS_STREAM_PARSER'], | 2667 'defines': ['ENABLE_MPEG2TS_STREAM_PARSER'], |
2649 }], | 2668 }], |
2650 ], | 2669 ], |
2651 }], | 2670 }], |
2671 ['enable_widevine_cdm==1', { | |
2672 'defines': ['ENABLE_WIDEVINE_CDM'], | |
ddorwin
2014/12/15 18:31:06
=1 like in the .gn file?
Same below.
sandersd (OOO until July 31)
2014/12/15 21:51:22
Done.
| |
2673 }], | |
2674 ['widevine_cdm_is_component==1', { | |
2675 'defines': ['WIDEVINE_CDM_IS_COMPONENT'], | |
2676 }], | |
2652 ['enable_viewport==1', { | 2677 ['enable_viewport==1', { |
2653 'defines': ['ENABLE_VIEWPORT'], | 2678 'defines': ['ENABLE_VIEWPORT'], |
2654 }], | 2679 }], |
2655 ['enable_pepper_cdms==1', { | 2680 ['enable_pepper_cdms==1', { |
2656 'defines': ['ENABLE_PEPPER_CDMS'], | 2681 'defines': ['ENABLE_PEPPER_CDMS'], |
2657 }], | 2682 }], |
2658 ['enable_browser_cdms==1', { | 2683 ['enable_browser_cdms==1', { |
2659 'defines': ['ENABLE_BROWSER_CDMS'], | 2684 'defines': ['ENABLE_BROWSER_CDMS'], |
2660 }], | 2685 }], |
2661 ['configuration_policy==1', { | 2686 ['configuration_policy==1', { |
(...skipping 3168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5830 # settings in target dicts. SYMROOT is a special case, because many other | 5855 # settings in target dicts. SYMROOT is a special case, because many other |
5831 # Xcode variables depend on it, including variables such as | 5856 # Xcode variables depend on it, including variables such as |
5832 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5857 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5833 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5858 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5834 # files to appear (when present) in the UI as actual files and not red | 5859 # files to appear (when present) in the UI as actual files and not red |
5835 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5860 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5836 # and therefore SYMROOT, needs to be set at the project level. | 5861 # and therefore SYMROOT, needs to be set at the project level. |
5837 'SYMROOT': '<(DEPTH)/xcodebuild', | 5862 'SYMROOT': '<(DEPTH)/xcodebuild', |
5838 }, | 5863 }, |
5839 } | 5864 } |
OLD | NEW |