1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # Fake build.ninja file used by ../chromium.ycm_extra_conf_unittest.py
7 cxx = ../../fake-clang++
8 cxx2 = echo ../../fake-clang++
10 default_file = ../../base/logging.cc
13 command = $cxx -Ia -isysroot /mac.sdk -Itag-$tag $in -o $out
16 command = $link $in $out
18 build obj/one.o: cxx ../../one.cpp
21 build extra: phony obj/extra.o
23 build obj/linker-output.o: link ../../three.cc | ../../four.cc $default_file
25 build obj/extra.o: cxx ../../extra.cpp
28 build obj/two.o: cxx ../../two.cpp | extra
31 build obj/three.o: cxx ../../three.cc
34 build obj/four.o: cxx ../../four.cc
37 build obj/base.logging.o: cxx $default_file
40 build obj/five.o: link ../../five.cc