| 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 2834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2845 }], # dcheck_always_on!=0 | 2845 }], # dcheck_always_on!=0 |
| 2846 ['tracing_like_official_build!=0', { | 2846 ['tracing_like_official_build!=0', { |
| 2847 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], | 2847 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], |
| 2848 }], # tracing_like_official_build!=0 | 2848 }], # tracing_like_official_build!=0 |
| 2849 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', { | 2849 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', { |
| 2850 'defines': ['FIELDTRIAL_TESTING_ENABLED'], | 2850 'defines': ['FIELDTRIAL_TESTING_ENABLED'], |
| 2851 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" | 2851 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" |
| 2852 ['OS=="win"', { | 2852 ['OS=="win"', { |
| 2853 'defines': ['NO_TCMALLOC'], | 2853 'defines': ['NO_TCMALLOC'], |
| 2854 }], | 2854 }], |
| 2855 ['asan==1', { | |
| 2856 'defines': [ | |
| 2857 'ADDRESS_SANITIZER', | |
| 2858 'MEMORY_TOOL_REPLACES_ALLOCATOR', | |
| 2859 'MEMORY_SANITIZER_INITIAL_SIZE', | |
| 2860 ], | |
| 2861 }], | |
| 2862 ['syzyasan==1', { | 2855 ['syzyasan==1', { |
| 2863 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. | 2856 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. |
| 2864 'msvs_settings': { | 2857 'msvs_settings': { |
| 2865 'VCLinkerTool': { | 2858 'VCLinkerTool': { |
| 2866 'Profile': 'true', | 2859 'Profile': 'true', |
| 2867 }, | 2860 }, |
| 2868 }, | 2861 }, |
| 2869 'defines': [ | 2862 'defines': [ |
| 2870 'SYZYASAN', | 2863 'SYZYASAN', |
| 2871 'MEMORY_TOOL_REPLACES_ALLOCATOR', | 2864 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3072 }], | 3065 }], |
| 3073 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { | 3066 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { |
| 3074 'defines': ['USE_GLIB=1'], | 3067 'defines': ['USE_GLIB=1'], |
| 3075 }], | 3068 }], |
| 3076 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { | 3069 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { |
| 3077 'defines': ['USE_NSS_CERTS=1'], | 3070 'defines': ['USE_NSS_CERTS=1'], |
| 3078 }], | 3071 }], |
| 3079 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { | 3072 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { |
| 3080 'defines': ['OS_CHROMEOS=1'], | 3073 'defines': ['OS_CHROMEOS=1'], |
| 3081 }], | 3074 }], |
| 3075 ['<(asan)==1 and >(nacl_untrusted_build)==0', { |
| 3076 'defines': [ |
| 3077 'ADDRESS_SANITIZER', |
| 3078 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
| 3079 'MEMORY_SANITIZER_INITIAL_SIZE', |
| 3080 ], |
| 3081 }], |
| 3082 ['enable_wexit_time_destructors==1 and OS!="win"', { | 3082 ['enable_wexit_time_destructors==1 and OS!="win"', { |
| 3083 # TODO: Enable on Windows too, http://crbug.com/404525 | 3083 # TODO: Enable on Windows too, http://crbug.com/404525 |
| 3084 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 3084 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
| 3085 }], | 3085 }], |
| 3086 ['"<!(python <(DEPTH)/tools/clang/scripts/update.py --print-revision)"!="2
66460-1"', { | 3086 ['"<!(python <(DEPTH)/tools/clang/scripts/update.py --print-revision)"!="2
66460-1"', { |
| 3087 # TODO(thakis): https://crbug.com/604888 | 3087 # TODO(thakis): https://crbug.com/604888 |
| 3088 'variables': { 'clang_warning_flags': ['-Wno-undefined-var-template']}, | 3088 'variables': { 'clang_warning_flags': ['-Wno-undefined-var-template']}, |
| 3089 }], | 3089 }], |
| 3090 ['chromium_code==0', { | 3090 ['chromium_code==0', { |
| 3091 'variables': { | 3091 'variables': { |
| (...skipping 3234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6326 # settings in target dicts. SYMROOT is a special case, because many other | 6326 # settings in target dicts. SYMROOT is a special case, because many other |
| 6327 # Xcode variables depend on it, including variables such as | 6327 # Xcode variables depend on it, including variables such as |
| 6328 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6328 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6329 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6329 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6330 # files to appear (when present) in the UI as actual files and not red | 6330 # files to appear (when present) in the UI as actual files and not red |
| 6331 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6331 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6332 # and therefore SYMROOT, needs to be set at the project level. | 6332 # and therefore SYMROOT, needs to be set at the project level. |
| 6333 'SYMROOT': '<(DEPTH)/xcodebuild', | 6333 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6334 }, | 6334 }, |
| 6335 } | 6335 } |
| OLD | NEW |