Home | History | Annotate | Download | only in scripts

Lines Matching refs:output_dir

36        fuse_gtest_files.py [GTEST_ROOT_DIR] OUTPUT_DIR
39 two files: OUTPUT_DIR/gtest/gtest.h and OUTPUT_DIR/gtest/gtest-all.cc.
40 Then you can build your tests by adding OUTPUT_DIR to the include
41 search path and linking with OUTPUT_DIR/gtest/gtest-all.cc. These
110 def VerifyOutputFile(output_dir, relative_path):
113 relative_path is relative to the output_dir directory.
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
136 def ValidateOutputDir(output_dir):
137 """Makes sure output_dir points to a valid output directory.
142 VerifyOutputFile(output_dir, GTEST_H_OUTPUT)
143 VerifyOutputFile(output_dir, GTEST_ALL_CC_OUTPUT)
146 def FuseGTestH(gtest_root, output_dir):
147 """Scans folder gtest_root to generate gtest/gtest.h in output_dir."""
149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w')
218 def FuseGTestAllCc(gtest_root, output_dir):
219 """Scans folder gtest_root to generate gtest/gtest-all.cc in output_dir."""
221 output_file = file(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w')
226 def FuseGTest(gtest_root, output_dir):
230 ValidateOutputDir(output_dir)
232 FuseGTestH(gtest_root, output_dir)
233 FuseGTestAllCc(gtest_root, output_dir)
239 # fuse_gtest_files.py OUTPUT_DIR
242 # fuse_gtest_files.py GTEST_ROOT_DIR OUTPUT_DIR