platform_hardware_interfaces/prebuilt_hashes/Android.bp
Yifan Hong 84c3e21590 Add dump_hals_for_release.
Dumps HALs for each release by analyzing
- current.txt
- prebuilt_hashes/*.txt
- hardware/interfaces

Test: prebuilt_hashes/dump_hals_for_release.py \
    --pretty \
    --package-root android.hardware:. \
    -- current.txt prebuilt_hashes/26.txt \
       prebuilt_hashes/27.txt prebuilt_hashes/28.txt

Bug: 116165266

Change-Id: I10279daa0b51e378c5b0f42a1eaf9f30f0b8dd56
2018-11-01 16:34:32 -07:00

30 lines
858 B
Text

// Copyright (C) 2018 The Android Open Source Project
//
// 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.
python_binary_host {
name: "dump_hals_for_release",
srcs: [
"dump_hals_for_release.py",
],
version: {
py2: {
enabled: true,
},
py3: {
enabled: false,
},
},
}