import function before using it

Summary: We don't run this file internally so this was not caught earlier. Must of course include the function before using it.

Reviewed By: lucasr

Differential Revision: D3717080

fbshipit-source-id: 15c070b6b18bfa4fdd495e8c3b1b5ae62cb09824
This commit is contained in:
Emil Sjolander
2016-08-16 03:47:40 -07:00
committed by Facebook Github Bot 7
parent a960203567
commit f28dacf280

View File

@@ -5,13 +5,13 @@
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
include_defs('//CSSLAYOUT_DEFS')
with allow_unsafe_import():
import os
import urllib2
import zipfile
include_defs('//CSSLAYOUT_DEFS')
# Download gtest dep if it does not exists in path
current_dir = os.path.dirname(os.path.realpath(__file__))
gtest_folder = 'googletest-release-1.7.0'