├── .gitignore ├── Changes.md ├── CleanSpec.mk ├── Deprecation.md ├── METADATA ├── OWNERS ├── PREUPLOAD.cfg ├── README.md ├── Usage.txt ├── banchanHelp.sh ├── buildspec.mk.default ├── 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 ├── 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-x86_64.mk │ ├── HOST_linux-x86.mk │ ├── HOST_linux-x86_64.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-a.mk │ │ ├── riscv64 │ │ │ └── riscv64.mk │ │ ├── x86 │ │ │ ├── amberlake.mk │ │ │ ├── atom.mk │ │ │ ├── broadwell.mk │ │ │ ├── goldmont-plus.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 │ │ │ ├── amberlake.mk │ │ │ ├── broadwell.mk │ │ │ ├── goldmont-plus.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_libart.mk ├── dex_preopt_odex_install.mk ├── distdir.mk ├── dumpconfig.mk ├── dumpvar.mk ├── 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 ├── goma.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 ├── jetifier.mk ├── layoutlib_fonts.mk ├── link_type.mk ├── local_current_sdk.mk ├── local_systemsdk.mk ├── local_vndk.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 ├── 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 ├── proguard.flags ├── proguard.jacoco.flags ├── proguard_basic_keeps.flags ├── project_definitions.mk ├── python_binary_host_mobly_test_config_template.xml ├── python_binary_host_test_config_template.xml ├── rbe.mk ├── 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_java_prebuilt.mk ├── static_java_library.mk ├── static_library.mk ├── static_library_internal.mk ├── suite_host_config.mk ├── support_libraries.mk ├── sysprop.mk ├── target_test_internal.mk ├── tasks │ ├── README.dex_preopt_check.md │ ├── art-host-tests.mk │ ├── automotive-general-tests.mk │ ├── automotive-tests.mk │ ├── build_custom_images.mk │ ├── catbox.mk │ ├── collect_gpl_sources.mk │ ├── csuite.mk │ ├── cts.mk │ ├── cts_root.mk │ ├── device-tests.mk │ ├── dex_preopt_check.mk │ ├── find-shareduid-violation.mk │ ├── general-tests.mk │ ├── host-unit-tests.mk │ ├── host_init_verifier.mk │ ├── ide.mk │ ├── module-info.mk │ ├── mts.mk │ ├── multitree.mk │ ├── oem_image.mk │ ├── owners.mk │ ├── platform_availability_check.mk │ ├── recovery_snapshot.mk │ ├── sdk-addon.mk │ ├── sts-lite.mk │ ├── sts.mk │ ├── test_mapping.mk │ ├── tools │ │ ├── build_custom_image.mk │ │ ├── compatibility.mk │ │ ├── package-modules.mk │ │ ├── vts-kernel-tests.mk │ │ └── vts_package_utils.mk │ ├── tradefed-tests-list.mk │ ├── vendor_module_check.mk │ ├── vendor_snapshot.mk │ ├── vndk.mk │ ├── vts-core-tests.mk │ ├── with-license.mk │ └── wvts.mk ├── use_lld_setup.mk ├── version_defaults.mk └── version_util.mk ├── envsetup.sh ├── help.sh ├── navbar.md ├── packaging ├── distdir.mk └── main.mk ├── rbesetup.sh ├── shell_utils.sh ├── tapasHelp.sh ├── target ├── board │ ├── Android.mk │ ├── BoardConfigEmuCommon.mk │ ├── BoardConfigGsiCommon.mk │ ├── BoardConfigMainlineCommon.mk │ ├── BoardConfigModuleCommon.mk │ ├── BoardConfigPixelCommon.mk │ ├── emulator_arm │ │ ├── AndroidBoard.mk │ │ ├── BoardConfig.mk │ │ ├── device.mk │ │ └── system_ext.prop │ ├── emulator_arm64 │ │ ├── BoardConfig.mk │ │ ├── device.mk │ │ └── system_ext.prop │ ├── emulator_x86 │ │ ├── BoardConfig.mk │ │ ├── device.mk │ │ └── system_ext.prop │ ├── emulator_x86_64 │ │ ├── BoardConfig.mk │ │ ├── device.mk │ │ └── system_ext.prop │ ├── emulator_x86_64_arm64 │ │ ├── BoardConfig.mk │ │ ├── device.mk │ │ └── system_ext.prop │ ├── emulator_x86_arm │ │ ├── BoardConfig.mk │ │ ├── device.mk │ │ └── system_ext.prop │ ├── 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_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 │ ├── angle_supported.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 │ ├── base.mk │ ├── base_product.mk │ ├── base_system.mk │ ├── base_system_ext.mk │ ├── base_vendor.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 │ ├── emulator_system.mk │ ├── emulator_vendor.mk │ ├── full.mk │ ├── full_base.mk │ ├── full_base_telephony.mk │ ├── full_x86.mk │ ├── fullmte.mk │ ├── generic.mk │ ├── 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 │ ├── Android.mk │ ├── 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 │ ├── languages_default.mk │ ├── languages_full.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_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_arm64.mk │ ├── sdk_phone_arm64.mk │ ├── sdk_phone_armv7.mk │ ├── sdk_phone_x86.mk │ ├── sdk_phone_x86_64.mk │ ├── sdk_x86.mk │ ├── sdk_x86_64.mk │ ├── security │ ├── Android.bp │ ├── Android.mk │ ├── 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 │ ├── 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 │ ├── 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 ├── 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 └── version_defaults.rbc └── tools ├── Android.bp ├── BUILD.bazel ├── OWNERS ├── 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 ├── buildinfo.sh ├── canoninja ├── README.md ├── canoninja.go ├── canoninja_test.go ├── cmd │ └── canoninja.go └── go.mod ├── check_elf_file.py ├── check_identical_lib.sh ├── check_radio_versions.py ├── checkowners.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.sum ├── 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 ├── event_log_tags.py ├── exercise_compare_builds ├── extract_kernel.py ├── fat16copy.py ├── fileslist_util.py ├── finalization ├── OWNERS ├── README.md ├── 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 ├── environment.sh ├── finalize-aidl-vndk-sdk-resources.sh ├── finalize-sdk-rel.sh ├── frameworks_base.apply_hack.diff ├── frameworks_base.apply_resource_sdk_int.diff ├── frameworks_base.revert_hack.diff ├── frameworks_base.revert_resource_sdk_int.diff ├── localonly-steps.sh ├── step-1.sh ├── step-2.sh ├── update-step-1.sh └── update-step-2.sh ├── findleaves.py ├── fixlinebreaks.sh ├── fs_config ├── Android.bp ├── Android.mk ├── 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 ├── fs_get_stats ├── Android.bp └── fs_get_stats.c ├── generate-enforce-rro-android-manifest.py ├── generate-notice-files.py ├── generate-self-extracting-archive.py ├── generate_gts_shared_report.py ├── java-event-log-tags.py ├── libhost ├── Android.bp ├── CopyFile.c └── include │ └── host │ └── CopyFile.h ├── list_files.py ├── merge-event-log-tags.py ├── mk2bp_catalog.py ├── mk2bp_partition.py ├── normalize_path.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 │ ├── cli_and_env.star │ ├── file_ops.star │ ├── load.star │ ├── module1.star │ ├── module2.star │ └── shell.star ├── 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_target_files.py ├── ota_metadata.proto ├── ota_metadata_pb2.py ├── ota_package_parser.py ├── ota_utils.py ├── payload_signer.py ├── pylintrc ├── rangelib.py ├── sign_apex.py ├── sign_target_files_apks.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 │ ├── sepolicy.apex │ ├── 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 ├── generate-sbom.py ├── sbom_data.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 ├── 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 │ ├── 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 | -------------------------------------------------------------------------------- /METADATA: -------------------------------------------------------------------------------- 1 | third_party { 2 | license_note: "would be NOTICE save for GPL in:\n" 3 | " core/LINUX_KERNEL_COPYING\n" 4 | " tools/droiddoc/templates-pdk/assets/jquery-1.6.2.min.js\n" 5 | " tools/droiddoc/templates-pdk/assets/jquery-history.js\n" 6 | " tools/droiddoc/templates-pdk/assets/jquery-resizable.min.js" 7 | license_type: RESTRICTED 8 | } 9 | -------------------------------------------------------------------------------- /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, lberki@google.com 6 | per-file shell_utils.sh = joeo@google.com, jingwen@google.com, lberki@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 | -------------------------------------------------------------------------------- /core/BUILD.bazel: -------------------------------------------------------------------------------- 1 | # Export tradefed templates for tests. 2 | exports_files( 3 | glob(["*.xml"]), 4 | ) 5 | -------------------------------------------------------------------------------- /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 = aseaton@google.com,lubomir@google.com,pscovanner@google.com,bkhalife@google.com,jainne@google.com 7 | 8 | -------------------------------------------------------------------------------- /core/aapt_flags.mk: -------------------------------------------------------------------------------- 1 | ## AAPT Flags 2 | # aapt doesn't accept multiple --extra-packages flags. 3 | # We have to collapse them into a single --extra-packages flag here. 4 | LOCAL_AAPT_FLAGS := $(strip $(LOCAL_AAPT_FLAGS)) 5 | ifdef LOCAL_AAPT_FLAGS 6 | ifeq ($(filter 0 1,$(words $(filter --extra-packages,$(LOCAL_AAPT_FLAGS)))),) 7 | aapt_flags := $(subst --extra-packages$(space),--extra-packages@,$(LOCAL_AAPT_FLAGS)) 8 | aapt_flags_extra_packages := $(patsubst --extra-packages@%,%,$(filter --extra-packages@%,$(aapt_flags))) 9 | aapt_flags_extra_packages := $(sort $(subst :,$(space),$(aapt_flags_extra_packages))) 10 | LOCAL_AAPT_FLAGS := $(filter-out --extra-packages@%,$(aapt_flags)) \ 11 | --extra-packages $(subst $(space),:,$(aapt_flags_extra_packages)) 12 | aapt_flags_extra_packages := 13 | aapt_flags := 14 | endif 15 | endif 16 | -------------------------------------------------------------------------------- /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 | 8 | # Address sanitizer clang config 9 | $(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan 10 | $(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan 11 | -------------------------------------------------------------------------------- /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 | 8 | # Address sanitizer clang config 9 | ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan64 10 | ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan64 11 | -------------------------------------------------------------------------------- /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 | 8 | # Address sanitizer clang config 9 | ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan64 10 | ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan64 11 | -------------------------------------------------------------------------------- /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 | 8 | # Address sanitizer clang config 9 | $(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan 10 | $(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan 11 | -------------------------------------------------------------------------------- /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 | 8 | # Address sanitizer clang config 9 | ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan64 10 | ADDRESS_SANITIZER_LINKER_FILE := /system/bin/bootstrap/linker_asan64 11 | -------------------------------------------------------------------------------- /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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/core/combo/arch/arm64/armv8-2a.mk -------------------------------------------------------------------------------- /core/combo/arch/arm64/armv8-a.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/core/combo/arch/arm64/armv8-a.mk -------------------------------------------------------------------------------- /core/combo/arch/arm64/armv9-a.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2023 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 | # .mk file required to support build for the new armv9-a Arm64 arch 18 | # variant. The file just needs to be present but does not require to contain 19 | # anything 20 | -------------------------------------------------------------------------------- /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/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.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/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.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/header_library_internal.mk: -------------------------------------------------------------------------------- 1 | ########################################################### 2 | ## Standard rules for building a header library. 3 | ## 4 | ## Additional inputs from base_rules.make: 5 | ## None. 6 | ########################################################### 7 | 8 | LOCAL_MODULE_CLASS := HEADER_LIBRARIES 9 | LOCAL_UNINSTALLABLE_MODULE := true 10 | ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),) 11 | $(error $(LOCAL_PATH): Cannot set module stem for a library) 12 | endif 13 | 14 | include $(BUILD_SYSTEM)/binary.mk 15 | 16 | ifneq ($(strip $(all_objects)),) 17 | $(call pretty-error,Header libraries may not have any sources) 18 | endif 19 | 20 | $(LOCAL_BUILT_MODULE): 21 | $(hide) touch $@ 22 | -------------------------------------------------------------------------------- /core/host_prebuilt.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008 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 | $(call record-module-type,HOST_PREBUILT) 18 | LOCAL_IS_HOST_MODULE := true 19 | include $(BUILD_MULTI_PREBUILT) 20 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/BoardConfigModuleCommon.mk: -------------------------------------------------------------------------------- 1 | # BoardConfigModuleCommon.mk 2 | # 3 | # Common compile-time settings for module builds. 4 | 5 | # Required for all module devices. 6 | TARGET_USES_64_BIT_BINDER := true 7 | -------------------------------------------------------------------------------- /target/board/emulator_arm/AndroidBoard.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | -------------------------------------------------------------------------------- /target/board/emulator_arm/device.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 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 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish # for libwifi-hal-emu 18 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish-opengl # for goldfish deps. 19 | -------------------------------------------------------------------------------- /target/board/emulator_arm/system_ext.prop: -------------------------------------------------------------------------------- 1 | # 2 | # system.prop for generic sdk 3 | # 4 | 5 | rild.libpath=/vendor/lib/libreference-ril.so 6 | -------------------------------------------------------------------------------- /target/board/emulator_arm64/device.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 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 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish # for libwifi-hal-emu 18 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish-opengl # for goldfish deps. 19 | 20 | -------------------------------------------------------------------------------- /target/board/emulator_arm64/system_ext.prop: -------------------------------------------------------------------------------- 1 | # 2 | # system.prop for emulator arm64 sdk 3 | # 4 | 5 | rild.libpath=/vendor/lib64/libreference-ril.so 6 | -------------------------------------------------------------------------------- /target/board/emulator_x86/system_ext.prop: -------------------------------------------------------------------------------- 1 | # 2 | # system.prop for generic sdk 3 | # 4 | 5 | rild.libpath=/vendor/lib/libreference-ril.so 6 | -------------------------------------------------------------------------------- /target/board/emulator_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/emulator_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/emulator_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/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 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish # for libwifi-hal-emu 18 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish-opengl # for goldfish deps. 19 | -------------------------------------------------------------------------------- /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/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 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish # for libwifi-hal-emu 18 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish-opengl # for goldfish deps. 19 | -------------------------------------------------------------------------------- /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_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 | include build/make/target/board/BoardConfigModuleCommon.mk 17 | 18 | TARGET_CPU_ABI := x86 19 | TARGET_ARCH := x86 20 | TARGET_ARCH_VARIANT := x86 21 | -------------------------------------------------------------------------------- /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 | include build/make/target/board/BoardConfigModuleCommon.mk 17 | 18 | TARGET_CPU_ABI := x86_64 19 | TARGET_ARCH := x86_64 20 | TARGET_ARCH_VARIANT := x86_64 21 | -------------------------------------------------------------------------------- /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_USES_64_BIT_BINDER := true 18 | 19 | MALLOC_SVELTE := true 20 | 21 | USE_SAFESTACK := false 22 | -------------------------------------------------------------------------------- /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 = calin@google.com, mast@google.com, ngeoffray@google.com, oth@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 -------------------------------------------------------------------------------- /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/aosp_base_telephony.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_telephony.mk) 17 | 18 | PRODUCT_PACKAGES += \ 19 | messaging 20 | -------------------------------------------------------------------------------- /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/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_sdk.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 | PRODUCT_NAME := mainline_sdk 17 | PRODUCT_BRAND := Android 18 | PRODUCT_DEVICE := mainline_sdk 19 | -------------------------------------------------------------------------------- /target/product/mainline_system.mk: -------------------------------------------------------------------------------- 1 | generic_system.mk -------------------------------------------------------------------------------- /target/product/module_arm.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 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 | $(call inherit-product, $(SRC_TARGET_DIR)/product/module_common.mk) 18 | 19 | PRODUCT_NAME := module_arm 20 | PRODUCT_DEVICE := module_arm 21 | -------------------------------------------------------------------------------- /target/product/module_x86.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 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 | $(call inherit-product, $(SRC_TARGET_DIR)/product/module_common.mk) 18 | 19 | PRODUCT_NAME := module_x86 20 | PRODUCT_DEVICE := module_x86 21 | -------------------------------------------------------------------------------- /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/ramdisk_stub.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 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 | 17 | PRODUCT_COPY_FILES += \ 18 | build/make/target/product/ramdisk_stub.mk:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/nonempty 19 | -------------------------------------------------------------------------------- /target/product/sdk_arm64.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014 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 | # Don't modify this file - It's just an alias! 18 | 19 | $(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_phone_arm64.mk) 20 | 21 | PRODUCT_NAME := sdk_arm64 22 | -------------------------------------------------------------------------------- /target/product/sdk_x86.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014 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 | # Don't modify this file - It's just an alias! 18 | 19 | $(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_phone_x86.mk) 20 | 21 | PRODUCT_NAME := sdk_x86 22 | -------------------------------------------------------------------------------- /target/product/sdk_x86_64.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014 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 | # Don't modify this file - It's just an alias! 18 | 19 | $(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_phone_x86_64.mk) 20 | 21 | PRODUCT_NAME := sdk_x86_64 22 | -------------------------------------------------------------------------------- /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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/target/product/security/bluetooth.pk8 -------------------------------------------------------------------------------- /target/product/security/cts_uicc_2021.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/target/product/security/cts_uicc_2021.pk8 -------------------------------------------------------------------------------- /target/product/security/fsverity-release.x509.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/target/product/security/fsverity-release.x509.der -------------------------------------------------------------------------------- /target/product/security/media.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/target/product/security/media.pk8 -------------------------------------------------------------------------------- /target/product/security/networkstack.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/target/product/security/networkstack.pk8 -------------------------------------------------------------------------------- /target/product/security/platform.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/target/product/security/platform.pk8 -------------------------------------------------------------------------------- /target/product/security/sdk_sandbox.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/target/product/security/sdk_sandbox.pk8 -------------------------------------------------------------------------------- /target/product/security/shared.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/target/product/security/shared.pk8 -------------------------------------------------------------------------------- /target/product/security/testkey.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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 | # Inherit this when the target supports userspace reboot 18 | 19 | PRODUCT_VENDOR_PROPERTIES := init.userspace_reboot.is_supported=true 20 | -------------------------------------------------------------------------------- /target/product/virtual_ab_ota.mk: -------------------------------------------------------------------------------- 1 | virtual_ab_ota/launch.mk -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /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/envsetup_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)/lunch_tests.sh 18 | ) 19 | 20 | for test in $tests; do 21 | bash -x $test 22 | done 23 | -------------------------------------------------------------------------------- /tests/prefixed_sort_order/base-secondary.rbc: -------------------------------------------------------------------------------- 1 | # Copyright 2022 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 | 20 | g.setdefault("MY_VAR", []) 21 | g["MY_VAR"] += ["foo"] 22 | -------------------------------------------------------------------------------- /tests/prefixed_sort_order/base.rbc: -------------------------------------------------------------------------------- 1 | # Copyright 2022 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 | 20 | g.setdefault("MY_VAR", []) 21 | g["MY_VAR"] += ["bar"] 22 | -------------------------------------------------------------------------------- /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/BUILD.bazel: -------------------------------------------------------------------------------- 1 | py_library( 2 | name = "event_log_tags", 3 | srcs = ["event_log_tags.py"], 4 | ) 5 | 6 | py_binary( 7 | name = "java-event-log-tags", 8 | srcs = ["java-event-log-tags.py"], 9 | python_version = "PY3", 10 | visibility = ["//visibility:public"], 11 | deps = [":event_log_tags"], 12 | ) 13 | 14 | py_binary( 15 | name = "merge-event-log-tags", 16 | srcs = ["merge-event-log-tags.py"], 17 | python_version = "PY3", 18 | visibility = ["//visibility:public"], 19 | deps = [":event_log_tags"], 20 | ) 21 | 22 | py_binary( 23 | name = "check_elf_file", 24 | srcs = ["check_elf_file.py"], 25 | python_version = "PY3", 26 | visibility = ["//visibility:public"], 27 | ) 28 | -------------------------------------------------------------------------------- /tools/OWNERS: -------------------------------------------------------------------------------- 1 | per-file warn.py,checkowners.py = chh@google.com 2 | -------------------------------------------------------------------------------- /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/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/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/firstparty/lib/libb.so.meta_lic" 14 | annotations: "dynamic" 15 | } 16 | deps: { 17 | file: "testdata/firstparty/lib/libd.so.meta_lic" 18 | annotations: "dynamic" 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/bin2.meta_lic: -------------------------------------------------------------------------------- 1 | package_name: "Android" 2 | module_classes: "EXECUTABLES" 3 | projects: "dynamic/binary" 4 | license_kinds: "legacy_proprietary" 5 | license_conditions: "proprietary" 6 | license_conditions: "by_exception_only" 7 | license_texts: "testdata/proprietary/PROPRIETARY_LICENSE" 8 | is_container: false 9 | built: "out/target/product/fictional/obj/EXECUTABLES/bin_intermediates/bin2" 10 | installed: "out/target/product/fictional/system/bin/bin2" 11 | sources: "out/target/product/fictional/system/lib/libb.so" 12 | sources: "out/target/product/fictional/system/lib/libd.so" 13 | deps: { 14 | file: "testdata/proprietary/lib/libb.so.meta_lic" 15 | annotations: "dynamic" 16 | } 17 | deps: { 18 | file: "testdata/proprietary/lib/libd.so.meta_lic" 19 | annotations: "dynamic" 20 | } 21 | -------------------------------------------------------------------------------- /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/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/reciprocal/lib/libb.so.meta_lic" 14 | annotations: "dynamic" 15 | } 16 | deps: { 17 | file: "testdata/reciprocal/lib/libd.so.meta_lic" 18 | annotations: "dynamic" 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/bin/bin2.meta_lic: -------------------------------------------------------------------------------- 1 | package_name: "Android" 2 | module_classes: "EXECUTABLES" 3 | projects: "bin/twolibraries" 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/bin2" 9 | installed: "out/target/product/fictional/system/bin/bin2" 10 | sources: "out/target/product/fictional/system/lib/libc++.so" 11 | sources: "out/target/product/fictional/system/lib/libapache.so" 12 | deps: { 13 | file: "testdata/regressgpl1/lib/libc++.so.meta_lic" 14 | annotations: "dynamic" 15 | } 16 | deps: { 17 | file: "testdata/regressgpl1/lib/libapache.so.meta_lic" 18 | annotations: "dynamic" 19 | } 20 | -------------------------------------------------------------------------------- /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/bin/bin2.meta_lic: -------------------------------------------------------------------------------- 1 | package_name: "Android" 2 | module_classes: "EXECUTABLES" 3 | projects: "bin/twolibraries" 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/bin2" 9 | installed: "out/target/product/fictional/system/bin/bin2" 10 | sources: "out/target/product/fictional/system/lib/libc++.so" 11 | sources: "out/target/product/fictional/system/lib/libapache.so" 12 | deps: { 13 | file: "testdata/regressgpl2/lib/libc++.so.meta_lic" 14 | annotations: "dynamic" 15 | } 16 | deps: { 17 | file: "testdata/regressgpl2/lib/libapache.so.meta_lic" 18 | annotations: "dynamic" 19 | } 20 | -------------------------------------------------------------------------------- /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/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/restricted/lib/libb.so.meta_lic" 14 | annotations: "dynamic" 15 | } 16 | deps: { 17 | file: "testdata/restricted/lib/libd.so.meta_lic" 18 | annotations: "dynamic" 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 | module android/soong/tools/compliance 2 | 3 | require google.golang.org/protobuf v0.0.0 4 | 5 | replace google.golang.org/protobuf v0.0.0 => ../../../../external/golang-protobuf 6 | 7 | require ( 8 | android/soong v0.0.0 9 | github.com/google/blueprint v0.0.0 10 | ) 11 | 12 | require golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect 13 | 14 | replace android/soong v0.0.0 => ../../../soong 15 | 16 | replace github.com/google/blueprint => ../../../blueprint 17 | 18 | // Indirect deps from golang-protobuf 19 | exclude github.com/golang/protobuf v1.5.0 20 | 21 | replace github.com/google/go-cmp v0.5.5 => ../../../../external/go-cmp 22 | 23 | // Indirect dep from go-cmp 24 | exclude golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 25 | 26 | go 1.18 27 | -------------------------------------------------------------------------------- /tools/compliance/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f h1:uF6paiQQebLeSXkrTqHqz0MXhXXS1KgF41eUdBNvxK0= 2 | golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= 3 | -------------------------------------------------------------------------------- /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/customizations.js: -------------------------------------------------------------------------------- 1 | function showApiWarning(thing, selectedLevel, minLevel) { 2 | if (selectedLevel < minLevel) { 3 | $("#naMessage").show().html("

