Simplify the disable_pie logic.
Since we only use the variable in one place, move its definition into that one place. Review URL: http://codereview.chromium.org/6969045 git-svn-id: http://src.chromium.org/svn/trunk/src/build@85162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
3b45b2e755
Коммит
88ad421c00
|
@ -142,9 +142,6 @@
|
||||||
# Has no effect if 'clang' is not set as well.
|
# Has no effect if 'clang' is not set as well.
|
||||||
'clang_use_chrome_plugins%': 0,
|
'clang_use_chrome_plugins%': 0,
|
||||||
|
|
||||||
# Allow a user to link Chromium as a non-position independent executable.
|
|
||||||
'disable_pie%': 0,
|
|
||||||
|
|
||||||
'conditions': [
|
'conditions': [
|
||||||
# A flag for POSIX platforms
|
# A flag for POSIX platforms
|
||||||
['os_nix==1 or OS=="mac"', {
|
['os_nix==1 or OS=="mac"', {
|
||||||
|
@ -230,7 +227,6 @@
|
||||||
'remoting%': '<(remoting)',
|
'remoting%': '<(remoting)',
|
||||||
'p2p_apis%': '<(p2p_apis)',
|
'p2p_apis%': '<(p2p_apis)',
|
||||||
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
|
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
|
||||||
'disable_pie%': '<(disable_pie)',
|
|
||||||
|
|
||||||
# The release channel that this build targets. This is used to restrict
|
# The release channel that this build targets. This is used to restrict
|
||||||
# channel-specific build options, like which installer packages to create.
|
# channel-specific build options, like which installer packages to create.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче