#!/bin/bash

set -e;
source "build/envsetup.sh";

### ASB
python2 vendor/cm/build/tools/repopick.py -f 400933 # ASB uprev
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2021-09
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2021-10
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2021-11
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2021-12
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-01
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-02
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-03
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-04
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-05
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-06
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-07
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-08
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-09
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-10
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-11
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2022-12
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-01
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-02
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-03
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-04
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-05
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-06
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-07
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-08
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-09
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-10
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-11
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2023-12
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-01
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-02
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-03
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-04
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-05
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-06
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-07
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-08
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-09
python2 vendor/cm/build/tools/repopick.py -f -t n-asb-2024-10

## system/bt
python2 vendor/cm/build/tools/repopick.py -f 400677 # stack: btm: ble: Initialize conn_* variables

## TZDB
python2 vendor/cm/build/tools/repopick.py -f -t tzdb_N

### Platform

## ADB Insecure
python2 vendor/cm/build/tools/repopick.py -f 264108 # adb insecure
python2 vendor/cm/build/tools/repopick.py -f 400637 # cm: config: common: Enable ADB Root by default

## IBSS
python2 vendor/cm/build/tools/repopick.py -f -t ibss-mode-nougat

## Prebuilt Kernel Fix
python2 vendor/cm/build/tools/repopick.py -f 264119 # tasks: kernel: Honor prebuilt kernel flag

