├── .gitignore
├── Android.bp
├── Changes.md
├── CleanSpec.mk
├── Deprecation.md
├── OWNERS
├── PREUPLOAD.cfg
├── README.md
├── Usage.txt
├── backported_fixes
├── Android.bp
├── OWNERS
├── applied_fixes
│ └── ki350037023.txtpb
├── backported_fixes.proto
├── src
│ └── java
│ │ └── com
│ │ └── android
│ │ └── build
│ │ └── backportedfixes
│ │ ├── Main.java
│ │ └── common
│ │ ├── ClosableCollection.java
│ │ └── Parser.java
└── tests
│ └── java
│ └── com
│ └── android
│ └── build
│ └── backportedfixes
│ ├── MainTest.java
│ └── common
│ ├── CloseableCollectionTest.java
│ └── ParserTest.java
├── banchanHelp.sh
├── buildspec.mk.default
├── ci
├── Android.bp
├── AndroidTest.xml.template
├── build_context.py
├── build_device_and_tests
├── build_metadata
├── build_test_suites
├── build_test_suites.py
├── build_test_suites_local_test.py
├── build_test_suites_test.py
├── buildbot.py
├── ci_test_lib.py
├── dump_product_config
├── metrics_agent.py
├── optimized_targets.py
├── optimized_targets_test.py
├── test_discovery_agent.py
└── test_mapping_module_retriever.py
├── common
├── core.mk
├── json.mk
├── math.mk
└── strings.mk
├── core
├── BUILD.bazel
├── LINUX_KERNEL_COPYING
├── Makefile
├── OWNERS
├── WINPTHREADS_COPYING
├── aapt2.mk
├── aapt_flags.mk
├── allowed_ndk_types.mk
├── android_manifest.mk
├── android_soong_config_vars.mk
├── app_certificate_validate.mk
├── app_prebuilt_internal.mk
├── art_config.mk
├── artifact_path_requirements.mk
├── autogen_test_config.mk
├── base_rules.mk
├── binary.mk
├── board_config.mk
├── board_config_wifi.mk
├── board_config_wpa_supplicant.mk
├── build-system.html
├── build_id.mk
├── build_rro_package.mk
├── cc_prebuilt_internal.mk
├── ccache.mk
├── check_elf_file.mk
├── checktree
├── clang
│ ├── HOST_x86.mk
│ ├── HOST_x86_64.mk
│ ├── TARGET_arm.mk
│ ├── TARGET_arm64.mk
│ ├── TARGET_riscv64.mk
│ ├── TARGET_x86.mk
│ ├── TARGET_x86_64.mk
│ ├── config.mk
│ └── tidy.mk
├── cleanbuild.mk
├── cleanspec.mk
├── clear_vars.mk
├── combo
│ ├── HOST_darwin.mk
│ ├── HOST_linux.mk
│ ├── TARGET_linux-arm.mk
│ ├── TARGET_linux-arm64.mk
│ ├── TARGET_linux-riscv64.mk
│ ├── TARGET_linux-x86.mk
│ ├── TARGET_linux-x86_64.mk
│ ├── arch
│ │ ├── arm
│ │ │ ├── armv7-a-neon.mk
│ │ │ ├── armv8-2a.mk
│ │ │ └── armv8-a.mk
│ │ ├── arm64
│ │ │ ├── armv8-2a-dotprod.mk
│ │ │ ├── armv8-2a.mk
│ │ │ ├── armv8-a-branchprot.mk
│ │ │ ├── armv8-a.mk
│ │ │ ├── armv9-2a.mk
│ │ │ └── armv9-a.mk
│ │ ├── riscv64
│ │ │ └── riscv64.mk
│ │ ├── x86
│ │ │ ├── alderlake.mk
│ │ │ ├── amberlake.mk
│ │ │ ├── atom.mk
│ │ │ ├── broadwell.mk
│ │ │ ├── goldmont-plus.mk
│ │ │ ├── goldmont-without-sha-xsaves.mk
│ │ │ ├── goldmont.mk
│ │ │ ├── haswell.mk
│ │ │ ├── icelake.mk
│ │ │ ├── ivybridge.mk
│ │ │ ├── kabylake.mk
│ │ │ ├── sandybridge.mk
│ │ │ ├── silvermont.mk
│ │ │ ├── skylake.mk
│ │ │ ├── stoneyridge.mk
│ │ │ ├── tigerlake.mk
│ │ │ ├── tremont.mk
│ │ │ ├── whiskeylake.mk
│ │ │ ├── x86.mk
│ │ │ └── x86_64.mk
│ │ └── x86_64
│ │ │ ├── alderlake.mk
│ │ │ ├── amberlake.mk
│ │ │ ├── broadwell.mk
│ │ │ ├── goldmont-plus.mk
│ │ │ ├── goldmont-without-sha-xsaves.mk
│ │ │ ├── goldmont.mk
│ │ │ ├── haswell.mk
│ │ │ ├── icelake.mk
│ │ │ ├── ivybridge.mk
│ │ │ ├── kabylake.mk
│ │ │ ├── sandybridge.mk
│ │ │ ├── silvermont.mk
│ │ │ ├── skylake.mk
│ │ │ ├── stoneyridge.mk
│ │ │ ├── tigerlake.mk
│ │ │ ├── tremont.mk
│ │ │ ├── whiskeylake.mk
│ │ │ └── x86_64.mk
│ ├── javac.mk
│ └── select.mk
├── config.mk
├── config_sanitizers.mk
├── configure_module_stem.mk
├── copy_headers.mk
├── cxx_stl_setup.mk
├── definitions.mk
├── deprecation.mk
├── dex_preopt.mk
├── dex_preopt_config.mk
├── dex_preopt_config_merger.py
├── dex_preopt_odex_install.mk
├── distdir.mk
├── dumpconfig.mk
├── dumpvar.mk
├── dupcheck.sh
├── dynamic_binary.mk
├── empty_test_config.xml
├── envsetup.mk
├── executable.mk
├── executable_internal.mk
├── executable_prefer_symlink.mk
├── filter_symbols.sh
├── force_aapt2.mk
├── fuzz_test.mk
├── generate_enforce_rro.mk
├── header_library.mk
├── header_library_internal.mk
├── host_executable.mk
├── host_executable_internal.mk
├── host_java_library.mk
├── host_java_library_common.mk
├── host_prebuilt.mk
├── host_shared_library.mk
├── host_shared_library_internal.mk
├── host_static_library.mk
├── host_static_library_internal.mk
├── install_jni_libs.mk
├── install_jni_libs_internal.mk
├── instrumentation_test_config_template.xml
├── jacoco.mk
├── java.mk
├── java_common.mk
├── java_host_test_config_template.xml
├── java_host_unit_test_config_template.xml
├── java_library.mk
├── java_prebuilt_internal.mk
├── java_renderscript.mk
├── java_test_config_template.xml
├── layoutlib_data.mk
├── link_type.mk
├── local_current_sdk.mk
├── local_systemsdk.mk
├── local_vendor_product.mk
├── main.mk
├── misc_prebuilt_internal.mk
├── module_arch_supported.mk
├── multi_prebuilt.mk
├── multilib.mk
├── native_benchmark_test_config_template.xml
├── native_host_test_config_template.xml
├── native_test.mk
├── native_test_config_template.xml
├── ninja_config.mk
├── node_fns.mk
├── notice_files.mk
├── os_licensing.mk
├── pack_dyn_relocs_setup.mk
├── package.mk
├── package_internal.mk
├── packaging
│ └── flags.mk
├── pathmap.mk
├── phony_package.mk
├── prebuilt.mk
├── prebuilt_internal.mk
├── process_wrapper.sh
├── process_wrapper_gdb.cmds
├── process_wrapper_gdb.sh
├── product-graph.mk
├── product.mk
├── product_config.mk
├── product_config.rbc
├── product_validation_checks.mk
├── proguard.flags
├── proguard.jacoco.flags
├── proguard
│ └── kotlin.flags
├── proguard_basic_keeps.flags
├── project_definitions.mk
├── python_binary_host_mobly_test_config_template.xml
├── python_binary_host_test_config_template.xml
├── ravenwood_test_config_template.xml
├── rbe.mk
├── release_config.mk
├── release_config.scl
├── robolectric_test_config_template.xml
├── root.mk
├── rust_device_benchmark_config_template.xml
├── rust_device_test_config_template.xml
├── rust_host_benchmark_config_template.xml
├── rust_host_test_config_template.xml
├── sbom.mk
├── sdk_check.mk
├── shared_library.mk
├── shared_library_internal.mk
├── shell_test_config_template.xml
├── soong_android_app_set.mk
├── soong_app_prebuilt.mk
├── soong_cc_rust_prebuilt.mk
├── soong_config.mk
├── soong_droiddoc_prebuilt.mk
├── soong_extra_config.mk
├── soong_java_prebuilt.mk
├── static_java_library.mk
├── static_library.mk
├── static_library_internal.mk
├── suite_host_config.mk
├── support_libraries.mk
├── sysprop.mk
├── sysprop_config.mk
├── target_test_internal.mk
├── tasks
│ ├── README.dex_preopt_check.md
│ ├── art-host-tests.mk
│ ├── art.mk
│ ├── automotive-general-tests.mk
│ ├── automotive-sdv-tests.mk
│ ├── automotive-tests.mk
│ ├── autorepro.mk
│ ├── berberis_test.mk
│ ├── build_custom_images.mk
│ ├── catbox.mk
│ ├── check-abi-dump-list.mk
│ ├── csuite.mk
│ ├── cts.mk
│ ├── cts_root.mk
│ ├── device-platinum-tests.mk
│ ├── device-tests.mk
│ ├── dex_preopt_check.mk
│ ├── dts.mk
│ ├── find-shareduid-violation.mk
│ ├── fontchain_lint.mk
│ ├── general-tests-shared-libs.mk
│ ├── general-tests.mk
│ ├── host-unit-tests.mk
│ ├── host_init_verifier.mk
│ ├── mcts.mk
│ ├── meta-lic.mk
│ ├── mke2fs-dist.mk
│ ├── module-info.mk
│ ├── mts.mk
│ ├── multitree.mk
│ ├── oem_image.mk
│ ├── offline-sdk-docs.mk
│ ├── owners.mk
│ ├── performance-tests.mk
│ ├── platform_availability_check.mk
│ ├── prebuilt_tradefed.mk
│ ├── sdk-addon.mk
│ ├── sts.mk
│ ├── test_mapping.mk
│ ├── tools
│ │ ├── build_custom_image.mk
│ │ ├── compatibility.mk
│ │ └── package-modules.mk
│ ├── tradefed-tests-list.mk
│ ├── vendor_module_check.mk
│ ├── vts-core-tests.mk
│ ├── with-license.mk
│ └── wvts.mk
├── use_lld_setup.mk
└── version_util.mk
├── envsetup.sh
├── help.sh
├── navbar.md
├── packaging
├── distdir.mk
└── main.mk
├── rbesetup.sh
├── shell_utils.sh
├── tapasHelp.sh
├── target
├── board
│ ├── BoardConfigGsiCommon.mk
│ ├── BoardConfigMainlineCommon.mk
│ ├── BoardConfigPixelCommon.mk
│ ├── android-info.mk
│ ├── generic
│ │ ├── AndroidBoard.mk
│ │ ├── BoardConfig.mk
│ │ ├── README.txt
│ │ ├── device.mk
│ │ └── system_ext.prop
│ ├── generic_64bitonly_x86_64
│ │ ├── BoardConfig.mk
│ │ ├── README.txt
│ │ ├── device.mk
│ │ └── system.prop
│ ├── generic_arm64
│ │ ├── BoardConfig.mk
│ │ ├── README.txt
│ │ ├── device.mk
│ │ ├── sepolicy
│ │ │ ├── OWNERS
│ │ │ ├── file.te
│ │ │ └── file_contexts
│ │ └── system_ext.prop
│ ├── generic_riscv64
│ │ ├── BoardConfig.mk
│ │ ├── README.txt
│ │ ├── device.mk
│ │ └── system_ext.prop
│ ├── generic_x86
│ │ ├── BoardConfig.mk
│ │ ├── README.txt
│ │ ├── device.mk
│ │ └── system_ext.prop
│ ├── generic_x86_64
│ │ ├── BoardConfig.mk
│ │ ├── README.txt
│ │ ├── device.mk
│ │ └── system_ext.prop
│ ├── generic_x86_64_arm64
│ │ ├── BoardConfig.mk
│ │ ├── README.txt
│ │ ├── device.mk
│ │ └── system_ext.prop
│ ├── generic_x86_arm
│ │ ├── BoardConfig.mk
│ │ ├── README.txt
│ │ ├── device.mk
│ │ └── system_ext.prop
│ ├── go_defaults.prop
│ ├── go_defaults_512.prop
│ ├── go_defaults_common.prop
│ ├── gsi_arm64
│ │ └── BoardConfig.mk
│ ├── gsi_system_ext.prop
│ ├── gsi_system_ext_user.prop
│ ├── linux_bionic
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ ├── mainline_arm64
│ │ ├── BoardConfig.mk
│ │ ├── bluetooth
│ │ │ └── bdroid_buildcfg.h
│ │ └── sepolicy
│ │ │ ├── OWNERS
│ │ │ ├── file.te
│ │ │ └── file_contexts
│ ├── mainline_sdk
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ ├── mainline_x86
│ │ └── BoardConfig.mk
│ ├── mainline_x86_64
│ │ └── BoardConfig.mk
│ ├── mainline_x86_arm
│ │ └── BoardConfig.mk
│ ├── module_arm
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ ├── module_arm64
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ ├── module_arm64only
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ ├── module_riscv64
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ ├── module_x86
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ ├── module_x86_64
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ ├── module_x86_64only
│ │ ├── BoardConfig.mk
│ │ └── README.md
│ └── ndk
│ │ ├── BoardConfig.mk
│ │ └── README.md
└── product
│ ├── AndroidProducts.mk
│ ├── OWNERS
│ ├── angle_default.mk
│ ├── aosp_64bitonly_x86_64.mk
│ ├── aosp_arm.mk
│ ├── aosp_arm64.mk
│ ├── aosp_arm64_fullmte.mk
│ ├── aosp_base.mk
│ ├── aosp_base_telephony.mk
│ ├── aosp_product.mk
│ ├── aosp_riscv64.mk
│ ├── aosp_x86.mk
│ ├── aosp_x86_64.mk
│ ├── aosp_x86_arm.mk
│ ├── app_function_extensions.mk
│ ├── base.mk
│ ├── base_product.mk
│ ├── base_system.mk
│ ├── base_system_ext.mk
│ ├── base_vendor.mk
│ ├── build_variables.mk
│ ├── cfi-common.mk
│ ├── core_64_bit.mk
│ ├── core_64_bit_only.mk
│ ├── core_minimal.mk
│ ├── core_no_zygote.mk
│ ├── default_art_config.mk
│ ├── developer_gsi_keys.mk
│ ├── empty-preloaded-classes
│ ├── empty-profile
│ ├── emulated_storage.mk
│ ├── full.manifest.xml
│ ├── full.mk
│ ├── full_base.mk
│ ├── full_base_telephony.mk
│ ├── full_x86.mk
│ ├── fullmte.mk
│ ├── generic.mk
│ ├── generic
│ ├── Android.bp
│ ├── OWNERS
│ └── erofs_compress_hints.txt
│ ├── generic_no_telephony.mk
│ ├── generic_ramdisk.mk
│ ├── generic_system.mk
│ ├── generic_system_arm64.mk
│ ├── generic_system_x86.mk
│ ├── generic_system_x86_64.mk
│ ├── generic_system_x86_arm.mk
│ ├── generic_x86.mk
│ ├── go_defaults.mk
│ ├── go_defaults_512.mk
│ ├── go_defaults_common.mk
│ ├── gsi
│ ├── 28.txt
│ ├── 29.txt
│ ├── 30.txt
│ ├── 31.txt
│ ├── 32.txt
│ ├── 33.txt
│ ├── 34.txt
│ ├── Android.bp
│ ├── OWNERS
│ ├── current.txt
│ ├── gsi_skip_mount.cfg
│ ├── init.gsi.rc
│ ├── init.vndk-nodef.rc
│ └── testkey_rsa2048.pem
│ ├── gsi_release.mk
│ ├── handheld_product.mk
│ ├── handheld_system.mk
│ ├── handheld_system_ext.mk
│ ├── handheld_vendor.mk
│ ├── hsum_common.mk
│ ├── languages_default.mk
│ ├── languages_full.mk
│ ├── large_screen_common.mk
│ ├── linux_bionic.mk
│ ├── mainline_sdk.mk
│ ├── mainline_system.mk
│ ├── mainline_system_arm64.mk
│ ├── mainline_system_x86.mk
│ ├── mainline_system_x86_64.mk
│ ├── mainline_system_x86_arm.mk
│ ├── media_product.mk
│ ├── media_system.mk
│ ├── media_system_ext.mk
│ ├── media_vendor.mk
│ ├── memtag-common.mk
│ ├── module_arm.mk
│ ├── module_arm64.mk
│ ├── module_arm64only.mk
│ ├── module_common.mk
│ ├── module_riscv64.mk
│ ├── module_x86.mk
│ ├── module_x86_64.mk
│ ├── module_x86_64only.mk
│ ├── ndk.mk
│ ├── non_ab_device.mk
│ ├── product_launched_with_k.mk
│ ├── product_launched_with_l.mk
│ ├── product_launched_with_l_mr1.mk
│ ├── product_launched_with_m.mk
│ ├── product_launched_with_n.mk
│ ├── product_launched_with_n_mr1.mk
│ ├── product_launched_with_o.mk
│ ├── product_launched_with_o_mr1.mk
│ ├── product_launched_with_p.mk
│ ├── profile_boot_common.mk
│ ├── ramdisk_stub.mk
│ ├── runtime_libart.mk
│ ├── sdk.mk
│ ├── sdk_with_runtime_apis.mk
│ ├── security
│ ├── Android.bp
│ ├── BUILD.bazel
│ ├── README
│ ├── bluetooth.pk8
│ ├── bluetooth.x509.pem
│ ├── cts_uicc_2021.pk8
│ ├── cts_uicc_2021.x509.pem
│ ├── fsverity-release.x509.der
│ ├── media.pk8
│ ├── media.x509.pem
│ ├── networkstack.pk8
│ ├── networkstack.x509.pem
│ ├── nfc.pk8
│ ├── nfc.x509.pem
│ ├── platform.pk8
│ ├── platform.x509.pem
│ ├── sdk_sandbox.pk8
│ ├── sdk_sandbox.x509.pem
│ ├── shared.pk8
│ ├── shared.x509.pem
│ ├── testkey.pk8
│ └── testkey.x509.pem
│ ├── sysconfig
│ ├── Android.bp
│ ├── initial-package-stopped-states-aosp.xml
│ ├── preinstalled-packages-platform-aosp-product.xml
│ ├── preinstalled-packages-platform-full-base.xml
│ ├── preinstalled-packages-platform-generic-system.xml
│ ├── preinstalled-packages-platform-handheld-product.xml
│ ├── preinstalled-packages-platform-handheld-system.xml
│ └── preinstalled-packages-platform-telephony-product.xml
│ ├── telephony.mk
│ ├── telephony_product.mk
│ ├── telephony_system.mk
│ ├── telephony_system_ext.mk
│ ├── telephony_vendor.mk
│ ├── updatable_apex.mk
│ ├── userspace_reboot.mk
│ ├── vboot.mk
│ ├── virtual_ab_ota.mk
│ ├── virtual_ab_ota
│ ├── OWNERS
│ ├── README.md
│ ├── android_t_baseline.mk
│ ├── compression.mk
│ ├── compression_retrofit.mk
│ ├── compression_with_xor.mk
│ ├── launch.mk
│ ├── launch_with_vendor_ramdisk.mk
│ ├── plus_non_ab.mk
│ ├── retrofit.mk
│ └── vabc_features.mk
│ ├── virtual_ab_ota_plus_non_ab.mk
│ ├── virtual_ab_ota_retrofit.mk
│ ├── window_extensions.mk
│ └── window_extensions_base.mk
├── teams
├── Android.bp
└── OWNERS
├── tests
├── artifact_path_requirements
│ ├── inherit1.rbc
│ ├── inherit2.rbc
│ ├── inherit3.rbc
│ ├── inherit4.rbc
│ ├── product.rbc
│ └── test.rbc
├── b_tests.sh
├── board.rbc
├── board_input_vars.rbc
├── conversion_error.rbc
├── envsetup_tests.sh
├── include1.rbc
├── inherits_in_regular_variables
│ ├── inherit1.rbc
│ ├── product.rbc
│ └── test.rbc
├── input_variables.rbc
├── lunch_tests.sh
├── part1.rbc
├── prefixed_sort_order
│ ├── base-secondary.rbc
│ ├── base.rbc
│ ├── product.rbc
│ └── test.rbc
├── product.rbc
├── roboleaf_tests.sh
├── run.rbc
├── single_value_inheritance
│ ├── inherit1.rbc
│ ├── inherit2.rbc
│ ├── product.rbc
│ └── test.rbc
├── single_value_inheritance_2
│ ├── a.rbc
│ ├── b.rbc
│ ├── c.rbc
│ ├── d.rbc
│ ├── product.rbc
│ └── test.rbc
└── version_defaults.rbc
└── tools
├── Android.bp
├── BUILD.bazel
├── aconfig
├── .editorconfig
├── .gitignore
├── Cargo.toml
├── MODULE_LICENSE_APACHE2
├── OWNERS
├── PREUPLOAD.cfg
├── TEST_MAPPING
├── aconfig
│ ├── Android.bp
│ ├── Cargo.toml
│ ├── src
│ │ ├── codegen
│ │ │ ├── cpp.rs
│ │ │ ├── java.rs
│ │ │ ├── mod.rs
│ │ │ └── rust.rs
│ │ ├── commands.rs
│ │ ├── dump.rs
│ │ ├── main.rs
│ │ ├── storage
│ │ │ ├── flag_info.rs
│ │ │ ├── flag_table.rs
│ │ │ ├── flag_value.rs
│ │ │ ├── mod.rs
│ │ │ └── package_table.rs
│ │ └── test.rs
│ ├── templates
│ │ ├── CustomFeatureFlags.java.template
│ │ ├── FakeFeatureFlagsImpl.java.template
│ │ ├── FeatureFlags.java.template
│ │ ├── FeatureFlagsImpl.java.template
│ │ ├── Flags.java.template
│ │ ├── cpp_exported_header.template
│ │ ├── cpp_source_file.template
│ │ ├── rust.template
│ │ └── rust_test.template
│ └── tests
│ │ ├── AconfigHostTest.java
│ │ ├── AconfigTest.java
│ │ ├── AndroidManifest.xml
│ │ ├── aconfig_exported_mode_test.cpp
│ │ ├── aconfig_exported_mode_test.rs
│ │ ├── aconfig_force_read_only_mode_test.cpp
│ │ ├── aconfig_force_read_only_mode_test.rs
│ │ ├── aconfig_prod_mode_test.rs
│ │ ├── aconfig_test.cpp
│ │ ├── aconfig_test_mode_test.rs
│ │ ├── aconfig_test_test_variant.cpp
│ │ ├── first.values
│ │ ├── read_only_test.aconfig
│ │ ├── read_only_test.values
│ │ ├── second.values
│ │ ├── storage_test_1.aconfig
│ │ ├── storage_test_1.values
│ │ ├── storage_test_2.aconfig
│ │ ├── storage_test_2.values
│ │ ├── storage_test_4.aconfig
│ │ ├── storage_test_4.values
│ │ ├── test.aconfig
│ │ ├── test_exported.aconfig
│ │ ├── test_force_read_only.aconfig
│ │ ├── test_second_package.aconfig
│ │ └── third.values
├── aconfig_device_paths
│ ├── Android.bp
│ ├── Cargo.toml
│ ├── mainline_aconfig_flags_paths.txt
│ ├── partition_aconfig_flags_paths.txt
│ └── src
│ │ ├── DeviceProtosTemplate.java
│ │ ├── HostDeviceProtosTemplate.java
│ │ └── lib.rs
├── aconfig_flags
│ ├── Android.bp
│ ├── Cargo.toml
│ ├── flags.aconfig
│ └── src
│ │ └── lib.rs
├── aconfig_protos
│ ├── Android.bp
│ ├── Cargo.toml
│ ├── build.rs
│ ├── jarjar-nano-rules.txt
│ ├── protos
│ │ └── aconfig.proto
│ └── src
│ │ └── lib.rs
├── aconfig_storage_file
│ ├── Android.bp
│ ├── Cargo.toml
│ ├── aconfig_storage_file.cpp
│ ├── build.rs
│ ├── include
│ │ └── aconfig_storage
│ │ │ └── aconfig_storage_file.hpp
│ ├── protos
│ │ └── aconfig_storage_metadata.proto
│ ├── src
│ │ ├── flag_info.rs
│ │ ├── flag_table.rs
│ │ ├── flag_value.rs
│ │ ├── lib.rs
│ │ ├── main.rs
│ │ ├── package_table.rs
│ │ ├── protos.rs
│ │ ├── sip_hasher13.rs
│ │ └── test_utils.rs
│ ├── srcs
│ │ └── android
│ │ │ └── aconfig
│ │ │ └── storage
│ │ │ ├── AconfigStorageException.java
│ │ │ ├── ByteBufferReader.java
│ │ │ ├── FileType.java
│ │ │ ├── FlagTable.java
│ │ │ ├── FlagType.java
│ │ │ ├── FlagValueList.java
│ │ │ ├── PackageTable.java
│ │ │ ├── SipHasher13.java
│ │ │ ├── StorageFileProvider.java
│ │ │ └── TableUtils.java
│ └── tests
│ │ ├── Android.bp
│ │ ├── AndroidManifest.xml
│ │ ├── AndroidStorageJaveTest.xml
│ │ ├── data
│ │ ├── v1
│ │ │ ├── flag_v1.info
│ │ │ ├── flag_v1.map
│ │ │ ├── flag_v1.val
│ │ │ └── package_v1.map
│ │ └── v2
│ │ │ ├── flag_v2.info
│ │ │ ├── flag_v2.map
│ │ │ ├── flag_v2.val
│ │ │ └── package_v2.map
│ │ ├── jarjar.txt
│ │ ├── srcs
│ │ ├── ByteBufferReaderTest.java
│ │ ├── FlagTableTest.java
│ │ ├── FlagValueListTest.java
│ │ ├── PackageTableTest.java
│ │ ├── SipHasher13Test.java
│ │ ├── StorageFileProviderTest.java
│ │ └── TestDataUtils.java
│ │ └── storage_file_test.cpp
├── aconfig_storage_read_api
│ ├── Android.bp
│ ├── Cargo.toml
│ ├── aconfig_storage_read_api.cpp
│ ├── build.rs
│ ├── include
│ │ └── aconfig_storage
│ │ │ └── aconfig_storage_read_api.hpp
│ ├── libaconfig_storage_read_api_cc.map
│ ├── src
│ │ ├── flag_info_query.rs
│ │ ├── flag_table_query.rs
│ │ ├── flag_value_query.rs
│ │ ├── lib.rs
│ │ ├── mapped_file.rs
│ │ └── package_table_query.rs
│ ├── srcs
│ │ ├── android
│ │ │ ├── aconfig
│ │ │ │ └── storage
│ │ │ │ │ ├── AconfigStorageReadAPI.java
│ │ │ │ │ ├── FlagReadContext.java
│ │ │ │ │ ├── PackageReadContext.java
│ │ │ │ │ └── StorageInternalReader.java
│ │ │ └── os
│ │ │ │ └── flagging
│ │ │ │ └── PlatformAconfigPackageInternal.java
│ │ └── lib.rs
│ └── tests
│ │ ├── AconfigStorageReadFunctionalTest.xml
│ │ ├── AconfigStorageReadUnitTest.xml
│ │ ├── Android.bp
│ │ ├── AndroidManifest.xml
│ │ ├── data
│ │ ├── v1
│ │ │ ├── flag_v1.info
│ │ │ ├── flag_v1.map
│ │ │ ├── flag_v1.val
│ │ │ └── package_v1.map
│ │ └── v2
│ │ │ ├── flag_v2.info
│ │ │ ├── flag_v2.map
│ │ │ ├── flag_v2.val
│ │ │ └── package_v2.map
│ │ ├── functional
│ │ └── srcs
│ │ │ ├── AconfigStorageReadAPITest.java
│ │ │ ├── PlatformAconfigPackageInternalTest.java
│ │ │ └── StorageInternalReaderTest.java
│ │ ├── jarjar.txt
│ │ ├── storage_read_api_test.cpp
│ │ ├── storage_read_api_test.rs
│ │ └── unit
│ │ └── srcs
│ │ └── PlatformAconfigPackageInternalTest.java
├── aconfig_storage_write_api
│ ├── Android.bp
│ ├── Cargo.toml
│ ├── aconfig_storage_write_api.cpp
│ ├── build.rs
│ ├── include
│ │ └── aconfig_storage
│ │ │ └── aconfig_storage_write_api.hpp
│ ├── src
│ │ ├── flag_info_update.rs
│ │ ├── flag_value_update.rs
│ │ ├── lib.rs
│ │ ├── mapped_file.rs
│ │ └── test_utils.rs
│ └── tests
│ │ ├── Android.bp
│ │ ├── flag.info
│ │ ├── flag.val
│ │ ├── storage_write_api_test.cpp
│ │ └── storage_write_api_test.rs
├── aflags
│ ├── Android.bp
│ ├── Cargo.toml
│ └── src
│ │ ├── aconfig_storage_source.rs
│ │ ├── device_config_source.rs
│ │ ├── load_protos.rs
│ │ └── main.rs
├── fake_device_config
│ ├── Android.bp
│ └── src
│ │ └── android
│ │ ├── os
│ │ ├── Binder.java
│ │ ├── Build.java
│ │ ├── StrictMode.java
│ │ └── flagging
│ │ │ ├── AconfigPackage.java
│ │ │ ├── AconfigPackageInternal.java
│ │ │ ├── AconfigStorageReadException.java
│ │ │ └── PlatformAconfigPackageInternal.java
│ │ ├── provider
│ │ └── DeviceConfig.java
│ │ └── util
│ │ └── Log.java
├── overrideflags
│ └── overrideflags.py
├── printflags
│ ├── Android.bp
│ ├── Cargo.toml
│ └── src
│ │ └── main.rs
└── rustfmt.toml
├── acp
├── Android.bp
├── README
└── acp.c
├── apicheck
├── Android.bp
└── etc
│ └── apicheck
├── atree
├── Android.bp
├── atree.cpp
├── files.cpp
├── files.h
├── fs.cpp
├── fs.h
└── options.h
├── auto_gen_test_config.py
├── auto_gen_test_config_test.py
├── brillo-clang-format
├── build-runfiles.cc
├── canoninja
├── README.md
├── canoninja.go
├── canoninja_test.go
├── cmd
│ └── canoninja.go
└── go.mod
├── characteristics_rro_generator.py
├── check-flagged-apis
├── Android.bp
├── OWNERS
├── check-flagged-apis.sh
└── src
│ └── com
│ └── android
│ └── checkflaggedapis
│ ├── CheckFlaggedApisTest.kt
│ └── Main.kt
├── check_elf_file.py
├── check_identical_lib.sh
├── check_radio_versions.py
├── compare_builds.py
├── compliance
├── Android.bp
├── README.md
├── cmd
│ ├── bom
│ │ ├── bom.go
│ │ └── bom_test.go
│ ├── checkmetadata
│ │ ├── checkmetadata.go
│ │ └── checkmetadata_test.go
│ ├── checkshare
│ │ ├── checkshare.go
│ │ └── checkshare_test.go
│ ├── dumpgraph
│ │ ├── dumpgraph.go
│ │ └── dumpgraph_test.go
│ ├── dumpresolutions
│ │ ├── dumpresolutions.go
│ │ └── dumpresolutions_test.go
│ ├── htmlnotice
│ │ ├── htmlnotice.go
│ │ └── htmlnotice_test.go
│ ├── listshare
│ │ ├── listshare.go
│ │ └── listshare_test.go
│ ├── rtrace
│ │ ├── rtrace.go
│ │ └── rtrace_test.go
│ ├── sbom
│ │ ├── sbom.go
│ │ └── sbom_test.go
│ ├── shippedlibs
│ │ ├── shippedlibs.go
│ │ └── shippedlibs_test.go
│ ├── testdata
│ │ ├── README.md
│ │ ├── firstparty
│ │ │ ├── FIRST_PARTY_LICENSE
│ │ │ ├── METADATA
│ │ │ ├── application.meta_lic
│ │ │ ├── bin
│ │ │ │ ├── bin1.meta_lic
│ │ │ │ ├── bin2.meta_lic
│ │ │ │ └── bin3.meta_lic
│ │ │ ├── container.zip.meta_lic
│ │ │ ├── highest.apex.meta_lic
│ │ │ └── lib
│ │ │ │ ├── liba.so.meta_lic
│ │ │ │ ├── libb.so.meta_lic
│ │ │ │ ├── libc.a.meta_lic
│ │ │ │ └── libd.so.meta_lic
│ │ ├── notice
│ │ │ ├── METADATA
│ │ │ ├── NOTICE_LICENSE
│ │ │ ├── application.meta_lic
│ │ │ ├── bin
│ │ │ │ ├── bin1.meta_lic
│ │ │ │ ├── bin2.meta_lic
│ │ │ │ └── bin3.meta_lic
│ │ │ ├── container.zip.meta_lic
│ │ │ ├── highest.apex.meta_lic
│ │ │ └── lib
│ │ │ │ ├── liba.so.meta_lic
│ │ │ │ ├── libb.so.meta_lic
│ │ │ │ ├── libc.a.meta_lic
│ │ │ │ └── libd.so.meta_lic
│ │ ├── proprietary
│ │ │ ├── METADATA
│ │ │ ├── PROPRIETARY_LICENSE
│ │ │ ├── application.meta_lic
│ │ │ ├── bin
│ │ │ │ ├── bin1.meta_lic
│ │ │ │ ├── bin2.meta_lic
│ │ │ │ └── bin3.meta_lic
│ │ │ ├── container.zip.meta_lic
│ │ │ ├── highest.apex.meta_lic
│ │ │ └── lib
│ │ │ │ ├── liba.so.meta_lic
│ │ │ │ ├── libb.so.meta_lic
│ │ │ │ ├── libc.a.meta_lic
│ │ │ │ └── libd.so.meta_lic
│ │ ├── reciprocal
│ │ │ ├── METADATA
│ │ │ ├── RECIPROCAL_LICENSE
│ │ │ ├── application.meta_lic
│ │ │ ├── bin
│ │ │ │ ├── bin1.meta_lic
│ │ │ │ ├── bin2.meta_lic
│ │ │ │ └── bin3.meta_lic
│ │ │ ├── container.zip.meta_lic
│ │ │ ├── highest.apex.meta_lic
│ │ │ └── lib
│ │ │ │ ├── liba.so.meta_lic
│ │ │ │ ├── libb.so.meta_lic
│ │ │ │ ├── libc.a.meta_lic
│ │ │ │ └── libd.so.meta_lic
│ │ ├── regressconcur
│ │ │ ├── README.md
│ │ │ ├── bin
│ │ │ │ ├── bin1.meta_lic
│ │ │ │ ├── bin2.meta_lic
│ │ │ │ ├── bin3.meta_lic
│ │ │ │ ├── bin4.meta_lic
│ │ │ │ ├── bin5.meta_lic
│ │ │ │ ├── bin6.meta_lic
│ │ │ │ ├── bin7.meta_lic
│ │ │ │ ├── bin8.meta_lic
│ │ │ │ └── bin9.meta_lic
│ │ │ ├── container.zip.meta_lic
│ │ │ └── lib
│ │ │ │ ├── lib1.a.meta_lic
│ │ │ │ ├── lib2.a.meta_lic
│ │ │ │ ├── lib3.a.meta_lic
│ │ │ │ ├── lib4.a.meta_lic
│ │ │ │ ├── lib5.a.meta_lic
│ │ │ │ ├── lib6.a.meta_lic
│ │ │ │ ├── lib7.a.meta_lic
│ │ │ │ ├── lib8.a.meta_lic
│ │ │ │ └── lib9.a.meta_lic
│ │ ├── regressgpl1
│ │ │ ├── README.md
│ │ │ ├── bin
│ │ │ │ ├── bin1.meta_lic
│ │ │ │ ├── bin2.meta_lic
│ │ │ │ └── bin3.meta_lic
│ │ │ ├── container.zip.meta_lic
│ │ │ └── lib
│ │ │ │ ├── libapache.so.meta_lic
│ │ │ │ ├── libc++.so.meta_lic
│ │ │ │ └── libgpl.so.meta_lic
│ │ ├── regressgpl2
│ │ │ ├── README.md
│ │ │ ├── bin
│ │ │ │ ├── bin1.meta_lic
│ │ │ │ ├── bin2.meta_lic
│ │ │ │ └── bin3.meta_lic
│ │ │ ├── container.zip.meta_lic
│ │ │ └── lib
│ │ │ │ ├── libapache.so.meta_lic
│ │ │ │ ├── libc++.so.meta_lic
│ │ │ │ └── libgpl.so.meta_lic
│ │ └── restricted
│ │ │ ├── METADATA
│ │ │ ├── METADATA.android
│ │ │ ├── RESTRICTED_LICENSE
│ │ │ ├── application.meta_lic
│ │ │ ├── bin
│ │ │ ├── bin1.meta_lic
│ │ │ ├── bin2.meta_lic
│ │ │ └── bin3.meta_lic
│ │ │ ├── container.zip.meta_lic
│ │ │ ├── highest.apex.meta_lic
│ │ │ └── lib
│ │ │ ├── liba.so.meta_lic
│ │ │ ├── libb.so.meta_lic
│ │ │ ├── libc.a.meta_lic
│ │ │ └── libd.so.meta_lic
│ ├── textnotice
│ │ ├── textnotice.go
│ │ └── textnotice_test.go
│ └── xmlnotice
│ │ ├── xmlnotice.go
│ │ └── xmlnotice_test.go
├── condition.go
├── condition_test.go
├── conditionset.go
├── conditionset_test.go
├── doc.go
├── go.mod
├── go.work
├── graph.go
├── noticeindex.go
├── policy_policy.go
├── policy_policy_test.go
├── policy_resolve.go
├── policy_resolve_test.go
├── policy_resolvenotices.go
├── policy_resolvenotices_test.go
├── policy_resolveprivacy.go
├── policy_resolveprivacy_test.go
├── policy_resolveshare.go
├── policy_resolveshare_test.go
├── policy_shareprivacyconflicts.go
├── policy_shareprivacyconflicts_test.go
├── policy_shipped.go
├── policy_shipped_test.go
├── policy_walk.go
├── policy_walk_test.go
├── projectmetadata
│ ├── Android.bp
│ ├── projectmetadata.go
│ └── projectmetadata_test.go
├── readgraph.go
├── readgraph_test.go
├── resolution.go
├── resolutionset.go
├── resolutionset_test.go
├── test_util.go
└── testfs
│ ├── Android.bp
│ └── testfs.go
├── docker
├── .gitignore
├── Dockerfile
└── README.md
├── droiddoc
├── Android.bp
├── LICENSE
├── README
├── templates-pdk
│ ├── assets
│ │ ├── android-developer-core.css
│ │ ├── android-developer-docs-devguide.css
│ │ ├── android-developer-docs.css
│ │ ├── android-developer-docs.js
│ │ ├── android-developer-reference.js
│ │ ├── android-developer-resource-browser.css
│ │ ├── android-developer-resource-browser.js
│ │ ├── carousel.js
│ │ ├── customizations.js
│ │ ├── design
│ │ │ ├── callout.png
│ │ │ ├── default.css
│ │ │ ├── default.js
│ │ │ ├── device_galaxynexus_blank_land_span13.png
│ │ │ ├── device_galaxynexus_blank_port_span5.png
│ │ │ ├── device_galaxynexus_blank_port_span9.png
│ │ │ ├── disclosure_down.png
│ │ │ ├── disclosure_left.png
│ │ │ ├── disclosure_right.png
│ │ │ ├── disclosure_up.png
│ │ │ ├── ico_action.png
│ │ │ ├── ico_good.png
│ │ │ ├── ico_movie_inline.png
│ │ │ ├── ico_phone_tablet.png
│ │ │ ├── ico_use.png
│ │ │ ├── ico_web.png
│ │ │ ├── ico_wrong.png
│ │ │ └── open_new_page.png
│ │ ├── images
│ │ │ ├── android-developers-logo.png
│ │ │ ├── android-partner-logo.png
│ │ │ ├── android_logo.png
│ │ │ ├── android_wrench.png
│ │ │ ├── arrow_bluelink_down.png
│ │ │ ├── arrow_bluelink_up.png
│ │ │ ├── arrow_left_off.jpg
│ │ │ ├── arrow_left_on.jpg
│ │ │ ├── arrow_right_off.jpg
│ │ │ ├── arrow_right_on.jpg
│ │ │ ├── bg_community_leftDiv.jpg
│ │ │ ├── bg_fade.jpg
│ │ │ ├── bg_images_sprite.png
│ │ │ ├── bg_logo.png
│ │ │ ├── body-gradient-tab.png
│ │ │ ├── body-gradient.png
│ │ │ ├── developers-logo.png
│ │ │ ├── grad-rule-qv.png
│ │ │ ├── home
│ │ │ │ ├── Android_Dev_Lab_l.png
│ │ │ │ ├── GDC2011.png
│ │ │ │ ├── GTV_icon_large.png
│ │ │ │ ├── GTV_icon_small.png
│ │ │ │ ├── IO-logo-2011.png
│ │ │ │ ├── IO-logo.png
│ │ │ │ ├── adc2_l.png
│ │ │ │ ├── adc2_s.png
│ │ │ │ ├── android_adc.png
│ │ │ │ ├── bg_home_announcement.png
│ │ │ │ ├── bg_home_bottom.jpg
│ │ │ │ ├── bg_home_carousel.png
│ │ │ │ ├── bg_home_carousel_board.png
│ │ │ │ ├── bg_home_carousel_wheel.png
│ │ │ │ ├── carousel_buttons_sprite.png
│ │ │ │ ├── devphone-large.png
│ │ │ │ ├── devphone-small.png
│ │ │ │ ├── donut-android.png
│ │ │ │ ├── eclair-android.png
│ │ │ │ ├── froyo-android.png
│ │ │ │ ├── gdc-logo.png
│ │ │ │ ├── gingerdroid.png
│ │ │ │ ├── google-plus-small.png
│ │ │ │ ├── google-plus.png
│ │ │ │ ├── honeycomb-android.png
│ │ │ │ ├── ics-android.png
│ │ │ │ ├── io-large.png
│ │ │ │ ├── io-small.png
│ │ │ │ ├── maps-large.png
│ │ │ │ ├── maps-small.png
│ │ │ │ ├── market-large.png
│ │ │ │ ├── market-small.png
│ │ │ │ ├── sdk-large.png
│ │ │ │ └── sdk-small.png
│ │ │ ├── hr_gray_main.jpg
│ │ │ ├── hr_gray_side.jpg
│ │ │ ├── icon_contribute.jpg
│ │ │ ├── icon_design.png
│ │ │ ├── icon_download.jpg
│ │ │ ├── icon_download2.jpg
│ │ │ ├── icon_guidelines_logo.png
│ │ │ ├── icon_market.jpg
│ │ │ ├── icon_play.png
│ │ │ ├── icon_robot.jpg
│ │ │ ├── icon_world.jpg
│ │ │ ├── left_off.jpg
│ │ │ ├── left_on.jpg
│ │ │ ├── logo_breadcrumbz.jpg
│ │ │ ├── open_source.png
│ │ │ ├── preliminary.png
│ │ │ ├── resizable-e.gif
│ │ │ ├── resizable-e2.gif
│ │ │ ├── resizable-eg.gif
│ │ │ ├── resizable-s.gif
│ │ │ ├── resizable-s2.gif
│ │ │ ├── resizable-sg.gif
│ │ │ ├── resource-article.png
│ │ │ ├── resource-big-article.png
│ │ │ ├── resource-big-sample.png
│ │ │ ├── resource-big-tutorial.png
│ │ │ ├── resource-big-video.png
│ │ │ ├── resource-sample.png
│ │ │ ├── resource-tutorial.png
│ │ │ ├── resource-video.png
│ │ │ ├── right_off.jpg
│ │ │ ├── right_on.jpg
│ │ │ ├── sidenav-rule.png
│ │ │ ├── slide_1.jpg
│ │ │ ├── slide_2.jpg
│ │ │ ├── slide_3.jpg
│ │ │ ├── slide_large_1.jpg
│ │ │ ├── slide_large_2.jpg
│ │ │ ├── slide_large_3.jpg
│ │ │ ├── slide_off.jpg
│ │ │ ├── slide_on.jpg
│ │ │ ├── spacer.gif
│ │ │ ├── triangle-closed-small.png
│ │ │ ├── triangle-closed.png
│ │ │ ├── triangle-opened-small.png
│ │ │ ├── triangle-opened.png
│ │ │ ├── uiguidelines1.png
│ │ │ └── video-droid.png
│ │ ├── jdiff_logo.gif
│ │ ├── jquery-1.6.2.min.js
│ │ ├── jquery-history.js
│ │ ├── jquery-resizable.min.js
│ │ ├── microtemplate.js
│ │ ├── prettify.js
│ │ ├── search_autocomplete.js
│ │ ├── style.css
│ │ ├── triangle-none.gif
│ │ └── yui-3.3.0-reset-min.css
│ ├── components
│ │ └── masthead.cs
│ ├── customizations.cs
│ ├── data.hdf
│ ├── docpage.cs
│ ├── footer.cs
│ ├── head_tag.cs
│ ├── header_tabs.cs
│ ├── jd_lists_unified.cs
│ ├── sampleindex.cs
│ ├── sdkpage.cs
│ └── trailer.cs
└── test
│ ├── generics
│ └── src
│ │ └── com
│ │ └── android
│ │ └── generics
│ │ ├── AbsListView.java
│ │ ├── Adapter.java
│ │ ├── AdapterView.java
│ │ ├── Bar.java
│ │ ├── Foo.java
│ │ ├── FooBar.java
│ │ ├── Iface.java
│ │ ├── ListAdapter.java
│ │ ├── TestComparable.java
│ │ └── TestEnum.java
│ └── stubs
│ ├── expected
│ └── com
│ │ └── android
│ │ └── stubs
│ │ ├── Annot.java
│ │ ├── InterfaceEnum.java
│ │ ├── Parent.java
│ │ ├── SomeEnum.java
│ │ ├── Types.java
│ │ ├── a
│ │ ├── A.java
│ │ └── SomeInterface.java
│ │ └── b
│ │ └── B.java
│ ├── func.sh
│ ├── run.sh
│ └── src
│ └── com
│ └── android
│ └── stubs
│ ├── Annot.java
│ ├── InterfaceEnum.java
│ ├── Parent.java
│ ├── SomeEnum.java
│ ├── Types.java
│ ├── a
│ ├── A.java
│ └── SomeInterface.java
│ ├── b
│ └── B.java
│ └── hidden
│ ├── Hidden.java
│ ├── HiddenOuter.java
│ └── PackagePrivate.java
├── edit_monitor
├── Android.bp
├── OWNERS
├── daemon_manager.py
├── daemon_manager_test.py
├── edit_monitor.py
├── edit_monitor_integration_test.py
├── edit_monitor_test.py
├── main.py
├── proto
│ └── edit_event.proto
├── utils.py
└── utils_test.py
├── envsetup
├── run_envsetup_tests
└── spam_for_lunch
├── event_log_tags.py
├── exercise_compare_builds
├── extract_kernel.py
├── fat16copy.py
├── filelistdiff
├── Android.bp
├── OWNERS
├── allowlist
├── allowlist_next
└── file_list_diff.py
├── fileslist_util.py
├── finalization
├── OWNERS
├── README.md
├── build-step-0-and-m.sh
├── build-step-0.sh
├── build-step-1-and-2.sh
├── build-step-1-and-m.sh
├── build-step-1.sh
├── build_soong_java_droidstubs.go.apply_hack.diff
├── build_soong_java_droidstubs.go.revert_hack.diff
├── cleanup.sh
├── command-line-options.sh
├── dryrun-cleanup.sh
├── dryrun-step-1-and-2.sh
├── dryrun-step-1.sh
├── environment.sh
├── finalize-sdk-rel.sh
├── finalize-sdk-resources.sh
├── finalize-vintf-resources.sh
├── frameworks_base.apply_hack.diff
├── frameworks_base.revert_hack.diff
├── localonly-steps.sh
├── step-0.sh
├── step-1.sh
└── step-2.sh
├── find_static_candidates.py
├── findleaves.py
├── fixlinebreaks.sh
├── fs_config
├── Android.bp
├── OWNERS
├── README.md
├── end_to_end_test
│ ├── config.fs
│ ├── product_fs_config_dirs
│ ├── product_fs_config_files
│ ├── run_test.sh
│ ├── system_fs_config_dirs
│ ├── system_fs_config_files
│ ├── vendor_fs_config_dirs
│ └── vendor_fs_config_files
├── fs_config.c
├── fs_config.go
├── fs_config_generator.py
├── pylintrc
└── test_fs_config_generator.py
├── generate-enforce-rro-android-manifest.py
├── generate-notice-files.py
├── generate-self-extracting-archive.py
├── generate_gts_shared_report.py
├── ide_query
├── OWNERS
├── cc_analyzer
│ ├── Android.bp
│ ├── analyzer.cc
│ ├── analyzer.h
│ ├── builtin_headers.cc
│ ├── builtin_headers.h
│ ├── include_scanner.cc
│ ├── include_scanner.h
│ └── main.cc
├── cc_analyzer_proto
│ ├── Android.bp
│ ├── cc_analyzer.pb.go
│ ├── cc_analyzer.proto
│ └── regen.sh
├── go.mod
├── go.work
├── go.work.sum
├── ide_query.go
├── ide_query.sh
├── ide_query_proto
│ ├── ide_query.pb.go
│ ├── ide_query.proto
│ └── regen.sh
└── prober_scripts
│ ├── cpp
│ ├── Android.bp
│ ├── foo.proto
│ └── general.cc
│ ├── cpp_suite.textpb
│ ├── ide_query.out
│ ├── jvm
│ ├── Foo.java
│ └── suite.textpb
│ └── regen.sh
├── java-event-log-tags.py
├── libhost
├── Android.bp
├── CopyFile.c
└── include
│ └── host
│ └── CopyFile.h
├── list_files.py
├── lunchable
├── merge-event-log-tags.py
├── mk2bp_catalog.py
├── mk2bp_partition.py
├── normalize_path.py
├── perf
├── benchmarks
├── format_benchmarks
├── pretty.py
└── utils.py
├── post_process_props.py
├── post_process_props_unittest.xml
├── print_module_licenses.sh
├── product_config
├── Android.bp
├── MANIFEST.MF
├── TEST_MANIFEST.MF
├── TEST_MAPPING
├── inherit_tree.py
├── src
│ └── com
│ │ └── android
│ │ └── build
│ │ └── config
│ │ ├── CommandException.java
│ │ ├── ConfigBase.java
│ │ ├── ConvertMakeToGenericConfig.java
│ │ ├── CsvParser.java
│ │ ├── DumpConfigParser.java
│ │ ├── ErrorReporter.java
│ │ ├── Errors.java
│ │ ├── FlatConfig.java
│ │ ├── FlattenConfig.java
│ │ ├── GenericConfig.java
│ │ ├── Kati.java
│ │ ├── KatiCommand.java
│ │ ├── KatiCommandImpl.java
│ │ ├── KatiImpl.java
│ │ ├── Main.java
│ │ ├── MakeConfig.java
│ │ ├── MakeWriter.java
│ │ ├── Options.java
│ │ ├── OutputChecker.java
│ │ ├── Position.java
│ │ ├── RegexSet.java
│ │ ├── Str.java
│ │ ├── Value.java
│ │ └── VarType.java
├── test.sh
└── test
│ └── com
│ └── android
│ └── build
│ └── config
│ ├── CsvParserTest.java
│ ├── ErrorReporterTest.java
│ ├── OptionsTest.java
│ ├── PositionTest.java
│ ├── TestErrors.java
│ └── TestRunner.java
├── protos
├── Android.bp
└── metadata_file.proto
├── rbcrun
├── Android.bp
├── README.md
├── go.mod
├── go.sum
├── host.go
├── host_test.go
├── rbcrun
│ └── rbcrun.go
└── testdata
│ ├── bzl_loads_scl.bzl
│ ├── bzl_loads_scl_2.bzl
│ ├── file_ops.star
│ ├── load.star
│ ├── module1.star
│ ├── module2.star
│ ├── scl_incorrectly_loads_bzl.scl
│ ├── shell.star
│ ├── test_scl.scl
│ └── test_scl_symlink.scl
├── releasetools
├── Android.bp
├── OWNERS
├── add_img_to_target_files.py
├── apex_utils.py
├── blockimgdiff.py
├── build_image.py
├── build_super_image.py
├── care_map_pb2.py
├── check_ota_package_signature.py
├── check_partition_sizes.py
├── check_target_files_signatures.py
├── check_target_files_vintf.py
├── common.py
├── create_brick_ota.py
├── edify_generator.py
├── find_shareduid_violation.py
├── fsverity_metadata_generator.py
├── images.py
├── img_from_target_files.py
├── jarjar-rules.txt
├── make_recovery_patch.py
├── merge
│ ├── Android.bp
│ ├── OWNERS
│ ├── merge_builds.py
│ ├── merge_compatibility_checks.py
│ ├── merge_dexopt.py
│ ├── merge_meta.py
│ ├── merge_target_files.py
│ ├── merge_utils.py
│ ├── test_merge_compatibility_checks.py
│ ├── test_merge_meta.py
│ └── test_merge_utils.py
├── merge_ota.py
├── non_ab_ota.py
├── ota_from_raw_img.py
├── ota_from_target_files.py
├── ota_metadata.proto
├── ota_metadata_pb2.py
├── ota_package_parser.py
├── ota_signing_utils.py
├── ota_utils.py
├── payload_signer.py
├── pylintrc
├── rangelib.py
├── sign_apex.py
├── sign_target_files_apks.py
├── sign_zip.py
├── sparse_img.py
├── target_files_diff.py
├── test_add_img_to_target_files.py
├── test_apex_utils.py
├── test_blockimgdiff.py
├── test_build_image.py
├── test_check_partition_sizes.py
├── test_check_target_files_vintf.py
├── test_common.py
├── test_merge_ota.py
├── test_non_ab_ota.py
├── test_ota_from_target_files.py
├── test_ota_utils.py
├── test_rangelib.py
├── test_sign_apex.py
├── test_sign_target_files_apks.py
├── test_utils.py
├── test_validate_target_files.py
├── test_verity_utils.py
├── testdata
│ ├── TestApp.apk
│ ├── apexkeys_framework.txt
│ ├── apexkeys_framework_conflict.txt
│ ├── apexkeys_merge.txt
│ ├── apexkeys_vendor.txt
│ ├── apkcerts_framework.txt
│ ├── apkcerts_merge.txt
│ ├── apkcerts_vendor.txt
│ ├── foo.apex
│ ├── has_apk.apex
│ ├── media.x509.pem
│ ├── merge_config_framework_item_list
│ ├── payload_signer.sh
│ ├── platform.x509.pem
│ ├── sigfile.bin
│ ├── signed-sigfile.bin
│ ├── signing_helper.sh
│ ├── testkey.key
│ ├── testkey.pk8
│ ├── testkey.pubkey.pem
│ ├── testkey.x509.pem
│ ├── testkey_EC.key
│ ├── testkey_RSA4096.key
│ ├── testkey_mincrypt
│ ├── testkey_with_passwd.key
│ ├── testkey_with_passwd.pk8
│ ├── testkey_with_passwd.x509.pem
│ ├── tuna_vbmeta.zip
│ ├── tuna_vbmeta_system.zip
│ ├── tuna_vbmeta_vendor.zip
│ ├── verity.x509.pem
│ ├── verity_mincrypt
│ └── vintf
│ │ ├── kernel
│ │ └── SYSTEM
│ │ │ └── etc
│ │ │ └── vintf
│ │ │ └── compatibility_matrix.1.xml
│ │ ├── matrix_incompat
│ │ └── SYSTEM
│ │ │ └── etc
│ │ │ └── vintf
│ │ │ └── compatibility_matrix.1.xml
│ │ ├── sku_compat
│ │ ├── ODM
│ │ │ └── etc
│ │ │ │ └── vintf
│ │ │ │ └── manifest_sku.xml
│ │ └── SYSTEM
│ │ │ └── etc
│ │ │ └── vintf
│ │ │ └── compatibility_matrix.1.xml
│ │ └── sku_incompat
│ │ ├── ODM
│ │ └── etc
│ │ │ └── vintf
│ │ │ └── manifest_sku.xml
│ │ └── SYSTEM
│ │ └── etc
│ │ └── vintf
│ │ └── compatibility_matrix.1.xml
├── validate_target_files.py
└── verity_utils.py
├── sbom
├── Android.bp
├── compliance_metadata.py
├── gen_notice_xml.py
├── gen_sbom.py
├── generate-sbom-framework_res.py
├── generate-sbom.py
├── sbom_data.py
├── sbom_data_test.py
├── sbom_writers.py
├── sbom_writers_test.py
└── testdata
│ ├── expected_json_sbom.spdx.json
│ ├── expected_tagvalue_sbom.spdx
│ ├── expected_tagvalue_sbom_doc_describes_file.spdx
│ └── expected_tagvalue_sbom_unbundled.spdx
├── signapk
├── Android.bp
├── OWNERS
├── SignApk.mf
├── src
│ └── com
│ │ └── android
│ │ └── signapk
│ │ ├── CountingOutputStream.java
│ │ └── SignApk.java
└── test
│ └── run
├── signtos
├── Android.bp
├── SignTos.java
└── SignTos.mf
├── soong_to_convert.py
├── stub_diff_analyzer.py
├── test_extract_kernel.py
├── test_post_process_props.py
├── tool_event_logger
├── Android.bp
├── OWNERS
├── proto
│ └── tool_event.proto
├── tool_event_logger.py
└── tool_event_logger_test.py
├── warn.py
├── warn
├── .pylintrc
├── OWNERS
├── __init__.py
├── android_project_list.py
├── chrome_project_list.py
├── cpp_warn_patterns.py
├── html_writer.py
├── java_warn_patterns.py
├── make_warn_patterns.py
├── other_warn_patterns.py
├── severity.py
├── tidy_warn_patterns.py
├── warn.py
└── warn_common.py
├── whichgit
├── zipalign
├── Android.bp
├── OWNERS
├── README.txt
├── ZipAlign.cpp
├── ZipAlignMain.cpp
├── ZipEntry.cpp
├── ZipEntry.h
├── ZipFile.cpp
├── ZipFile.h
├── include
│ └── ZipAlign.h
└── tests
│ ├── data
│ ├── apkWithUncompressedSharedLibs.zip
│ ├── archiveWithOneDirectoryEntry.zip
│ ├── diffOrders.zip
│ ├── holes.zip
│ └── unaligned.zip
│ └── src
│ └── align_test.cpp
└── ziptime
├── Android.bp
├── README.txt
├── ZipEntry.cpp
├── ZipEntry.h
├── ZipFile.cpp
├── ZipFile.h
└── ZipTime.cpp
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | *.pyc
3 | *.swp
4 | blueprint/
5 | kati/
6 | soong/
7 |
--------------------------------------------------------------------------------
/OWNERS:
--------------------------------------------------------------------------------
1 | include platform/build/soong:/OWNERS
2 |
3 | # Since this file affects all Android developers, lock it down. There is still
4 | # round the world timzeone coverage.
5 | per-file envsetup.sh = joeo@google.com, jingwen@google.com
6 | per-file shell_utils.sh = joeo@google.com, jingwen@google.com
7 |
8 |
--------------------------------------------------------------------------------
/PREUPLOAD.cfg:
--------------------------------------------------------------------------------
1 | [Hook Scripts]
2 | do_not_use_DO_NOT_MERGE = ${REPO_ROOT}/build/soong/scripts/check_do_not_merge.sh ${PREUPLOAD_COMMIT}
3 |
4 | [Builtin Hooks]
5 | ktfmt = true
6 |
--------------------------------------------------------------------------------
/backported_fixes/OWNERS:
--------------------------------------------------------------------------------
1 | essick@google.com
2 | nchalko@google.com
3 | portmannc@google.com
4 |
--------------------------------------------------------------------------------
/core/OWNERS:
--------------------------------------------------------------------------------
1 |
2 | # For global Proguard rules
3 | per-file proguard*.flags = jdduke@google.com
4 |
5 | # For version updates
6 | per-file version_defaults.mk = ankurbakshi@google.com,bkhalife@google.com,jainne@google.com,lokeshgoel@google.com,lubomir@google.com,pscovanner@google.com
7 |
8 | # For sdk extensions version updates
9 | per-file version_defaults.mk = amhk@google.com,gurpreetgs@google.com,mkhokhlova@google.com,robertogil@google.com
10 |
11 | # For Ravenwood test configs
12 | per-file ravenwood_test_config_template.xml = jsharkey@google.com,omakoto@google.com
13 |
14 |
--------------------------------------------------------------------------------
/core/app_certificate_validate.mk:
--------------------------------------------------------------------------------
1 |
2 | ifeq (true,$(non_system_module))
3 | ifneq (,$(filter $(dir $(DEFAULT_SYSTEM_DEV_CERTIFICATE))%,$(LOCAL_CERTIFICATE)))
4 | CERTIFICATE_VIOLATION_MODULES += $(LOCAL_MODULE)
5 | ifeq (true,$(PRODUCT_ENFORCE_ARTIFACT_SYSTEM_CERTIFICATE_REQUIREMENT))
6 | $(if $(filter $(LOCAL_MODULE),$(PRODUCT_ARTIFACT_SYSTEM_CERTIFICATE_REQUIREMENT_ALLOW_LIST)),,\
7 | $(call pretty-error,The module in product partition cannot be signed with certificate in system.))
8 | endif
9 | endif
10 | endif
11 |
--------------------------------------------------------------------------------
/core/clang/HOST_x86.mk:
--------------------------------------------------------------------------------
1 | $(clang_2nd_arch_prefix)HOST_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-i386.a
2 | $(clang_2nd_arch_prefix)HOST_LIBCRT_BUILTINS := $(LLVM_RTLIB_PATH)/libclang_rt.builtins-i386.a
3 |
--------------------------------------------------------------------------------
/core/clang/HOST_x86_64.mk:
--------------------------------------------------------------------------------
1 | HOST_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-x86_64.a
2 | HOST_LIBCRT_BUILTINS := $(LLVM_RTLIB_PATH)/libclang_rt.builtins-x86_64.a
3 |
--------------------------------------------------------------------------------
/core/clang/TARGET_arm.mk:
--------------------------------------------------------------------------------
1 | $(clang_2nd_arch_prefix)RS_TRIPLE := renderscript32-linux-androideabi
2 | $(clang_2nd_arch_prefix)RS_TRIPLE_CFLAGS :=
3 | $(clang_2nd_arch_prefix)RS_COMPAT_TRIPLE := armv7-none-linux-gnueabi
4 |
5 | $(clang_2nd_arch_prefix)TARGET_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-arm-android.a
6 | $(clang_2nd_arch_prefix)TARGET_LIBCRT_BUILTINS := $(LLVM_RTLIB_PATH)/libclang_rt.builtins-arm-android.a
7 | $(clang_2nd_arch_prefix)TARGET_LIBUNWIND := $(LLVM_RTLIB_PATH)/arm/libunwind.a
8 |
9 | # Address sanitizer clang config
10 | $(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan
11 | $(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan
12 |
13 | $(clang_2nd_arch_prefix)PREBUILT_LIBCXX_ARCH_DIR := arm
14 |
--------------------------------------------------------------------------------
/core/clang/TARGET_arm64.mk:
--------------------------------------------------------------------------------
1 | RS_TRIPLE := renderscript64-linux-android
2 | RS_TRIPLE_CFLAGS :=
3 | RS_COMPAT_TRIPLE := aarch64-linux-android
4 |
5 | TARGET_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-aarch64-android.a
6 | TARGET_LIBCRT_BUILTINS := $(LLVM_RTLIB_PATH)/libclang_rt.builtins-aarch64-android.a
7 | TARGET_LIBUNWIND := $(LLVM_RTLIB_PATH)/aarch64/libunwind.a
8 |
9 | # Address sanitizer clang config
10 | ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan64
11 | ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan64
12 |
13 | PREBUILT_LIBCXX_ARCH_DIR := aarch64
14 |
--------------------------------------------------------------------------------
/core/clang/TARGET_riscv64.mk:
--------------------------------------------------------------------------------
1 | RS_TRIPLE := renderscript64-linux-android
2 | RS_TRIPLE_CFLAGS := -D__riscv64__
3 | RS_COMPAT_TRIPLE := riscv64-linux-android
4 |
5 | TARGET_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-riscv64-android.a
6 | TARGET_LIBCRT_BUILTINS := $(LLVM_RTLIB_PATH)/libclang_rt.builtins-riscv64-android.a
7 | TARGET_LIBUNWIND := $(LLVM_RTLIB_PATH)/riscv64/libunwind.a
8 |
9 | # Address sanitizer clang config
10 | ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan64
11 | ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan64
12 |
13 | PREBUILT_LIBCXX_ARCH_DIR := riscv64
14 |
--------------------------------------------------------------------------------
/core/clang/TARGET_x86.mk:
--------------------------------------------------------------------------------
1 | $(clang_2nd_arch_prefix)RS_TRIPLE := renderscript32-linux-androideabi
2 | $(clang_2nd_arch_prefix)RS_TRIPLE_CFLAGS := -D__i386__
3 | $(clang_2nd_arch_prefix)RS_COMPAT_TRIPLE := i686-linux-android
4 |
5 | $(clang_2nd_arch_prefix)TARGET_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-i686-android.a
6 | $(clang_2nd_arch_prefix)TARGET_LIBCRT_BUILTINS := $(LLVM_RTLIB_PATH)/libclang_rt.builtins-i686-android.a
7 | $(clang_2nd_arch_prefix)TARGET_LIBUNWIND := $(LLVM_RTLIB_PATH)/i386/libunwind.a
8 |
9 | # Address sanitizer clang config
10 | $(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan
11 | $(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan
12 |
13 | $(clang_2nd_arch_prefix)PREBUILT_LIBCXX_ARCH_DIR := i386
14 |
--------------------------------------------------------------------------------
/core/clang/TARGET_x86_64.mk:
--------------------------------------------------------------------------------
1 | RS_TRIPLE := renderscript64-linux-android
2 | RS_TRIPLE_CFLAGS := -D__x86_64__
3 | RS_COMPAT_TRIPLE := x86_64-linux-android
4 |
5 | TARGET_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-x86_64-android.a
6 | TARGET_LIBCRT_BUILTINS := $(LLVM_RTLIB_PATH)/libclang_rt.builtins-x86_64-android.a
7 | TARGET_LIBUNWIND := $(LLVM_RTLIB_PATH)/x86_64/libunwind.a
8 |
9 | # Address sanitizer clang config
10 | ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan64
11 | ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan64
12 |
13 | PREBUILT_LIBCXX_ARCH_DIR := x86_64
14 |
--------------------------------------------------------------------------------
/core/combo/arch/arm/armv7-a-neon.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on ARM.
2 | # Generating binaries for the ARMv7-a architecture and higher with NEON
3 | #
4 | ARCH_ARM_HAVE_VFP := true
5 | ARCH_ARM_HAVE_VFP_D32 := true
6 | ARCH_ARM_HAVE_NEON := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/arm/armv8-2a.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on ARM.
2 | # Generating binaries for the ARMv8-2a architecture
3 | #
4 | # Many libraries are not aware of armv8-2a, and AArch32 is (almost) a superset
5 | # of armv7-a-neon. So just let them think we are just like v7.
6 | ARCH_ARM_HAVE_VFP := true
7 | ARCH_ARM_HAVE_VFP_D32 := true
8 | ARCH_ARM_HAVE_NEON := true
9 |
--------------------------------------------------------------------------------
/core/combo/arch/arm/armv8-a.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on ARM.
2 | # Generating binaries for the ARMv8-a architecture
3 | #
4 | # Many libraries are not aware of armv8-a, and AArch32 is (almost) a superset
5 | # of armv7-a-neon. So just let them think we are just like v7.
6 | ARCH_ARM_HAVE_VFP := true
7 | ARCH_ARM_HAVE_VFP_D32 := true
8 | ARCH_ARM_HAVE_NEON := true
9 |
--------------------------------------------------------------------------------
/core/combo/arch/arm64/armv8-2a.mk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/core/combo/arch/arm64/armv8-2a.mk
--------------------------------------------------------------------------------
/core/combo/arch/arm64/armv8-a.mk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/core/combo/arch/arm64/armv8-a.mk
--------------------------------------------------------------------------------
/core/combo/arch/riscv64/riscv64.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # base 'riscv64' platform ABI.
3 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/alderlake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/amberlake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/atom.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # 'x86-atom' arch variant. This is an extension of the 'x86' base variant
3 | # that adds Atom-specific features.
4 | #
5 | # See build/make/core/combo/arch/x86/x86.mk for differences.
6 | #
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/broadwell.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/goldmont-plus.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # goldmont-plus arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/goldmont-without-sha-xsaves.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # goldmont-without-xsaves arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/goldmont.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # goldmont arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/haswell.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for Haswell processors.
3 | #
4 | ARCH_X86_HAVE_SSE4_1 := true
5 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/icelake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/ivybridge.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for Ivy Bridge processors.
3 | #
4 | ARCH_X86_HAVE_SSE4_1 := true
5 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/kabylake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors.
3 | # that support AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/sandybridge.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for SandyBridge processors.
3 | #
4 | ARCH_X86_HAVE_SSE4_1 := true
5 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/silvermont.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # silvermont arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/skylake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors.
3 | # that support AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/stoneyridge.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for Stoney Ridge processors.
3 | #
4 | ARCH_X86_HAVE_SSE4_1 := true
5 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/tigerlake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/tremont.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # tremont arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/whiskeylake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/x86.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # base 'x86' platform ABI.
3 | #
4 | # It is also used to build full_x86-eng / sdk_x86-eng platform images that
5 | # are run in the emulator under KVM emulation (i.e. running directly on
6 | # the host development machine's CPU).
7 |
8 | # These features are optional and shall not be included in the base platform
9 | # Otherwise, sdk_x86-eng system images might fail to run on some
10 | # developer machines.
11 |
--------------------------------------------------------------------------------
/core/combo/arch/x86/x86_64.mk:
--------------------------------------------------------------------------------
1 | # This file is used as the second (32-bit) architecture when building a generic
2 | # x86_64 64-bit platform image. (full_x86_64-eng / sdk_x86_64-eng)
3 | #
4 | # The generic 'x86' variant cannot be used, since it resets some flags used
5 | # by the 'x86_64' variant.
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/alderlake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/amberlake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/broadwell.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/goldmont-plus.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # goldmont-plus arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/goldmont-without-sha-xsaves.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # goldmont-without-xsaves arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/goldmont.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # goldmont arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/haswell.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86_64.
2 | # Generating binaries for Haswell processors.
3 | #
4 | ARCH_X86_HAVE_SSE4_1 := true
5 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/icelake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/ivybridge.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86_64.
2 | # Generating binaries for Ivy Bridge processors.
3 | #
4 | ARCH_X86_HAVE_SSE4_1 := true
5 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/kabylake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/sandybridge.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86_64.
2 | # Generating binaries for SandyBridge processors.
3 | #
4 | ARCH_X86_HAVE_SSE4_1 := true
5 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/silvermont.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # silvermont arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/skylake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/stoneyridge.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86_64.
2 | # Generating binaries for Stoney Ridge processors.
3 | #
4 | ARCH_X86_HAVE_SSE4_1 := true
5 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/tigerlake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/tremont.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # tremont arch variant.
3 | #
4 | # See build/make/core/combo/arch/x86/x86-atom.mk for differences.
5 | #
6 |
7 | ARCH_X86_HAVE_SSE4_1 := true
8 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/whiskeylake.mk:
--------------------------------------------------------------------------------
1 | # Configuration for Linux on x86.
2 | # Generating binaries for processors
3 | # that have AVX2 feature flag
4 | #
5 |
6 | ARCH_X86_HAVE_SSE4_1 := true
7 |
--------------------------------------------------------------------------------
/core/combo/arch/x86_64/x86_64.mk:
--------------------------------------------------------------------------------
1 | # This file contains feature macro definitions specific to the
2 | # base 'x86_64' platform ABI.
3 | #
4 | # It is also used to build full_x86_64-eng / sdk_x86_64-eng platform images
5 | # that are run in the emulator under KVM emulation (i.e. running directly on
6 | # the host development machine's CPU).
7 |
8 | ARCH_X86_HAVE_SSE4_1 := true
9 |
--------------------------------------------------------------------------------
/core/combo/javac.mk:
--------------------------------------------------------------------------------
1 | # Selects a Java compiler.
2 | #
3 | # Outputs:
4 | # ANDROID_JAVA_TOOLCHAIN -- Directory that contains javac and other java tools
5 | #
6 |
7 | ANDROID_COMPILE_WITH_JACK := false
8 |
9 | ifdef TARGET_BUILD_APPS
10 | ifndef TURBINE_ENABLED
11 | TURBINE_ENABLED := false
12 | endif
13 | endif
14 |
15 | ANDROID_JAVA_TOOLCHAIN := $(ANDROID_JAVA_HOME)/bin
16 |
17 | # TODO(ccross): remove this, it is needed for now because it is used by
18 | # config.mk before makevars from soong are loaded
19 | JAVA := $(ANDROID_JAVA_TOOLCHAIN)/java -XX:OnError="cat hs_err_pid%p.log" -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads
20 |
21 |
--------------------------------------------------------------------------------
/core/filter_symbols.sh:
--------------------------------------------------------------------------------
1 | NM=$1
2 |
3 | shift
4 |
5 | PREFIX=$1
6 |
7 | shift
8 |
9 | SUFFIX=$1
10 |
11 | shift
12 |
13 | while test "$1" != ""
14 | do
15 | $NM -g -fp $1 | while read -a line
16 | do
17 | type=${line[1]}
18 | # if [[ "$type" != "V" && "$type" != "U" ]]; then
19 | #if [[ "$type" != "W" && "$type" != "V" && "$type" != "U" ]]; then
20 | echo "$PREFIX${line[0]}$SUFFIX # ${line[1]}"
21 | #fi
22 | done
23 |
24 | shift
25 | done
26 |
--------------------------------------------------------------------------------
/core/multilib.mk:
--------------------------------------------------------------------------------
1 | # Translate LOCAL_32_BIT_ONLY to LOCAL_MULTILIB,
2 | # and check LOCAL_MULTILIB is a valid value. Returns module's multilib
3 | # setting in my_module_multilib, or empty if not set.
4 |
5 | my_module_multilib := $(strip $(LOCAL_MULTILIB))
6 |
7 | ifndef my_module_multilib
8 | ifeq ($(LOCAL_32_BIT_ONLY),true)
9 | my_module_multilib := 32
10 | endif
11 | else # my_module_multilib defined
12 | ifeq (,$(filter 32 64 first both none,$(my_module_multilib)))
13 | $(error $(LOCAL_PATH): Invalid LOCAL_MULTILIB specified for module $(LOCAL_MODULE))
14 | endif
15 | endif # my_module_multilib defined
16 |
--------------------------------------------------------------------------------
/core/native_test.mk:
--------------------------------------------------------------------------------
1 | ###########################################
2 | ## A thin wrapper around BUILD_EXECUTABLE
3 | ## Common flags for native tests are added.
4 | ###########################################
5 | $(call record-module-type,NATIVE_TEST)
6 |
7 | ifdef LOCAL_MODULE_CLASS
8 | ifneq ($(LOCAL_MODULE_CLASS),NATIVE_TESTS)
9 | $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST)
10 | endif
11 | endif
12 |
13 | LOCAL_MODULE_CLASS := NATIVE_TESTS
14 |
15 | include $(BUILD_SYSTEM)/target_test_internal.mk
16 |
17 | ifndef LOCAL_MULTILIB
18 | ifndef LOCAL_32_BIT_ONLY
19 | LOCAL_MULTILIB := both
20 | endif
21 | endif
22 |
23 | include $(BUILD_EXECUTABLE)
24 |
25 | $(if $(my_register_name),$(eval ALL_MODULES.$(my_register_name).MAKE_MODULE_TYPE:=NATIVE_TEST))
--------------------------------------------------------------------------------
/core/phony_package.mk:
--------------------------------------------------------------------------------
1 | $(call record-module-type,PHONY_PACKAGE)
2 | ifneq ($(strip $(LOCAL_SRC_FILES)),)
3 | $(error LOCAL_SRC_FILES are not allowed for phony packages)
4 | endif
5 |
6 | LOCAL_MODULE_CLASS := FAKE
7 | LOCAL_MODULE_SUFFIX := -timestamp
8 |
9 | include $(BUILD_SYSTEM)/base_rules.mk
10 |
11 | $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
12 | $(hide) echo "Fake: $@"
13 | $(hide) mkdir -p $(dir $@)
14 | $(hide) touch $@
15 |
16 | $(if $(my_register_name),$(eval ALL_MODULES.$(my_register_name).MAKE_MODULE_TYPE:=PHONY_PACKAGE))
--------------------------------------------------------------------------------
/core/process_wrapper.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # When using a process wrapper, this is the top-level
4 | # command that is executed instead of the server
5 | # command. It starts a new xterm in which the user can
6 | # interact with the new process.
7 | #
8 | # Inside of the xterm is a gdb session, through which
9 | # the user can debug the new process.
10 |
11 | # Save away these variables, since we may loose them
12 | # when starting in the xterm.
13 | export PREV_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
14 | export PREV_PATH=$PATH
15 |
16 | gnome-terminal -t "Wrapper: $1" --disable-factory -x $2/process_wrapper_gdb.sh "$@"
17 |
18 |
--------------------------------------------------------------------------------
/core/process_wrapper_gdb.cmds:
--------------------------------------------------------------------------------
1 | run
2 |
--------------------------------------------------------------------------------
/core/process_wrapper_gdb.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # This is the command running inside the xterm of our
4 | # debug wrapper. It needs to take care of starting
5 | # the server command, so it can attach to the parent
6 | # process. In addition, here we run the command inside
7 | # of a gdb session to allow for debugging.
8 |
9 | # On some systems, running xterm will cause LD_LIBRARY_PATH
10 | # to be cleared, so restore it and PATH to be safe.
11 | export PATH=$PREV_PATH
12 | export LD_LIBRARY_PATH=$PREV_LD_LIBRARY_PATH
13 |
14 | # Start binderproc (or whatever sub-command is being run)
15 | # inside of gdb, giving gdb an initial command script to
16 | # automatically run the process without user intervention.
17 | gdb -q -x $2/process_wrapper_gdb.cmds --args "$@"
18 |
--------------------------------------------------------------------------------
/core/proguard.jacoco.flags:
--------------------------------------------------------------------------------
1 | # Keep everything for the emma classes
2 | -keep class com.vladium.** {
3 | *;
4 | }
5 | # Keep everything for the jacoco classes
6 | -keep class org.jacoco.** {
7 | *;
8 | }
9 |
--------------------------------------------------------------------------------
/core/root.mk:
--------------------------------------------------------------------------------
1 | ### DO NOT EDIT THIS FILE ###
2 | include build/make/core/main.mk
3 | ### DO NOT EDIT THIS FILE ###
4 |
--------------------------------------------------------------------------------
/core/tasks/multitree.mk:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2022 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | .PHONY: update-meta
16 | update-meta: $(SOONG_MULTITREE_METADATA)
17 |
--------------------------------------------------------------------------------
/core/use_lld_setup.mk:
--------------------------------------------------------------------------------
1 | #############################################################
2 | ## Set up flags based on LOCAL_USE_CLANG_LLD.
3 | ## Input variables: LOCAL_USE_CLANG_LLD
4 | ## Output variables: my_use_clang_lld
5 | #############################################################
6 |
7 | # Use LLD by default.
8 | # Do not use LLD if LOCAL_USE_CLANG_LLD is false or 0
9 | my_use_clang_lld := true
10 | ifneq (,$(LOCAL_USE_CLANG_LLD))
11 | ifneq (,$(filter 0 false,$(LOCAL_USE_CLANG_LLD)))
12 | my_use_clang_lld := false
13 | endif
14 | endif
15 |
16 | # Do not use LLD for Darwin host executables or shared libraries. See
17 | # https://lld.llvm.org/AtomLLD.html for status of lld for Mach-O.
18 | ifeq ($($(my_prefix)OS),darwin)
19 | my_use_clang_lld := false
20 | endif
21 |
--------------------------------------------------------------------------------
/navbar.md:
--------------------------------------------------------------------------------
1 | * [Home](/README.md)
2 | * [Usage](/Usage.txt)
3 | * [Changes](/Changes.md)
4 | * [Outdated Reference](/core/build-system.html)
5 |
--------------------------------------------------------------------------------
/target/board/generic/AndroidBoard.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
--------------------------------------------------------------------------------
/target/board/generic/README.txt:
--------------------------------------------------------------------------------
1 | The "generic" product defines a non-hardware-specific target
2 | without a kernel or bootloader.
3 |
4 | It can be used to build the entire user-level system, and
5 | will work with the emulator, though sound will not work
6 | (see the "emulator" product for that).
7 |
8 | It is not a product "base class"; no other products inherit
9 | from it or use it in any way.
10 |
--------------------------------------------------------------------------------
/target/board/generic/device.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2009 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
--------------------------------------------------------------------------------
/target/board/generic/system_ext.prop:
--------------------------------------------------------------------------------
1 | #
2 | # system.prop for generic sdk
3 | #
4 |
5 | rild.libpath=/vendor/lib/libreference-ril.so
6 |
--------------------------------------------------------------------------------
/target/board/generic_64bitonly_x86_64/README.txt:
--------------------------------------------------------------------------------
1 | The "generic_x86_64_app" product defines a non-hardware-specific IA target
2 | without a kernel or bootloader.
3 |
4 | It can be used to build the entire user-level system, and
5 | will work with the IA version of the emulator,
6 |
7 | This supports 64-bit apps only.
8 |
--------------------------------------------------------------------------------
/target/board/generic_64bitonly_x86_64/system.prop:
--------------------------------------------------------------------------------
1 | #
2 | # system.prop for generic sdk
3 | #
4 |
5 | rild.libpath=/vendor/lib64/libreference-ril.so
6 |
--------------------------------------------------------------------------------
/target/board/generic_arm64/README.txt:
--------------------------------------------------------------------------------
1 | The "generic_arm64" product defines a non-hardware-specific arm64 target
2 | without a bootloader.
3 |
4 | It is also the target to build the generic kernel image (GKI).
5 |
6 | It is not a product "base class"; no other products inherit
7 | from it or use it in any way.
8 |
--------------------------------------------------------------------------------
/target/board/generic_arm64/device.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2013 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
--------------------------------------------------------------------------------
/target/board/generic_arm64/sepolicy/OWNERS:
--------------------------------------------------------------------------------
1 | include platform/system/sepolicy:/OWNERS
2 |
--------------------------------------------------------------------------------
/target/board/generic_arm64/sepolicy/file.te:
--------------------------------------------------------------------------------
1 | # TODO(b/36764215): remove this file when the generic system image
2 | # no longer has these directories
3 | type persist_file, file_type;
4 |
5 | # Default type for anything under /firmware.
6 | type firmware_file, fs_type, contextmount_type;
7 |
--------------------------------------------------------------------------------
/target/board/generic_arm64/sepolicy/file_contexts:
--------------------------------------------------------------------------------
1 | # TODO(b/36764215): remove this file when the generic system image
2 | # no longer has these directories. They are specific to QCOM.
3 |
4 | # /
5 | /tombstones u:object_r:rootfs:s0
6 | /dsp u:object_r:rootfs:s0
7 |
8 | # /persist
9 | /persist(/.*)? u:object_r:persist_file:s0
10 |
11 | # files in firmware
12 | /firmware(/.*)? u:object_r:firmware_file:s0
13 |
--------------------------------------------------------------------------------
/target/board/generic_arm64/system_ext.prop:
--------------------------------------------------------------------------------
1 | #
2 | # system.prop for generic arm64 sdk
3 | #
4 |
5 | rild.libpath=/vendor/lib64/libreference-ril.so
6 |
--------------------------------------------------------------------------------
/target/board/generic_riscv64/README.txt:
--------------------------------------------------------------------------------
1 | The "generic_riscv64" product defines a non-hardware-specific riscv64 target
2 | without a bootloader.
3 |
4 | It is also the target to build the generic kernel image (GKI).
5 |
6 | It is not a product "base class"; no other products inherit
7 | from it or use it in any way.
8 |
--------------------------------------------------------------------------------
/target/board/generic_riscv64/device.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2022 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
--------------------------------------------------------------------------------
/target/board/generic_riscv64/system_ext.prop:
--------------------------------------------------------------------------------
1 | #
2 | # system.prop for generic riscv64 sdk
3 | #
4 |
5 | rild.libpath=/vendor/lib64/libreference-ril.so
6 |
--------------------------------------------------------------------------------
/target/board/generic_x86/README.txt:
--------------------------------------------------------------------------------
1 | The "generic_x86" product defines a non-hardware-specific IA target
2 | without a kernel or bootloader.
3 |
4 | It can be used to build the entire user-level system, and
5 | will work with the IA version of the emulator,
6 |
7 | It is not a product "base class"; no other products inherit
8 | from it or use it in any way.
9 |
--------------------------------------------------------------------------------
/target/board/generic_x86/system_ext.prop:
--------------------------------------------------------------------------------
1 | #
2 | # system.prop for generic sdk
3 | #
4 |
5 | rild.libpath=/vendor/lib/libreference-ril.so
6 |
--------------------------------------------------------------------------------
/target/board/generic_x86_64/README.txt:
--------------------------------------------------------------------------------
1 | The "generic_x86_64" product defines a non-hardware-specific x86_64 target
2 | without a bootloader.
3 |
4 | It is also the target to build the generic kernel image (GKI).
5 |
6 | It is not a product "base class"; no other products inherit
7 | from it or use it in any way.
8 |
--------------------------------------------------------------------------------
/target/board/generic_x86_64/device.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2009 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
--------------------------------------------------------------------------------
/target/board/generic_x86_64/system_ext.prop:
--------------------------------------------------------------------------------
1 | #
2 | # system.prop for generic sdk
3 | #
4 |
5 | rild.libpath=/vendor/lib64/libreference-ril.so
6 |
--------------------------------------------------------------------------------
/target/board/generic_x86_64_arm64/README.txt:
--------------------------------------------------------------------------------
1 | The "generic_x86_64" product defines a non-hardware-specific IA target
2 | without a kernel or bootloader.
3 |
4 | It can be used to build the entire user-level system, and
5 | will work with the IA version of the emulator,
6 |
7 | It is not a product "base class"; no other products inherit
8 | from it or use it in any way.
9 |
10 | Third party arm64 to x86_64 translator has to be installed as well
11 |
--------------------------------------------------------------------------------
/target/board/generic_x86_64_arm64/device.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2009 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
--------------------------------------------------------------------------------
/target/board/generic_x86_64_arm64/system_ext.prop:
--------------------------------------------------------------------------------
1 | #
2 | # system.prop for generic sdk
3 | #
4 |
5 | rild.libpath=/vendor/lib64/libreference-ril.so
6 |
--------------------------------------------------------------------------------
/target/board/generic_x86_arm/README.txt:
--------------------------------------------------------------------------------
1 | The "generic_x86_arm" product defines a non-hardware-specific IA target
2 | without a kernel or bootloader.
3 |
4 | It can be used to build the entire user-level system, and
5 | will work with the IA version of the emulator,
6 |
7 | It is not a product "base class"; no other products inherit
8 | from it or use it in any way.
9 |
10 | Third party arm to x86 translator has to be installed as well
11 |
--------------------------------------------------------------------------------
/target/board/generic_x86_arm/device.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2009 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
--------------------------------------------------------------------------------
/target/board/generic_x86_arm/system_ext.prop:
--------------------------------------------------------------------------------
1 | #
2 | # system.prop for generic sdk
3 | #
4 |
5 | rild.libpath=/vendor/lib/libreference-ril.so
6 |
--------------------------------------------------------------------------------
/target/board/go_defaults.prop:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2017 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
--------------------------------------------------------------------------------
/target/board/gsi_system_ext.prop:
--------------------------------------------------------------------------------
1 | # GSI always generate dex pre-opt in system image
2 | ro.cp_system_other_odex=0
3 |
4 | # GSI always disables adb authentication
5 | ro.adb.secure=0
6 |
7 | # GSI disables non-AOSP nnapi extensions on product partition
8 | ro.nnapi.extensions.deny_on_product=true
9 |
10 | # TODO(b/120679683): disable RescueParty before all problem apps solved
11 | persist.sys.disable_rescue=true
12 |
13 | # TODO(b/78105955): disable privapp_permissions checking before the bug solved
14 | ro.control_privapp_permissions=disable
15 |
--------------------------------------------------------------------------------
/target/board/gsi_system_ext_user.prop:
--------------------------------------------------------------------------------
1 | # GSI always generate dex pre-opt in system image
2 | ro.cp_system_other_odex=0
3 |
4 | # GSI disables non-AOSP nnapi extensions on product partition
5 | ro.nnapi.extensions.deny_on_product=true
6 |
7 | # TODO(b/120679683): disable RescueParty before all problem apps solved
8 | persist.sys.disable_rescue=true
9 |
10 | # TODO(b/78105955): disable privapp_permissions checking before the bug solved
11 | ro.control_privapp_permissions=disable
12 |
--------------------------------------------------------------------------------
/target/board/linux_bionic/README.md:
--------------------------------------------------------------------------------
1 | This "device" is suitable for Soong-only builds to create Bionic binaries for
2 | Linux hosts:
3 |
4 | ```
5 | build/soong/soong_ui.bash --make-mode --soong-only TARGET_PRODUCT=linux_bionic ...
6 | ```
7 |
--------------------------------------------------------------------------------
/target/board/mainline_arm64/sepolicy/OWNERS:
--------------------------------------------------------------------------------
1 | include platform/system/sepolicy:/OWNERS
2 |
--------------------------------------------------------------------------------
/target/board/mainline_arm64/sepolicy/file.te:
--------------------------------------------------------------------------------
1 | # TODO(b/143732851): remove this file when the mainline system image
2 | # no longer need these SoC specific directory
3 | type persist_file, file_type;
4 |
--------------------------------------------------------------------------------
/target/board/mainline_arm64/sepolicy/file_contexts:
--------------------------------------------------------------------------------
1 | # TODO(b/143732851): remove this file when the mainline system image
2 | # no longer need these SoC specific directory
3 |
4 | # /persist
5 | /persist(/.*)? u:object_r:persist_file:s0
6 |
--------------------------------------------------------------------------------
/target/board/mainline_sdk/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for a soong-only build that builds for all the architectures
2 | needed for mainline modules sdk prebuilts.
3 |
--------------------------------------------------------------------------------
/target/board/module_arm/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for an unbundled module targeted specifically to an arm
2 | device.
3 |
--------------------------------------------------------------------------------
/target/board/module_arm64/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for an unbundled module targeted specifically to an
2 | arm64 device. 32 bit binaries built with this product will not be suitable for a
3 | 32-bit arm device.
4 |
--------------------------------------------------------------------------------
/target/board/module_arm64only/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for an unbundled module targeted specifically to an
2 | arm64 device. 32 bit binaries will not be built.
3 |
--------------------------------------------------------------------------------
/target/board/module_riscv64/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for an unbundled module targeted specifically to a
2 | riscv64 device. This is a 64-bit only device (no 32-bit support).
3 |
--------------------------------------------------------------------------------
/target/board/module_x86/BoardConfig.mk:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2020 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | #
15 |
16 | TARGET_CPU_ABI := x86
17 | TARGET_ARCH := x86
18 | TARGET_ARCH_VARIANT := x86
19 |
--------------------------------------------------------------------------------
/target/board/module_x86/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for an unbundled module targeted specifically to an
2 | x86 device.
3 |
--------------------------------------------------------------------------------
/target/board/module_x86_64/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for an unbundled module targeted specifically to an
2 | x86_64 device. 32 bit binaries built with this product will not be suitable for
3 | a 32-bit x86 device.
4 |
--------------------------------------------------------------------------------
/target/board/module_x86_64only/BoardConfig.mk:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2020 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | #
15 |
16 | TARGET_CPU_ABI := x86_64
17 | TARGET_ARCH := x86_64
18 | TARGET_ARCH_VARIANT := x86_64
19 |
--------------------------------------------------------------------------------
/target/board/module_x86_64only/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for an unbundled module targeted specifically to an
2 | x86_64 device. 32 bit binaries will not be built.
3 |
--------------------------------------------------------------------------------
/target/board/ndk/BoardConfig.mk:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2022 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | #
15 |
16 | TARGET_ARCH_SUITE := ndk
17 |
--------------------------------------------------------------------------------
/target/board/ndk/README.md:
--------------------------------------------------------------------------------
1 | This device is suitable for a soong-only build that builds for all the architectures
2 | needed for the ndk.
3 |
--------------------------------------------------------------------------------
/target/product/OWNERS:
--------------------------------------------------------------------------------
1 | per-file runtime_libart.mk = mast@google.com, ngeoffray@google.com, rpl@google.com, vmarko@google.com
2 |
3 | # GSI
4 | per-file gsi_release.mk = file:/target/product/gsi/OWNERS
5 | per-file developer_gsi_keys.mk = file:/target/product/gsi/OWNERS
6 |
7 | # Android Go
8 | per-file go_defaults.mk = gkaiser@google.com, kushg@google.com, rajekumar@google.com
9 | per-file go_defaults_512.mk = gkaiser@google.com, kushg@google.com, rajekumar@google.com
10 | per-file go_defaults_common.mk = gkaiser@google.com, kushg@google.com, rajekumar@google.com
11 |
--------------------------------------------------------------------------------
/target/product/aosp_base.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2013 The Android Open-Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
17 |
--------------------------------------------------------------------------------
/target/product/empty-preloaded-classes:
--------------------------------------------------------------------------------
1 | # Empty preloaded-classes file for automated testing.
2 |
--------------------------------------------------------------------------------
/target/product/empty-profile:
--------------------------------------------------------------------------------
1 | # Empty preloaded-classes file for automated testing.
2 |
--------------------------------------------------------------------------------
/target/product/full.manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/target/product/generic/OWNERS:
--------------------------------------------------------------------------------
1 | # Bug component: 1322713
2 | inseob@google.com
3 | jeongik@google.com
4 | jiyong@google.com
5 | justinyun@google.com
6 | kiyoungkim@google.com
7 |
--------------------------------------------------------------------------------
/target/product/generic/erofs_compress_hints.txt:
--------------------------------------------------------------------------------
1 | 0 .*\.apex$
--------------------------------------------------------------------------------
/target/product/gsi/OWNERS:
--------------------------------------------------------------------------------
1 | bowgotsai@google.com
2 | jiyong@google.com
3 | justinyun@google.com
4 | smoreland@google.com
5 | szuweilin@google.com
6 | yochiang@google.com
7 |
--------------------------------------------------------------------------------
/target/product/gsi/gsi_skip_mount.cfg:
--------------------------------------------------------------------------------
1 | # Skip "system" mountpoints.
2 | /oem
3 | /product
4 | /system_ext
5 | # Skip sub-mountpoints of system mountpoints.
6 | /oem/*
7 | /product/*
8 | /system_ext/*
9 | /system/*
10 |
--------------------------------------------------------------------------------
/target/product/gsi/init.gsi.rc:
--------------------------------------------------------------------------------
1 | #
2 | # Android init script for GSI required initialization
3 | #
4 |
5 | import /system/system_ext/etc/gsi/init.vndk-${ro.vndk.version:-nodef}.rc
6 |
--------------------------------------------------------------------------------
/target/product/gsi/init.vndk-nodef.rc:
--------------------------------------------------------------------------------
1 | on early-init
2 | # Reboot if BOARD_VNDK_VERSION is not defined
3 | exec - root -- /system/bin/reboot bootloader
4 |
--------------------------------------------------------------------------------
/target/product/linux_bionic.mk:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2022 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | #
15 |
16 | PRODUCT_NAME := linux_bionic
17 | PRODUCT_BRAND := Android
18 | PRODUCT_DEVICE := linux_bionic
19 |
--------------------------------------------------------------------------------
/target/product/mainline_system.mk:
--------------------------------------------------------------------------------
1 | generic_system.mk
--------------------------------------------------------------------------------
/target/product/non_ab_device.mk:
--------------------------------------------------------------------------------
1 | # Packages to update the recovery partition, which will be installed on
2 | # /vendor. Don't install these unless they're needed.
3 | PRODUCT_PACKAGES += \
4 | applypatch
5 |
6 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_k.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 19
3 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_l.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 21
3 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_l_mr1.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 22
3 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_m.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 23
3 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_n.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 24
3 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_n_mr1.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 25
3 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_o.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 26
3 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_o_mr1.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 27
3 |
--------------------------------------------------------------------------------
/target/product/product_launched_with_p.mk:
--------------------------------------------------------------------------------
1 | #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on.
2 | PRODUCT_SHIPPING_API_LEVEL := 28
--------------------------------------------------------------------------------
/target/product/security/BUILD.bazel:
--------------------------------------------------------------------------------
1 | filegroup(
2 | name = "android_certificate_directory",
3 | srcs = glob([
4 | "*.pk8",
5 | "*.pem",
6 | ]),
7 | visibility = ["//visibility:public"],
8 | )
9 |
--------------------------------------------------------------------------------
/target/product/security/bluetooth.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/bluetooth.pk8
--------------------------------------------------------------------------------
/target/product/security/cts_uicc_2021.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/cts_uicc_2021.pk8
--------------------------------------------------------------------------------
/target/product/security/fsverity-release.x509.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/fsverity-release.x509.der
--------------------------------------------------------------------------------
/target/product/security/media.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/media.pk8
--------------------------------------------------------------------------------
/target/product/security/networkstack.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/networkstack.pk8
--------------------------------------------------------------------------------
/target/product/security/nfc.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/nfc.pk8
--------------------------------------------------------------------------------
/target/product/security/platform.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/platform.pk8
--------------------------------------------------------------------------------
/target/product/security/sdk_sandbox.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/sdk_sandbox.pk8
--------------------------------------------------------------------------------
/target/product/security/shared.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/shared.pk8
--------------------------------------------------------------------------------
/target/product/security/testkey.pk8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/target/product/security/testkey.pk8
--------------------------------------------------------------------------------
/target/product/userspace_reboot.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2019 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | # DEPRECATED! Do not inherit this.
18 |
--------------------------------------------------------------------------------
/target/product/virtual_ab_ota.mk:
--------------------------------------------------------------------------------
1 | virtual_ab_ota/launch.mk
--------------------------------------------------------------------------------
/target/product/virtual_ab_ota/OWNERS:
--------------------------------------------------------------------------------
1 | zhangkelvin@google.com
2 | dvander@google.com
3 | akailash@google.com
4 |
5 |
--------------------------------------------------------------------------------
/target/product/virtual_ab_ota/README.md:
--------------------------------------------------------------------------------
1 | # Virtual A/B makefiles
2 |
3 | Devices that uses Virtual A/B must inherit from one of the makefiles in this directory.
4 |
5 | ## Structure
6 |
7 | ```
8 | launch.mk
9 | |- retrofit.mk
10 | |- plus_non_ab.mk
11 |
12 | launch_with_vendor_ramdisk.mk
13 | |- compression.mk
14 |
15 | compression_retrofit.mk
16 | ```
17 |
--------------------------------------------------------------------------------
/target/product/virtual_ab_ota_plus_non_ab.mk:
--------------------------------------------------------------------------------
1 | virtual_ab_ota/plus_non_ab.mk
--------------------------------------------------------------------------------
/target/product/virtual_ab_ota_retrofit.mk:
--------------------------------------------------------------------------------
1 | virtual_ab_ota/retrofit.mk
--------------------------------------------------------------------------------
/teams/OWNERS:
--------------------------------------------------------------------------------
1 | dariofreni@google.com
2 | ronish@google.com
3 | caditya@google.com
4 |
--------------------------------------------------------------------------------
/tests/board.rbc:
--------------------------------------------------------------------------------
1 | # Copyright 2021 Google LLC
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # https://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | load("//build/make/core:product_config.rbc", "rblf")
16 |
17 | def init(g, handle):
18 | cfg = rblf.cfg(handle)
19 | g["A_LIST_VARIABLE"] += ["bar"]
20 |
--------------------------------------------------------------------------------
/tests/board_input_vars.rbc:
--------------------------------------------------------------------------------
1 | # Copyright 2021 Google LLC
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # https://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | load("//build/make/core:product_config.rbc", "rblf")
16 |
17 | def init(g, handle):
18 | cfg = rblf.cfg(handle)
19 | g["A_LIST_VARIABLE"] = ["foo"]
20 |
--------------------------------------------------------------------------------
/tests/roboleaf_tests.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 | # Copyright (C) 2022 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | tests=(
17 | $(dirname $0)/b_tests.sh
18 | )
19 |
20 | for test in $tests; do
21 | bash -x $test
22 | done
23 |
--------------------------------------------------------------------------------
/tests/version_defaults.rbc:
--------------------------------------------------------------------------------
1 | version_defaults = struct(
2 | codenames = { "SP1A" : "S" },
3 | default_platform_version = "SP1A",
4 | max_platform_version = "SP1A",
5 | min_platform_version = "SP1A",
6 | platform_base_sdk_extension_version = 0,
7 | platform_sdk_extension_version = 1,
8 | platform_sdk_version = 30,
9 | platform_security_patch = "2021-08-05",
10 | platform_version_last_stable = 11,
11 | )
12 |
--------------------------------------------------------------------------------
/tools/aconfig/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig is awesome: https://EditorConfig.org
2 |
3 | # top-most EditorConfig file
4 | root = true
5 |
6 | [*.java]
7 | indent_style = tab
8 | indent_size = 4
9 |
10 |
--------------------------------------------------------------------------------
/tools/aconfig/.gitignore:
--------------------------------------------------------------------------------
1 | /Cargo.lock
2 | /target
3 |
--------------------------------------------------------------------------------
/tools/aconfig/Cargo.toml:
--------------------------------------------------------------------------------
1 | [workspace]
2 |
3 | members = [
4 | "aconfig",
5 | "aconfig_device_paths",
6 | "aconfig_protos",
7 | "aconfig_storage_file",
8 | "aconfig_storage_read_api",
9 | "aconfig_storage_write_api",
10 | "aflags",
11 | "printflags"
12 | ]
13 |
14 | resolver = "2"
15 |
--------------------------------------------------------------------------------
/tools/aconfig/MODULE_LICENSE_APACHE2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/MODULE_LICENSE_APACHE2
--------------------------------------------------------------------------------
/tools/aconfig/OWNERS:
--------------------------------------------------------------------------------
1 | dzshen@google.com
2 | opg@google.com
3 | tedbauer@google.com
4 | zhidou@google.com
5 |
6 | amhk@google.com #{LAST_RESORT_SUGGESTION}
7 | jham@google.com #{LAST_RESORT_SUGGESTION}
8 | joeo@google.com #{LAST_RESORT_SUGGESTION}
9 |
--------------------------------------------------------------------------------
/tools/aconfig/PREUPLOAD.cfg:
--------------------------------------------------------------------------------
1 | [Builtin Hooks]
2 | rustfmt = true
3 |
4 | [Builtin Hooks Options]
5 | rustfmt = --config-path=rustfmt.toml
6 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aconfig"
3 | version = "0.1.0"
4 | edition = "2021"
5 |
6 | [features]
7 | default = ["cargo"]
8 | cargo = []
9 |
10 | [dependencies]
11 | anyhow = "1.0.69"
12 | clap = { version = "4.1.8", features = ["derive"] }
13 | itertools = "0.10.5"
14 | protobuf = "3.2.0"
15 | serde = { version = "1.0.152", features = ["derive"] }
16 | serde_json = "1.0.93"
17 | tinytemplate = "1.2.1"
18 | aconfig_protos = { path = "../aconfig_protos" }
19 | aconfig_storage_file = { path = "../aconfig_storage_file" }
20 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/templates/FeatureFlags.java.template:
--------------------------------------------------------------------------------
1 | package {package_name};
2 | {{ if not library_exported- }}
3 | // TODO(b/303773055): Remove the annotation after access issue is resolved.
4 | import android.compat.annotation.UnsupportedAppUsage;
5 | {{ -endif }}
6 | /** @hide */
7 | public interface FeatureFlags \{
8 | {{ for item in flag_elements }}
9 | {{ -if not item.is_read_write }}
10 | {{ -if item.default_value }}
11 | @com.android.aconfig.annotations.AssumeTrueForR8
12 | {{ -else }}
13 | @com.android.aconfig.annotations.AssumeFalseForR8
14 | {{ -endif- }}
15 | {{ -endif }}
16 | {{ -if not library_exported }}
17 | @com.android.aconfig.annotations.AconfigFlagAccessor
18 | @UnsupportedAppUsage
19 | {{ -endif }}
20 | boolean {item.method_name}();
21 | {{ -endfor }}
22 | }
23 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/aconfig_exported_mode_test.rs:
--------------------------------------------------------------------------------
1 | #[cfg(not(feature = "cargo"))]
2 | #[test]
3 | fn test_flags() {
4 | assert!(!aconfig_test_rust_library::disabled_rw_exported());
5 | assert!(!aconfig_test_rust_library::enabled_fixed_ro_exported());
6 | assert!(!aconfig_test_rust_library::enabled_ro_exported());
7 | }
8 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/aconfig_force_read_only_mode_test.rs:
--------------------------------------------------------------------------------
1 | #[cfg(not(feature = "cargo"))]
2 | #[test]
3 | fn test_flags() {
4 | assert!(!aconfig_test_rust_library::disabled_ro());
5 | assert!(!aconfig_test_rust_library::disabled_rw());
6 | assert!(!aconfig_test_rust_library::disabled_rw_in_other_namespace());
7 | assert!(aconfig_test_rust_library::enabled_fixed_ro());
8 | assert!(aconfig_test_rust_library::enabled_ro());
9 | assert!(aconfig_test_rust_library::enabled_rw());
10 | }
11 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/aconfig_prod_mode_test.rs:
--------------------------------------------------------------------------------
1 | #[cfg(not(feature = "cargo"))]
2 | #[test]
3 | fn test_flags() {
4 | assert!(!aconfig_test_rust_library::disabled_ro());
5 | assert!(!aconfig_test_rust_library::disabled_rw());
6 | assert!(aconfig_test_rust_library::enabled_ro());
7 | assert!(aconfig_test_rust_library::enabled_rw());
8 | }
9 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/read_only_test.values:
--------------------------------------------------------------------------------
1 | flag_value {
2 | package: "com.android.aconfig.test"
3 | name: "disabled_ro"
4 | state: DISABLED
5 | permission: READ_ONLY
6 | }
7 | flag_value {
8 | package: "com.android.aconfig.test"
9 | name: "enabled_ro"
10 | state: ENABLED
11 | permission: READ_ONLY
12 | }
13 | flag_value {
14 | package: "com.android.aconfig.test"
15 | name: "enabled_fixed_ro"
16 | state: ENABLED
17 | permission: READ_ONLY
18 | }
19 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/second.values:
--------------------------------------------------------------------------------
1 | flag_value {
2 | package: "com.android.aconfig.test"
3 | name: "enabled_ro"
4 | state: ENABLED
5 | permission: READ_ONLY
6 | }
7 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/storage_test_1.aconfig:
--------------------------------------------------------------------------------
1 | package: "com.android.aconfig.storage.test_1"
2 | container: "system"
3 |
4 | flag {
5 | name: "enabled_rw"
6 | namespace: "aconfig_test"
7 | description: "This flag is ENABLED + READ_WRITE"
8 | bug: ""
9 | }
10 |
11 | flag {
12 | name: "disabled_rw"
13 | namespace: "aconfig_test"
14 | description: "This flag is DISABLED + READ_WRITE"
15 | bug: "456"
16 | is_exported: true
17 | }
18 |
19 | flag {
20 | name: "enabled_ro"
21 | namespace: "aconfig_test"
22 | description: "This flag is ENABLED + READ_ONLY"
23 | bug: "abc"
24 | }
25 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/storage_test_1.values:
--------------------------------------------------------------------------------
1 | flag_value {
2 | package: "com.android.aconfig.storage.test_1"
3 | name: "enabled_rw"
4 | state: ENABLED
5 | permission: READ_WRITE
6 | }
7 | flag_value {
8 | package: "com.android.aconfig.storage.test_1"
9 | name: "disabled_rw"
10 | state: DISABLED
11 | permission: READ_WRITE
12 | }
13 | flag_value {
14 | package: "com.android.aconfig.storage.test_1"
15 | name: "enabled_ro"
16 | state: ENABLED
17 | permission: READ_ONLY
18 | }
19 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/storage_test_2.aconfig:
--------------------------------------------------------------------------------
1 | package: "com.android.aconfig.storage.test_2"
2 | container: "system"
3 |
4 | flag {
5 | name: "enabled_ro"
6 | namespace: "aconfig_test"
7 | description: "This flag is ENABLED + READ_ONLY"
8 | bug: "abc"
9 | }
10 |
11 | flag {
12 | name: "disabled_rw"
13 | namespace: "aconfig_test"
14 | description: "This flag is DISABLED + READ_ONLY"
15 | bug: "123"
16 | }
17 |
18 | flag {
19 | name: "enabled_fixed_ro"
20 | namespace: "aconfig_test"
21 | description: "This flag is fixed READ_ONLY + ENABLED"
22 | bug: ""
23 | is_fixed_read_only: true
24 | }
25 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/storage_test_2.values:
--------------------------------------------------------------------------------
1 | flag_value {
2 | package: "com.android.aconfig.storage.test_2"
3 | name: "enabled_ro"
4 | state: ENABLED
5 | permission: READ_ONLY
6 | }
7 | flag_value {
8 | package: "com.android.aconfig.storage.test_2"
9 | name: "disabled_rw"
10 | state: DISABLED
11 | permission: READ_WRITE
12 | }
13 | flag_value {
14 | package: "com.android.aconfig.storage.test_2"
15 | name: "enabled_fixed_ro"
16 | state: ENABLED
17 | permission: READ_ONLY
18 | }
19 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/storage_test_4.aconfig:
--------------------------------------------------------------------------------
1 | package: "com.android.aconfig.storage.test_4"
2 | container: "system"
3 |
4 | flag {
5 | name: "enabled_rw"
6 | namespace: "aconfig_test"
7 | description: "This flag is ENABLED + READ_ONLY"
8 | bug: "abc"
9 | }
10 |
11 | flag {
12 | name: "enabled_fixed_ro"
13 | namespace: "aconfig_test"
14 | description: "This flag is fixed READ_ONLY + ENABLED"
15 | bug: ""
16 | is_fixed_read_only: true
17 | }
18 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/storage_test_4.values:
--------------------------------------------------------------------------------
1 | flag_value {
2 | package: "com.android.aconfig.storage.test_4"
3 | name: "enabled_rw"
4 | state: ENABLED
5 | permission: READ_WRITE
6 | }
7 | flag_value {
8 | package: "com.android.aconfig.storage.test_4"
9 | name: "enabled_fixed_ro"
10 | state: ENABLED
11 | permission: READ_ONLY
12 | }
13 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/test_exported.aconfig:
--------------------------------------------------------------------------------
1 | package: "com.android.aconfig.test.exported"
2 | container: "system"
3 |
4 | flag {
5 | name: "exported_flag"
6 | namespace: "aconfig_test"
7 | description: "This is an exported flag"
8 | is_exported: true
9 | bug: "888"
10 | }
11 |
12 | flag {
13 | name: "not_exported_flag"
14 | namespace: "aconfig_test"
15 | description: "This flag is not exported"
16 | bug: "777"
17 | }
18 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/test_force_read_only.aconfig:
--------------------------------------------------------------------------------
1 | package: "com.android.aconfig.test.forcereadonly"
2 | container: "system"
3 |
4 | flag {
5 | name: "fro_exported"
6 | namespace: "aconfig_test"
7 | description: "This is an exported flag"
8 | is_exported: true
9 | bug: "888"
10 | }
11 |
12 | flag {
13 | name: "fro_rw"
14 | namespace: "aconfig_test"
15 | description: "This flag is not exported"
16 | bug: "777"
17 | }
18 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/test_second_package.aconfig:
--------------------------------------------------------------------------------
1 | package: "com.android.aconfig.second_test"
2 | container: "system"
3 |
4 | flag {
5 | name: "testing_flag"
6 | namespace: "another_namespace"
7 | description: "This is a flag for testing."
8 | bug: "123"
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig/tests/third.values:
--------------------------------------------------------------------------------
1 | flag_value {
2 | package: "com.android.aconfig.second_test"
3 | name: "testing_flag"
4 | state: DISABLED
5 | permission: READ_WRITE
6 | }
7 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_device_paths/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aconfig_device_paths"
3 | version = "0.1.0"
4 | edition = "2021"
5 |
6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7 |
8 | [dependencies]
9 | anyhow = "1.0.82"
10 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_device_paths/partition_aconfig_flags_paths.txt:
--------------------------------------------------------------------------------
1 | "/system/etc/aconfig_flags.pb",
2 | "/product/etc/aconfig_flags.pb",
3 | "/vendor/etc/aconfig_flags.pb",
4 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_flags/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aconfig_flags"
3 | version = "0.1.0"
4 | edition = "2021"
5 |
6 | [features]
7 | default = ["cargo"]
8 | cargo = []
9 |
10 | [dependencies]
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_flags/flags.aconfig:
--------------------------------------------------------------------------------
1 | package: "com.android.aconfig.flags"
2 | container: "system"
3 |
4 | flag {
5 | name: "enable_only_new_storage"
6 | namespace: "core_experiments_team_internal"
7 | bug: "312235596"
8 | description: "When enabled, aconfig flags are read from the new aconfig storage only."
9 | }
10 |
11 | flag {
12 | name: "enable_aconfigd_from_mainline"
13 | namespace: "core_experiments_team_internal"
14 | bug: "369808805"
15 | description: "When enabled, launch aconfigd from config infra module."
16 | }
17 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_protos/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aconfig_protos"
3 | version = "0.1.0"
4 | edition = "2021"
5 | build = "build.rs"
6 |
7 | [features]
8 | default = ["cargo"]
9 | cargo = []
10 |
11 | [dependencies]
12 | anyhow = "1.0.69"
13 | paste = "1.0.11"
14 | protobuf = "3.2.0"
15 |
16 | [build-dependencies]
17 | protobuf-codegen = "3.2.0"
18 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_protos/build.rs:
--------------------------------------------------------------------------------
1 | use protobuf_codegen::Codegen;
2 |
3 | fn main() {
4 | let proto_files = vec!["protos/aconfig.proto"];
5 |
6 | // tell cargo to only re-run the build script if any of the proto files has changed
7 | for path in &proto_files {
8 | println!("cargo:rerun-if-changed={}", path);
9 | }
10 |
11 | Codegen::new()
12 | .pure()
13 | .include("protos")
14 | .inputs(proto_files)
15 | .cargo_out_dir("aconfig_proto")
16 | .run_from_script();
17 | }
18 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_protos/jarjar-nano-rules.txt:
--------------------------------------------------------------------------------
1 | rule com.google.protobuf.** android.internal.framework.protobuf.@1
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aconfig_storage_file"
3 | version = "0.1.0"
4 | edition = "2021"
5 |
6 | [features]
7 | default = ["cargo"]
8 | cargo = []
9 |
10 | [dependencies]
11 | anyhow = "1.0.69"
12 | protobuf = "3.2.0"
13 | tempfile = "3.9.0"
14 | thiserror = "1.0.56"
15 | clap = { version = "4.1.8", features = ["derive"] }
16 | cxx = "1.0"
17 | serde = { version = "1.0.152", features = ["derive"] }
18 | serde_json = "1.0.93"
19 |
20 | [[bin]]
21 | name = "aconfig-storage"
22 | path = "src/main.rs"
23 |
24 | [build-dependencies]
25 | protobuf-codegen = "3.2.0"
26 | cxx-build = "1.0"
27 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/build.rs:
--------------------------------------------------------------------------------
1 | use protobuf_codegen::Codegen;
2 |
3 | fn main() {
4 | let proto_files = vec!["protos/aconfig_storage_metadata.proto"];
5 |
6 | // tell cargo to only re-run the build script if any of the proto files has changed
7 | for path in &proto_files {
8 | println!("cargo:rerun-if-changed={}", path);
9 | }
10 |
11 | Codegen::new()
12 | .pure()
13 | .include("protos")
14 | .inputs(proto_files)
15 | .cargo_out_dir("aconfig_storage_protos")
16 | .run_from_script();
17 |
18 | let _ = cxx_build::bridge("src/lib.rs");
19 | }
20 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/tests/data/v1/flag_v1.info:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/tests/data/v1/flag_v1.map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/aconfig_storage_file/tests/data/v1/flag_v1.map
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/tests/data/v1/flag_v1.val:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/tests/data/v1/package_v1.map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/aconfig_storage_file/tests/data/v1/package_v1.map
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/tests/data/v2/flag_v2.info:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/tests/data/v2/flag_v2.map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/aconfig_storage_file/tests/data/v2/flag_v2.map
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/tests/data/v2/flag_v2.val:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_file/tests/data/v2/package_v2.map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/aconfig_storage_file/tests/data/v2/package_v2.map
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aconfig_storage_read_api"
3 | version = "0.1.0"
4 | edition = "2021"
5 |
6 | [features]
7 | default = ["cargo"]
8 | cargo = []
9 |
10 | [dependencies]
11 | rand = "0.8.5"
12 | anyhow = "1.0.69"
13 | memmap2 = "0.8.0"
14 | cxx = "1.0"
15 | thiserror = "1.0.56"
16 | aconfig_storage_file = { path = "../aconfig_storage_file" }
17 |
18 | [build-dependencies]
19 | protobuf-codegen = "3.2.0"
20 | cxx-build = "1.0"
21 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/build.rs:
--------------------------------------------------------------------------------
1 | fn main() {
2 | let _ = cxx_build::bridge("src/lib.rs");
3 | println!("cargo:rerun-if-changed=src/lib.rs");
4 | }
5 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/libaconfig_storage_read_api_cc.map:
--------------------------------------------------------------------------------
1 | LIBACONFIG_STORAGE_READ_API_CC {
2 | # Export everything in the aconfig_storage namespace. This includes both the
3 | # public API and library internals.
4 | global:
5 | extern "C++" {
6 | aconfig_storage::*;
7 | };
8 | # Hide everything else.
9 | local:
10 | *;
11 | };
12 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/tests/data/v1/flag_v1.info:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/tests/data/v1/flag_v1.map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/aconfig_storage_read_api/tests/data/v1/flag_v1.map
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/tests/data/v1/flag_v1.val:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/tests/data/v1/package_v1.map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/aconfig_storage_read_api/tests/data/v1/package_v1.map
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/tests/data/v2/flag_v2.info:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/tests/data/v2/flag_v2.map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/aconfig_storage_read_api/tests/data/v2/flag_v2.map
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/tests/data/v2/flag_v2.val:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_read_api/tests/data/v2/package_v2.map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/aconfig/aconfig_storage_read_api/tests/data/v2/package_v2.map
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_write_api/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aconfig_storage_write_api"
3 | version = "0.1.0"
4 | edition = "2021"
5 |
6 | [features]
7 | default = ["cargo"]
8 | cargo = []
9 |
10 | [dependencies]
11 | anyhow = "1.0.69"
12 | cxx = "1.0"
13 | memmap2 = "0.8.0"
14 | tempfile = "3.9.0"
15 | thiserror = "1.0.56"
16 | aconfig_storage_file = { path = "../aconfig_storage_file" }
17 | aconfig_storage_read_api = { path = "../aconfig_storage_read_api" }
18 |
19 | [build-dependencies]
20 | cxx-build = "1.0"
21 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_write_api/build.rs:
--------------------------------------------------------------------------------
1 | fn main() {
2 | let _ = cxx_build::bridge("src/lib.rs");
3 | println!("cargo:rerun-if-changed=src/lib.rs");
4 | }
5 |
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_write_api/tests/flag.info:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aconfig_storage_write_api/tests/flag.val:
--------------------------------------------------------------------------------
1 | mockup#
--------------------------------------------------------------------------------
/tools/aconfig/aflags/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "aflags"
3 | version = "0.1.0"
4 | edition = "2021"
5 |
6 | [dependencies]
7 | anyhow = "1.0.69"
8 | paste = "1.0.11"
9 | protobuf = "3.2.0"
10 | regex = "1.10.3"
11 | aconfig_protos = { path = "../aconfig_protos" }
12 | aconfigd_protos = { version = "0.1.0", path = "../../../../../packages/modules/ConfigInfrastructure/aconfigd/proto"}
13 | nix = { version = "0.28.0", features = ["user"] }
14 | aconfig_storage_file = { version = "0.1.0", path = "../aconfig_storage_file" }
15 | aconfig_storage_read_api = { version = "0.1.0", path = "../aconfig_storage_read_api" }
16 | clap = {version = "4.5.2" }
17 | aconfig_device_paths = { version = "0.1.0", path = "../aconfig_device_paths" }
18 | aconfig_flags = { version = "0.1.0", path = "../aconfig_flags" }
19 |
--------------------------------------------------------------------------------
/tools/aconfig/fake_device_config/src/android/util/Log.java:
--------------------------------------------------------------------------------
1 | package android.util;
2 |
3 | public final class Log {
4 | public static int i(String tag, String msg) {
5 | return 0;
6 | }
7 |
8 | public static int w(String tag, String msg) {
9 | return 0;
10 | }
11 |
12 | public static int e(String tag, String msg) {
13 | return 0;
14 | }
15 |
16 | public static int e(String tag, String msg, Throwable tr) {
17 | return 0;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/tools/aconfig/printflags/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | rust_defaults {
6 | name: "printflags.defaults",
7 | edition: "2021",
8 | clippy_lints: "android",
9 | lints: "android",
10 | srcs: ["src/main.rs"],
11 | rustlibs: [
12 | "libaconfig_protos",
13 | "libanyhow",
14 | "libprotobuf",
15 | "libregex",
16 | ],
17 | }
18 |
19 | rust_binary {
20 | name: "printflags",
21 | defaults: ["printflags.defaults"],
22 | }
23 |
24 | rust_test_host {
25 | name: "printflags.test",
26 | defaults: ["printflags.defaults"],
27 | test_suites: ["general-tests"],
28 | }
29 |
--------------------------------------------------------------------------------
/tools/aconfig/printflags/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "printflags"
3 | version = "0.1.0"
4 | edition = "2021"
5 |
6 | [features]
7 | default = ["cargo"]
8 | cargo = []
9 |
10 | [dependencies]
11 | anyhow = "1.0.69"
12 | paste = "1.0.11"
13 | protobuf = "3.2.0"
14 | regex = "1.10.3"
15 | aconfig_protos = { path = "../aconfig_protos" }
16 |
--------------------------------------------------------------------------------
/tools/aconfig/rustfmt.toml:
--------------------------------------------------------------------------------
1 | ../../../soong/scripts/rustfmt.toml
--------------------------------------------------------------------------------
/tools/acp/Android.bp:
--------------------------------------------------------------------------------
1 | // Copyright 2005 The Android Open Source Project
2 | //
3 | // Custom version of cp.
4 |
5 | package {
6 | // See: http://go/android-license-faq
7 | default_applicable_licenses: ["Android-Apache-2.0"],
8 | }
9 |
10 | cc_binary_host {
11 |
12 | srcs: ["acp.c"],
13 | cflags: ["-Wall", "-Werror"],
14 |
15 | static_libs: ["libhost"],
16 | name: "acp",
17 | stl: "none",
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/tools/atree/Android.bp:
--------------------------------------------------------------------------------
1 | // Copyright 2007 The Android Open Source Project
2 | //
3 | // Copies files into the directory structure described by a manifest
4 |
5 | package {
6 | // See: http://go/android-license-faq
7 | default_applicable_licenses: ["Android-Apache-2.0"],
8 | }
9 |
10 | cc_binary_host {
11 | name: "atree",
12 | srcs: [
13 | "atree.cpp",
14 | "files.cpp",
15 | "fs.cpp",
16 | ],
17 | cflags: ["-Wall", "-Werror"],
18 | static_libs: ["libhost"],
19 | }
20 |
--------------------------------------------------------------------------------
/tools/atree/fs.h:
--------------------------------------------------------------------------------
1 | #ifndef FS_H
2 | #define FS_H
3 |
4 | #include
5 |
6 | using namespace std;
7 |
8 | int remove_recursively(const string& path);
9 | int mkdir_recursively(const string& path);
10 | int copy_file(const string& src, const string& dst);
11 | int strip_file(const string& path);
12 |
13 | #endif // FS_H
14 |
--------------------------------------------------------------------------------
/tools/atree/options.h:
--------------------------------------------------------------------------------
1 | #ifndef OPTIONS_H
2 | #define OPTIONS_H
3 |
4 | #include
5 | #include
6 |
7 | using namespace std;
8 |
9 | extern vector g_listFiles;
10 | extern vector g_inputBases;
11 | extern string g_outputBase;
12 | extern bool g_useHardLinks;
13 |
14 | #endif // OPTIONS_H
15 |
--------------------------------------------------------------------------------
/tools/canoninja/go.mod:
--------------------------------------------------------------------------------
1 | module canoninja
2 |
3 | go 1.19
4 |
--------------------------------------------------------------------------------
/tools/characteristics_rro_generator.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python3
2 | import sys
3 |
4 | if __name__ == '__main__':
5 | if len(sys.argv) != 3:
6 | sys.exit(f"usage: {sys_argv[0]} target_package_name output\n")
7 | with open(sys.argv[2], "w") as f:
8 | f.write(f'''
9 |
10 |
11 |
14 |
15 | ''')
16 |
--------------------------------------------------------------------------------
/tools/check-flagged-apis/OWNERS:
--------------------------------------------------------------------------------
1 | amhk@google.com
2 | gurpreetgs@google.com
3 | michaelwr@google.com
4 | paulduffin@google.com
5 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/firstparty/FIRST_PARTY_LICENSE:
--------------------------------------------------------------------------------
1 | &&&First Party License&&&
2 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/firstparty/METADATA:
--------------------------------------------------------------------------------
1 | # Comments are allowed
2 | name: "1ptd"
3 | description: "First Party Test Data"
4 | third_party {
5 | version: "1.0"
6 | }
7 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/firstparty/bin/bin1.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "static/binary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin1"
9 | installed: "out/target/product/fictional/system/bin/bin1"
10 | sources: "out/target/product/fictional/system/lib/liba.a"
11 | sources: "out/target/product/fictional/system/lib/libc.a"
12 | deps: {
13 | file: "testdata/firstparty/lib/liba.so.meta_lic"
14 | annotations: "static"
15 | }
16 | deps: {
17 | file: "testdata/firstparty/lib/libc.a.meta_lic"
18 | annotations: "static"
19 | }
20 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/firstparty/bin/bin3.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "standalone/binary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin3"
9 | installed: "out/target/product/fictional/system/bin/bin3"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/firstparty/lib/liba.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "device/library"
3 | license_kinds: "SPDX-license-identifier-Apache-2.0"
4 | license_conditions: "notice"
5 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.a"
9 | installed: "out/target/product/fictional/system/lib/liba.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/firstparty/lib/libb.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "base/library"
3 | license_kinds: "SPDX-license-identifier-Apache-2.0"
4 | license_conditions: "notice"
5 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.a"
9 | installed: "out/target/product/fictional/system/lib/libb.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/firstparty/lib/libc.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "static/library"
3 | license_kinds: "SPDX-license-identifier-Apache-2.0"
4 | license_conditions: "notice"
5 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc.a"
8 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/firstparty/lib/libd.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "dynamic/library"
3 | license_kinds: "SPDX-license-identifier-Apache-2.0"
4 | license_conditions: "notice"
5 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libd.so"
8 | installed: "out/target/product/fictional/system/lib/libd.so"
9 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/METADATA:
--------------------------------------------------------------------------------
1 | # Comments are allowed
2 | name: "noticetd"
3 | description: "Notice Test Data"
4 | third_party {
5 | version: "1.0"
6 | }
7 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/NOTICE_LICENSE:
--------------------------------------------------------------------------------
1 | %%%Notice License%%%
2 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/bin/bin1.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "static/binary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin1"
9 | installed: "out/target/product/fictional/system/bin/bin1"
10 | sources: "out/target/product/fictional/system/lib/liba.a"
11 | sources: "out/target/product/fictional/system/lib/libc.a"
12 | deps: {
13 | file: "testdata/notice/lib/liba.so.meta_lic"
14 | annotations: "static"
15 | }
16 | deps: {
17 | file: "testdata/notice/lib/libc.a.meta_lic"
18 | annotations: "static"
19 | }
20 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/bin/bin2.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "dynamic/binary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin2"
9 | installed: "out/target/product/fictional/system/bin/bin2"
10 | sources: "out/target/product/fictional/system/lib/libb.so"
11 | sources: "out/target/product/fictional/system/lib/libd.so"
12 | deps: {
13 | file: "testdata/notice/lib/libb.so.meta_lic"
14 | annotations: "dynamic"
15 | }
16 | deps: {
17 | file: "testdata/notice/lib/libd.so.meta_lic"
18 | annotations: "dynamic"
19 | }
20 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/bin/bin3.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Compiler"
2 | module_classes: "EXECUTABLES"
3 | projects: "standalone/binary"
4 | license_kinds: "SPDX-license-identifier-NCSA"
5 | license_conditions: "notice"
6 | license_texts: "testdata/notice/NOTICE_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin3"
9 | installed: "out/target/product/fictional/system/bin/bin3"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/lib/liba.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Device"
2 | projects: "device/library"
3 | license_kinds: "SPDX-license-identifier-BSD"
4 | license_conditions: "notice"
5 | license_texts: "testdata/notice/NOTICE_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.a"
9 | installed: "out/target/product/fictional/system/lib/liba.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/lib/libb.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "base/library"
3 | license_kinds: "SPDX-license-identifier-Apache-2.0"
4 | license_conditions: "notice"
5 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.a"
9 | installed: "out/target/product/fictional/system/lib/libb.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/lib/libc.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "static/library"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | license_texts: "testdata/notice/NOTICE_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc.a"
8 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/notice/lib/libd.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "dynamic/library"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | license_texts: "testdata/notice/NOTICE_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libd.so"
8 | installed: "out/target/product/fictional/system/lib/libd.so"
9 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/proprietary/METADATA:
--------------------------------------------------------------------------------
1 | # comments are allowed
2 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/proprietary/PROPRIETARY_LICENSE:
--------------------------------------------------------------------------------
1 | @@@Proprietary License@@@
2 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/proprietary/bin/bin1.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "static/binary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin1"
9 | installed: "out/target/product/fictional/system/bin/bin1"
10 | sources: "out/target/product/fictional/system/lib/liba.a"
11 | sources: "out/target/product/fictional/system/lib/libc.a"
12 | deps: {
13 | file: "testdata/proprietary/lib/liba.so.meta_lic"
14 | annotations: "static"
15 | }
16 | deps: {
17 | file: "testdata/proprietary/lib/libc.a.meta_lic"
18 | annotations: "static"
19 | }
20 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/proprietary/bin/bin3.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Compiler"
2 | module_classes: "EXECUTABLES"
3 | projects: "standalone/binary"
4 | license_kinds: "SPDX-license-identifier-LGPL-2.0"
5 | license_conditions: "restricted_if_statically_linked"
6 | license_texts: "testdata/restricted/RESTRICTED_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin3"
9 | installed: "out/target/product/fictional/system/bin/bin3"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/proprietary/lib/liba.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Device"
2 | projects: "device/library"
3 | license_kinds: "legacy_proprietary"
4 | license_conditions: "proprietary"
5 | license_conditions: "by_exception_only"
6 | license_texts: "testdata/proprietary/PROPRIETARY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.so"
9 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.a"
10 | installed: "out/target/product/fictional/system/lib/liba.so"
11 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/proprietary/lib/libb.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "base/library"
3 | license_kinds: "SPDX-license-identifier-GPL-2.0"
4 | license_conditions: "restricted"
5 | license_texts: "testdata/restricted/RESTRICTED_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.a"
9 | installed: "out/target/product/fictional/system/lib/libb.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/proprietary/lib/libc.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "static/library"
3 | license_kinds: "legacy_proprietary"
4 | license_conditions: "proprietary"
5 | license_conditions: "by_exception_only"
6 | license_texts: "testdata/proprietary/PROPRIETARY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc.a"
9 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/proprietary/lib/libd.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "dynamic/library"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | license_texts: "testdata/notice/NOTICE_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libd.so"
8 | installed: "out/target/product/fictional/system/lib/libd.so"
9 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/reciprocal/METADATA:
--------------------------------------------------------------------------------
1 | # Comments are allowed
2 | description: "Reciprocal Test Data"
3 | third_party {
4 | version: "1.0"
5 | }
6 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/reciprocal/RECIPROCAL_LICENSE:
--------------------------------------------------------------------------------
1 | $$$Reciprocal License$$$
2 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/reciprocal/bin/bin1.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "static/binary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin1"
9 | installed: "out/target/product/fictional/system/bin/bin1"
10 | sources: "out/target/product/fictional/system/lib/liba.a"
11 | sources: "out/target/product/fictional/system/lib/libc.a"
12 | deps: {
13 | file: "testdata/reciprocal/lib/liba.so.meta_lic"
14 | annotations: "static"
15 | }
16 | deps: {
17 | file: "testdata/reciprocal/lib/libc.a.meta_lic"
18 | annotations: "static"
19 | }
20 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/reciprocal/bin/bin3.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Compiler"
2 | module_classes: "EXECUTABLES"
3 | projects: "standalone/binary"
4 | license_kinds: "SPDX-license-identifier-NCSA"
5 | license_conditions: "notice"
6 | license_texts: "testdata/notice/NOTICE_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin3"
9 | installed: "out/target/product/fictional/system/bin/bin3"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/reciprocal/lib/liba.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Device"
2 | projects: "device/library"
3 | license_kinds: "SPDX-license-identifier-MPL"
4 | license_conditions: "reciprocal"
5 | license_texts: "testdata/reciprocal/RECIPROCAL_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.a"
9 | installed: "out/target/product/fictional/system/lib/liba.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/reciprocal/lib/libb.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "base/library"
3 | license_kinds: "SPDX-license-identifier-Apache-2.0"
4 | license_conditions: "notice"
5 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.a"
9 | installed: "out/target/product/fictional/system/lib/libb.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/reciprocal/lib/libc.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "static/library"
3 | license_kinds: "SPDX-license-identifier-MPL"
4 | license_conditions: "reciprocal"
5 | license_texts: "testdata/reciprocal/RECIPROCAL_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc.a"
8 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/reciprocal/lib/libd.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "dynamic/library"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | license_texts: "testdata/notice/NOTICE_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libd.so"
8 | installed: "out/target/product/fictional/system/lib/libd.so"
9 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin1.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin1"
8 | installed: "out/target/product/fictional/system/bin/bin1"
9 | sources: "out/target/product/fictional/system/lib/lib1.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib1.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin2.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin2"
8 | installed: "out/target/product/fictional/system/bin/bin2"
9 | sources: "out/target/product/fictional/system/lib/lib2.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib2.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin3.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin3"
8 | installed: "out/target/product/fictional/system/bin/bin3"
9 | sources: "out/target/product/fictional/system/lib/lib3.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib3.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin4.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin4"
8 | installed: "out/target/product/fictional/system/bin/bin4"
9 | sources: "out/target/product/fictional/system/lib/lib4.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib4.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin5.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin5"
8 | installed: "out/target/product/fictional/system/bin/bin5"
9 | sources: "out/target/product/fictional/system/lib/lib5.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib5.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin6.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin6"
8 | installed: "out/target/product/fictional/system/bin/bin6"
9 | sources: "out/target/product/fictional/system/lib/lib6.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib6.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin7.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin7"
8 | installed: "out/target/product/fictional/system/bin/bin7"
9 | sources: "out/target/product/fictional/system/lib/lib7.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib7.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin8.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin8"
8 | installed: "out/target/product/fictional/system/bin/bin8"
9 | sources: "out/target/product/fictional/system/lib/lib8.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib8.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/bin/bin9.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "legacy_proprietary"
5 | license_conditions: "proprietary"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin9"
8 | installed: "out/target/product/fictional/system/bin/bin9"
9 | sources: "out/target/product/fictional/system/lib/lib9.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib9.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib1.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib1.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib1.a"
8 | installed: "out/target/product/fictional/system/lib/lib1.so"
9 | sources: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib2.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib2.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib2.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib2.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib2.a"
8 | installed: "out/target/product/fictional/system/lib/lib2.so"
9 | sources: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib3.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib3.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib3.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib3.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib3.a"
8 | installed: "out/target/product/fictional/system/lib/lib3.so"
9 | sources: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib4.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib4.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib4.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib4.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib4.a"
8 | installed: "out/target/product/fictional/system/lib/lib4.so"
9 | sources: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib5.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib5.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib5.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib5.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib5.a"
8 | installed: "out/target/product/fictional/system/lib/lib5.so"
9 | sources: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib6.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib6.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib6.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib6.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib6.a"
8 | installed: "out/target/product/fictional/system/lib/lib6.so"
9 | sources: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib7.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib7.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib7.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib7.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib7.a"
8 | installed: "out/target/product/fictional/system/lib/lib7.so"
9 | sources: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib8.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib8.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib8.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib8.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib8.a"
8 | installed: "out/target/product/fictional/system/lib/lib8.so"
9 | sources: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib9.a"
10 | deps: {
11 | file: "testdata/regressconcur/lib/lib9.a.meta_lic"
12 | annotations: "static"
13 | }
14 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressconcur/lib/lib9.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/restricted"
3 | license_kinds: "SPDX-license-identifier-GPL-2.0"
4 | license_conditions: "restricted"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib9.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/lib9.a"
8 | installed: "out/target/product/fictional/system/lib/lib9.so"
9 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressgpl1/bin/bin1.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "build/soong/licenses/LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin1"
9 | installed: "out/target/product/fictional/system/bin/bin1"
10 | sources: "out/target/product/fictional/system/lib/libc++.so"
11 | deps: {
12 | file: "testdata/regressgpl1/lib/libc++.so.meta_lic"
13 | annotations: "dynamic"
14 | }
15 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressgpl1/lib/libapache.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/apache"
3 | license_kinds: "SPDX-license-identifier-Apache-2.0"
4 | license_conditions: "notice"
5 | license_texts: "build/soong/licenses/LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libapache.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libapache.a"
9 | installed: "out/target/product/fictional/system/lib/libapache.so"
10 | sources: "out/target/product/fictional/system/lib/libc++.so"
11 | deps: {
12 | file: "testdata/regressgpl1/lib/libc++.so.meta_lic"
13 | annotations: "dynamic"
14 | }
15 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressgpl1/lib/libc++.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Device"
2 | projects: "lib/c++"
3 | license_kinds: "SPDX-license-identifier-BSD"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc++.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc++.a"
8 | installed: "out/target/product/fictional/system/lib/libc++.so"
9 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressgpl1/lib/libgpl.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "lib/gpl"
3 | license_kinds: "SPDX-license-identifier-GPL-2.0"
4 | license_conditions: "restricted"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libgpl.so"
7 | installed: "out/target/product/fictional/system/lib/libgpl.so"
8 | sources: "out/target/product/fictional/system/lib/libc++.so"
9 | deps: {
10 | file: "testdata/regressgpl1/lib/libc++.so.meta_lic"
11 | annotations: "dynamic"
12 | }
13 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressgpl2/bin/bin1.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "bin/onelibrary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "build/soong/licenses/LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin1"
9 | installed: "out/target/product/fictional/system/bin/bin1"
10 | sources: "out/target/product/fictional/system/lib/libc++.so"
11 | deps: {
12 | file: "testdata/regressgpl2/lib/libc++.so.meta_lic"
13 | annotations: "dynamic"
14 | }
15 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressgpl2/lib/libapache.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "lib/apache"
3 | license_kinds: "SPDX-license-identifier-Apache-2.0"
4 | license_conditions: "notice"
5 | license_texts: "build/soong/licenses/LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libapache.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libapache.a"
9 | installed: "out/target/product/fictional/system/lib/libapache.so"
10 | sources: "out/target/product/fictional/system/lib/libc++.so"
11 | deps: {
12 | file: "testdata/regressgpl2/lib/libc++.so.meta_lic"
13 | annotations: "dynamic"
14 | }
15 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressgpl2/lib/libc++.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Device"
2 | projects: "lib/c++"
3 | license_kinds: "SPDX-license-identifier-BSD"
4 | license_conditions: "notice"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc++.so"
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc++.a"
8 | installed: "out/target/product/fictional/system/lib/libc++.so"
9 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/regressgpl2/lib/libgpl.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "lib/gpl"
3 | license_kinds: "SPDX-license-identifier-GPL-2.0"
4 | license_conditions: "restricted"
5 | is_container: false
6 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libgpl.so"
7 | installed: "out/target/product/fictional/system/lib/libgpl.so"
8 | sources: "out/target/product/fictional/system/lib/libc++.so"
9 | deps: {
10 | file: "testdata/regressgpl2/lib/libc++.so.meta_lic"
11 | annotations: "dynamic"
12 | }
13 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/METADATA:
--------------------------------------------------------------------------------
1 | name {
2 | id: 1
3 | }
4 | third_party {
5 | version: 2
6 | }
7 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/METADATA.android:
--------------------------------------------------------------------------------
1 | # Comments are allowed
2 | name: "testdata"
3 | description: "Restricted Test Data"
4 | third_party {
5 | version: "1.0"
6 | }
7 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/RESTRICTED_LICENSE:
--------------------------------------------------------------------------------
1 | ###Restricted License###
2 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/bin/bin1.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | module_classes: "EXECUTABLES"
3 | projects: "static/binary"
4 | license_kinds: "SPDX-license-identifier-Apache-2.0"
5 | license_conditions: "notice"
6 | license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin1"
9 | installed: "out/target/product/fictional/system/bin/bin1"
10 | sources: "out/target/product/fictional/system/lib/liba.a"
11 | sources: "out/target/product/fictional/system/lib/libc.a"
12 | deps: {
13 | file: "testdata/restricted/lib/liba.so.meta_lic"
14 | annotations: "static"
15 | }
16 | deps: {
17 | file: "testdata/restricted/lib/libc.a.meta_lic"
18 | annotations: "static"
19 | }
20 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/bin/bin3.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Compiler"
2 | module_classes: "EXECUTABLES"
3 | projects: "standalone/binary"
4 | license_kinds: "SPDX-license-identifier-LGPL-2.0"
5 | license_conditions: "restricted_if_statically_linked"
6 | license_texts: "testdata/restricted/RESTRICTED_LICENSE"
7 | is_container: false
8 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin3"
9 | installed: "out/target/product/fictional/system/bin/bin3"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/lib/liba.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Device"
2 | projects: "device/library"
3 | license_kinds: "SPDX-license-identifier-LGPL-2.0"
4 | license_conditions: "restricted_if_statically_linked"
5 | license_texts: "testdata/restricted/RESTRICTED_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/liba.a"
9 | installed: "out/target/product/fictional/system/lib/liba.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/lib/libb.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "Android"
2 | projects: "base/library"
3 | license_kinds: "SPDX-license-identifier-GPL-2.0"
4 | license_conditions: "restricted"
5 | license_texts: "testdata/restricted/RESTRICTED_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.so"
8 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libb.a"
9 | installed: "out/target/product/fictional/system/lib/libb.so"
10 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/lib/libc.a.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "static/library"
3 | license_kinds: "SPDX-license-identifier-MPL"
4 | license_conditions: "reciprocal"
5 | license_texts: "testdata/reciprocal/RECIPROCAL_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libc.a"
8 |
--------------------------------------------------------------------------------
/tools/compliance/cmd/testdata/restricted/lib/libd.so.meta_lic:
--------------------------------------------------------------------------------
1 | package_name: "External"
2 | projects: "dynamic/library"
3 | license_kinds: "SPDX-license-identifier-MIT"
4 | license_conditions: "notice"
5 | license_texts: "testdata/notice/NOTICE_LICENSE"
6 | is_container: false
7 | built: "out/target/product/fictional/obj/SHARED_LIBRARIES/lib_intermediates/libd.so"
8 | installed: "out/target/product/fictional/system/lib/libd.so"
9 |
--------------------------------------------------------------------------------
/tools/compliance/go.mod:
--------------------------------------------------------------------------------
1 | go 1.22
2 |
3 | module android/soong/tools/compliance
4 |
5 | require (
6 | github.com/google/blueprint v0.0.0
7 | android/soong v0.0.0
8 | google.golang.org/protobuf v0.0.0
9 | github.com/spdx/tools-golang v0.0.0
10 | github.com/google/go-cmp v0.0.0
11 | )
12 |
--------------------------------------------------------------------------------
/tools/compliance/go.work:
--------------------------------------------------------------------------------
1 | go 1.23
2 |
3 | use (
4 | .
5 | ../../../../build/blueprint
6 | ../../../../build/soong
7 | ../../../../external/go-cmp
8 | ../../../../external/golang-protobuf
9 | ../../../../external/spdx-tools
10 | )
11 |
12 | replace (
13 | github.com/google/blueprint v0.0.0 => ../../../../build/blueprint
14 | android/soong v0.0.0 => ../../../../build/soong
15 | github.com/google/go-cmp v0.0.0 => ../../../../external/go-cmp
16 | google.golang.org/protobuf v0.0.0 => ../../../../external/golang-protobuf
17 | github.com/spdx/tools-golang v0.0.0 => ../../../../external/spdx-tools
18 | )
19 |
--------------------------------------------------------------------------------
/tools/docker/.gitignore:
--------------------------------------------------------------------------------
1 | gitconfig
2 |
--------------------------------------------------------------------------------
/tools/docker/README.md:
--------------------------------------------------------------------------------
1 | The Dockerfile in this directory sets up an Ubuntu Trusty image ready to build
2 | a variety of Android branches (>= Lollipop). It's particulary useful to build
3 | older branches that required 14.04 if you've upgraded to something newer.
4 |
5 | First, build the image:
6 | ```
7 | # Copy your host gitconfig, or create a stripped down version
8 | $ cp ~/.gitconfig gitconfig
9 | $ docker build --build-arg userid=$(id -u) --build-arg groupid=$(id -g) --build-arg username=$(id -un) -t android-build-trusty .
10 | ```
11 |
12 | Then you can start up new instances with:
13 | ```
14 | $ docker run -it --rm -v $ANDROID_BUILD_TOP:/src android-build-trusty
15 | > cd /src; source build/envsetup.sh
16 | > lunch aosp_arm-eng
17 | > m -j50
18 | ```
19 |
--------------------------------------------------------------------------------
/tools/droiddoc/README:
--------------------------------------------------------------------------------
1 | If you're looking for the templates-sdk/ files, they've moved
2 | to external/doclava/res/assets/.
3 |
4 | The remaining template files here should also be eventually removed
5 | so that we can unify the structure and style of all DocLava builds.
6 |
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/android-developer-docs-devguide.css:
--------------------------------------------------------------------------------
1 |
2 | @import url("android-developer-docs.css");
3 |
4 | /* Page title */
5 |
6 | #jd-header h1 {
7 | padding: 8px 0 0 0;
8 | }
9 |
10 | /* Page content container */
11 |
12 | #jd-header table {
13 | margin: 0 0 1em 1em;
14 | }
15 |
16 | #jd-content table table,
17 | #jd-content table img {
18 | margin:1em 0;
19 | }
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/callout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/callout.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_land_span13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_land_span13.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_port_span5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_port_span5.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_port_span9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_port_span9.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/disclosure_down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/disclosure_down.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/disclosure_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/disclosure_left.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/disclosure_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/disclosure_right.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/disclosure_up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/disclosure_up.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/ico_action.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/ico_action.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/ico_good.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/ico_good.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/ico_movie_inline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/ico_movie_inline.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/ico_phone_tablet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/ico_phone_tablet.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/ico_use.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/ico_use.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/ico_web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/ico_web.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/ico_wrong.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/ico_wrong.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/design/open_new_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/design/open_new_page.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/android-developers-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/android-developers-logo.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/android-partner-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/android-partner-logo.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/android_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/android_logo.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/android_wrench.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/android_wrench.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_down.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_up.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/arrow_left_off.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/arrow_left_off.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/arrow_left_on.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/arrow_left_on.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/arrow_right_off.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/arrow_right_off.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/arrow_right_on.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/arrow_right_on.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/bg_community_leftDiv.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/bg_community_leftDiv.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/bg_fade.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/bg_fade.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/bg_images_sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/bg_images_sprite.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/bg_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/bg_logo.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/body-gradient-tab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/body-gradient-tab.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/body-gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/body-gradient.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/developers-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/developers-logo.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/grad-rule-qv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/grad-rule-qv.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/Android_Dev_Lab_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/Android_Dev_Lab_l.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/GDC2011.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/GDC2011.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/GTV_icon_large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/GTV_icon_large.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/GTV_icon_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/GTV_icon_small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/IO-logo-2011.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/IO-logo-2011.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/IO-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/IO-logo.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/adc2_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/adc2_l.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/adc2_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/adc2_s.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/android_adc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/android_adc.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/bg_home_announcement.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/bg_home_announcement.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/bg_home_bottom.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/bg_home_bottom.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel_board.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel_board.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel_wheel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel_wheel.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/carousel_buttons_sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/carousel_buttons_sprite.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/devphone-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/devphone-large.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/devphone-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/devphone-small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/donut-android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/donut-android.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/eclair-android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/eclair-android.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/froyo-android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/froyo-android.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/gdc-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/gdc-logo.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/gingerdroid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/gingerdroid.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/google-plus-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/google-plus-small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/google-plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/google-plus.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/honeycomb-android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/honeycomb-android.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/ics-android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/ics-android.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/io-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/io-large.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/io-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/io-small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/maps-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/maps-large.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/maps-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/maps-small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/market-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/market-large.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/market-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/market-small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/sdk-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/sdk-large.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/home/sdk-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/home/sdk-small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/hr_gray_main.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/hr_gray_main.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/hr_gray_side.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/hr_gray_side.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_contribute.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_contribute.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_design.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_design.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_download.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_download.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_download2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_download2.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_guidelines_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_guidelines_logo.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_market.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_market.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_play.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_robot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_robot.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/icon_world.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/icon_world.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/left_off.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/left_off.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/left_on.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/left_on.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/logo_breadcrumbz.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/logo_breadcrumbz.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/open_source.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/open_source.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/preliminary.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/preliminary.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resizable-e.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resizable-e.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resizable-e2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resizable-e2.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resizable-eg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resizable-eg.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resizable-s.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resizable-s.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resizable-s2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resizable-s2.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resizable-sg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resizable-sg.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resource-article.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resource-article.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resource-big-article.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resource-big-article.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resource-big-sample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resource-big-sample.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resource-big-tutorial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resource-big-tutorial.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resource-big-video.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resource-big-video.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resource-sample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resource-sample.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resource-tutorial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resource-tutorial.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/resource-video.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/resource-video.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/right_off.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/right_off.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/right_on.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/right_on.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/sidenav-rule.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/sidenav-rule.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/slide_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/slide_1.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/slide_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/slide_2.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/slide_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/slide_3.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/slide_large_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/slide_large_1.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/slide_large_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/slide_large_2.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/slide_large_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/slide_large_3.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/slide_off.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/slide_off.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/slide_on.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/slide_on.jpg
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/spacer.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/spacer.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/triangle-closed-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/triangle-closed-small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/triangle-closed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/triangle-closed.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/triangle-opened-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/triangle-opened-small.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/triangle-opened.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/triangle-opened.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/uiguidelines1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/uiguidelines1.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/images/video-droid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/images/video-droid.png
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/jdiff_logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/jdiff_logo.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/assets/triangle-none.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/droiddoc/templates-pdk/assets/triangle-none.gif
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/data.hdf:
--------------------------------------------------------------------------------
1 | template {
2 | which = normal
3 | }
4 |
5 |
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/footer.cs:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/tools/droiddoc/templates-pdk/jd_lists_unified.cs:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/tools/droiddoc/test/stubs/expected/com/android/stubs/Annot.java:
--------------------------------------------------------------------------------
1 | package com.android.stubs;
2 | @java.lang.annotation.Documented()
3 | @java.lang.annotation.Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME)
4 | @java.lang.annotation.Target(value={java.lang.annotation.ElementType.TYPE})
5 | public @interface Annot
6 | {
7 | java.lang.String value() default "yo\u1234";
8 | }
9 |
--------------------------------------------------------------------------------
/tools/droiddoc/test/stubs/expected/com/android/stubs/InterfaceEnum.java:
--------------------------------------------------------------------------------
1 | package com.android.stubs;
2 | public enum InterfaceEnum
3 | implements com.android.stubs.Parent.Interface
4 | {
5 | VAL();
6 | public void method() { throw new RuntimeException("Stub!"); }
7 | public static final java.lang.Object OBJECT;
8 | static { OBJECT = null; }
9 | }
10 |
--------------------------------------------------------------------------------
/tools/droiddoc/test/stubs/expected/com/android/stubs/SomeEnum.java:
--------------------------------------------------------------------------------
1 | package com.android.stubs;
2 | public enum SomeEnum
3 | {
4 | A(),
5 | B(),
6 | C();
7 | }
8 |
--------------------------------------------------------------------------------
/tools/droiddoc/test/stubs/expected/com/android/stubs/a/A.java:
--------------------------------------------------------------------------------
1 | package com.android.stubs.a;
2 | public abstract class A
3 | extends com.android.stubs.Parent
4 | implements com.android.stubs.Parent.Interface, com.android.stubs.a.SomeInterface
5 | {
6 | public class Inner
7 | {
8 | public Inner() { throw new RuntimeException("Stub!"); }
9 | }
10 | protected A(int a) { throw new RuntimeException("Stub!"); }
11 | public com.android.stubs.a.A varargs(com.android.stubs.Parent[]... args) { throw new RuntimeException("Stub!"); }
12 | public void method() { throw new RuntimeException("Stub!"); }
13 | public abstract java.lang.String[] stringArrayMethod() throws java.io.IOException;
14 | }
15 |
--------------------------------------------------------------------------------
/tools/droiddoc/test/stubs/expected/com/android/stubs/a/SomeInterface.java:
--------------------------------------------------------------------------------
1 | package com.android.stubs.a;
2 | public interface SomeInterface
3 | {
4 | }
5 |
--------------------------------------------------------------------------------
/tools/droiddoc/test/stubs/expected/com/android/stubs/b/B.java:
--------------------------------------------------------------------------------
1 | package com.android.stubs.b;
2 | public class B
3 | {
4 | public B() { throw new RuntimeException("Stub!"); }
5 | }
6 |
--------------------------------------------------------------------------------
/tools/edit_monitor/OWNERS:
--------------------------------------------------------------------------------
1 | include platform/tools/asuite:/OWNERS_ADTE_TEAM
--------------------------------------------------------------------------------
/tools/filelistdiff/OWNERS:
--------------------------------------------------------------------------------
1 | per-file allowlist = justinyun@google.com, jeongik@google.com, kiyoungkim@google.com, inseob@google.com
2 |
--------------------------------------------------------------------------------
/tools/filelistdiff/allowlist:
--------------------------------------------------------------------------------
1 | # Known diffs that are installed in either system image with the configuration
2 | # b/353429422
3 | init.environ.rc
4 | # b/338342381
5 | etc/NOTICE.xml.gz
6 |
--------------------------------------------------------------------------------
/tools/filelistdiff/allowlist_next:
--------------------------------------------------------------------------------
1 | # Allowlist only for the next release configuration.
2 | # TODO(b/369678122): The list will be cleared when the trunk configurations are
3 | # available to the next.
4 |
5 | # KATI only installed files
6 | framework/oat/x86_64/apex@com.android.compos@javalib@service-compos.jar@classes.odex
7 | framework/oat/x86_64/apex@com.android.compos@javalib@service-compos.jar@classes.odex.fsv_meta
8 | framework/oat/x86_64/apex@com.android.compos@javalib@service-compos.jar@classes.vdex
9 | framework/oat/x86_64/apex@com.android.compos@javalib@service-compos.jar@classes.vdex.fsv_meta
10 |
--------------------------------------------------------------------------------
/tools/finalization/OWNERS:
--------------------------------------------------------------------------------
1 | include platform/build/soong:/OWNERS
2 | amhk@google.com
3 | gurpreetgs@google.com
4 | michaelwr@google.com
5 | patb@google.com
6 | smoreland@google.com
7 | zyy@google.com
8 |
--------------------------------------------------------------------------------
/tools/finalization/build-step-0-and-m.sh:
--------------------------------------------------------------------------------
1 |
2 | #!/bin/bash
3 | # Copyright 2024 Google Inc. All rights reserved.
4 | set -ex
5 | function help() {
6 | echo "Finalize VINTF and build a target for test."
7 | echo "usage: $(basename "$0") target [goals...]"
8 | }
9 | function finalize_main_step0_and_m() {
10 | if [ $# == 0 ] ; then
11 | help
12 | exit 1
13 | fi;
14 | local top="$(dirname "$0")"/../../../..
15 | source $top/build/make/tools/finalization/build-step-0.sh
16 | local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=$1 TARGET_RELEASE=fina_0 TARGET_BUILD_VARIANT=userdebug"
17 | # This command tests the release state for AIDL.
18 | AIDL_FROZEN_REL=true $m ${@:2}
19 | }
20 | finalize_main_step0_and_m $@
21 |
--------------------------------------------------------------------------------
/tools/finalization/build-step-1-and-m.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | function finalize_main_step1_and_m() {
6 | local top="$(dirname "$0")"/../../../..
7 | source $top/build/make/tools/finalization/build-step-1.sh
8 |
9 | local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
10 |
11 | # This command tests:
12 | # ABI difference between user and userdebug builds.
13 | # Resource/SDK finalization.
14 | $m
15 | }
16 |
17 | finalize_main_step1_and_m
18 |
19 |
--------------------------------------------------------------------------------
/tools/finalization/build-step-1.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | function finalize_main_step1() {
6 | local top="$(dirname "$0")"/../../../..
7 | source $top/build/make/tools/finalization/environment.sh
8 |
9 | if [ "$FINAL_STATE" = "unfinalized" ] ; then
10 | # VINTF finalization
11 | source $top/build/make/tools/finalization/finalize-vintf-resources.sh
12 | fi;
13 |
14 | if [ "$FINAL_STATE" = "unfinalized" ] || [ "$FINAL_STATE" = "vintf" ] ; then
15 | # Build finalization artifacts.
16 | source $top/build/make/tools/finalization/finalize-sdk-resources.sh
17 | fi;
18 | }
19 |
20 | finalize_main_step1
21 |
22 |
--------------------------------------------------------------------------------
/tools/finalization/cleanup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Brings local repository to a remote head state.
3 |
4 | # set -ex
5 |
6 | function finalize_revert_local_changes_main() {
7 | local top="$(dirname "$0")"/../../../..
8 | local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
9 |
10 | # remove the out folder
11 | $m clobber
12 |
13 | repo selfupdate
14 |
15 | repo forall -c '\
16 | git checkout . ; git revert --abort ; git clean -fdx ;\
17 | git checkout @ --detach ; git branch fina-step1 -D ; git reset --hard; \
18 | repo start fina-step1 ; git checkout @ --detach ; git b fina-step1 -D ;'
19 | }
20 |
21 | finalize_revert_local_changes_main
22 |
--------------------------------------------------------------------------------
/tools/finalization/command-line-options.sh:
--------------------------------------------------------------------------------
1 | ARGV=$(getopt --options '' --long dry-run -- "$@")
2 | eval set -- "$ARGV"
3 | while true; do
4 | case "$1" in
5 | --dry-run) repo_upload_dry_run_arg="--dry-run"; repo_branch="finalization-dry-run"; shift ;;
6 | *) break
7 | esac
8 | done
9 |
--------------------------------------------------------------------------------
/tools/fixlinebreaks.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Convert EOL convention on source files from CRLF to LF.
4 | #
5 |
6 | echo "Scanning..."
7 | FILES=`find . \( -iname '*.c' -o -iname '*.cpp' -o -iname '*.h' -o -iname '*.mk' -o -iname '*.html' -o -iname '*.css' \) -print`
8 |
9 | echo "Converting..."
10 | for file in $FILES ; do
11 | echo $file
12 | tr -d \\r < $file > _temp_file
13 | mv _temp_file $file
14 | done
15 | exit 0
16 |
17 |
--------------------------------------------------------------------------------
/tools/fs_config/OWNERS:
--------------------------------------------------------------------------------
1 | include platform/system/core:/janitors/OWNERS
2 |
--------------------------------------------------------------------------------
/tools/fs_config/end_to_end_test/product_fs_config_dirs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/fs_config/end_to_end_test/product_fs_config_dirs
--------------------------------------------------------------------------------
/tools/fs_config/end_to_end_test/product_fs_config_files:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/fs_config/end_to_end_test/product_fs_config_files
--------------------------------------------------------------------------------
/tools/fs_config/end_to_end_test/system_fs_config_dirs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/fs_config/end_to_end_test/system_fs_config_dirs
--------------------------------------------------------------------------------
/tools/fs_config/end_to_end_test/system_fs_config_files:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/fs_config/end_to_end_test/system_fs_config_files
--------------------------------------------------------------------------------
/tools/fs_config/end_to_end_test/vendor_fs_config_dirs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/fs_config/end_to_end_test/vendor_fs_config_dirs
--------------------------------------------------------------------------------
/tools/fs_config/end_to_end_test/vendor_fs_config_files:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/fs_config/end_to_end_test/vendor_fs_config_files
--------------------------------------------------------------------------------
/tools/fs_config/pylintrc:
--------------------------------------------------------------------------------
1 | [MESSAGES CONTROL]
2 | disable=fixme,design,locally-disabled,too-many-lines
3 |
4 | [VARIABLES]
5 | dummy-variables-rgx=_|dummy
6 |
--------------------------------------------------------------------------------
/tools/ide_query/OWNERS:
--------------------------------------------------------------------------------
1 | ialiyev@google.com
2 | ivankirichenko@google.com
3 | kadircet@google.com
4 | michaelmerg@google.com
5 |
--------------------------------------------------------------------------------
/tools/ide_query/cc_analyzer_proto/regen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | aprotoc --go_out=paths=source_relative:. cc_analyzer.proto
4 |
--------------------------------------------------------------------------------
/tools/ide_query/go.mod:
--------------------------------------------------------------------------------
1 | module ide_query
2 |
3 | go 1.21
4 |
5 | require (
6 | google.golang.org/protobuf v0.0.0
7 | )
8 |
--------------------------------------------------------------------------------
/tools/ide_query/go.work:
--------------------------------------------------------------------------------
1 | go 1.21
2 |
3 | use (
4 | .
5 | )
6 |
7 | replace (
8 | google.golang.org/protobuf v0.0.0 => ../../../../external/golang-protobuf
9 | )
--------------------------------------------------------------------------------
/tools/ide_query/go.work.sum:
--------------------------------------------------------------------------------
1 | github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
2 | github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
3 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
4 | google.golang.org/protobuf v1.26.0-rc.1 h1:7QnIQpGRHE5RnLKnESfDoxm2dTapTZua5a0kS0A+VXQ=
5 | google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
6 |
--------------------------------------------------------------------------------
/tools/ide_query/ide_query_proto/regen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | aprotoc --go_out=paths=source_relative:. ide_query.proto
4 |
--------------------------------------------------------------------------------
/tools/ide_query/prober_scripts/cpp_suite.textpb:
--------------------------------------------------------------------------------
1 | tests: {
2 | name: "general"
3 | scripts: "build/make/tools/ide_query/prober_scripts/cpp/general.cc"
4 | scripts: "build/make/tools/ide_query/prober_scripts/cpp/foo.proto"
5 | }
6 |
--------------------------------------------------------------------------------
/tools/ide_query/prober_scripts/ide_query.out:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/ide_query/prober_scripts/ide_query.out
--------------------------------------------------------------------------------
/tools/ide_query/prober_scripts/jvm/suite.textpb:
--------------------------------------------------------------------------------
1 | tests: {
2 | name: "general"
3 | scripts: "build/make/tools/ide_query/prober_scripts/jvm/Foo.java"
4 | }
5 |
--------------------------------------------------------------------------------
/tools/libhost/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | // See: http://go/android-license-faq
3 | default_applicable_licenses: ["Android-Apache-2.0"],
4 | }
5 |
6 | cc_library_host_static {
7 |
8 | srcs: ["CopyFile.c"],
9 |
10 | cflags: [
11 | "-Werror",
12 | "-Wall",
13 | ],
14 |
15 | name: "libhost",
16 | target: {
17 | windows: {
18 | cflags: ["-Wno-unused-parameter"],
19 | enabled: true,
20 | },
21 | },
22 | local_include_dirs: ["include"],
23 | export_include_dirs: ["include"],
24 | stl: "none",
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/tools/post_process_props_unittest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/tools/print_module_licenses.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | find . -name MODULE_LICENSE_\* | sed 's/\/MODULE_LICENSE_/\ /' | sed 's/\.\///' | awk '{ print $2 " " $1; }' | sort
3 |
--------------------------------------------------------------------------------
/tools/product_config/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | java_defaults {
6 | name: "product-config-defaults",
7 | srcs: ["src/**/*.java"],
8 | }
9 |
10 | java_binary_host {
11 | name: "product-config",
12 | defaults: ["product-config-defaults"],
13 | manifest: "MANIFEST.MF"
14 | }
15 |
16 | java_test_host {
17 | name: "product-config-test",
18 | defaults: ["product-config-defaults"],
19 | srcs: [
20 | "test/**/*.java",
21 | ],
22 | static_libs: [
23 | "junit"
24 | ],
25 | manifest: "TEST_MANIFEST.MF",
26 | test_suites: ["general-tests"]
27 | }
28 |
--------------------------------------------------------------------------------
/tools/product_config/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Main-Class: com.android.build.config.Main
3 |
--------------------------------------------------------------------------------
/tools/product_config/TEST_MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Main-Class: com.android.build.config.TestRunner
3 |
--------------------------------------------------------------------------------
/tools/product_config/TEST_MAPPING:
--------------------------------------------------------------------------------
1 | {
2 | "presubmit": [
3 | {
4 | "name": "product_config_test"
5 | }
6 | ]
7 | }
8 |
--------------------------------------------------------------------------------
/tools/rbcrun/go.mod:
--------------------------------------------------------------------------------
1 | module rbcrun
2 |
3 | require go.starlark.net v0.0.0-20201006213952-227f4aabceb5
4 |
5 | replace go.starlark.net => ../../../../external/starlark-go
6 |
7 | go 1.21
8 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/bzl_loads_scl.bzl:
--------------------------------------------------------------------------------
1 | load(":test_scl.scl", _foo = "foo")
2 |
3 | foo = _foo
4 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/bzl_loads_scl_2.bzl:
--------------------------------------------------------------------------------
1 | load(":bzl_loads_scl.bzl", _foo = "foo")
2 |
3 | foo = _foo
4 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/load.star:
--------------------------------------------------------------------------------
1 | # Test load, simple and conditional
2 | load("assert.star", "assert")
3 | load(":module1.star", test1="test")
4 | load("//testdata:module2.star", test2="test")
5 | load(":module3|test", test3="test")
6 |
7 |
8 | def test():
9 | assert.eq(test1, "module1")
10 | assert.eq(test2, "module2")
11 | assert.eq(test3, None)
12 |
13 |
14 | test()
15 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/module1.star:
--------------------------------------------------------------------------------
1 | # Module loaded my load.star
2 | load("assert.star", "assert")
3 |
4 | # Make sure that builtins are defined for the loaded module, too
5 | assert.true(rblf_wildcard("testdata/module1.star"))
6 | assert.true(not rblf_wildcard("testdata/no_such file"))
7 | test = "module1"
8 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/module2.star:
--------------------------------------------------------------------------------
1 | # Module loaded my load.star
2 | test = "module2"
3 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/scl_incorrectly_loads_bzl.scl:
--------------------------------------------------------------------------------
1 | load(":bzl_loads_scl.bzl", _foo = "foo")
2 |
3 | foo = _foo
4 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/shell.star:
--------------------------------------------------------------------------------
1 | # Tests "queue" data type
2 | load("assert.star", "assert")
3 |
4 | assert.eq("load.star shell.star", rblf_shell("ls -1 shell.star load.star 2>&1"))
5 | assert.eq("shell.star", rblf_shell("echo shell.sta*"))
6 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/test_scl.scl:
--------------------------------------------------------------------------------
1 |
2 | foo = "bar"
3 |
--------------------------------------------------------------------------------
/tools/rbcrun/testdata/test_scl_symlink.scl:
--------------------------------------------------------------------------------
1 | test_scl.scl
--------------------------------------------------------------------------------
/tools/releasetools/OWNERS:
--------------------------------------------------------------------------------
1 | elsk@google.com
2 | nhdo@google.com
3 | zhangkelvin@google.com
4 |
--------------------------------------------------------------------------------
/tools/releasetools/jarjar-rules.txt:
--------------------------------------------------------------------------------
1 | rule com.google.protobuf.nano.** com.android.framework.protobuf.nano.@1
2 |
--------------------------------------------------------------------------------
/tools/releasetools/merge/OWNERS:
--------------------------------------------------------------------------------
1 | deyaoren@google.com
2 | haamed@google.com
3 | jgalmes@google.com
4 | rseymour@google.com
5 |
--------------------------------------------------------------------------------
/tools/releasetools/testdata/TestApp.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/releasetools/testdata/TestApp.apk
--------------------------------------------------------------------------------
/tools/releasetools/testdata/apexkeys_framework_conflict.txt:
--------------------------------------------------------------------------------
1 | name="com.android.conscrypt.apex" public_key="external/conscrypt/apex/com.android.conscrypt.avbpubkey" private_key="external/conscrypt/apex/com.android.conscrypt.pem" container_certificate="external/conscrypt/apex/com.android.conscrypt.x509.pem" container_private_key="external/conscrypt/apex/com.android.conscrypt.pk8" partition="vendor"
2 |
--------------------------------------------------------------------------------
/tools/releasetools/testdata/apkcerts_vendor.txt:
--------------------------------------------------------------------------------
1 | name="TestSystem1.apk" certificate="not_selected" private_key="not_selected" partition="system"
2 | name="TestSystem2.apk" certificate="not_selected" private_key="not_selected" partition="system"
3 | name="TestVendor.apk" certificate="build/make/target/product/security/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="vendor"
4 | name="TestOdm.apk" certificate="build/make/target/product/security/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="odm"
5 | name="TestProduct.apk" certificate="not_selected" private_key="not_selected" partition="product"
6 | name="TestSystemExt.apk" certificate="not_selected" private_key="not_selected" partition="system_ext"
7 |
--------------------------------------------------------------------------------
/tools/releasetools/testdata/foo.apex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/releasetools/testdata/foo.apex
--------------------------------------------------------------------------------
/tools/releasetools/testdata/has_apk.apex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LineageOS/android_build/7c71ac4f725fadb286edb268e5a2bb09e7e927a6/tools/releasetools/testdata/has_apk.apex
--------------------------------------------------------------------------------
/tools/releasetools/testdata/merge_config_framework_item_list:
--------------------------------------------------------------------------------
1 | META/apkcerts.txt
2 | META/filesystem_config.txt
3 | META/root_filesystem_config.txt
4 | META/system_manifest.xml
5 | META/system_matrix.xml
6 | META/update_engine_config.txt
7 | PRODUCT/*
8 | ROOT/*
9 | SYSTEM/*
10 |
--------------------------------------------------------------------------------
/tools/releasetools/testdata/payload_signer.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # The script will be called with 'payload_signer.sh -in -out