aboutsummaryrefslogtreecommitdiffstats
path: root/dep.go
diff options
context:
space:
mode:
authorFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-25 00:10:52 +0900
committerFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-25 11:37:49 +0900
commit744bb2b8d146eaba4d073cf58e35a60903e06de8 (patch)
tree15d5c79f4e62428b3c427d0ce15e0076a92139de /dep.go
parent44ae8cfdc153dd1a209b16453d5dbaa8b4f199d7 (diff)
downloadplatform_build_kati-744bb2b8d146eaba4d073cf58e35a60903e06de8.tar.gz
platform_build_kati-744bb2b8d146eaba4d073cf58e35a60903e06de8.tar.bz2
platform_build_kati-744bb2b8d146eaba4d073cf58e35a60903e06de8.zip
go gettable for github.com/google/kati
Diffstat (limited to 'dep.go')
-rw-r--r--dep.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/dep.go b/dep.go
index 0e29789..1126336 100644
--- a/dep.go
+++ b/dep.go
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package main
+package kati
import (
"fmt"
@@ -272,7 +272,7 @@ func (db *DepBuilder) buildPlan(output string, neededBy string, tsvs Vars) (*Dep
if !present || oldVar.String() == "" {
db.vars[name] = tsv
} else {
- v = oldVar.AppendVar(newEvaluator(db.vars), tsv)
+ v = oldVar.AppendVar(NewEvaluator(db.vars), tsv)
db.vars[name] = v
}
tsvs[name] = v
@@ -489,7 +489,7 @@ func (s bySuffix) Less(i, j int) bool {
}
func (db *DepBuilder) reportStats() {
- if !katiLogFlag && !katiPeriodicStatsFlag {
+ if !LogFlag && !PeriodicStatsFlag {
return
}