aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-11[C++] Correct the implementation of $*Shinichiro Hamaji
2015-09-11[C++] Fix for multiple output patterns in a ruleShinichiro Hamaji
2015-09-11A typo fix in runtest.rbShinichiro Hamaji
2015-09-11Do not use local_pool when goma is not enabledShinichiro Hamaji
2015-09-10Add build status to README.mdShinichiro Hamaji
2015-09-10Give up container-based Travis CIShinichiro Hamaji
2015-09-10Set CXX=clang++-3.5 in .travis.ymlShinichiro Hamaji
2015-09-10Do not use libstdc++-4.8-dev package on Travis CIShinichiro Hamaji
2015-09-10Use container-based Travis CIShinichiro Hamaji
http://docs.travis-ci.com/user/migrating-from-legacy/
2015-09-10Try to use clang-3.5Shinichiro Hamaji
2015-09-10Add -v flag to runtest.rbShinichiro Hamaji
2015-09-09An attempt to use Travis CIShinichiro Hamaji
2015-09-09[C++] Fix err_invalid_ifeq3.mkShinichiro Hamaji
2015-09-09[C++] A global refactoring for command line flagsShinichiro Hamaji
So we will be able to use the command line parser for sub-makes.
2015-09-09[C++] Fix submake_basic.mk for non-ninja modeShinichiro Hamaji
2015-09-09Make it possible to write tests for submakeShinichiro Hamaji
2015-09-08[C++] Handle DT_UNKNOWN properly in find emulatorShinichiro Hamaji
When readdir returns DT_UNKNOWN, we need to check the file type using lstat. This is necessary for some filesystems such as sshfs.
2015-09-08Add find_test.cc for easier manual testingShinichiro Hamaji
2015-09-07Add hashimoto@ to CONTRIBUTORSShinichiro Hamaji
2015-09-07Merge pull request #25 from hshmt/empty-gopathShinichiro Hamaji
Fix to build kati when GOPATH is empty
2015-09-07Fix to build kati when GOPATH is emptyRyo Hashimoto
'go get' says 'GOPATH entry is relative; must be absolute path: "".' if GOPATH contains an empty path.
2015-09-04[go] fix func_backslash.mk and err_invalid_ifeq5.mkFumitoshi Ukai
emit "Nothing to be done for '<target>'" in these test. don't remove "Nothing to be done for 'test' for err_invalid_ifreq3.mk and mark it as TODO(c)
2015-09-04Update the documentation to mention USE_NINJA=trueShinichiro Hamaji
2015-09-04Merge pull request #24 from colincross/gitShinichiro Hamaji
Support building out of a non-git directory
2015-09-04[C++] Define MAKE=make -j cpus/2Shinichiro Hamaji
So that sub-make works, although ninja won't be used. Also define KATI bootstrap variable to make it easier to determine if we are running make or kati.
2015-09-04Correct the priority of initial variablesShinichiro Hamaji
Also make builtin variables recursive.
2015-09-02Support building out of a non-git directoryColin Cross
Don't assume that kati is in a valid git directory. Change-Id: I026fa07880924442f23fa4b1b8f40937fbd1afb8
2015-09-02Add --gen_all_phony_targets flagShinichiro Hamaji
Let me keep this flag for a while, as there would be some people who are still using m2n+ninja.sh workflow.
2015-09-02Merge branch 'danw-regen'Shinichiro Hamaji
2015-09-02Merge branch 'regen' of git://github.com/danw/kati into danw-regenShinichiro Hamaji
2015-09-02[C++] Stop restoring environment variables with --ninja_suffixShinichiro Hamaji
Also remove --lunch in m2n. They were mainly for my development and are not necessary anymore. .kati_env causes an error message for mmm build in Android repo.
2015-09-01Merge pull request #22 from danw/simplefixesShinichiro Hamaji
Some simple fixes
2015-08-31[C++] Fix ckati with no arguments building all phony targetsDan Willemsen
Only the first rule should be built if no targets are in the arguments. This wasn't a problem for ninja, since the target was again passed to ninja. Change-Id: Ia5381b89411fcc9b164c83de5faee46029897423
2015-08-31[C++] Fix ninja EmitNode early exitDan Willemsen
Change-Id: I2b574a71472508515e9d06e55ff2c2e1a5292c2b
2015-09-01Merge pull request #21 from danw/noshortcutsShinichiro Hamaji
Remove ninja shortcuts
2015-09-01Merge pull request #23 from colincross/regenShinichiro Hamaji
Fix error reading .kati_stamp when wildcard matches have changed
2015-08-31Fix error reading .kati_stamp when wildcard matches have changedColin Cross
NeedsRegen re-matches all the wildcards that were executed when the ninja file was first generated. If the number of matches is different, it was skipping LOAD_STRING for the match list completely, leaving the file position incorrect for reading the next glob pattern. If the glob pattern matches the pattern passed to --ignore_dirty NeedsRegen will continue to the next glob pattern and think the file format is incorrect. Always call LOAD_STRING num_files times, and move the check for matching files only if needs_regen is not set inside the loop. Change-Id: I7f6cf2eb7a5f802a62c5bc8a915725bc4d3475c6
2015-08-29[C++] Do not die for incomplete .kati_stamp fileShinichiro Hamaji
Instead, just re-generate the ninja file
2015-08-25[C++-ninja] Fix phony rules not always runningDan Willemsen
Phony rules that had commands aren't marked as phony in ninja, so they weren't always being run. Instead, add a _kati_always_build_ phony rule that all phony rules depend on. Change-Id: I7d8afbd3c10d77e3158cedb839e501e1f9a693d8
2015-08-25[C++] Fix newlines in $(info/warning/error)Dan Willemsen
Change-Id: Ia20a1ef563a6871ed843b9388fe27e87b8bd7020
2015-08-25[C++] Fix testcase/nothing_to_do.mkDan Willemsen
Change-Id: Ic370c2e2442efc5eb0cde9294e0f18084bdabeca
2015-08-25[C++] Fix ninja multiline_arg testcaseDan Willemsen
Change-Id: Id85e92cfa46fff95f5827237d451ae6780247c91
2015-08-25Remove hardcoded skip in runtest.rbDan Willemsen
The eval_assign test passes with ckati. Change-Id: I07bb546cbaa777debf9d8b1a82484dd14ae523ed
2015-08-25[C++] Regen ninja file if ckati arguments changeDan Willemsen
Otherwise building different targets doesn't work. Change-Id: Ie841fb8e8ae8df394705c39d146425e2128ffc77
2015-08-25Remove ninja shortcutsDan Willemsen
These don't exist in make, and likely won't be supported in Android's future build system either, so don't expose it here. Change-Id: I20b70d469ac9e0e5e16c0878ca8b9c0c2c299384
2015-08-21[go] fix multiline_define.mkFumitoshi Ukai
2015-08-21Add Dan to CONTRIBUTORSShinichiro Hamaji
2015-08-21Merge pull request #19 from danw/multiline_defineShinichiro Hamaji
Fix line continuations in multiline variables
2015-08-20Fix line continuations in multiline variablesDan Willemsen
We were improperly merging whitespace when parsing line continuations. The next newline should not be part of the line. Change-Id: I3cbe776e093207b8803c6cd495598d3139cf6914
2015-08-20Merge pull request #18 from danw/builddirShinichiro Hamaji
Store the ninja log and deps in ninja_dir