Chromium Code Reviews| 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 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1904 }], | 1904 }], |
| 1905 ['enable_hangout_services_extension==1', { | 1905 ['enable_hangout_services_extension==1', { |
| 1906 'grit_defines': ['-D', 'enable_hangout_services_extension'], | 1906 'grit_defines': ['-D', 'enable_hangout_services_extension'], |
| 1907 }], | 1907 }], |
| 1908 ['enable_task_manager==1', { | 1908 ['enable_task_manager==1', { |
| 1909 'grit_defines': ['-D', 'enable_task_manager'], | 1909 'grit_defines': ['-D', 'enable_task_manager'], |
| 1910 }], | 1910 }], |
| 1911 ['notifications==1', { | 1911 ['notifications==1', { |
| 1912 'grit_defines': ['-D', 'enable_notifications'], | 1912 'grit_defines': ['-D', 'enable_notifications'], |
| 1913 }], | 1913 }], |
| 1914 ['enable_resource_whitelist_generation==1', { | 1914 ['enable_resource_whitelist_generation==1 and OS!="win"', { |
|
scottmg
2014/04/14 23:35:26
I guess we might want a clang==0 in here, but sinc
| |
| 1915 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist ed_resource_{numeric_id}") {numeric_id}'], | 1915 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist ed_resource_{numeric_id}") {numeric_id}'], |
| 1916 }], | 1916 }], |
| 1917 ['enable_resource_whitelist_generation==1 and OS=="win"', { | |
| 1918 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message(" whitelisted_resource_{numeric_id}")) {numeric_id}'], | |
| 1919 }], | |
| 1917 ['enable_mdns==1 or OS=="mac"', { | 1920 ['enable_mdns==1 or OS=="mac"', { |
| 1918 'grit_defines': ['-D', 'enable_service_discovery'], | 1921 'grit_defines': ['-D', 'enable_service_discovery'], |
| 1919 'enable_service_discovery%': 1 | 1922 'enable_service_discovery%': 1 |
| 1920 }], | 1923 }], |
| 1921 ['clang_use_chrome_plugins==1 and OS!="win"', { | 1924 ['clang_use_chrome_plugins==1 and OS!="win"', { |
| 1922 'clang_chrome_plugins_flags': [ | 1925 'clang_chrome_plugins_flags': [ |
| 1923 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' | 1926 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' |
| 1924 ], | 1927 ], |
| 1925 }], | 1928 }], |
| 1926 | 1929 |
| (...skipping 3302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5229 # settings in target dicts. SYMROOT is a special case, because many other | 5232 # settings in target dicts. SYMROOT is a special case, because many other |
| 5230 # Xcode variables depend on it, including variables such as | 5233 # Xcode variables depend on it, including variables such as |
| 5231 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5234 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5232 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5235 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5233 # files to appear (when present) in the UI as actual files and not red | 5236 # files to appear (when present) in the UI as actual files and not red |
| 5234 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5237 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5235 # and therefore SYMROOT, needs to be set at the project level. | 5238 # and therefore SYMROOT, needs to be set at the project level. |
| 5236 'SYMROOT': '<(DEPTH)/xcodebuild', | 5239 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5237 }, | 5240 }, |
| 5238 } | 5241 } |
| OLD | NEW |