build: fix symbol-extractor by passing through "compile" as environmental variable (#26735)

PR Close #26735
This commit is contained in:
Igor Minar 2018-10-25 20:48:41 -07:00 committed by Matias Niemelä
parent 40bbfbf961
commit 4b51d31aea
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ def js_expected_symbol_test(name, src, golden, data = [], **kwargs):
data = all_data,
entry_point = entry_point,
templated_args = ["$(location %s)" % src, "$(location %s)" % golden],
configuration_env_vars = ["compile"],
**kwargs
)
@ -35,6 +36,7 @@ def js_expected_symbol_test(name, src, golden, data = [], **kwargs):
testonly = True,
data = all_data,
entry_point = entry_point,
configuration_env_vars = ["compile"],
templated_args = ["$(location %s)" % src, "$(location %s)" % golden, "--accept"],
**kwargs
)