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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 # Platform sends memory pressure signals natively. | 519 # Platform sends memory pressure signals natively. |
520 'native_memory_pressure_signals%': 0, | 520 'native_memory_pressure_signals%': 0, |
521 | 521 |
522 'data_reduction_fallback_host%' : '', | 522 'data_reduction_fallback_host%' : '', |
523 'data_reduction_dev_host%' : '', | 523 'data_reduction_dev_host%' : '', |
524 'spdy_proxy_auth_origin%' : '', | 524 'spdy_proxy_auth_origin%' : '', |
525 'spdy_proxy_auth_property%' : '', | 525 'spdy_proxy_auth_property%' : '', |
526 'spdy_proxy_auth_value%' : '', | 526 'spdy_proxy_auth_value%' : '', |
527 'data_reduction_proxy_probe_url%' : '', | 527 'data_reduction_proxy_probe_url%' : '', |
528 'enable_mdns%' : 0, | 528 'enable_mdns%' : 0, |
| 529 'enable_service_discovery%': 0, |
529 'enable_hangout_services_extension%': 0, | 530 'enable_hangout_services_extension%': 0, |
530 | 531 |
531 # Enable the Syzygy optimization step. | 532 # Enable the Syzygy optimization step. |
532 'syzygy_optimize%': 0, | 533 'syzygy_optimize%': 0, |
533 | 534 |
534 'conditions': [ | 535 'conditions': [ |
535 # A flag for POSIX platforms | 536 # A flag for POSIX platforms |
536 ['OS=="win"', { | 537 ['OS=="win"', { |
537 'os_posix%': 0, | 538 'os_posix%': 0, |
538 }, { | 539 }, { |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 'enable_managed_users%': '<(enable_managed_users)', | 1015 'enable_managed_users%': '<(enable_managed_users)', |
1015 'native_discardable_memory%': '<(native_discardable_memory)', | 1016 'native_discardable_memory%': '<(native_discardable_memory)', |
1016 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', | 1017 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', |
1017 'data_reduction_fallback_host%': '<(data_reduction_fallback_host)', | 1018 'data_reduction_fallback_host%': '<(data_reduction_fallback_host)', |
1018 'data_reduction_dev_host%': '<(data_reduction_dev_host)', | 1019 'data_reduction_dev_host%': '<(data_reduction_dev_host)', |
1019 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', | 1020 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', |
1020 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', | 1021 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', |
1021 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', | 1022 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', |
1022 'data_reduction_proxy_probe_url%': '<(data_reduction_proxy_probe_url)', | 1023 'data_reduction_proxy_probe_url%': '<(data_reduction_proxy_probe_url)', |
1023 'enable_mdns%' : '<(enable_mdns)', | 1024 'enable_mdns%' : '<(enable_mdns)', |
| 1025 'enable_service_discovery%' : '<(enable_service_discovery)', |
1024 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension)
', | 1026 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension)
', |
1025 'v8_optimized_debug%': '<(v8_optimized_debug)', | 1027 'v8_optimized_debug%': '<(v8_optimized_debug)', |
1026 'proprietary_codecs%': '<(proprietary_codecs)', | 1028 'proprietary_codecs%': '<(proprietary_codecs)', |
1027 'use_goma%': '<(use_goma)', | 1029 'use_goma%': '<(use_goma)', |
1028 'gomadir%': '<(gomadir)', | 1030 'gomadir%': '<(gomadir)', |
1029 | 1031 |
1030 # Use system protobuf instead of bundled one. | 1032 # Use system protobuf instead of bundled one. |
1031 'use_system_protobuf%': 0, | 1033 'use_system_protobuf%': 0, |
1032 | 1034 |
1033 # Use system yasm instead of bundled one. | 1035 # Use system yasm instead of bundled one. |
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1846 }], | 1848 }], |
1847 ['enable_google_now==1', { | 1849 ['enable_google_now==1', { |
1848 'grit_defines': ['-D', 'enable_google_now'], | 1850 'grit_defines': ['-D', 'enable_google_now'], |
1849 }], | 1851 }], |
1850 ['use_concatenated_impulse_responses==1', { | 1852 ['use_concatenated_impulse_responses==1', { |
1851 'grit_defines': ['-D', 'use_concatenated_impulse_responses'], | 1853 'grit_defines': ['-D', 'use_concatenated_impulse_responses'], |
1852 }], | 1854 }], |
1853 ['enable_webrtc==1', { | 1855 ['enable_webrtc==1', { |
1854 'grit_defines': ['-D', 'enable_webrtc'], | 1856 'grit_defines': ['-D', 'enable_webrtc'], |
1855 }], | 1857 }], |
1856 ['enable_mdns==1', { | |
1857 'grit_defines': ['-D', 'enable_mdns'], | |
1858 }], | |
1859 ['enable_hangout_services_extension==1', { | 1858 ['enable_hangout_services_extension==1', { |
1860 'grit_defines': ['-D', 'enable_hangout_services_extension'], | 1859 'grit_defines': ['-D', 'enable_hangout_services_extension'], |
1861 }], | 1860 }], |
1862 ['enable_task_manager==1', { | 1861 ['enable_task_manager==1', { |
1863 'grit_defines': ['-D', 'enable_task_manager'], | 1862 'grit_defines': ['-D', 'enable_task_manager'], |
1864 }], | 1863 }], |
1865 ['notifications==1', { | 1864 ['notifications==1', { |
1866 'grit_defines': ['-D', 'enable_notifications'], | 1865 'grit_defines': ['-D', 'enable_notifications'], |
1867 }], | 1866 }], |
1868 ['enable_resource_whitelist_generation==1', { | 1867 ['enable_resource_whitelist_generation==1', { |
1869 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("{textual_
id}") {numeric_id}'], | 1868 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("{textual_
id}") {numeric_id}'], |
1870 }], | 1869 }], |
| 1870 ['enable_mdns==1 or OS=="mac"', { |
| 1871 'grit_defines': ['-D', 'enable_service_discovery'], |
| 1872 'enable_service_discovery%': 1 |
| 1873 }], |
1871 ['clang_use_chrome_plugins==1 and OS!="win"', { | 1874 ['clang_use_chrome_plugins==1 and OS!="win"', { |
1872 'clang_chrome_plugins_flags': [ | 1875 'clang_chrome_plugins_flags': [ |
1873 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' | 1876 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' |
1874 ], | 1877 ], |
1875 }], | 1878 }], |
1876 | 1879 |
1877 ['asan==1', { | 1880 ['asan==1', { |
1878 'clang%': 1, | 1881 'clang%': 1, |
1879 }], | 1882 }], |
1880 ['asan==1 and OS=="mac"', { | 1883 ['asan==1 and OS=="mac"', { |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2538 ['spdy_proxy_auth_value != ""', { | 2541 ['spdy_proxy_auth_value != ""', { |
2539 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], | 2542 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], |
2540 }], | 2543 }], |
2541 ['data_reduction_proxy_probe_url != ""', { | 2544 ['data_reduction_proxy_probe_url != ""', { |
2542 'defines': [ | 2545 'defines': [ |
2543 'DATA_REDUCTION_PROXY_PROBE_URL="<(data_reduction_proxy_probe_url)"'], | 2546 'DATA_REDUCTION_PROXY_PROBE_URL="<(data_reduction_proxy_probe_url)"'], |
2544 }], | 2547 }], |
2545 ['enable_mdns==1', { | 2548 ['enable_mdns==1', { |
2546 'defines': ['ENABLE_MDNS=1'], | 2549 'defines': ['ENABLE_MDNS=1'], |
2547 }], | 2550 }], |
| 2551 ['enable_service_discovery==1', { |
| 2552 'defines' : [ 'ENABLE_SERVICE_DISCOVERY=1' ], |
| 2553 }], |
2548 ['enable_hangout_services_extension==1', { | 2554 ['enable_hangout_services_extension==1', { |
2549 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], | 2555 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], |
2550 }], | 2556 }], |
2551 ['enable_ipc_fuzzer==1', { | 2557 ['enable_ipc_fuzzer==1', { |
2552 'defines': ['ENABLE_IPC_FUZZER=1'], | 2558 'defines': ['ENABLE_IPC_FUZZER=1'], |
2553 }], | 2559 }], |
2554 ['video_hole==1', { | 2560 ['video_hole==1', { |
2555 'defines': ['VIDEO_HOLE=1'], | 2561 'defines': ['VIDEO_HOLE=1'], |
2556 }], | 2562 }], |
2557 ], # conditions for 'target_defaults' | 2563 ], # conditions for 'target_defaults' |
(...skipping 2586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5144 # settings in target dicts. SYMROOT is a special case, because many other | 5150 # settings in target dicts. SYMROOT is a special case, because many other |
5145 # Xcode variables depend on it, including variables such as | 5151 # Xcode variables depend on it, including variables such as |
5146 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5152 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5147 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5153 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5148 # files to appear (when present) in the UI as actual files and not red | 5154 # files to appear (when present) in the UI as actual files and not red |
5149 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5155 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5150 # and therefore SYMROOT, needs to be set at the project level. | 5156 # and therefore SYMROOT, needs to be set at the project level. |
5151 'SYMROOT': '<(DEPTH)/xcodebuild', | 5157 'SYMROOT': '<(DEPTH)/xcodebuild', |
5152 }, | 5158 }, |
5153 } | 5159 } |
OLD | NEW |