Hook up gomadir in the GN build.
Without this, GYP will fail if you manually specify gomadir in your GYP_DEFINES. R=jamesr@chromium.org, jamesr Review URL: https://codereview.chromium.org/137443024 git-svn-id: http://src.chromium.org/svn/trunk/src/build@245595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
c1c131c7d8
Коммит
8972c57d08
|
@ -203,6 +203,10 @@ def GetArgsStringForGN(supplemental_files):
|
||||||
if v in vars_dict:
|
if v in vars_dict:
|
||||||
gn_args += ' ' + v + '=' + EscapeStringForGN(vars_dict[v])
|
gn_args += ' ' + v + '=' + EscapeStringForGN(vars_dict[v])
|
||||||
|
|
||||||
|
# gomadir is renamed goma_dir in the GN build.
|
||||||
|
if 'gomadir' in vars_dict:
|
||||||
|
gn_args += ' goma_dir="%s"' % vars_dict['gomadir']
|
||||||
|
|
||||||
# These arguments get passed directly as integers (avoiding the quoting and
|
# These arguments get passed directly as integers (avoiding the quoting and
|
||||||
# escaping of the string ones above).
|
# escaping of the string ones above).
|
||||||
for v in ['arm_version']:
|
for v in ['arm_version']:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче