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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 # flag allows us to have warnings as errors in general to prevent | 914 # flag allows us to have warnings as errors in general to prevent |
915 # regressions in most modules, while working on the bits that are | 915 # regressions in most modules, while working on the bits that are |
916 # remaining. | 916 # remaining. |
917 'win_third_party_warn_as_error%': 'true', | 917 'win_third_party_warn_as_error%': 'true', |
918 | 918 |
919 # This is the location of the sandbox binary. Chrome looks for this before | 919 # This is the location of the sandbox binary. Chrome looks for this before |
920 # running the zygote process. If found, and SUID, it will be used to | 920 # running the zygote process. If found, and SUID, it will be used to |
921 # sandbox the zygote process and, thus, all renderer processes. | 921 # sandbox the zygote process and, thus, all renderer processes. |
922 'linux_sandbox_path%': '', | 922 'linux_sandbox_path%': '', |
923 | 923 |
924 # Set this to true to enable SELinux support. | |
925 'selinux%': 0, | |
926 | |
927 # Clang stuff. | 924 # Clang stuff. |
928 'clang%': '<(clang)', | 925 'clang%': '<(clang)', |
929 'make_clang_dir%': 'third_party/llvm-build/Release+Asserts', | 926 'make_clang_dir%': 'third_party/llvm-build/Release+Asserts', |
930 | 927 |
931 # These two variables can be set in GYP_DEFINES while running | 928 # These two variables can be set in GYP_DEFINES while running |
932 # |gclient runhooks| to let clang run a plugin in every compilation. | 929 # |gclient runhooks| to let clang run a plugin in every compilation. |
933 # Only has an effect if 'clang=1' is in GYP_DEFINES as well. | 930 # Only has an effect if 'clang=1' is in GYP_DEFINES as well. |
934 # Example: | 931 # Example: |
935 # GYP_DEFINES='clang=1 clang_load=/abs/path/to/libPrintFunctionNames.dyl
ib clang_add_plugin=print-fns' gclient runhooks | 932 # GYP_DEFINES='clang=1 clang_load=/abs/path/to/libPrintFunctionNames.dyl
ib clang_add_plugin=print-fns' gclient runhooks |
936 | 933 |
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1997 'release_extra_cflags': '-g1', | 1994 'release_extra_cflags': '-g1', |
1998 }, | 1995 }, |
1999 }], | 1996 }], |
2000 ], | 1997 ], |
2001 }], # clang!=1 | 1998 }], # clang!=1 |
2002 ], | 1999 ], |
2003 }], # fastbuild!=0 | 2000 }], # fastbuild!=0 |
2004 ['dcheck_always_on!=0', { | 2001 ['dcheck_always_on!=0', { |
2005 'defines': ['DCHECK_ALWAYS_ON=1'], | 2002 'defines': ['DCHECK_ALWAYS_ON=1'], |
2006 }], # dcheck_always_on!=0 | 2003 }], # dcheck_always_on!=0 |
2007 ['selinux==1', { | |
2008 'defines': ['CHROMIUM_SELINUX=1'], | |
2009 }], | |
2010 ['win_use_allocator_shim==0', { | 2004 ['win_use_allocator_shim==0', { |
2011 'conditions': [ | 2005 'conditions': [ |
2012 ['OS=="win"', { | 2006 ['OS=="win"', { |
2013 'defines': ['NO_TCMALLOC'], | 2007 'defines': ['NO_TCMALLOC'], |
2014 }], | 2008 }], |
2015 ], | 2009 ], |
2016 }], | 2010 }], |
2017 ['enable_gpu==1', { | 2011 ['enable_gpu==1', { |
2018 'defines': [ | 2012 'defines': [ |
2019 'ENABLE_GPU=1', | 2013 'ENABLE_GPU=1', |
(...skipping 2425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4445 # settings in target dicts. SYMROOT is a special case, because many other | 4439 # settings in target dicts. SYMROOT is a special case, because many other |
4446 # Xcode variables depend on it, including variables such as | 4440 # Xcode variables depend on it, including variables such as |
4447 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4441 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4448 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4442 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4449 # files to appear (when present) in the UI as actual files and not red | 4443 # files to appear (when present) in the UI as actual files and not red |
4450 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4444 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4451 # and therefore SYMROOT, needs to be set at the project level. | 4445 # and therefore SYMROOT, needs to be set at the project level. |
4452 'SYMROOT': '<(DEPTH)/xcodebuild', | 4446 'SYMROOT': '<(DEPTH)/xcodebuild', |
4453 }, | 4447 }, |
4454 } | 4448 } |
OLD | NEW |