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

Side by Side Diff: build/common.gypi

Issue 1842653006: Update //third_party/protobuf to version 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update defines Created 4 years, 8 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 | sync/internal_api/DEPS » ('j') | third_party/protobuf/BUILD.gn » ('J')
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 2845 matching lines...) Expand 10 before | Expand all | Expand 10 after
2856 'defines': ['FIELDTRIAL_TESTING_ENABLED'], 2856 'defines': ['FIELDTRIAL_TESTING_ENABLED'],
2857 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" 2857 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome"
2858 ['OS=="win"', { 2858 ['OS=="win"', {
2859 'defines': ['NO_TCMALLOC'], 2859 'defines': ['NO_TCMALLOC'],
2860 'conditions': [ 2860 'conditions': [
2861 ['win_use_allocator_shim==1', { 2861 ['win_use_allocator_shim==1', {
2862 'defines': ['ALLOCATOR_SHIM'], 2862 'defines': ['ALLOCATOR_SHIM'],
2863 }], 2863 }],
2864 ], 2864 ],
2865 }], 2865 }],
2866 ['asan==1', {
2867 'defines': [
2868 'ADDRESS_SANITIZER',
2869 'MEMORY_TOOL_REPLACES_ALLOCATOR',
2870 'MEMORY_SANITIZER_INITIAL_SIZE',
2871 ],
2872 }],
2873 ['syzyasan==1', { 2866 ['syzyasan==1', {
2874 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. 2867 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs.
2875 'msvs_settings': { 2868 'msvs_settings': {
2876 'VCLinkerTool': { 2869 'VCLinkerTool': {
2877 'Profile': 'true', 2870 'Profile': 'true',
2878 }, 2871 },
2879 }, 2872 },
2880 'defines': [ 2873 'defines': [
2881 'SYZYASAN', 2874 'SYZYASAN',
2882 'MEMORY_TOOL_REPLACES_ALLOCATOR', 2875 'MEMORY_TOOL_REPLACES_ALLOCATOR',
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
3097 }], 3090 }],
3098 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { 3091 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', {
3099 'defines': ['USE_NSS_CERTS=1'], 3092 'defines': ['USE_NSS_CERTS=1'],
3100 }], 3093 }],
3101 ['<(use_nss_verifier)==1 and >(nacl_untrusted_build)==0', { 3094 ['<(use_nss_verifier)==1 and >(nacl_untrusted_build)==0', {
3102 'defines': ['USE_NSS_VERIFIER=1'], 3095 'defines': ['USE_NSS_VERIFIER=1'],
3103 }], 3096 }],
3104 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { 3097 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', {
3105 'defines': ['OS_CHROMEOS=1'], 3098 'defines': ['OS_CHROMEOS=1'],
3106 }], 3099 }],
3100 ['<(asan)==1 and >(nacl_untrusted_build)==0', {
3101 'defines': [
3102 'ADDRESS_SANITIZER',
3103 'MEMORY_TOOL_REPLACES_ALLOCATOR',
3104 'MEMORY_SANITIZER_INITIAL_SIZE',
3105 ],
3106 }],
3107 ['enable_wexit_time_destructors==1 and OS!="win"', { 3107 ['enable_wexit_time_destructors==1 and OS!="win"', {
3108 # TODO: Enable on Windows too, http://crbug.com/404525 3108 # TODO: Enable on Windows too, http://crbug.com/404525
3109 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, 3109 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']},
3110 }], 3110 }],
3111 ['chromium_code==0', { 3111 ['chromium_code==0', {
3112 'variables': { 3112 'variables': {
3113 'clang_warning_flags': [ 3113 'clang_warning_flags': [
3114 # Lots of third-party libraries have unused variables. Instead of 3114 # Lots of third-party libraries have unused variables. Instead of
3115 # suppressing them individually, we just blanket suppress them here. 3115 # suppressing them individually, we just blanket suppress them here.
3116 '-Wno-unused-variable', 3116 '-Wno-unused-variable',
(...skipping 3266 matching lines...) Expand 10 before | Expand all | Expand 10 after
6383 # settings in target dicts. SYMROOT is a special case, because many other 6383 # settings in target dicts. SYMROOT is a special case, because many other
6384 # Xcode variables depend on it, including variables such as 6384 # Xcode variables depend on it, including variables such as
6385 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6385 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6386 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6386 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6387 # files to appear (when present) in the UI as actual files and not red 6387 # files to appear (when present) in the UI as actual files and not red
6388 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6388 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6389 # and therefore SYMROOT, needs to be set at the project level. 6389 # and therefore SYMROOT, needs to be set at the project level.
6390 'SYMROOT': '<(DEPTH)/xcodebuild', 6390 'SYMROOT': '<(DEPTH)/xcodebuild',
6391 }, 6391 },
6392 } 6392 }
OLDNEW
« no previous file with comments | « no previous file | sync/internal_api/DEPS » ('j') | third_party/protobuf/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698