1459a9259e
Android build generates 180K+ zip files that are to be merged and the result passed to the indexing pipeline to generate the source code cross-reference. Their names cannot be passed on the command line, hence the need for this change. That required extensive changes to the code as it no longer can be assumed that all the input files can be kept open. Bug: 121267023 Test: internal + treehugger + combine index files Change-Id: I0a829f96ff7187ad967fb6b8cede387501ec57cc
30 lines
871 B
Text
30 lines
871 B
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.
|
|
|
|
blueprint_go_binary {
|
|
name: "merge_zips",
|
|
deps: [
|
|
"android-archive-zip",
|
|
"blueprint-pathtools",
|
|
"soong-jar",
|
|
"soong-zip",
|
|
],
|
|
srcs: [
|
|
"merge_zips.go",
|
|
],
|
|
testSrcs: [
|
|
"merge_zips_test.go",
|
|
],
|
|
}
|
|
|