├── tools ├── warn │ ├── __init__.py │ ├── OWNERS │ └── .pylintrc ├── docker │ ├── .gitignore │ └── README.md ├── canoninja │ ├── go.mod │ └── cmd │ │ └── canoninja.go ├── OWNERS ├── releasetools │ ├── add_img_to_target_files │ ├── img_from_target_files │ ├── ota_from_target_files │ ├── sign_target_files_apks │ ├── check_target_files_signatures │ ├── OWNERS │ ├── merge │ │ └── OWNERS │ ├── jarjar-rules.txt │ └── testdata │ │ ├── foo.apex │ │ ├── TestApp.apk │ │ ├── has_apk.apex │ │ ├── sigfile.bin │ │ ├── testkey.pk8 │ │ ├── testkey_mincrypt │ │ ├── verity_mincrypt │ │ ├── signed-sigfile.bin │ │ ├── testkey_with_passwd.pk8 │ │ ├── payload_signer.sh │ │ ├── merge_config_framework_item_list │ │ ├── vintf │ │ ├── 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 │ │ ├── matrix_incompat │ │ │ └── SYSTEM │ │ │ │ └── etc │ │ │ │ └── vintf │ │ │ │ └── compatibility_matrix.1.xml │ │ └── kernel │ │ │ └── SYSTEM │ │ │ └── etc │ │ │ └── vintf │ │ │ └── compatibility_matrix.1.xml │ │ ├── testkey_EC.key │ │ ├── apexkeys_framework_conflict.txt │ │ ├── testkey.pubkey.pem │ │ ├── apkcerts_vendor.txt │ │ ├── signing_helper.sh │ │ └── apkcerts_framework.txt ├── signapk │ ├── SignApk.mf │ ├── OWNERS │ └── test │ │ └── run ├── signtos │ └── SignTos.mf ├── fs_config │ ├── OWNERS │ ├── pylintrc │ └── end_to_end_test │ │ ├── product_fs_config_dirs │ │ ├── product_fs_config_files │ │ ├── system_fs_config_dirs │ │ ├── system_fs_config_files │ │ ├── vendor_fs_config_dirs │ │ └── vendor_fs_config_files ├── compliance │ ├── cmd │ │ └── testdata │ │ │ ├── notice │ │ │ ├── NOTICE_LICENSE │ │ │ ├── lib │ │ │ │ ├── libc.a.meta_lic │ │ │ │ ├── libd.so.meta_lic │ │ │ │ ├── liba.so.meta_lic │ │ │ │ └── libb.so.meta_lic │ │ │ └── bin │ │ │ │ ├── bin3.meta_lic │ │ │ │ ├── bin1.meta_lic │ │ │ │ └── bin2.meta_lic │ │ │ ├── reciprocal │ │ │ ├── RECIPROCAL_LICENSE │ │ │ ├── lib │ │ │ │ ├── libc.a.meta_lic │ │ │ │ ├── libd.so.meta_lic │ │ │ │ ├── liba.so.meta_lic │ │ │ │ └── libb.so.meta_lic │ │ │ └── bin │ │ │ │ ├── bin3.meta_lic │ │ │ │ ├── bin1.meta_lic │ │ │ │ └── bin2.meta_lic │ │ │ ├── restricted │ │ │ ├── RESTRICTED_LICENSE │ │ │ ├── lib │ │ │ │ ├── libc.a.meta_lic │ │ │ │ ├── libd.so.meta_lic │ │ │ │ ├── libb.so.meta_lic │ │ │ │ └── liba.so.meta_lic │ │ │ └── bin │ │ │ │ ├── bin3.meta_lic │ │ │ │ ├── bin1.meta_lic │ │ │ │ └── bin2.meta_lic │ │ │ ├── firstparty │ │ │ ├── FIRST_PARTY_LICENSE │ │ │ ├── lib │ │ │ │ ├── libc.a.meta_lic │ │ │ │ ├── libd.so.meta_lic │ │ │ │ ├── libb.so.meta_lic │ │ │ │ └── liba.so.meta_lic │ │ │ └── bin │ │ │ │ ├── bin3.meta_lic │ │ │ │ ├── bin1.meta_lic │ │ │ │ └── bin2.meta_lic │ │ │ ├── proprietary │ │ │ ├── PROPRIETARY_LICENSE │ │ │ ├── lib │ │ │ │ ├── libc.a.meta_lic │ │ │ │ ├── libd.so.meta_lic │ │ │ │ ├── libb.so.meta_lic │ │ │ │ └── liba.so.meta_lic │ │ │ └── bin │ │ │ │ ├── bin3.meta_lic │ │ │ │ ├── bin1.meta_lic │ │ │ │ └── bin2.meta_lic │ │ │ ├── regressgpl1 │ │ │ ├── lib │ │ │ │ ├── libc++.so.meta_lic │ │ │ │ ├── libgpl.so.meta_lic │ │ │ │ └── libapache.so.meta_lic │ │ │ └── bin │ │ │ │ ├── bin1.meta_lic │ │ │ │ └── bin2.meta_lic │ │ │ └── regressgpl2 │ │ │ ├── lib │ │ │ ├── libc++.so.meta_lic │ │ │ ├── libgpl.so.meta_lic │ │ │ └── libapache.so.meta_lic │ │ │ └── bin │ │ │ ├── bin1.meta_lic │ │ │ └── bin2.meta_lic │ ├── go.mod │ └── policy_resolvenotices.go ├── droiddoc │ ├── templates-pdk │ │ ├── jd_lists_unified.cs │ │ ├── data.hdf │ │ ├── footer.cs │ │ ├── assets │ │ │ ├── jdiff_logo.gif │ │ │ ├── design │ │ │ │ ├── callout.png │ │ │ │ ├── ico_good.png │ │ │ │ ├── ico_use.png │ │ │ │ ├── ico_web.png │ │ │ │ ├── ico_action.png │ │ │ │ ├── ico_wrong.png │ │ │ │ ├── disclosure_up.png │ │ │ │ ├── open_new_page.png │ │ │ │ ├── disclosure_down.png │ │ │ │ ├── disclosure_left.png │ │ │ │ ├── disclosure_right.png │ │ │ │ ├── ico_movie_inline.png │ │ │ │ ├── ico_phone_tablet.png │ │ │ │ ├── device_galaxynexus_blank_port_span5.png │ │ │ │ ├── device_galaxynexus_blank_port_span9.png │ │ │ │ └── device_galaxynexus_blank_land_span13.png │ │ │ ├── images │ │ │ │ ├── bg_fade.jpg │ │ │ │ ├── bg_logo.png │ │ │ │ ├── left_off.jpg │ │ │ │ ├── left_on.jpg │ │ │ │ ├── right_on.jpg │ │ │ │ ├── slide_1.jpg │ │ │ │ ├── slide_2.jpg │ │ │ │ ├── slide_3.jpg │ │ │ │ ├── slide_on.jpg │ │ │ │ ├── spacer.gif │ │ │ │ ├── icon_play.png │ │ │ │ ├── icon_robot.jpg │ │ │ │ ├── icon_world.jpg │ │ │ │ ├── right_off.jpg │ │ │ │ ├── slide_off.jpg │ │ │ │ ├── android_logo.png │ │ │ │ ├── arrow_left_on.jpg │ │ │ │ ├── body-gradient.png │ │ │ │ ├── grad-rule-qv.png │ │ │ │ ├── home │ │ │ │ │ ├── GDC2011.png │ │ │ │ │ ├── IO-logo.png │ │ │ │ │ ├── adc2_l.png │ │ │ │ │ ├── adc2_s.png │ │ │ │ │ ├── gdc-logo.png │ │ │ │ │ ├── io-large.png │ │ │ │ │ ├── io-small.png │ │ │ │ │ ├── maps-large.png │ │ │ │ │ ├── maps-small.png │ │ │ │ │ ├── sdk-large.png │ │ │ │ │ ├── sdk-small.png │ │ │ │ │ ├── IO-logo-2011.png │ │ │ │ │ ├── android_adc.png │ │ │ │ │ ├── donut-android.png │ │ │ │ │ ├── froyo-android.png │ │ │ │ │ ├── gingerdroid.png │ │ │ │ │ ├── google-plus.png │ │ │ │ │ ├── ics-android.png │ │ │ │ │ ├── market-large.png │ │ │ │ │ ├── market-small.png │ │ │ │ │ ├── GTV_icon_large.png │ │ │ │ │ ├── GTV_icon_small.png │ │ │ │ │ ├── bg_home_bottom.jpg │ │ │ │ │ ├── devphone-large.png │ │ │ │ │ ├── devphone-small.png │ │ │ │ │ ├── eclair-android.png │ │ │ │ │ ├── Android_Dev_Lab_l.png │ │ │ │ │ ├── bg_home_carousel.png │ │ │ │ │ ├── google-plus-small.png │ │ │ │ │ ├── honeycomb-android.png │ │ │ │ │ ├── bg_home_announcement.png │ │ │ │ │ ├── bg_home_carousel_board.png │ │ │ │ │ ├── bg_home_carousel_wheel.png │ │ │ │ │ └── carousel_buttons_sprite.png │ │ │ │ ├── hr_gray_main.jpg │ │ │ │ ├── hr_gray_side.jpg │ │ │ │ ├── icon_design.png │ │ │ │ ├── icon_download.jpg │ │ │ │ ├── icon_market.jpg │ │ │ │ ├── open_source.png │ │ │ │ ├── preliminary.png │ │ │ │ ├── resizable-e.gif │ │ │ │ ├── resizable-e2.gif │ │ │ │ ├── resizable-eg.gif │ │ │ │ ├── resizable-s.gif │ │ │ │ ├── resizable-s2.gif │ │ │ │ ├── resizable-sg.gif │ │ │ │ ├── sidenav-rule.png │ │ │ │ ├── slide_large_1.jpg │ │ │ │ ├── slide_large_2.jpg │ │ │ │ ├── slide_large_3.jpg │ │ │ │ ├── uiguidelines1.png │ │ │ │ ├── video-droid.png │ │ │ │ ├── android_wrench.png │ │ │ │ ├── arrow_left_off.jpg │ │ │ │ ├── arrow_right_off.jpg │ │ │ │ ├── arrow_right_on.jpg │ │ │ │ ├── developers-logo.png │ │ │ │ ├── icon_contribute.jpg │ │ │ │ ├── icon_download2.jpg │ │ │ │ ├── resource-sample.png │ │ │ │ ├── resource-video.png │ │ │ │ ├── triangle-closed.png │ │ │ │ ├── triangle-opened.png │ │ │ │ ├── arrow_bluelink_up.png │ │ │ │ ├── bg_images_sprite.png │ │ │ │ ├── body-gradient-tab.png │ │ │ │ ├── logo_breadcrumbz.jpg │ │ │ │ ├── resource-article.png │ │ │ │ ├── resource-big-video.png │ │ │ │ ├── resource-tutorial.png │ │ │ │ ├── android-partner-logo.png │ │ │ │ ├── arrow_bluelink_down.png │ │ │ │ ├── bg_community_leftDiv.jpg │ │ │ │ ├── icon_guidelines_logo.png │ │ │ │ ├── resource-big-article.png │ │ │ │ ├── resource-big-sample.png │ │ │ │ ├── android-developers-logo.png │ │ │ │ ├── resource-big-tutorial.png │ │ │ │ ├── triangle-closed-small.png │ │ │ │ └── triangle-opened-small.png │ │ │ ├── triangle-none.gif │ │ │ ├── android-developer-docs-devguide.css │ │ │ ├── customizations.js │ │ │ ├── android-developer-resource-browser.css │ │ │ └── yui-3.3.0-reset-min.css │ │ ├── components │ │ │ └── masthead.cs │ │ └── trailer.cs │ ├── test │ │ ├── stubs │ │ │ ├── expected │ │ │ │ └── com │ │ │ │ │ └── android │ │ │ │ │ └── stubs │ │ │ │ │ ├── a │ │ │ │ │ ├── SomeInterface.java │ │ │ │ │ └── A.java │ │ │ │ │ ├── SomeEnum.java │ │ │ │ │ ├── b │ │ │ │ │ └── B.java │ │ │ │ │ ├── InterfaceEnum.java │ │ │ │ │ └── Annot.java │ │ │ └── src │ │ │ │ └── com │ │ │ │ └── android │ │ │ │ └── stubs │ │ │ │ ├── SomeEnum.java │ │ │ │ ├── a │ │ │ │ └── SomeInterface.java │ │ │ │ └── hidden │ │ │ │ ├── PackagePrivate.java │ │ │ │ ├── Hidden.java │ │ │ │ └── HiddenOuter.java │ │ └── generics │ │ │ └── src │ │ │ └── com │ │ │ └── android │ │ │ └── generics │ │ │ ├── Adapter.java │ │ │ ├── Iface.java │ │ │ ├── ListAdapter.java │ │ │ ├── TestComparable.java │ │ │ ├── AdapterView.java │ │ │ ├── Bar.java │ │ │ ├── AbsListView.java │ │ │ └── TestEnum.java │ └── README ├── rbcrun │ ├── testdata │ │ ├── module2.star │ │ ├── module1.star │ │ ├── shell.star │ │ ├── cli_and_env.star │ │ └── load.star │ └── go.mod ├── zipalign │ ├── OWNERS │ └── tests │ │ └── data │ │ ├── holes.zip │ │ ├── diffOrders.zip │ │ └── unaligned.zip ├── product_config │ ├── MANIFEST.MF │ ├── TEST_MANIFEST.MF │ ├── TEST_MAPPING │ └── Android.bp ├── print_module_licenses.sh ├── atree │ ├── options.h │ ├── fs.h │ └── Android.bp ├── post_process_props_unittest.xml ├── fs_get_stats │ └── Android.bp ├── ziptime │ └── README.txt ├── acp │ └── Android.bp ├── fixlinebreaks.sh ├── BUILD.bazel └── libhost │ └── Android.bp ├── core ├── combo │ ├── arch │ │ ├── arm64 │ │ │ ├── armv8-2a.mk │ │ │ ├── armv8-a.mk │ │ │ ├── armv8-2a-dotprod.mk │ │ │ └── armv8-a-branchprot.mk │ │ ├── x86 │ │ │ ├── haswell.mk │ │ │ ├── ivybridge.mk │ │ │ ├── sandybridge.mk │ │ │ ├── stoneyridge.mk │ │ │ ├── icelake.mk │ │ │ ├── amberlake.mk │ │ │ ├── broadwell.mk │ │ │ ├── kabylake.mk │ │ │ ├── skylake.mk │ │ │ ├── tigerlake.mk │ │ │ ├── whiskeylake.mk │ │ │ ├── silvermont.mk │ │ │ ├── atom.mk │ │ │ ├── x86_64.mk │ │ │ └── x86.mk │ │ ├── x86_64 │ │ │ ├── haswell.mk │ │ │ ├── ivybridge.mk │ │ │ ├── sandybridge.mk │ │ │ ├── stoneyridge.mk │ │ │ ├── amberlake.mk │ │ │ ├── broadwell.mk │ │ │ ├── icelake.mk │ │ │ ├── kabylake.mk │ │ │ ├── skylake.mk │ │ │ ├── tigerlake.mk │ │ │ ├── whiskeylake.mk │ │ │ ├── silvermont.mk │ │ │ └── x86_64.mk │ │ └── arm │ │ │ ├── armv7-a-neon.mk │ │ │ ├── armv8-2a.mk │ │ │ └── armv8-a.mk │ ├── javac.mk │ └── HOST_linux-x86_64.mk ├── process_wrapper_gdb.cmds ├── clang │ ├── OWNERS │ ├── HOST_x86_64.mk │ ├── HOST_x86.mk │ ├── TARGET_arm64.mk │ ├── TARGET_x86_64.mk │ ├── TARGET_arm.mk │ └── TARGET_x86.mk ├── root.mk ├── tasks │ └── OWNERS ├── proguard.jacoco.flags ├── OWNERS ├── phony_package.mk ├── filter_symbols.sh ├── app_certificate_validate.mk ├── multilib.mk ├── process_wrapper.sh ├── native_test.mk ├── header_library_internal.mk ├── process_wrapper_gdb.sh ├── use_lld_setup.mk ├── host_prebuilt.mk ├── aapt_flags.mk ├── host_static_library_internal.mk ├── project_definitions.mk └── build_id.mk ├── target ├── OWNERS ├── product │ ├── mainline_system.mk │ ├── virtual_ab_ota.mk │ ├── virtual_ab_ota_retrofit.mk │ ├── virtual_ab_ota_plus_non_ab.mk │ ├── empty-profile │ ├── empty-preloaded-classes │ ├── security │ │ ├── media.pk8 │ │ ├── shared.pk8 │ │ ├── testkey.pk8 │ │ ├── verity.pk8 │ │ ├── verity_key │ │ ├── bluetooth.pk8 │ │ ├── platform.pk8 │ │ ├── networkstack.pk8 │ │ ├── sdk_sandbox.pk8 │ │ ├── cts_uicc_2021.pk8 │ │ ├── fsverity-release.x509.der │ │ └── Android.bp │ ├── gsi │ │ ├── init.vndk-nodef.rc │ │ ├── OWNERS │ │ ├── init.gsi.rc │ │ └── gsi_skip_mount.cfg │ ├── product_launched_with_p.mk │ ├── product_launched_with_k.mk │ ├── product_launched_with_l.mk │ ├── product_launched_with_m.mk │ ├── product_launched_with_n.mk │ ├── product_launched_with_o.mk │ ├── product_launched_with_l_mr1.mk │ ├── product_launched_with_n_mr1.mk │ ├── product_launched_with_o_mr1.mk │ ├── non_ab_device.mk │ ├── virtual_ab_ota │ │ ├── README.md │ │ ├── launch.mk │ │ ├── compression_with_xor.mk │ │ ├── retrofit.mk │ │ └── plus_non_ab.mk │ ├── OWNERS │ ├── aosp_base.mk │ ├── mainline_sdk.mk │ ├── aosp_base_telephony.mk │ ├── userspace_reboot.mk │ ├── sdk_x86.mk │ ├── sdk_arm64.mk │ ├── sdk_x86_64.mk │ ├── module_arm.mk │ ├── module_x86.mk │ ├── telephony_vendor.mk │ └── window_extensions.mk └── board │ ├── generic │ ├── AndroidBoard.mk │ ├── system_ext.prop │ ├── README.txt │ └── device.mk │ ├── emulator_arm │ ├── AndroidBoard.mk │ ├── system_ext.prop │ └── device.mk │ ├── generic_arm64 │ ├── sepolicy │ │ ├── OWNERS │ │ ├── file.te │ │ └── file_contexts │ ├── system_ext.prop │ ├── README.txt │ └── device.mk │ ├── mainline_arm64 │ └── sepolicy │ │ ├── OWNERS │ │ ├── file.te │ │ └── file_contexts │ ├── module_arm │ ├── README.md │ └── BoardConfig.mk │ ├── module_x86 │ ├── README.md │ └── BoardConfig.mk │ ├── emulator_x86 │ └── system_ext.prop │ ├── generic_x86 │ ├── system_ext.prop │ └── README.txt │ ├── ndk │ ├── README.md │ └── BoardConfig.mk │ ├── emulator_x86_64 │ └── system_ext.prop │ ├── emulator_x86_arm │ ├── system_ext.prop │ └── device.mk │ ├── generic_x86_64 │ ├── system_ext.prop │ ├── README.txt │ └── device.mk │ ├── generic_x86_arm │ ├── system_ext.prop │ ├── README.txt │ └── device.mk │ ├── emulator_arm64 │ └── system_ext.prop │ ├── emulator_x86_64_arm64 │ ├── system_ext.prop │ └── device.mk │ ├── generic_64bitonly_x86_64 │ ├── system.prop │ └── README.txt │ ├── generic_x86_64_arm64 │ ├── system_ext.prop │ ├── README.txt │ └── device.mk │ ├── mainline_sdk │ ├── README.md │ └── BoardConfig.mk │ ├── BoardConfigModuleCommon.mk │ ├── module_arm64 │ └── README.md │ ├── module_x86_64 │ └── README.md │ ├── gsi_system_ext_user.prop │ ├── gsi_system_ext.prop │ ├── go_defaults.prop │ └── go_defaults_512.prop ├── OWNERS ├── orchestrator ├── core │ └── test │ │ └── configs │ │ ├── another │ │ ├── dir │ │ │ └── a │ │ └── bad.mcombo │ │ ├── b-eng │ │ ├── device │ │ ├── aa │ │ │ └── bb │ │ │ │ └── multitree_combos │ │ │ │ ├── b.mcombo │ │ │ │ ├── d.mcombo │ │ │ │ └── v.mcombo │ │ └── this │ │ │ └── one │ │ │ └── is │ │ │ └── deeper │ │ │ └── than │ │ │ └── will │ │ │ └── be │ │ │ └── found │ │ │ └── by │ │ │ └── the │ │ │ └── ttl │ │ │ └── multitree_combos │ │ │ └── too_deep.mcombo │ │ ├── vendor │ │ ├── aa │ │ │ └── bb │ │ │ │ └── multitree_combos │ │ │ │ ├── b.mcombo │ │ │ │ └── v.mcombo │ │ └── this │ │ │ └── one │ │ │ └── is │ │ │ └── deeper │ │ │ └── than │ │ │ └── will │ │ │ └── be │ │ │ └── found │ │ │ └── by │ │ │ └── the │ │ │ └── ttl │ │ │ └── multitree_combos │ │ │ └── too_deep.mcombo │ │ ├── build │ │ └── make │ │ │ └── orchestrator │ │ │ └── multitree_combos │ │ │ ├── nested │ │ │ └── nested.mcombo │ │ │ ├── not_a_combo.txt │ │ │ └── b.mcombo │ │ └── parsing │ │ ├── cycles │ │ ├── 1.mcombo │ │ ├── 2.mcombo │ │ └── 3.mcombo │ │ └── merge │ │ ├── 3.mcombo │ │ ├── 2.mcombo │ │ └── 1.mcombo └── multitree_combos │ └── test.mcombo ├── .gitignore ├── PREUPLOAD.cfg ├── navbar.md ├── METADATA ├── tests ├── version_defaults.rbc ├── board.rbc ├── board_input_vars.rbc ├── prefixed_sort_order │ ├── base.rbc │ └── base-secondary.rbc └── artifact_path_requirements │ ├── inherit1.rbc │ └── inherit4.rbc ├── finalize_branch_for_release.sh └── tapasHelp.sh /tools/warn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/combo/arch/arm64/armv8-2a.mk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/combo/arch/arm64/armv8-a.mk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/process_wrapper_gdb.cmds: -------------------------------------------------------------------------------- 1 | run 2 | -------------------------------------------------------------------------------- /target/OWNERS: -------------------------------------------------------------------------------- 1 | hansson@google.com 2 | -------------------------------------------------------------------------------- /tools/docker/.gitignore: -------------------------------------------------------------------------------- 1 | gitconfig 2 | -------------------------------------------------------------------------------- /tools/canoninja/go.mod: -------------------------------------------------------------------------------- 1 | module canoninja 2 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | include platform/build/soong:/OWNERS 2 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/another/dir/a: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/b-eng: -------------------------------------------------------------------------------- 1 | INVALID FILE 2 | -------------------------------------------------------------------------------- /target/product/mainline_system.mk: -------------------------------------------------------------------------------- 1 | generic_system.mk -------------------------------------------------------------------------------- /orchestrator/core/test/configs/another/bad.mcombo: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /target/product/virtual_ab_ota.mk: -------------------------------------------------------------------------------- 1 | virtual_ab_ota/launch.mk -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.swp 3 | blueprint/ 4 | kati/ 5 | soong/ 6 | -------------------------------------------------------------------------------- /target/product/virtual_ab_ota_retrofit.mk: -------------------------------------------------------------------------------- 1 | virtual_ab_ota/retrofit.mk -------------------------------------------------------------------------------- /tools/OWNERS: -------------------------------------------------------------------------------- 1 | per-file warn.py,checkowners.py = chh@google.com 2 | -------------------------------------------------------------------------------- /tools/releasetools/add_img_to_target_files: -------------------------------------------------------------------------------- 1 | add_img_to_target_files.py -------------------------------------------------------------------------------- /tools/releasetools/img_from_target_files: -------------------------------------------------------------------------------- 1 | img_from_target_files.py -------------------------------------------------------------------------------- /tools/releasetools/ota_from_target_files: -------------------------------------------------------------------------------- 1 | ota_from_target_files.py -------------------------------------------------------------------------------- /tools/releasetools/sign_target_files_apks: -------------------------------------------------------------------------------- 1 | sign_target_files_apks.py -------------------------------------------------------------------------------- /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/OWNERS: -------------------------------------------------------------------------------- 1 | per-file * = chh@google.com,srhines@google.com 2 | -------------------------------------------------------------------------------- /target/board/generic/AndroidBoard.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | -------------------------------------------------------------------------------- /target/product/virtual_ab_ota_plus_non_ab.mk: -------------------------------------------------------------------------------- 1 | virtual_ab_ota/plus_non_ab.mk -------------------------------------------------------------------------------- /tools/fs_config/OWNERS: -------------------------------------------------------------------------------- 1 | include platform/system/core:/janitors/OWNERS 2 | -------------------------------------------------------------------------------- /tools/signapk/OWNERS: -------------------------------------------------------------------------------- 1 | cbrubaker@google.com 2 | mpgroover@google.com 3 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/device/aa/bb/multitree_combos/b.mcombo: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/device/aa/bb/multitree_combos/d.mcombo: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/device/aa/bb/multitree_combos/v.mcombo: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/vendor/aa/bb/multitree_combos/b.mcombo: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/vendor/aa/bb/multitree_combos/v.mcombo: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /target/board/emulator_arm/AndroidBoard.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | -------------------------------------------------------------------------------- /tools/compliance/cmd/testdata/notice/NOTICE_LICENSE: -------------------------------------------------------------------------------- 1 | %%%Notice License%%% 2 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/jd_lists_unified.cs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tools/releasetools/check_target_files_signatures: -------------------------------------------------------------------------------- 1 | check_target_files_signatures.py -------------------------------------------------------------------------------- /target/board/generic_arm64/sepolicy/OWNERS: -------------------------------------------------------------------------------- 1 | include platform/system/sepolicy:/OWNERS 2 | -------------------------------------------------------------------------------- /target/board/mainline_arm64/sepolicy/OWNERS: -------------------------------------------------------------------------------- 1 | include platform/system/sepolicy:/OWNERS 2 | -------------------------------------------------------------------------------- /target/product/empty-profile: -------------------------------------------------------------------------------- 1 | # Empty preloaded-classes file for automated testing. 2 | -------------------------------------------------------------------------------- /tools/compliance/cmd/testdata/reciprocal/RECIPROCAL_LICENSE: -------------------------------------------------------------------------------- 1 | $$$Reciprocal License$$$ 2 | -------------------------------------------------------------------------------- /tools/compliance/cmd/testdata/restricted/RESTRICTED_LICENSE: -------------------------------------------------------------------------------- 1 | ###Restricted License### 2 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/data.hdf: -------------------------------------------------------------------------------- 1 | template { 2 | which = normal 3 | } 4 | 5 | -------------------------------------------------------------------------------- /tools/rbcrun/testdata/module2.star: -------------------------------------------------------------------------------- 1 | # Module loaded my load.star 2 | test = "module2" 3 | -------------------------------------------------------------------------------- /tools/compliance/cmd/testdata/firstparty/FIRST_PARTY_LICENSE: -------------------------------------------------------------------------------- 1 | &&&First Party License&&& 2 | -------------------------------------------------------------------------------- /tools/compliance/cmd/testdata/proprietary/PROPRIETARY_LICENSE: -------------------------------------------------------------------------------- 1 | @@@Proprietary License@@@ 2 | -------------------------------------------------------------------------------- /tools/releasetools/OWNERS: -------------------------------------------------------------------------------- 1 | elsk@google.com 2 | nhdo@google.com 3 | zhangkelvin@google.com 4 | -------------------------------------------------------------------------------- /target/product/empty-preloaded-classes: -------------------------------------------------------------------------------- 1 | # Empty preloaded-classes file for automated testing. 2 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/footer.cs: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /tools/zipalign/OWNERS: -------------------------------------------------------------------------------- 1 | include platform/system/core:/janitors/OWNERS 2 | sanglardf@google.com 3 | -------------------------------------------------------------------------------- /core/clang/OWNERS: -------------------------------------------------------------------------------- 1 | chh@google.com 2 | pirama@google.com 3 | srhines@google.com 4 | yikong@google.com 5 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/build/make/orchestrator/multitree_combos/nested/nested.mcombo: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/build/make/orchestrator/multitree_combos/not_a_combo.txt: -------------------------------------------------------------------------------- 1 | not a combo file 2 | -------------------------------------------------------------------------------- /tools/product_config/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Main-Class: com.android.build.config.Main 3 | -------------------------------------------------------------------------------- /tools/releasetools/merge/OWNERS: -------------------------------------------------------------------------------- 1 | danielnorman@google.com 2 | jgalmes@google.com 3 | rseymour@google.com 4 | -------------------------------------------------------------------------------- /tools/warn/.pylintrc: -------------------------------------------------------------------------------- 1 | [FORMAT] 2 | 3 | # Two spaces for each indentation level. 4 | indent-string=' ' 5 | -------------------------------------------------------------------------------- /tools/releasetools/jarjar-rules.txt: -------------------------------------------------------------------------------- 1 | rule com.google.protobuf.nano.** com.android.framework.protobuf.nano.@1 2 | -------------------------------------------------------------------------------- /core/root.mk: -------------------------------------------------------------------------------- 1 | ### DO NOT EDIT THIS FILE ### 2 | include build/make/core/main.mk 3 | ### DO NOT EDIT THIS FILE ### 4 | -------------------------------------------------------------------------------- /tools/product_config/TEST_MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Main-Class: com.android.build.config.TestRunner 3 | -------------------------------------------------------------------------------- /core/tasks/OWNERS: -------------------------------------------------------------------------------- 1 | per-file art-host-tests.mk = dshi@google.com,dsrbecky@google.com,jdesprez@google.com,rpl@google.com 2 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/build/make/orchestrator/multitree_combos/b.mcombo: -------------------------------------------------------------------------------- 1 | { 2 | "lunchable": "true" 3 | } 4 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/device/this/one/is/deeper/than/will/be/found/by/the/ttl/multitree_combos/too_deep.mcombo: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/vendor/this/one/is/deeper/than/will/be/found/by/the/ttl/multitree_combos/too_deep.mcombo: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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_x86/README.md: -------------------------------------------------------------------------------- 1 | This device is suitable for an unbundled module targeted specifically to an 2 | x86 device. 3 | -------------------------------------------------------------------------------- /target/product/security/media.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/media.pk8 -------------------------------------------------------------------------------- /target/product/security/shared.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/shared.pk8 -------------------------------------------------------------------------------- /target/product/security/testkey.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/testkey.pk8 -------------------------------------------------------------------------------- /target/product/security/verity.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/verity.pk8 -------------------------------------------------------------------------------- /target/product/security/verity_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/verity_key -------------------------------------------------------------------------------- /tools/zipalign/tests/data/holes.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/zipalign/tests/data/holes.zip -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/product/security/bluetooth.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/bluetooth.pk8 -------------------------------------------------------------------------------- /target/product/security/platform.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/platform.pk8 -------------------------------------------------------------------------------- /tools/product_config/TEST_MAPPING: -------------------------------------------------------------------------------- 1 | { 2 | "presubmit": [ 3 | { 4 | "name": "product_config_test" 5 | } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/foo.apex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/foo.apex -------------------------------------------------------------------------------- /navbar.md: -------------------------------------------------------------------------------- 1 | * [Home](/README.md) 2 | * [Usage](/Usage.txt) 3 | * [Changes](/Changes.md) 4 | * [Outdated Reference](/core/build-system.html) 5 | -------------------------------------------------------------------------------- /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_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/system_ext.prop: -------------------------------------------------------------------------------- 1 | # 2 | # system.prop for generic sdk 3 | # 4 | 5 | rild.libpath=/vendor/lib/libreference-ril.so 6 | -------------------------------------------------------------------------------- /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/security/networkstack.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/networkstack.pk8 -------------------------------------------------------------------------------- /target/product/security/sdk_sandbox.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/sdk_sandbox.pk8 -------------------------------------------------------------------------------- /tools/releasetools/testdata/TestApp.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/TestApp.apk -------------------------------------------------------------------------------- /tools/releasetools/testdata/has_apk.apex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/has_apk.apex -------------------------------------------------------------------------------- /tools/releasetools/testdata/sigfile.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/sigfile.bin -------------------------------------------------------------------------------- /tools/releasetools/testdata/testkey.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/testkey.pk8 -------------------------------------------------------------------------------- /tools/zipalign/tests/data/diffOrders.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/zipalign/tests/data/diffOrders.zip -------------------------------------------------------------------------------- /tools/zipalign/tests/data/unaligned.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/zipalign/tests/data/unaligned.zip -------------------------------------------------------------------------------- /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_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_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_arm/system_ext.prop: -------------------------------------------------------------------------------- 1 | # 2 | # system.prop for generic sdk 3 | # 4 | 5 | rild.libpath=/vendor/lib/libreference-ril.so 6 | -------------------------------------------------------------------------------- /target/product/security/cts_uicc_2021.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/cts_uicc_2021.pk8 -------------------------------------------------------------------------------- /orchestrator/core/test/configs/parsing/cycles/1.mcombo: -------------------------------------------------------------------------------- 1 | { 2 | "inherits": [ 3 | "test/configs/parsing/cycles/2.mcombo" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /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_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_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/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_x86_64_arm64/system_ext.prop: -------------------------------------------------------------------------------- 1 | # 2 | # system.prop for generic sdk 3 | # 4 | 5 | rild.libpath=/vendor/lib64/libreference-ril.so 6 | -------------------------------------------------------------------------------- /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/releasetools/testdata/testkey_mincrypt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/testkey_mincrypt -------------------------------------------------------------------------------- /tools/releasetools/testdata/verity_mincrypt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/verity_mincrypt -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/parsing/cycles/2.mcombo: -------------------------------------------------------------------------------- 1 | { 2 | "inherits": [ 3 | "test/configs/parsing/cycles/3.mcombo" 4 | ] 5 | } 6 | 7 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/parsing/cycles/3.mcombo: -------------------------------------------------------------------------------- 1 | { 2 | "inherits": [ 3 | "test/configs/parsing/cycles/1.mcombo" 4 | ] 5 | } 6 | 7 | -------------------------------------------------------------------------------- /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/releasetools/testdata/signed-sigfile.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/signed-sigfile.bin -------------------------------------------------------------------------------- /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_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 | -------------------------------------------------------------------------------- /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/security/fsverity-release.x509.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/target/product/security/fsverity-release.x509.der -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/jdiff_logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/jdiff_logo.gif -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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_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 | -------------------------------------------------------------------------------- /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/releasetools/testdata/testkey_with_passwd.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/releasetools/testdata/testkey_with_passwd.pk8 -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/callout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/callout.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_good.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/ico_good.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_use.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/ico_use.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/ico_web.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/bg_fade.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/bg_fade.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/bg_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/bg_logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/left_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/left_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/left_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/left_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/right_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/right_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/slide_1.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/slide_2.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/slide_3.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/slide_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/spacer.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/triangle-none.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/triangle-none.gif -------------------------------------------------------------------------------- /tools/fs_config/end_to_end_test/product_fs_config_dirs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/tools/fs_config/end_to_end_test/vendor_fs_config_files -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/ico_action.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_wrong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/ico_wrong.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_play.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_robot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_robot.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_world.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_world.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/right_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/right_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/slide_off.jpg -------------------------------------------------------------------------------- /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/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_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_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 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/disclosure_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/disclosure_up.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/open_new_page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/open_new_page.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/android_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/android_logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_left_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/arrow_left_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/body-gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/body-gradient.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/grad-rule-qv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/grad-rule-qv.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/GDC2011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/GDC2011.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/IO-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/IO-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/adc2_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/adc2_l.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/adc2_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/adc2_s.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/gdc-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/gdc-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/io-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/io-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/io-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/io-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/hr_gray_main.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/hr_gray_main.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/hr_gray_side.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/hr_gray_side.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_design.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_download.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_download.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_market.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_market.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/open_source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/open_source.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/preliminary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/preliminary.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-e.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resizable-e.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-e2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resizable-e2.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-eg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resizable-eg.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-s.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resizable-s.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-s2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resizable-s2.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resizable-sg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resizable-sg.gif -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/sidenav-rule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/sidenav-rule.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_large_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/slide_large_1.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_large_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/slide_large_2.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/slide_large_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/slide_large_3.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/uiguidelines1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/uiguidelines1.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/video-droid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/video-droid.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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_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_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 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/disclosure_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/disclosure_down.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/disclosure_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/disclosure_left.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/android_wrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/android_wrench.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_left_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/arrow_left_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_right_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/arrow_right_off.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_right_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/arrow_right_on.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/developers-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/developers-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/maps-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/maps-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/maps-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/maps-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/sdk-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/sdk-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/sdk-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/sdk-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_contribute.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_contribute.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_download2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_download2.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resource-sample.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resource-video.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/triangle-closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/triangle-closed.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/triangle-opened.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/triangle-opened.png -------------------------------------------------------------------------------- /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/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/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/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/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/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/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/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/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/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/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 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/disclosure_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/disclosure_right.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_movie_inline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/ico_movie_inline.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/ico_phone_tablet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/ico_phone_tablet.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_up.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/bg_images_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/bg_images_sprite.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/body-gradient-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/body-gradient-tab.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/IO-logo-2011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/IO-logo-2011.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/android_adc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/android_adc.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/donut-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/donut-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/froyo-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/froyo-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/gingerdroid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/gingerdroid.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/google-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/google-plus.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/ics-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/ics-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/market-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/market-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/market-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/market-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/logo_breadcrumbz.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/logo_breadcrumbz.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-article.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resource-article.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-big-video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resource-big-video.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-tutorial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resource-tutorial.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/android-partner-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/android-partner-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/arrow_bluelink_down.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/bg_community_leftDiv.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/bg_community_leftDiv.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/GTV_icon_large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/GTV_icon_small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/bg_home_bottom.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/bg_home_bottom.jpg -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/devphone-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/devphone-large.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/devphone-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/devphone-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/eclair-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/eclair-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/icon_guidelines_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/icon_guidelines_logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-big-article.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resource-big-article.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-big-sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resource-big-sample.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/android-developers-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/android-developers-logo.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/Android_Dev_Lab_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/Android_Dev_Lab_l.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/google-plus-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/google-plus-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/honeycomb-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/honeycomb-android.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/resource-big-tutorial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/resource-big-tutorial.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/triangle-closed-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/triangle-closed-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/triangle-opened-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/triangle-opened-small.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/bg_home_announcement.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/bg_home_announcement.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/images/home/bg_home_carousel_board.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/images/home/carousel_buttons_sprite.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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_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/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 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_port_span5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/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/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_port_span9.png -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_land_span13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowOS/android_build/arrow-13.1/tools/droiddoc/templates-pdk/assets/design/device_galaxynexus_blank_land_span13.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/parsing/merge/3.mcombo: -------------------------------------------------------------------------------- 1 | { 2 | "in_3": "3", 3 | "in_2_3": "3", 4 | "merged": { 5 | "merged_3": "3", 6 | "merged_2_3": "3" 7 | }, 8 | "dict_3": { "a" : "b" } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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_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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tools/rbcrun/go.mod: -------------------------------------------------------------------------------- 1 | module rbcrun 2 | 3 | require ( 4 | github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d // indirect 5 | go.starlark.net v0.0.0-20201006213952-227f4aabceb5 6 | ) 7 | 8 | replace go.starlark.net => ../../../../external/starlark-go 9 | 10 | go 1.15 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/parsing/merge/2.mcombo: -------------------------------------------------------------------------------- 1 | { 2 | "in_1_2": "2", 3 | "in_2": "2", 4 | "in_2_3": "2", 5 | "merged": { 6 | "merged_1_2": "2", 7 | "merged_2": "2", 8 | "merged_2_3": "2" 9 | }, 10 | "dict_2": { "a" : "b" } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /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_file_exists("module1.star")) 6 | assert.true(not rblf_file_exists("no_such file")) 7 | test = "module1" 8 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/testkey_EC.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgGaguGj8Yb1KkqKHd 3 | ISblUsjtOCbzAuVpX81i02sm8FWhRANCAARBnuotwKOsuvjH6iwTDhOAi7Q5pLWz 4 | xDkZjg2pcfbfi9FFTvLYETas7B2W6fx9PUezUmHTFTDV2JZuMYYFdZOw 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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_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_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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/releasetools/testdata/vintf/matrix_incompat/SYSTEM/etc/vintf/compatibility_matrix.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1.0 4 | 0 5 | 6 | 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tools/post_process_props_unittest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /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/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/releasetools/testdata/vintf/kernel/SYSTEM/etc/vintf/compatibility_matrix.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 0.0 5 | 0 6 | 7 | 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /orchestrator/core/test/configs/parsing/merge/1.mcombo: -------------------------------------------------------------------------------- 1 | { 2 | "inherits": [ 3 | "test/configs/parsing/merge/2.mcombo", 4 | "test/configs/parsing/merge/3.mcombo" 5 | ], 6 | "in_1": "1", 7 | "in_1_2": "1", 8 | "merged": { 9 | "merged_1": "1", 10 | "merged_1_2": "1" 11 | }, 12 | "dict_1": { "a" : "b" } 13 | } 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /core/OWNERS: -------------------------------------------------------------------------------- 1 | per-file dex_preopt*.mk = ngeoffray@google.com,calin@google.com,mathewi@google.com,skvadrik@google.com 2 | per-file verify_uses_libraries.sh = ngeoffray@google.com,calin@google.com,skvadrik@google.com 3 | 4 | # For version updates 5 | per-file version_defaults.mk = aseaton@google.com,lubomir@google.com,pscovanner@google.com,bkhalife@google.com,jainne@google.com 6 | 7 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/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/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 | -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /orchestrator/multitree_combos/test.mcombo: -------------------------------------------------------------------------------- 1 | { 2 | "lunchable": true, 3 | "system": { 4 | "tree": "inner_tree_system", 5 | "product": "system_lunch_product" 6 | }, 7 | "vendor": { 8 | "tree": "inner_tree_vendor", 9 | "product": "vendor_lunch_product" 10 | }, 11 | "modules": { 12 | "com.android.something": { 13 | "tree": "inner_tree_module" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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" 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/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" 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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_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/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 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/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/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/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/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" 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | deps=[":event_log_tags"], 10 | visibility = ["//visibility:public"], 11 | python_version = "PY3", 12 | ) 13 | 14 | py_binary( 15 | name="merge-event-log-tags", 16 | srcs=["merge-event-log-tags.py"], 17 | deps=[":event_log_tags"], 18 | visibility = ["//visibility:public"], 19 | python_version = "PY3", 20 | ) 21 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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/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/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 | -------------------------------------------------------------------------------- /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 11 | -------------------------------------------------------------------------------- /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/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 android/soong v0.0.0 8 | 9 | replace android/soong v0.0.0 => ../../../soong 10 | // Indirect deps from golang-protobuf 11 | exclude github.com/golang/protobuf v1.5.0 12 | 13 | replace github.com/google/go-cmp v0.5.5 => ../../../../external/go-cmp 14 | 15 | // Indirect dep from go-cmp 16 | exclude golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 17 | 18 | go 1.18 19 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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_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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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_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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /finalize_branch_for_release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | source ../envsetup.sh 6 | 7 | # default target to modify tree and build SDK 8 | lunch aosp_arm64-userdebug 9 | 10 | set -x 11 | 12 | # This script is WIP and only finalizes part of the Android branch for release. 13 | # The full process can be found at (INTERNAL) go/android-sdk-finalization. 14 | 15 | # VNDK snapshot (TODO) 16 | # SDK snapshots (TODO) 17 | # Update references in the codebase to new API version (TODO) 18 | # ... 19 | 20 | AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api 21 | 22 | # TODO(b/229413853): test while simulating 'rel' for more requirements AIDL_FROZEN_REL=true 23 | m # test build 24 | 25 | # Build SDK (TODO) 26 | # lunch sdk... 27 | # m ... 28 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/droiddoc/templates-pdk/components/masthead.cs: -------------------------------------------------------------------------------- 1 | 3 | 19 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /target/board/mainline_sdk/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2020 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # 15 | 16 | TARGET_ARCH_SUITE := mainline_sdk 17 | 18 | HOST_CROSS_OS := linux_bionic 19 | HOST_CROSS_ARCH := x86_64 20 | HOST_CROSS_2ND_ARCH := 21 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /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/virtual_ab_ota/launch.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 | PRODUCT_VIRTUAL_AB_OTA := true 18 | 19 | PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.enabled=true 20 | 21 | PRODUCT_PACKAGES += e2fsck_ramdisk 22 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /target/board/emulator_x86_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/generic_x86_64_arm64/device.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2009 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish # for libwifi-hal-emu 18 | PRODUCT_SOONG_NAMESPACES += device/generic/goldfish-opengl # for goldfish deps. 19 | -------------------------------------------------------------------------------- /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_BRAND := Android 21 | PRODUCT_DEVICE := module_arm 22 | -------------------------------------------------------------------------------- /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_BRAND := Android 21 | PRODUCT_DEVICE := module_x86 22 | -------------------------------------------------------------------------------- /target/board/emulator_x86_64_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 | -------------------------------------------------------------------------------- /core/combo/arch/arm64/armv8-2a-dotprod.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 | # .mk file required to support build for the new armv8-2a-dotprod Arm64 arch 18 | # variant. The file just needs to be present but does not require to contain 19 | # anything 20 | -------------------------------------------------------------------------------- /tools/droiddoc/test/generics/src/com/android/generics/TestEnum.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 TestEnum> implements TestComparable { 20 | } 21 | 22 | -------------------------------------------------------------------------------- /core/combo/arch/arm64/armv8-a-branchprot.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 | # .mk file required to support build for the new armv8-a-branchprot Arm64 arch 18 | # variant. The file just needs to be present but does not require to contain 19 | # anything 20 | -------------------------------------------------------------------------------- /target/board/go_defaults_512.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 | 17 | # 512MB specific properties. 18 | 19 | # lmkd can kill more now. 20 | ro.lmk.medium=700 21 | 22 | # madvise random in ART to reduce page cache thrashing. 23 | dalvik.vm.madvise-random=true 24 | -------------------------------------------------------------------------------- /tools/signapk/test/run: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | package := NotePad.apk 4 | 5 | all: out/signed-$(package) 6 | 7 | clean: 8 | rm -rf out 9 | 10 | .PHONY: FORCE 11 | 12 | DSAPARAM := out/dsaparam 13 | $(DSAPARAM): 14 | mkdir -p $(dir $@) 15 | umask 0077 && openssl dsaparam -out $@ 1024 16 | 17 | %.pem: $(DSAPARAM) FORCE 18 | mkdir -p $(dir $@) 19 | umask 0077 && openssl gendsa -out $@.pk~ $(DSAPARAM) 20 | umask 0077 && openssl pkcs8 -topk8 -nocrypt \ 21 | -in $@.pk~ -out $@.pk 22 | umask 0077 && openssl req -new -x509 -key $@.pk -out $@ -days 1095 \ 23 | -subj "/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com" 24 | 25 | cert := out/key1.pem 26 | out/signed-$(package): $(package) $(cert) 27 | mkdir -p $(dir $@) 28 | SIGNAPK_DEBUG=1 \ 29 | signapk -input $< -output $@ \ 30 | -key $(cert).pk -cert $(cert) -tempdir out 31 | -------------------------------------------------------------------------------- /target/product/virtual_ab_ota/compression_with_xor.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 | 18 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/compression.mk) 19 | 20 | 21 | PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.xor.enabled=true 22 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/android-developer-resource-browser.css: -------------------------------------------------------------------------------- 1 | /* Resource Browser */ 2 | 3 | #resource-browser-results .no-results { 4 | font-style: italic; 5 | display: none; 6 | } 7 | 8 | #resource-browser-results .result { 9 | position: relative; 10 | padding-left: 84px; 11 | background: transparent none no-repeat scroll 4px 12px; 12 | border-bottom: 1px solid #ddd; 13 | } 14 | 15 | #resource-browser-results .tagged-article { 16 | background-image: url(images/resource-article.png); 17 | } 18 | 19 | #resource-browser-results .tagged-sample { 20 | background-image: url(images/resource-sample.png); 21 | } 22 | 23 | #resource-browser-results .tagged-tutorial { 24 | background-image: url(images/resource-tutorial.png); 25 | } 26 | 27 | #resource-browser-results .resource-meta { 28 | margin-top: -1em; 29 | font-size: 0.85em; 30 | font-weight: normal; 31 | } 32 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/trailer.cs: -------------------------------------------------------------------------------- 1 | 2 | 5 | 20 | -------------------------------------------------------------------------------- /core/host_static_library_internal.mk: -------------------------------------------------------------------------------- 1 | ########################################################### 2 | ## Standard rules for building a static library for the host. 3 | ## 4 | ## Additional inputs from base_rules.make: 5 | ## None. 6 | ## 7 | ## LOCAL_MODULE_SUFFIX will be set for you. 8 | ########################################################### 9 | 10 | ifeq ($(strip $(LOCAL_MODULE_CLASS)),) 11 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES 12 | endif 13 | ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),) 14 | LOCAL_MODULE_SUFFIX := .a 15 | endif 16 | ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),) 17 | $(error $(LOCAL_PATH): Cannot set module stem for a library) 18 | endif 19 | LOCAL_UNINSTALLABLE_MODULE := true 20 | 21 | include $(BUILD_SYSTEM)/binary.mk 22 | 23 | $(LOCAL_BUILT_MODULE): $(built_whole_libraries) 24 | $(LOCAL_BUILT_MODULE): $(all_objects) 25 | $(transform-host-o-to-static-lib) 26 | -------------------------------------------------------------------------------- /core/project_definitions.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 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 | # 18 | # Allow projects to define their own globally-available variables. 19 | # 20 | 21 | # 22 | # Include definitions for prebuilt SDK, if present. 23 | # 24 | -include prebuilts/sdk/current/definitions.mk 25 | -------------------------------------------------------------------------------- /target/product/virtual_ab_ota/retrofit.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 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch.mk) 18 | 19 | PRODUCT_VIRTUAL_AB_OTA_RETROFIT := true 20 | 21 | PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.retrofit=true 22 | -------------------------------------------------------------------------------- /core/combo/HOST_linux-x86_64.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006 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 | # Configuration for builds hosted on linux-x86_64. 18 | # Included by combo/select.mk 19 | 20 | define $(combo_var_prefix)transform-shared-lib-to-toc 21 | $(call _gen_toc_command_for_elf,$(1),$(2)) 22 | endef 23 | -------------------------------------------------------------------------------- /tapasHelp.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # locate some directories 4 | cd "$(dirname $0)" 5 | SCRIPT_DIR="${PWD}" 6 | cd ../.. 7 | TOP="${PWD}" 8 | 9 | message='usage: tapas [ ...] [arm|x86|arm64|x86_64] [eng|userdebug|user] [devkeys] 10 | 11 | tapas selects individual apps to be built by the Android build system. Unlike 12 | "lunch", "tapas" does not request the building of images for a device. 13 | Additionally, an app built with "tapas" will have its dex file inside its apk, 14 | which should cause it to be suitable for installing on any api-compatible 15 | device. In other words, "tapas" configures the build of unbundled apps. 16 | 17 | The names ... should match LOCAL_PACKAGE_NAME as defined in an 18 | Android.mk 19 | 20 | The usage of the other arguments matches that of the rest of the platform 21 | build system and can be found by running `m help`' 22 | 23 | echo "$message" 24 | -------------------------------------------------------------------------------- /tests/artifact_path_requirements/inherit1.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 | load(":inherit3.rbc", _inherit3_init = "init") 17 | 18 | def init(g, handle): 19 | cfg = rblf.cfg(handle) 20 | 21 | rblf.inherit(handle, "test/inherit3", _inherit3_init) 22 | -------------------------------------------------------------------------------- /tools/droiddoc/test/stubs/src/com/android/stubs/hidden/HiddenOuter.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 HiddenOuter { 21 | 22 | public class NotHiddenInner { 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /target/product/telephony_vendor.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 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 | # This is the list of modules that are specific to products that have telephony 18 | # hardware, and install outside the system partition. 19 | 20 | # /vendor packages 21 | PRODUCT_PACKAGES := \ 22 | rild \ 23 | -------------------------------------------------------------------------------- /target/product/virtual_ab_ota/plus_non_ab.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 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch.mk) 18 | 19 | PRODUCT_OTA_FORCE_NON_AB_PACKAGE := true 20 | 21 | PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.allow_non_ab=true 22 | -------------------------------------------------------------------------------- /tools/releasetools/testdata/apkcerts_framework.txt: -------------------------------------------------------------------------------- 1 | name="TestSystem1.apk" certificate="build/make/target/product/security/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system" 2 | name="TestSystem2.apk" certificate="build/make/target/product/security/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system" 3 | name="TestVendor.apk" certificate="not_selected" private_key="not_selected" partition="vendor" 4 | name="TestOdm.apk" certificate="not_selected" private_key="not_selected" partition="odm" 5 | name="TestProduct.apk" certificate="build/make/target/product/security/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="product" 6 | name="TestSystemExt.apk" certificate="build/make/target/product/security/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system_ext" 7 | -------------------------------------------------------------------------------- /core/build_id.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 | # BUILD_ID is usually used to specify the branch name 17 | # (like "MAIN") or a branch name and a release candidate 18 | # (like "CRB01"). It must be a single word, and is 19 | # capitalized by convention. 20 | 21 | BUILD_ID=TQ3A.230901.001 22 | -------------------------------------------------------------------------------- /target/product/security/Android.bp: -------------------------------------------------------------------------------- 1 | // AOSP test certificate 2 | package { 3 | // See: http://go/android-license-faq 4 | default_applicable_licenses: ["Android-Apache-2.0"], 5 | } 6 | 7 | android_app_certificate { 8 | name: "aosp-testkey", 9 | certificate: "testkey", 10 | } 11 | 12 | // Certificate for CTS tests that rely on UICC hardware conforming to the 13 | // updated CTS UICC card specification introduced in 2021. See 14 | // //cts/tests/tests/carrierapi/Android.bp for more details. 15 | android_app_certificate { 16 | name: "cts-uicc-2021-testkey", 17 | certificate: "cts_uicc_2021", 18 | } 19 | 20 | // Google-owned certificate for CTS testing, since we can't trust arbitrary keys 21 | // on release devices. 22 | prebuilt_etc { 23 | name: "fsverity-release-cert-der", 24 | src: "fsverity-release.x509.der", 25 | sub_dir: "security/fsverity", 26 | filename_from_src: true, 27 | } 28 | -------------------------------------------------------------------------------- /tests/artifact_path_requirements/inherit4.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 | rblf.setdefault(handle, "PRODUCT_COPY_FILES") 21 | cfg["PRODUCT_COPY_FILES"] += ["foo/bar/baz.txt:vendor/etc/baz.txt"] 22 | -------------------------------------------------------------------------------- /tools/droiddoc/templates-pdk/assets/yui-3.3.0-reset-min.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2010, Yahoo! Inc. All rights reserved. 3 | Code licensed under the BSD License: 4 | http://developer.yahoo.com/yui/license.html 5 | version: 3.3.0 6 | build: 3167 7 | */ 8 | html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;} -------------------------------------------------------------------------------- /target/product/window_extensions.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 | 17 | # /system_ext packages 18 | PRODUCT_PACKAGES += \ 19 | androidx.window.extensions \ 20 | androidx.window.sidecar 21 | 22 | # properties 23 | PRODUCT_PRODUCT_PROPERTIES += \ 24 | persist.wm.extensions.enabled=true 25 | -------------------------------------------------------------------------------- /tools/canoninja/cmd/canoninja.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | /* 4 | Canoninja reads a Ninja file and changes the rule names to be the digest of the rule contents. 5 | Feed it to a filter that extracts only build statements, sort them, and you will have a crude 6 | but effective tool to find small differences between two Ninja files. 7 | */ 8 | 9 | import ( 10 | "canoninja" 11 | "flag" 12 | "fmt" 13 | "os" 14 | ) 15 | 16 | func main() { 17 | flag.Parse() 18 | files := flag.Args() 19 | if len(files) == 0 { 20 | files = []string{"/dev/stdin"} 21 | } 22 | rc := 0 23 | for _, f := range files { 24 | if buffer, err := os.ReadFile(f); err == nil { 25 | err = canoninja.Generate(f, buffer, os.Stdout) 26 | if err != nil { 27 | fmt.Fprintln(os.Stderr, err) 28 | rc = 1 29 | } 30 | } else { 31 | fmt.Fprintf(os.Stderr, "%s: %s\n", f, err) 32 | rc = 1 33 | } 34 | } 35 | os.Exit(rc) 36 | } 37 | -------------------------------------------------------------------------------- /tools/compliance/policy_resolvenotices.go: -------------------------------------------------------------------------------- 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 | // 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 | package compliance 16 | 17 | // ResolveNotices implements the policy for notices. 18 | func ResolveNotices(lg *LicenseGraph) ResolutionSet { 19 | ResolveTopDownConditions(lg) 20 | return WalkResolutionsForCondition(lg, ImpliesNotice) 21 | } 22 | -------------------------------------------------------------------------------- /target/board/module_arm/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_ARCH := arm 19 | TARGET_ARCH_VARIANT := armv7-a-neon 20 | TARGET_CPU_VARIANT := generic 21 | TARGET_CPU_ABI := armeabi-v7a 22 | TARGET_CPU_ABI2 := armeabi 23 | --------------------------------------------------------------------------------