Lines Matching refs:new_cmd
25 string GetDepfile(string cmd, string* new_cmd) { in GetDepfile() argument
26 new_cmd->clear(); in GetDepfile()
29 *new_cmd = cmd; in GetDepfile()
36 string new_cmd; in TestGetDepfile() local
37 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD ", &new_cmd), ""); in TestGetDepfile()
43 ASSERT_EQ(GetDepfile("g++ -c fat.cc -o fat.o", &new_cmd), ""); in TestGetDepfile()
44 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -o fat.o -o fuga.o", &new_cmd), "fuga.d.tmp"); in TestGetDepfile()
45 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -o fat.o", &new_cmd), "fat.d.tmp"); in TestGetDepfile()
46 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -o fat", &new_cmd), "fat.d.tmp"); in TestGetDepfile()
47 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -MF foo.d -o fat.o", &new_cmd), "foo.d.tmp"); in TestGetDepfile()
48 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -o fat.o -MF foo.d", &new_cmd), "foo.d.tmp"); in TestGetDepfile()
50 …all -MMD -fno-omit-frame-pointer -O -m64 -W -Werror -c -o fat.o fat.cc", &new_cmd), "fat.d.tmp"); in TestGetDepfile()
52 …/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/llvm-rs-cc.d", &new_cmd), "out/host/linux… in TestGetDepfile()
53 …ASSERT_EQ(new_cmd, "mkdir -p out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/ && echo … in TestGetDepfile()
54 …lib_src/ARM-E_filter_gnu.o external/sonivox/arm-wt-22k/lib_src/ARM-E_filter_gnu.s", &new_cmd), ""); in TestGetDepfile()
55 … && touch out/target/common/obj/APPS/Galaxy4_intermediates/src/RenderScript.stamp", &new_cmd), ""); in TestGetDepfile()
56 …neric/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/arch/generic.d)", &new_cmd), "out/target/pro… in TestGetDepfile()
57 …ASSERT_EQ(new_cmd, "(echo \"bc: libclcore.bc <= frameworks/rs/driver/runtime/arch/generic.c\") && … in TestGetDepfile()
58 ASSERT_EQ(GetDepfile("gcc -c foo.P.c", &new_cmd), ""); in TestGetDepfile()
59 ASSERT_EQ(GetDepfile("gcc -MMD foo.o -o foo", &new_cmd), ""); in TestGetDepfile()