Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f45bf2d5 authored by android-build-prod (mdb)'s avatar android-build-prod (mdb) Committed by Gerrit Code Review
Browse files

Merge "Revert "Support regenerating partition table with bpttool in sign_target_files_apks""

parents dde5f11e 7febcdf7
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -2352,7 +2352,6 @@ OTATOOLS := $(HOST_OUT_EXECUTABLES)/minigzip \
  $(HOST_OUT_EXECUTABLES)/delta_generator \
  $(HOST_OUT_EXECUTABLES)/delta_generator \
  $(AVBTOOL) \
  $(AVBTOOL) \
  $(BLK_ALLOC_TO_BASE_FS) \
  $(BLK_ALLOC_TO_BASE_FS) \
  $(BPTTOOL) \
  $(BROTLI) \
  $(BROTLI) \
  $(BUILD_VERITY_METADATA) \
  $(BUILD_VERITY_METADATA) \
  $(BUILD_VERITY_TREE)
  $(BUILD_VERITY_TREE)
+0 −9
Original line number Original line Diff line number Diff line
@@ -222,15 +222,6 @@ def LoadInfoDict(input_file, input_dir=None):
            vendor_base_fs_file,))
            vendor_base_fs_file,))
        del d["vendor_base_fs_file"]
        del d["vendor_base_fs_file"]


    # If board_bpt_input_files property is defined then bpttool is being used to
    # generate the partition table. When signing target-files, the combined
    # partition table definition is copied into META/partition-table.bpt since
    # the original input files aren't available.
    if "board_bpt_input_files" in d:
      board_bpt_input_files = os.path.join(input_dir, "META", "partition-table.bpt")
      if os.path.exists(board_bpt_input_files):
        d["board_bpt_input_files"] = board_bpt_input_files

  def makeint(key):
  def makeint(key):
    if key in d:
    if key in d:
      d[key] = int(d[key], 0)
      d[key] = int(d[key], 0)