From f28dacf28082cbe46515ef6e4b2eaf684a36cbb4 Mon Sep 17 00:00:00 2001 From: Emil Sjolander Date: Tue, 16 Aug 2016 03:47:40 -0700 Subject: [PATCH] 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 --- lib/gtest/BUCK | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gtest/BUCK b/lib/gtest/BUCK index 16b5331b..d1a01d56 100644 --- a/lib/gtest/BUCK +++ b/lib/gtest/BUCK @@ -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'