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

Side by Side Diff: build/common.gypi

Issue 10876059: roll gyp 1473:1479 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bots Created 8 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 | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | no next file » | 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 2864 matching lines...) Expand 10 before | Expand all | Expand 10 after
2875 ['clang==1', { 2875 ['clang==1', {
2876 'variables': { 2876 'variables': {
2877 'clang_dir': '../third_party/llvm-build/Release+Asserts/bin', 2877 'clang_dir': '../third_party/llvm-build/Release+Asserts/bin',
2878 }, 2878 },
2879 }], 2879 }],
2880 ['asan==1', { 2880 ['asan==1', {
2881 'xcode_settings': { 2881 'xcode_settings': {
2882 'OTHER_CFLAGS': [ 2882 'OTHER_CFLAGS': [
2883 '-faddress-sanitizer', 2883 '-faddress-sanitizer',
2884 ], 2884 ],
2885 'OTHER_LDFLAGS': [
2886 '-faddress-sanitizer',
2887 # The symbols below are referenced in the ASan runtime
2888 # library (compiled on OS X 10.6), but may be unavailable
2889 # on the prior OS X versions. Because Chromium is currently
2890 # targeting 10.5.0, we need to explicitly mark these
2891 # symbols as dynamic_lookup.
2892 '-Wl,-U,_malloc_default_purgeable_zone',
2893 '-Wl,-U,_malloc_zone_memalign',
2894 '-Wl,-U,_dispatch_sync_f',
2895 '-Wl,-U,_dispatch_async_f',
2896 '-Wl,-U,_dispatch_barrier_async_f',
2897 '-Wl,-U,_dispatch_group_async_f',
2898 '-Wl,-U,_dispatch_after_f',
2899 ],
2900 }, 2885 },
2901 'defines': [ 2886 'defines': [
2902 'ADDRESS_SANITIZER', 2887 'ADDRESS_SANITIZER',
2903 ], 2888 ],
2904 }], 2889 }],
2905 ], 2890 ],
2906 'target_conditions': [ 2891 'target_conditions': [
2907 ['_type!="static_library"', { 2892 ['_type!="static_library"', {
2908 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 2893 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
2894 'conditions': [
2895 ['asan==1', {
2896 'xcode_settings': {
2897 'OTHER_LDFLAGS': [
2898 '-faddress-sanitizer',
2899 # The symbols below are referenced in the ASan runtime
2900 # library (compiled on OS X 10.6), but may be unavailable
2901 # on the prior OS X versions. Because Chromium is
2902 # currently targeting 10.5.0, we need to explicitly mark
2903 # these symbols as dynamic_lookup.
2904 '-Wl,-U,_malloc_default_purgeable_zone',
2905 '-Wl,-U,_malloc_zone_memalign',
2906 '-Wl,-U,_dispatch_sync_f',
2907 '-Wl,-U,_dispatch_async_f',
2908 '-Wl,-U,_dispatch_barrier_async_f',
2909 '-Wl,-U,_dispatch_group_async_f',
2910 '-Wl,-U,_dispatch_after_f',
2911 ],
2912 },
2913 }],
2914 ],
2909 }], 2915 }],
2910 ['_mac_bundle', { 2916 ['_mac_bundle', {
2911 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 2917 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2912 }], 2918 }],
2913 ['_type=="executable"', { 2919 ['_type=="executable"', {
2914 'postbuilds': [ 2920 'postbuilds': [
2915 { 2921 {
2916 # Arranges for data (heap) pages to be protected against 2922 # Arranges for data (heap) pages to be protected against
2917 # code execution when running on Mac OS X 10.7 ("Lion"), and 2923 # code execution when running on Mac OS X 10.7 ("Lion"), and
2918 # ensures that the position-independent executable (PIE) bit 2924 # ensures that the position-independent executable (PIE) bit
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
3395 # settings in target dicts. SYMROOT is a special case, because many other 3401 # settings in target dicts. SYMROOT is a special case, because many other
3396 # Xcode variables depend on it, including variables such as 3402 # Xcode variables depend on it, including variables such as
3397 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3403 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3398 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3404 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3399 # files to appear (when present) in the UI as actual files and not red 3405 # files to appear (when present) in the UI as actual files and not red
3400 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3406 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3401 # and therefore SYMROOT, needs to be set at the project level. 3407 # and therefore SYMROOT, needs to be set at the project level.
3402 'SYMROOT': '<(DEPTH)/xcodebuild', 3408 'SYMROOT': '<(DEPTH)/xcodebuild',
3403 }, 3409 },
3404 } 3410 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698