Add a official build target for Linux, builds with OFFICIAL_BUILD.
Review URL: http://codereview.chromium.org/18748 git-svn-id: http://src.chromium.org/svn/trunk/src/build@8631 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
68b6d323e6
Коммит
c7d2fc918e
|
@ -504,6 +504,11 @@ linux_env.Append(
|
|||
|
||||
ICU_LIBS = ['icu'],
|
||||
)
|
||||
|
||||
# Build an "official" build (DCHECKs completely compiled out, etc).
|
||||
if ARGUMENTS.get('OFFICIAL') == '1':
|
||||
linux_env.Append(CPPDEFINES=['OFFICIAL_BUILD'])
|
||||
|
||||
# Build with support for gcov when COVERAGE=1.
|
||||
if ARGUMENTS.get('COVERAGE') == '1':
|
||||
linux_env.Append(CCFLAGS=['-fprofile-arcs', '-ftest-coverage'])
|
||||
|
|
Загрузка…
Ссылка в новой задаче