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

Commit 4b1edb09 authored by Joël Stemmer's avatar Joël Stemmer
Browse files

Make backup_flags exportable and export enable_cross_platform_transfer

For the build system to recognize that a flag declaration contains
exported flags, we first have to mark the build target as exportable.

The enable_cross_platform_transfer flag is set to exported so it can be
accessed from google3.

See go/android-flag-containers#exported-mode

Bug: 438172201
Test: make sdk dist; then copied android-flags.jar to google3 and
  successfully compiled code depending on the new exported flag.
Flag: NONE changes to build targets cannot be flagged

Change-Id: I391be577330878d31993289fe56c844bc5712fcc
parent 110501cc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31,5 +31,6 @@ aconfig_declarations {
    name: "backup_flags",
    package: "com.android.server.backup",
    container: "system",
    exportable: true,
    srcs: ["flags.aconfig"],
}
+1 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ flag {
    description: "Enables cross platform transfers for backup agents"
    bug: "403956528"
    is_fixed_read_only: true
    is_exported: true
}

flag {