d9f6fa28d6
This creates a rotating build.trace.gz in the out directory that can be loaded with chrome://tracing. It'll include start and end timings for make/soong/kati/ninja, and it will import and time-correct the ninja log files. Test: m -j; load out/build.trace.gz in chrome://tracing Test: multiproduct_kati -keep; load out/multiproduct*/build.trace.gz Change-Id: Ic060fa9515eb88d95dbe16712479dae9dffcf626
37 lines
1 KiB
Text
37 lines
1 KiB
Text
// Copyright 2017 Google Inc. All rights reserved.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-ui-build",
|
|
pkgPath: "android/soong/ui/build",
|
|
deps: [
|
|
"soong-ui-logger",
|
|
"soong-ui-tracer",
|
|
],
|
|
srcs: [
|
|
"build.go",
|
|
"config.go",
|
|
"context.go",
|
|
"environment.go",
|
|
"kati.go",
|
|
"make.go",
|
|
"ninja.go",
|
|
"signal.go",
|
|
"soong.go",
|
|
"util.go",
|
|
],
|
|
testSrcs: [
|
|
"environment_test.go",
|
|
],
|
|
}
|