This " + thing + " is not available with API Level " + selectedLevel + ".

" 4 | + "

To use this " + thing + ", your application must specify API Level " + minLevel + " or higher in its manifest " 5 | + "and be compiled against a version of the Android library that supports an equal or higher API Level. To reveal this " 6 | + "document, change the value of the API Level filter above.

" 7 | + "

What is the API Level?

"); 8 | } else { 9 | $("#naMessage").hide(); 10 | } 11 | } 12 | 13 | // Direct searches to search.html 14 | HAS_SEARCH_PAGE = true; 15 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/callout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/callout.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_land_span13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/disclosure_down.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/disclosure_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/disclosure_left.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/disclosure_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/disclosure_right.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/disclosure_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/disclosure_up.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/ico_action.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_good.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/ico_good.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_movie_inline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/ico_movie_inline.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_phone_tablet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/ico_phone_tablet.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_use.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/ico_use.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/ico_web.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_wrong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/ico_wrong.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/open_new_page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/design/open_new_page.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/android-developers-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/android-developers-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/android-partner-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/android-partner-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/android_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/android_logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/android_wrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/android_wrench.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_down.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_up.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_left_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/arrow_left_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_left_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/arrow_left_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_right_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/arrow_right_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_right_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/arrow_right_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/bg_community_leftDiv.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/bg_community_leftDiv.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/bg_fade.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/bg_fade.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/bg_images_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/bg_images_sprite.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/bg_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/bg_logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/body-gradient-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/body-gradient-tab.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/body-gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/body-gradient.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/developers-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/developers-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/grad-rule-qv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/GDC2011.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/GTV_icon_large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/IO-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/adc2_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/adc2_l.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/adc2_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/adc2_s.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/android_adc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/devphone-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/devphone-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/devphone-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/donut-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/donut-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/eclair-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/eclair-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/froyo-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/froyo-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/gdc-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/gdc-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/gingerdroid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/gingerdroid.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/google-plus-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/google-plus.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/honeycomb-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/honeycomb-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/ics-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/ics-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/io-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/io-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/io-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/io-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/maps-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/maps-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/maps-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/maps-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/market-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/market-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/market-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/market-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/sdk-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/sdk-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/sdk-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/home/sdk-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/hr_gray_main.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/hr_gray_main.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/hr_gray_side.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/hr_gray_side.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_contribute.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_contribute.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_design.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_download.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_download.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_download2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_download2.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_guidelines_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_guidelines_logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_market.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_market.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_play.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_robot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_robot.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_world.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/icon_world.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/left_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/left_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/left_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/left_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/logo_breadcrumbz.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/logo_breadcrumbz.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/open_source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/open_source.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/preliminary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/preliminary.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-e.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resizable-e.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-e2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resizable-e2.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-eg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resizable-eg.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-s.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resizable-s.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-s2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resizable-s2.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-sg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resizable-sg.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-article.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resource-article.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-big-article.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resource-big-article.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-big-sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resource-big-sample.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-big-tutorial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resource-big-tutorial.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-big-video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resource-big-video.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resource-sample.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-tutorial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resource-tutorial.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/resource-video.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/right_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/right_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/right_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/right_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/sidenav-rule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/sidenav-rule.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/slide_1.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/slide_2.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/slide_3.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_large_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/slide_large_1.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_large_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/slide_large_2.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_large_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/slide_large_3.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/slide_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/slide_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/spacer.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/triangle-closed-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/triangle-closed-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/triangle-closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/triangle-closed.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/triangle-opened-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/triangle-opened-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/triangle-opened.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/triangle-opened.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/uiguidelines1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/uiguidelines1.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/video-droid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/images/video-droid.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/jdiff_logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/jdiff_logo.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/triangle-none.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/droiddoc/templates-pdk/assets/triangle-none.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/components/masthead.cs: -------------------------------------------------------------------------------- 1 | 3 | 19 | -------------------------------------------------------------------------------- /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/generics/src/com/android/generics/AbsListView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.generics; 18 | 19 | public class AbsListView implements AdapterView { 20 | } 21 | -------------------------------------------------------------------------------- /tools/droiddoc/test/generics/src/com/android/generics/Adapter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.generics; 18 | 19 | public class Adapter { 20 | } 21 | -------------------------------------------------------------------------------- /tools/droiddoc/test/generics/src/com/android/generics/AdapterView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.generics; 18 | 19 | public interface AdapterView { 20 | } 21 | 22 | -------------------------------------------------------------------------------- /tools/droiddoc/test/generics/src/com/android/generics/Bar.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.generics; 18 | 19 | public interface Bar { 20 | public K bar(K arg); 21 | } 22 | 23 | -------------------------------------------------------------------------------- /tools/droiddoc/test/generics/src/com/android/generics/Iface.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.generics; 18 | 19 | public interface Iface { 20 | } 21 | -------------------------------------------------------------------------------- /tools/droiddoc/test/generics/src/com/android/generics/ListAdapter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.generics; 18 | 19 | public class ListAdapter extends Adapter { 20 | } 21 | -------------------------------------------------------------------------------- /tools/droiddoc/test/generics/src/com/android/generics/TestComparable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.generics; 18 | 19 | public interface TestComparable { 20 | } 21 | -------------------------------------------------------------------------------- /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/droiddoc/test/stubs/src/com/android/stubs/SomeEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.stubs; 18 | 19 | public enum SomeEnum { 20 | A, B, C 21 | } 22 | -------------------------------------------------------------------------------- /tools/droiddoc/test/stubs/src/com/android/stubs/a/SomeInterface.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.stubs.a; 18 | 19 | public interface SomeInterface { 20 | } 21 | 22 | -------------------------------------------------------------------------------- /tools/droiddoc/test/stubs/src/com/android/stubs/hidden/Hidden.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.stubs.c; 18 | 19 | /** @hide */ 20 | public class Hidden { 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /tools/droiddoc/test/stubs/src/com/android/stubs/hidden/PackagePrivate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 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 | package com.android.stubs.c; 18 | 19 | class PackagePrivate { 20 | 21 | } 22 | 23 | -------------------------------------------------------------------------------- /tools/finalization/OWNERS: -------------------------------------------------------------------------------- 1 | include platform/build/soong:/OWNERS 2 | smoreland@google.com 3 | alexbuy@google.com 4 | patb@google.com 5 | zyy@google.com 6 | -------------------------------------------------------------------------------- /tools/finalization/build-step-1-and-2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ex 4 | 5 | function finalize_main_step12() { 6 | local top="$(dirname "$0")"/../../../.. 7 | source $top/build/make/tools/finalization/environment.sh 8 | 9 | if [ "$FINAL_STATE" = "unfinalized" ] ; then 10 | # SDK codename -> int 11 | source $top/build/make/tools/finalization/finalize-aidl-vndk-sdk-resources.sh 12 | fi; 13 | 14 | if [ "$FINAL_STATE" = "unfinalized" ] || [ "$FINAL_STATE" = "sdk" ] ; then 15 | # ADB, Platform/Mainline SDKs build and move to prebuilts 16 | source $top/build/make/tools/finalization/localonly-steps.sh 17 | 18 | # REL 19 | source $top/build/make/tools/finalization/finalize-sdk-rel.sh 20 | fi; 21 | } 22 | 23 | finalize_main_step12 24 | 25 | -------------------------------------------------------------------------------- /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 | # The release state for AIDL. 13 | # ABI difference between user and userdebug builds. 14 | # Resource/SDK finalization. 15 | AIDL_FROZEN_REL=true $m 16 | } 17 | 18 | finalize_main_step1_and_m 19 | 20 | -------------------------------------------------------------------------------- /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 | # Build finalization artifacts. 11 | source $top/build/make/tools/finalization/finalize-aidl-vndk-sdk-resources.sh 12 | fi; 13 | } 14 | 15 | finalize_main_step1 16 | 17 | -------------------------------------------------------------------------------- /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 @ ; git branch fina-step1 -D ; git reset --hard; \ 18 | repo start fina-step1 ; git checkout @ ; git b fina-step1 -D ;' 19 | } 20 | 21 | finalize_revert_local_changes_main 22 | -------------------------------------------------------------------------------- /tools/finalization/environment.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ex 4 | 5 | export FINAL_BUG_ID='275409981' 6 | 7 | export FINAL_PLATFORM_CODENAME='UpsideDownCake' 8 | export CURRENT_PLATFORM_CODENAME='UpsideDownCake' 9 | export FINAL_PLATFORM_CODENAME_JAVA='UPSIDE_DOWN_CAKE' 10 | export FINAL_PLATFORM_SDK_VERSION='34' 11 | export FINAL_PLATFORM_VERSION='14' 12 | 13 | export FINAL_BUILD_PREFIX='UP1A' 14 | 15 | export FINAL_MAINLINE_EXTENSION='7' 16 | 17 | # Options: 18 | # 'unfinalized' - branch is in development state, 19 | # 'sdk' - SDK/API is finalized 20 | # 'rel' - branch is finalized, switched to REL 21 | export FINAL_STATE='rel' 22 | -------------------------------------------------------------------------------- /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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/fs_get_stats/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | // See: http://go/android-license-faq 3 | default_applicable_licenses: ["Android-Apache-2.0"], 4 | } 5 | 6 | cc_binary_host { 7 | name: "fs_get_stats", 8 | srcs: ["fs_get_stats.c"], 9 | cflags: ["-Wall", "-Werror"], 10 | shared_libs: [ 11 | "libcutils", 12 | "liblog", 13 | ], 14 | } 15 | -------------------------------------------------------------------------------- /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 | 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.15 8 | -------------------------------------------------------------------------------- /tools/rbcrun/testdata/cli_and_env.star: -------------------------------------------------------------------------------- 1 | # Tests rblf_env access 2 | load("assert.star", "assert") 3 | 4 | 5 | def test(): 6 | assert.eq(rblf_env.TEST_ENVIRONMENT_FOO, "test_environment_foo") 7 | assert.fails(lambda: rblf_env.FOO_BAR_BAZ, ".*struct has no .FOO_BAR_BAZ attribute$") 8 | assert.eq(rblf_cli.CLI_FOO, "foo") 9 | 10 | 11 | test() 12 | -------------------------------------------------------------------------------- /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("module1.star")) 6 | assert.true(not rblf_wildcard("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/shell.star: -------------------------------------------------------------------------------- 1 | # Tests "queue" data type 2 | load("assert.star", "assert") 3 | 4 | assert.eq("load.star shell.star", rblf_shell("cd %s && ls -1 shell.star load.star 2>&1" % rblf_env.TEST_DATA_DIR)) 5 | assert.eq("shell.star", rblf_shell("cd %s && echo shell.sta*" % rblf_env.TEST_DATA_DIR)) 6 | -------------------------------------------------------------------------------- /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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/foo.apex -------------------------------------------------------------------------------- /tools/releasetools/testdata/has_apk.apex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/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 '. 4 | openssl pkeyutl -sign -keyform DER -inkey $1 -pkeyopt digest:sha256 -in $3 -out $5 5 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/sepolicy.apex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/sepolicy.apex -------------------------------------------------------------------------------- /tools/releasetools/testdata/sigfile.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/sigfile.bin -------------------------------------------------------------------------------- /tools/releasetools/testdata/signed-sigfile.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/signed-sigfile.bin -------------------------------------------------------------------------------- /tools/releasetools/testdata/signing_helper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (C) 2019 The Android Open Source Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | tmpfile=$(mktemp) 19 | cat $3 | openssl rsautl -sign -inkey $2 -raw > $tmpfile 20 | cat $tmpfile > $3 21 | rm $tmpfile 22 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/testkey.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/testkey.pk8 -------------------------------------------------------------------------------- /tools/releasetools/testdata/testkey.pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvjvyO2LwWgmQNyq7z+xK 3 | 04eg0t3AL4y2NhpAAOzVnFyCArFcFjLTGQDDvkbZP6N12O6+dwJoPLntnm9A+VnP 4 | IFFRHg0HUWSbHM+Qk8Jgv2/2AVkAUj5J1r9t4X+2WI0eRzJP15Zjn68pQKGmcyci 5 | ry0gbvmYvXL2ZUmTm56DmEfCUCRIY2IGJ/CcMnFeItVU0LxKsV5Mlt5BO0Vv/CV4 6 | EaiOLwyCnoZuUhYto7dHlO/47v/H9zhkJC54OA1dkD38EPgO5GnfhGFSNXQRmJDT 7 | XrFgd6O+QO4yUNX8lYP10MzimUpItZa05t68NADqwYl3T7nWzvuC9r4IqZDyPf21 8 | TQIDAQAB 9 | -----END PUBLIC KEY----- 10 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/testkey_EC.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgGaguGj8Yb1KkqKHd 3 | ISblUsjtOCbzAuVpX81i02sm8FWhRANCAARBnuotwKOsuvjH6iwTDhOAi7Q5pLWz 4 | xDkZjg2pcfbfi9FFTvLYETas7B2W6fx9PUezUmHTFTDV2JZuMYYFdZOw 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/testkey_mincrypt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/testkey_mincrypt -------------------------------------------------------------------------------- /tools/releasetools/testdata/testkey_with_passwd.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/testkey_with_passwd.pk8 -------------------------------------------------------------------------------- /tools/releasetools/testdata/tuna_vbmeta.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/tuna_vbmeta.zip -------------------------------------------------------------------------------- /tools/releasetools/testdata/tuna_vbmeta_system.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/tuna_vbmeta_system.zip -------------------------------------------------------------------------------- /tools/releasetools/testdata/tuna_vbmeta_vendor.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/tuna_vbmeta_vendor.zip -------------------------------------------------------------------------------- /tools/releasetools/testdata/verity_mincrypt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/releasetools/testdata/verity_mincrypt -------------------------------------------------------------------------------- /tools/releasetools/testdata/vintf/kernel/SYSTEM/etc/vintf/compatibility_matrix.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 0.0 5 | 0 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/vintf/matrix_incompat/SYSTEM/etc/vintf/compatibility_matrix.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1.0 4 | 0 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/vintf/sku_compat/ODM/etc/vintf/manifest_sku.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | hwbinder 5 | @1.0::IFoo/default 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/vintf/sku_compat/SYSTEM/etc/vintf/compatibility_matrix.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | 1.0 5 | 6 | IFoo 7 | default 8 | 9 | 10 | 11 | 0.0 12 | 0 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/vintf/sku_incompat/ODM/etc/vintf/manifest_sku.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | hwbinder 5 | @1.0::IFoo/default 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/vintf/sku_incompat/SYSTEM/etc/vintf/compatibility_matrix.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | 1.1 5 | 6 | IFoo 7 | default 8 | 9 | 10 | 11 | 0.0 12 | 0 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/sbom/testdata/expected_tagvalue_sbom_unbundled.spdx: -------------------------------------------------------------------------------- 1 | FileName: /bin/file1.apk 2 | SPDXID: SPDXRef-file1 3 | FileChecksum: SHA1: 11111 4 | 5 | PackageName: Unbundled apk package 6 | SPDXID: SPDXRef-SOURCE-package1 7 | PackageDownloadLocation: NONE 8 | FilesAnalyzed: false 9 | PackageVersion: build_finger_print 10 | PackageSupplier: Organization: Google 11 | 12 | Relationship: SPDXRef-file1 GENERATED_FROM SPDXRef-SOURCE-package1 13 | -------------------------------------------------------------------------------- /tools/signapk/OWNERS: -------------------------------------------------------------------------------- 1 | cbrubaker@google.com 2 | mpgroover@google.com 3 | -------------------------------------------------------------------------------- /tools/signapk/SignApk.mf: -------------------------------------------------------------------------------- 1 | Main-Class: com.android.signapk.SignApk 2 | -------------------------------------------------------------------------------- /tools/signtos/SignTos.mf: -------------------------------------------------------------------------------- 1 | Main-Class: com.android.signtos.SignTos 2 | -------------------------------------------------------------------------------- /tools/warn/.pylintrc: -------------------------------------------------------------------------------- 1 | [FORMAT] 2 | 3 | # Two spaces for each indentation level. 4 | indent-string=' ' 5 | -------------------------------------------------------------------------------- /tools/warn/OWNERS: -------------------------------------------------------------------------------- 1 | per-file * = chh@google.com,srhines@google.com 2 | -------------------------------------------------------------------------------- /tools/warn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/warn/__init__.py -------------------------------------------------------------------------------- /tools/zipalign/OWNERS: -------------------------------------------------------------------------------- 1 | include platform/system/core:/janitors/OWNERS 2 | sanglardf@google.com 3 | -------------------------------------------------------------------------------- /tools/zipalign/tests/data/archiveWithOneDirectoryEntry.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/zipalign/tests/data/archiveWithOneDirectoryEntry.zip -------------------------------------------------------------------------------- /tools/zipalign/tests/data/diffOrders.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/zipalign/tests/data/diffOrders.zip -------------------------------------------------------------------------------- /tools/zipalign/tests/data/holes.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/zipalign/tests/data/holes.zip -------------------------------------------------------------------------------- /tools/zipalign/tests/data/unaligned.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PixelExperience/build/6aa71ed9f110e35db8b2bdf83da916414dd58260/tools/zipalign/tests/data/unaligned.zip -------------------------------------------------------------------------------- /tools/ziptime/README.txt: -------------------------------------------------------------------------------- 1 | ziptime -- zip timestamp tool 2 | 3 | usage: ziptime file.zip 4 | 5 | file.zip is an existing Zip archive to rewrite 6 | 7 | 8 | This tools replaces the timestamps in the zip headers with a static time 9 | (Jan 1 2008). The extra fields are not changed, so you'll need to use the 10 | -X option to zip so that it doesn't create the 'universal time' extra. 11 | --------------------------------------------------------------------------------