@@ -23,7 +23,6 @@ CLOSURE_SOURCE_PATH = os.path.join(CLOSURE_LIBRARY_PATH, 'closure', 'goog')
2323CLOSURE_LINTER_WRAPPER_PATH = os .path .join (CONTRIB_PATH , 'closure-linter-wrapper' )
2424CLOSURE_BIN_PATH = os .path .join (CLOSURE_LIBRARY_PATH , 'closure' , 'bin' )
2525DEPS_WRITER_PATH = os .path .join (CLOSURE_BIN_PATH , 'build' , 'depswriter.py' )
26- EXTERNS_PATH = os .path .join (PROJECT_PATH , 'externs.js' )
2726
2827PYTHON = 'python'
2928if not (platform .system () == 'Windows' ):
@@ -176,7 +175,7 @@ def __getOptimizedCompilerArgs():
176175 '--jscomp_warning duplicateMessage' ,
177176 '--jscomp_warning es3' ,
178177 '--jscomp_warning es5Strict' ,
179- '--jscomp_warning externsValidation' ,
178+ # '--jscomp_warning externsValidation',
180179 '--jscomp_warning fileoverviewTags' ,
181180 '--jscomp_warning functionParams' ,
182181 '--jscomp_warning globalThis' ,
@@ -214,7 +213,6 @@ def __getDefaultCompilerArgs(outputFile):
214213 result = [
215214 'java -jar' ,
216215 COMPILER_PATH ,
217- '--externs ' + EXTERNS_PATH ,
218216 '--js="%s"' % os .path .join (SRC_PATH , '**.js' ),
219217 '--js="%s"' % os .path .join (CLOSURE_LIBRARY_PATH , '**.js' ),
220218 '--define "goog.DEBUG=false"' ,
0 commit comments