OSDN Git Service

Modify the LLVM checkout of googletest:
[android-x86/external-llvm.git] / utils / unittest / googletest / README.LLVM
1 LLVM notes
2 ----------
3
4 This directory contains Google Test 1.6.0, with all elements removed except for
5 the actual source code, to minimize the addition to the LLVM distribution.
6
7 Cleaned up as follows:
8
9 # Remove all the unnecessary files and directories
10 $ rm -f aclocal* CMakeLists.txt configure* Makefile* CHANGES CONTRIBUTORS README
11 $ rm -rf build-aux cmake codegear fused-src m4 make msvc samples scripts test xcode
12 $ rm -f `find . -name \*\.pump`
13
14 # Move all the source files to the current directory
15 $ mv src/* .
16 $ rmdir src
17
18 # Move extra headers into the already-existing internal headers dir
19 $ mv *.h include/gtest/internal/
20
21 # Update paths to the included files
22 $ perl -pi -e 's|^#include "src/|#include "|' gtest-all.cc
23 $ perl -pi -e 's|^#include "src/|#include "gtest/internal/|' *.cc
24
25 $ rm -f gtest_main.cc
26
27 $ mv COPYING LICENSE.TXT
28
29
30 Modified as follows:
31 * To GTestStreamToHelper in include/gtest/internal/gtest-internal.h,
32   added the ability to stream with raw_os_ostream.
33 * To refresh Haiku support in include/gtest/internal/gtest-port.h,
34   see http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100621/102898.html