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

Side by Side Diff: build/common.gypi

Issue 1291903002: Pull new version of protobuf sources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix attempts 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 2849 matching lines...) Expand 10 before | Expand all | Expand 10 after
2860 'defines': ['FIELDTRIAL_TESTING_ENABLED'], 2860 'defines': ['FIELDTRIAL_TESTING_ENABLED'],
2861 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" 2861 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome"
2862 ['OS=="win"', { 2862 ['OS=="win"', {
2863 'defines': ['NO_TCMALLOC'], 2863 'defines': ['NO_TCMALLOC'],
2864 'conditions': [ 2864 'conditions': [
2865 ['win_use_allocator_shim==1', { 2865 ['win_use_allocator_shim==1', {
2866 'defines': ['ALLOCATOR_SHIM'], 2866 'defines': ['ALLOCATOR_SHIM'],
2867 }], 2867 }],
2868 ], 2868 ],
2869 }], 2869 }],
2870 ['asan==1', {
2871 'defines': [
2872 'ADDRESS_SANITIZER',
2873 'MEMORY_TOOL_REPLACES_ALLOCATOR',
2874 'MEMORY_SANITIZER_INITIAL_SIZE',
2875 ],
2876 }],
2877 ['syzyasan==1', { 2870 ['syzyasan==1', {
2878 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. 2871 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs.
2879 'msvs_settings': { 2872 'msvs_settings': {
2880 'VCLinkerTool': { 2873 'VCLinkerTool': {
2881 'Profile': 'true', 2874 'Profile': 'true',
2882 }, 2875 },
2883 }, 2876 },
2884 'defines': [ 2877 'defines': [
2885 'SYZYASAN', 2878 'SYZYASAN',
2886 'MEMORY_TOOL_REPLACES_ALLOCATOR', 2879 'MEMORY_TOOL_REPLACES_ALLOCATOR',
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
3124 }], 3117 }],
3125 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { 3118 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', {
3126 'defines': ['USE_GLIB=1'], 3119 'defines': ['USE_GLIB=1'],
3127 }], 3120 }],
3128 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { 3121 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', {
3129 'defines': ['USE_NSS_CERTS=1'], 3122 'defines': ['USE_NSS_CERTS=1'],
3130 }], 3123 }],
3131 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { 3124 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', {
3132 'defines': ['OS_CHROMEOS=1'], 3125 'defines': ['OS_CHROMEOS=1'],
3133 }], 3126 }],
3127 ['<(asan)==1 and >(nacl_untrusted_build)==0', {
3128 'defines': [
3129 'ADDRESS_SANITIZER',
3130 'MEMORY_TOOL_REPLACES_ALLOCATOR',
3131 'MEMORY_SANITIZER_INITIAL_SIZE',
3132 ],
3133 }],
3134 ['enable_wexit_time_destructors==1 and OS!="win"', { 3134 ['enable_wexit_time_destructors==1 and OS!="win"', {
3135 # TODO: Enable on Windows too, http://crbug.com/404525 3135 # TODO: Enable on Windows too, http://crbug.com/404525
3136 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, 3136 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']},
3137 }], 3137 }],
3138 ['chromium_code==0', { 3138 ['chromium_code==0', {
3139 'variables': { 3139 'variables': {
3140 'clang_warning_flags': [ 3140 'clang_warning_flags': [
3141 # TODO(thakis): Move this suppression into individual third-party 3141 # TODO(thakis): Move this suppression into individual third-party
3142 # libraries as required. http://crbug.com/505316. 3142 # libraries as required. http://crbug.com/505316.
3143 '-Wno-unused-function', 3143 '-Wno-unused-function',
(...skipping 3172 matching lines...) Expand 10 before | Expand all | Expand 10 after
6316 # settings in target dicts. SYMROOT is a special case, because many other 6316 # settings in target dicts. SYMROOT is a special case, because many other
6317 # Xcode variables depend on it, including variables such as 6317 # Xcode variables depend on it, including variables such as
6318 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6318 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6319 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6319 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6320 # files to appear (when present) in the UI as actual files and not red 6320 # files to appear (when present) in the UI as actual files and not red
6321 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6321 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6322 # and therefore SYMROOT, needs to be set at the project level. 6322 # and therefore SYMROOT, needs to be set at the project level.
6323 'SYMROOT': '<(DEPTH)/xcodebuild', 6323 'SYMROOT': '<(DEPTH)/xcodebuild',
6324 }, 6324 },
6325 } 6325 }
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