Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: build/common.gypi

Issue 1322483002: Revert https://codereview.chromium.org/1291903002 (protobuf roll). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/protobuf/.gitignore » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2846 matching lines...) Expand 10 before | Expand all | Expand 10 after
2857 'defines': ['FIELDTRIAL_TESTING_ENABLED'], 2857 'defines': ['FIELDTRIAL_TESTING_ENABLED'],
2858 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" 2858 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome"
2859 ['OS=="win"', { 2859 ['OS=="win"', {
2860 'defines': ['NO_TCMALLOC'], 2860 'defines': ['NO_TCMALLOC'],
2861 'conditions': [ 2861 'conditions': [
2862 ['win_use_allocator_shim==1', { 2862 ['win_use_allocator_shim==1', {
2863 'defines': ['ALLOCATOR_SHIM'], 2863 'defines': ['ALLOCATOR_SHIM'],
2864 }], 2864 }],
2865 ], 2865 ],
2866 }], 2866 }],
2867 ['asan==1', {
2868 'defines': [
2869 'ADDRESS_SANITIZER',
2870 'MEMORY_TOOL_REPLACES_ALLOCATOR',
2871 'MEMORY_SANITIZER_INITIAL_SIZE',
2872 ],
2873 }],
2867 ['syzyasan==1', { 2874 ['syzyasan==1', {
2868 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. 2875 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs.
2869 'msvs_settings': { 2876 'msvs_settings': {
2870 'VCLinkerTool': { 2877 'VCLinkerTool': {
2871 'Profile': 'true', 2878 'Profile': 'true',
2872 }, 2879 },
2873 }, 2880 },
2874 'defines': [ 2881 'defines': [
2875 'SYZYASAN', 2882 'SYZYASAN',
2876 'MEMORY_TOOL_REPLACES_ALLOCATOR', 2883 'MEMORY_TOOL_REPLACES_ALLOCATOR',
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
3114 }], 3121 }],
3115 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { 3122 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', {
3116 'defines': ['USE_GLIB=1'], 3123 'defines': ['USE_GLIB=1'],
3117 }], 3124 }],
3118 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { 3125 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', {
3119 'defines': ['USE_NSS_CERTS=1'], 3126 'defines': ['USE_NSS_CERTS=1'],
3120 }], 3127 }],
3121 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { 3128 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', {
3122 'defines': ['OS_CHROMEOS=1'], 3129 'defines': ['OS_CHROMEOS=1'],
3123 }], 3130 }],
3124 ['<(asan)==1 and >(nacl_untrusted_build)==0', {
3125 'defines': [
3126 'ADDRESS_SANITIZER',
3127 'MEMORY_TOOL_REPLACES_ALLOCATOR',
3128 'MEMORY_SANITIZER_INITIAL_SIZE',
3129 ],
3130 }],
3131 ['enable_wexit_time_destructors==1 and OS!="win"', { 3131 ['enable_wexit_time_destructors==1 and OS!="win"', {
3132 # TODO: Enable on Windows too, http://crbug.com/404525 3132 # TODO: Enable on Windows too, http://crbug.com/404525
3133 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, 3133 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']},
3134 }], 3134 }],
3135 ['chromium_code==0', { 3135 ['chromium_code==0', {
3136 'variables': { 3136 'variables': {
3137 'clang_warning_flags': [ 3137 'clang_warning_flags': [
3138 # TODO(thakis): Move this suppression into individual third-party 3138 # TODO(thakis): Move this suppression into individual third-party
3139 # libraries as required. http://crbug.com/505316. 3139 # libraries as required. http://crbug.com/505316.
3140 '-Wno-unused-function', 3140 '-Wno-unused-function',
(...skipping 3172 matching lines...) Expand 10 before | Expand all | Expand 10 after
6313 # settings in target dicts. SYMROOT is a special case, because many other 6313 # settings in target dicts. SYMROOT is a special case, because many other
6314 # Xcode variables depend on it, including variables such as 6314 # Xcode variables depend on it, including variables such as
6315 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6315 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6316 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6316 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6317 # files to appear (when present) in the UI as actual files and not red 6317 # files to appear (when present) in the UI as actual files and not red
6318 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6318 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6319 # and therefore SYMROOT, needs to be set at the project level. 6319 # and therefore SYMROOT, needs to be set at the project level.
6320 'SYMROOT': '<(DEPTH)/xcodebuild', 6320 'SYMROOT': '<(DEPTH)/xcodebuild',
6321 }, 6321 },
6322 } 6322 }
OLDNEW
« no previous file with comments | « no previous file | third_party/protobuf/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698