aboutsummaryrefslogtreecommitdiff
path: root/ninja.go
Commit message (Collapse)AuthorAgeFilesLines
* Remove ninja shortcutsDan Willemsen2015-08-251-26/+0
| | | | | | | 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
* [go] don't emit regen envlist as C++Fumitoshi Ukai2015-07-311-22/+0
| | | | remove --error_on_env_change
* [go] fix ninja vpath.mk and vpath_directive.mkFumitoshi Ukai2015-07-291-16/+18
|
* [go] fix ninja colon_ws_in_{file,target}.mkFumitoshi Ukai2015-07-291-1/+15
|
* [go] fix ninja comment_in_command.mkFumitoshi Ukai2015-07-291-4/+29
| | | | strip comment until the end of line, or the end of command substitution.
* [go] fix ninja multiline_arg.mkFumitoshi Ukai2015-07-291-1/+17
|
* fix err_no_rule.mk - normalize error messageFumitoshi Ukai2015-07-281-5/+11
| | | | | [go] fix not emit phony for missing [c-ninja] mark TODO to recipe_var.mk
* [go] fix ninja multiline_recipe.mkFumitoshi Ukai2015-07-281-0/+2
|
* [go] fix ninja phonyFumitoshi Ukai2015-07-281-19/+76
| | | | | | | | | | phony will be emitted if target is not file and not alias for normalized output. fix ninja test ninja_normalized_path2.mk recipe_var.mk - fixed by previous commit
* [go] fix ninja dollar_in_file.mkFumitoshi Ukai2015-07-281-2/+3
| | | | | ninja will replace var with quoted if it has $, so don't use var when value has $.
* [go] fix ninja nothing_to_do.mkFumitoshi Ukai2015-07-281-4/+9
| | | | | don't emit default if the target (i.e. Makefile in this testcase) was not emitted.
* [go] fix preserve_single_dot.mkFumitoshi Ukai2015-07-281-8/+24
| | | | | ninja will normalize a/./b as a/b, so don't use ${out} or ${in} for unnormalized output/inputs.
* [go] ignore export environment variable of space in name.Fumitoshi Ukai2015-07-281-3/+8
| | | | bash couldn't handle variable name with space for export.
* [go] fix shell_var.mk in ninja generationFumitoshi Ukai2015-07-281-1/+1
| | | | | | for ninja.sh, we should not use $SHELL in Makefile. It is used for command invocation of make rules, but not for ninja invocation in ninja.sh.
* [go] fix $out replace in ninjaFumitoshi Ukai2015-07-281-7/+11
| | | | | | | | fix semi_in_var.mk target_specific_var_append.mk partial fix recipe_var.mk: fix bad $-escape, but ninja emits $ as '$'
* [go] fix export.mk ninjaFumitoshi Ukai2015-07-281-4/+7
| | | | | variable name should be quoted we couldn't use env variable which name contains space in bash, though.
* [go] backport [C++] ninja file regeneration rulesFumitoshi Ukai2015-07-271-16/+101
|
* [go] handle raw wildcard in prerequisites. #10Fumitoshi Ukai2015-07-221-0/+2
| | | | | clean out/pkg in go_src_stamp cleanpath key for wildcard cache.
* [go] ninja uses $in, $out for $^, $@ in command, or rspfile_content.Fumitoshi Ukai2015-07-221-16/+38
| | | | this makes build.ninja shorter and easier to read.
* [go] ninja export variable's value should be quoted.Fumitoshi Ukai2015-07-221-1/+1
|
* [go] fix ninja*.sh when -ninja_suffix givenFumitoshi Ukai2015-07-221-4/+12
|
* [go] backport [C++] ninja: Add $SHELL supportFumitoshi Ukai2015-07-211-6/+33
| | | | also fix rspfile case.
* [go] backport [C++] Add and fix dollar_in_file.mk for --ninjaFumitoshi Ukai2015-07-211-3/+19
|
* [go] backport [C++] Use -j500 with goma by defaultFumitoshi Ukai2015-07-211-1/+1
|
* [go] fix ninja generation for ckatiFumitoshi Ukai2015-07-211-1/+1
| | | | | | | including backport [C++] Fixes for depfile detection $ ./kati -ninja $ ./ninja.sh ckati
* [go] backport detect Android's command detection in ninja generatorFumitoshi Ukai2015-07-211-8/+60
|
* [go] fix --ninja backslash_before_special_character.mkFumitoshi Ukai2015-07-211-1/+1
| | | | no need to normalize \t to " "
* [go] ninja: \\\n should be emtpy in command lineFumitoshi Ukai2015-07-171-1/+1
| | | | | | fix runtest.rb -n backslash_in_rule_command.mk semicolon_in_var.mk
* [go] don't emit short name tfile for tdir/tfile and tfileFumitoshi Ukai2015-07-171-0/+3
|
* [go] emit phony for leaf nodes that has no command and doesn't exist.Fumitoshi Ukai2015-07-171-0/+5
| | | | | | | fixes runtest.rb -n auto_vars.mk build_once.mk command_vars.mk
* [go] backport [C++] Change directory to Android's code root in ninja.shFumitoshi Ukai2015-07-171-0/+3
| | | | commit 5d484e8ddb56e09d06c67c52421f40fa3490c815
* [go] backport [C++] Have all phony targets in build.ninjaFumitoshi Ukai2015-07-161-30/+37
| | | | commit b1570a8c693a550a1fbe57872982146b56066aea
* [go] implement vpath directiveFumitoshi Ukai2015-07-151-1/+1
|
* [go] fix panic with --ninjaFumitoshi Ukai2015-07-151-5/+6
| | | | should initialize shortNames
* [go] backport [C++] Do not strip words which do not start with '#'Fumitoshi Ukai2015-07-151-1/+5
| | | | commit e7f2d9d24c9cff8f9f19b9d0b37c61e1c2da4d42
* [go] backport [C++] Record kati's version in ninja fileFumitoshi Ukai2015-07-141-1/+1
| | | | commit f0d9b1d2380ba55618950b5d5f945838938309c6
* [go] backport [C++] Record environment variables usedFumitoshi Ukai2015-07-141-0/+17
| | | | | | commit 5217658b199521f5f8947a7cac467b62d8f59b32 different from C++, emit environment variable name sorted.
* [go] backport [C++] Handle command lines with ccacheFumitoshi Ukai2015-07-141-5/+20
| | | | commit 9a9f857d564b305db7c4bc5a042a428674abfd32
* [go] backport [C++] Automatically generate shortcutsFumitoshi Ukai2015-07-131-3/+24
| | | | commit 2aec79e79f856d5ca62e369fdb0d912a358a14d4
* [go] backport [C++] Emit "deps = gcc" in ninja fileFumitoshi Ukai2015-07-131-20/+30
| | | | commit 72a123098958c0304b4ffda1cc69fdc87f2a54e0
* factor out execContext from executor.Fumitoshi Ukai2015-06-301-15/+8
|
* order only is not attribute of dep node.Fumitoshi Ukai2015-06-301-7/+14
|
* fix panic based error reportingFumitoshi Ukai2015-06-261-32/+61
|
* unexport LogStatsFumitoshi Ukai2015-06-261-0/+3
|
* unexport NinjaGenerator, DefaultMakefileFumitoshi Ukai2015-06-251-10/+10
| | | | change HandleQuery -> Query
* go gettable for github.com/google/katiFumitoshi Ukai2015-06-251-11/+13
|
* Add LICENSE and licence headersShinichiro Hamaji2015-06-101-0/+14
|
* fix go lint (except comment on exported fields, error message with punct)Fumitoshi Ukai2015-06-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ast.go:70:1: comment on exported type MaybeRuleAST should be of the form "MaybeRuleAST ..." (with optional leading article) eval.go:241:1: comment on exported method Evaluator.EvaluateVar should be of the form "EvaluateVar ..." eval.go:14:2: don't use ALL_CAPS in Go names; use CamelCase eval.go:15:2: don't use ALL_CAPS in Go names; use CamelCase eval.go:16:2: don't use ALL_CAPS in Go names; use CamelCase eval.go:431:2: don't use underscores in Go names; var makefile_list should be makefileList main.go:29:2: var loadJson should be loadJSON main.go:30:2: var saveJson should be saveJSON ninja.go:19:2: struct field ruleId should be ruleID para.go:15:9: if block ends with a return statement, so drop this else and outdent its block para_test.go:21:2: don't use underscores in Go names; var num_tasks should be numTasks parser.go:713:1: error should be the last type when returning multiple items serialize.go:20:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:21:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:22:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:23:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:24:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:25:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:26:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:27:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:28:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:29:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:30:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:31:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:32:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:230:6: func DumpDepGraphAsJson should be DumpDepGraphAsJSON serialize.go:553:6: func LoadDepGraphFromJson should be LoadDepGraphFromJSON serialize.go:437:9: if block ends with a return statement, so drop this else and outdent its block var.go:174:1: receiver name should not be an underscore var.go:175:1: receiver name should not be an underscore var.go:176:1: receiver name should not be an underscore var.go:177:1: receiver name should not be an underscore var.go:178:1: receiver name should not be an underscore var.go:180:1: receiver name should not be an underscore var.go:183:1: receiver name should not be an underscore var.go:187:1: receiver name should not be an underscore var.go:191:1: receiver name should not be an underscore
* Fix depfile detection for autotoolsShinichiro Hamaji2015-06-051-0/+11
|
* Pass parameters passed to ninja.shShinichiro Hamaji2015-06-041-2/+2
|