libyuv/BUILD.gn
Björn Terelius 80d19e4906 Roll chromium_revision af3d01376b..f2539aa88a (1174635:1398488)
NOTE: The revision range is not quite correct due to the large number of manual changes.

* Update third_party/android_sdk/public/ packages in DEPS
* Update DEPS to cipd as required
* Add support for 'non_git_source'
* Update third_party/instrumented_libs
* Remove "terminal".qemu-x64 fuchsia boot image
* Use a normal dependency on clang-format instead of pulling based on hashes
* Add re2 and llvm libc to DEPS
* Remove dependency on //testing/android/native_test:native_test_native_code (this is to avoid getting an indirect dependency on rust through //base.)
* Add buildtools and third_party/instrumented_libs to recursedeps
* Allow for mac cross compile on linux



    Change log: af3d01376b..f2539aa88a
    Full diff: af3d01376b..f2539aa88a

    Changed dependencies
    * fuchsia_vesion: version:15.20230909.2.1..version:26.20241213.3.1
    * gn_vesion: git_revision:fae280eabe5d31accc53100137459ece19a7a295..git_revision:c97a86a72105f3328a540f5a5ab17d11989ab7dd
    * ninja_vesion: version:2@1.11.1.chromium.6..version:3@1.12.1.chromium.4
    * reclient_vesion: re_client_version:0.110.0.43ec6b1-gomaip..re_client_version:0.172.0.3cf60ba5-gomaip
    * src/base: d407b7061b..aefc825509
    * src/build: 5885d3c248..1923aa3e32
    * src/buildtools: 79ab87fa54..b8ff6f5a95
    * src/buildtools/linux64: git_revision:fae280eabe5d31accc53100137459ece19a7a295..git_revision:c97a86a72105f3328a540f5a5ab17d11989ab7dd
    * src/buildtools/mac: git_revision:fae280eabe5d31accc53100137459ece19a7a295..git_revision:c97a86a72105f3328a540f5a5ab17d11989ab7dd
    * src/buildtools/reclient: re_client_version:0.110.0.43ec6b1-gomaip..re_client_version:0.172.0.3cf60ba5-gomaip
    * src/buildtools/win: git_revision:fae280eabe5d31accc53100137459ece19a7a295..git_revision:c97a86a72105f3328a540f5a5ab17d11989ab7dd
    * src/ios: ddd58e86cf..15caecbcad
    * src/testing: 51e9a02297..0305a85a20
    * src/third_party: 2dc4b18abd..d9ea6d4e7d
    * src/third_party/androidx/cipd: jiSw6hD706772Ci0lovUctvq0azknqPQ5bXgSdeLRLoC..UgU67e5iHzB2He0pnVLopdT8E6Z-vYa65s2LUhagBfoC
    * src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/20a06474c0..c361e27940
    * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/fa05d995e1..e7c18388ac
    * src/third_party/clang-format/script: f97059df7f..37f6e68a10
    * src/third_party/depot_tools: d3e43dd431..fcb6178914
    * src/third_party/freetype/src: 9e3c5d7e18..38272bf853
    * src/third_party/googletest/src: af29db7ec2..f3c355f9dd
    * src/third_party/harfbuzz-ng/src: db700b5670..1c249be96e
    * src/third_party/icu: e8c3bc9ea9..bbccc2f6ef
    * src/third_party/junit/src: 05fe2a64f5..0eb5ce7284
    * src/third_party/kotlin_stdlib/cipd: VqqnQS2oBxM8b3Q7CDJaGfa-QQoOPx9weNRX1avHGNoC..GjL64HceCa9uCZWJ1u-a174ay-7m1EZTupVwLzzxbrEC
    * src/third_party/libc++/src: 84fb809dd6..d0ddad5b79
    * src/third_party/libc++abi/src: 8d21803b90..02cb512292
    * src/third_party/libjpeg_turbo: 30bdb85e30..927aabfcd2
    * src/third_party/libunwind/src: f1c687e0aa..d1e95b102f
    * src/third_party/libunwindstack: 4dbfa0e8c8..215bddfd8e
    * src/third_party/nasm: 7fc833e889..f477acb104
    * src/third_party/ninja: version:2@1.11.1.chromium.6..version:3@1.12.1.chromium.4
    * src/third_party/r8/cipd: jnP8YjPJaWAXthtBv-bT_5HD3c6ywpAmGL31ZURB3fgC..q_wvk54XItTBlBNQMHkS4NRMp-tapPW97M292KTXHrsC
    * src/third_party/r8/d8/cipd: o7pbwAFk68RQBPYLlCUm0mQ6B3Bj9pykXOPvv8akR5kC..q_wvk54XItTBlBNQMHkS4NRMp-tapPW97M292KTXHrsC
    * src/third_party/robolectric/cipd: Y1B0M_fCpPZ058xErMX6GQOJEVRBWR342juuxNLpVnkC..G3VkWqTv1YWDvC6zCrL34iQREzrzdBmSL4GMboAIiAEC
    * src/third_party/turbine/cipd: c4onccFJcd8rKHM_6js-X_ucjXdFqhDWK8aUX4ARSkkC..dz8pRLjwNlToJ0tS14T-TDQJNikmFXEDByMo-OzBbl0C
    * src/tools: a76c0dbb64..fc2c4ea571
    Added dependencies
    * src/third_party/android_deps/cipd/libs/com_google_errorprone_error_prone_annotations
    * src/third_party/android_deps/cipd/libs/io_grpc_grpc_binder
    * src/third_party/android_deps/cipd/libs/org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm
    * src/third_party/android_deps/cipd/libs/com_android_tools_common
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_components
    * src/third_party/android_deps/cipd/libs/org_ow2_asm_asm_tree
    * src/third_party/android_deps/cipd/libs/org_robolectric_nativeruntime_dist_compat
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_flags
    * src/third_party/android_deps/cipd/libs/javax_annotation_javax_annotation_api
    * src/third_party/android_deps/cipd/libs/com_google_testparameterinjector_test_parameter_injector
    * src/third_party/android_deps/cipd/libs/org_yaml_snakeyaml
    * src/third_party/android_deps/cipd/libs/com_android_tools_sdk_common
    * src/third_party/android_deps/cipd/libs/org_objenesis_objenesis
    * src/third_party/android_deps/cipd/libs/io_grpc_grpc_stub
    * src/third_party/android_deps/cipd/libs/org_robolectric_resources
    * src/third_party/android_deps/cipd/libs/com_squareup_moshi_moshi
    * src/third_party/android_deps/cipd/libs/org_robolectric_pluginapi
    * src/third_party/android_deps/cipd/libs/com_google_dagger_hilt_core
    * src/third_party/android_deps/cipd/libs/org_robolectric_shadows_framework
    * src/third_party/android_deps/cipd/libs/org_jetbrains_kotlin_kotlin_android_extensions_runtime
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_encoders_json
    * src/third_party/android_deps/cipd/libs/com_google_guava_guava
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_vision_common
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_auth_base
    * src/third_party/android_deps/cipd/libs/com_squareup_javawriter
    * src/third_party/android_deps/cipd/libs/com_google_android_play_feature_delivery
    * src/third_party/android_deps/cipd/libs/com_google_j2objc_j2objc_annotations
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_messaging
    * src/third_party/android_deps/cipd/libs/io_perfmark_perfmark_api
    * src/third_party/android_deps/cipd/libs/org_robolectric_robolectric
    * src/third_party/android_deps/cipd/libs/org_jspecify_jspecify
    * src/third_party/android_deps/cipd/libs/io_grpc_grpc_core
    * src/third_party/android_deps/cipd/libs/org_robolectric_shadowapi
    * src/third_party/android_deps/cipd/libs/org_jetbrains_kotlin_kotlin_parcelize_runtime
    * src/third_party/android_deps/cipd/libs/com_google_code_gson_gson
    * src/third_party/android_deps/cipd/libs/javax_annotation_jsr250_api
    * src/third_party/android_deps/cipd/libs/com_google_protobuf_protobuf_javalite
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_cast_framework
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_stats
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_base
    * src/third_party/android_deps/cipd/libs/com_android_support_support_annotations
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_iid
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_cast
    * src/third_party/android_deps/cipd/libs/com_google_android_libraries_identity_googleid_googleid
    * src/third_party/android_deps/cipd/libs/org_robolectric_sandbox
    * src/third_party/android_deps/cipd/libs/org_bouncycastle_bcprov_jdk18on
    * src/third_party/android_deps/cipd/libs/javax_inject_javax_inject
    * src/third_party/android_deps/cipd/libs/org_ow2_asm_asm
    * src/third_party/android_deps/cipd/libs/com_squareup_wire_wire_runtime_jvm
    * src/third_party/android_deps/cipd/libs/com_squareup_javapoet
    * src/third_party/android_deps/cipd/libs/com_google_guava_failureaccess
    * src/third_party/android_deps/cipd/libs/com_google_auto_service_auto_service_annotations
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_auth_api_phone
    * src/third_party/android_deps/cipd/libs/com_google_code_findbugs_jsr305
    * src/third_party/android_deps/cipd/libs/org_jsoup_jsoup
    * src/third_party/android_deps/cipd/libs/org_checkerframework_checker_util
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_auth
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_installations_interop
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_tasks
    * src/third_party/android_deps/cipd/libs/org_mockito_mockito_subclass
    * src/third_party/android_deps/cipd/libs/io_grpc_grpc_context
    * src/third_party/android_deps/cipd/libs/com_android_tools_layoutlib_layoutlib_api
    * src/third_party/android_deps/cipd/libs/com_google_android_apps_common_testing_accessibility_framework_accessibility_test_framework
    * src/third_party/android_deps/cipd/libs/org_checkerframework_checker_qual
    * src/third_party/android_deps/cipd/libs/org_ow2_asm_asm_analysis
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_phenotype
    * src/third_party/android_deps/cipd/libs/org_robolectric_annotations
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_clearcut
    * src/third_party/android_deps/cipd/libs/org_robolectric_utils
    * src/third_party/android_deps/cipd/libs/com_google_android_datatransport_transport_api
    * src/third_party/android_deps/cipd/libs/io_grpc_grpc_protobuf_lite
    * src/third_party/android_deps/cipd/libs/org_jetbrains_kotlinx_kotlinx_coroutines_guava
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_installations
    * src/third_party/android_deps/cipd/libs/org_checkerframework_checker_compat_qual
    * src/third_party/android_deps/cipd/libs/jakarta_inject_jakarta_inject_api
    * src/third_party/android_deps/cipd/libs/org_mockito_mockito_android
    * src/third_party/android_deps/cipd/libs/org_ow2_asm_asm_util
    * src/third_party/android_deps/cipd/libs/org_robolectric_plugins_maven_dependency_resolver
    * src/third_party/android_deps/cipd/libs/org_robolectric_nativeruntime
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_measurement_connector
    * src/third_party/android_deps/cipd/libs/org_conscrypt_conscrypt_openjdk_uber
    * src/third_party/android_deps/cipd/libs/org_robolectric_junit
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_annotations
    * src/third_party/android_deps/cipd/libs/com_squareup_okio_okio_jvm
    * src/third_party/android_deps/cipd/libs/org_jetbrains_kotlinx_kotlinx_serialization_core_jvm
    * src/third_party/android_deps/cipd/libs/org_jetbrains_kotlinx_kotlinx_coroutines_android
    * src/third_party/android_deps/cipd/libs/com_googlecode_java_diff_utils_diffutils
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_instantapps
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_identity_credentials
    * src/third_party/android_deps/cipd/libs/org_codehaus_mojo_animal_sniffer_annotations
    * src/third_party/android_deps/cipd/libs/org_mockito_mockito_core
    * src/third_party/android_deps/cipd/libs/net_bytebuddy_byte_buddy
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_fido
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_vision
    * src/third_party/android_deps/cipd/libs/net_bytebuddy_byte_buddy_agent
    * src/third_party/android_deps/cipd/libs/com_google_auto_value_auto_value_annotations
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_auth_blockstore
    * src/third_party/android_deps/cipd/libs/org_ccil_cowan_tagsoup_tagsoup
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_gcm
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_common
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_encoders
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_location
    * src/third_party/android_deps/cipd/libs/org_jetbrains_kotlinx_atomicfu_jvm
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_iid
    * src/third_party/android_deps/cipd/libs/com_google_firebase_firebase_iid_interop
    * src/third_party/android_deps/cipd/libs/org_jetbrains_kotlinx_kotlinx_coroutines_test_jvm
    * src/third_party/android_deps/cipd/libs/com_google_android_material_material
    * src/third_party/android_deps/cipd/libs/com_google_android_play_core_common
    * src/third_party/android_deps/cipd/libs/com_google_android_annotations
    * src/third_party/android_deps/cipd/libs/io_grpc_grpc_api
    * src/third_party/android_deps/cipd/libs/org_hamcrest_hamcrest
    * src/third_party/android_deps/cipd/libs/com_google_dagger_dagger
    * src/third_party/android_deps/cipd/libs/com_squareup_moshi_moshi_adapters
    * src/third_party/android_deps/cipd/libs/org_robolectric_utils_reflector
    * src/third_party/android_deps/cipd/libs/com_google_guava_guava_android
    * src/third_party/android_deps/cipd/libs/org_ow2_asm_asm_commons
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_basement
    * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_cloud_messaging
    Removed dependencies
    * src/third_party/android_deps/libs/android_arch_core_common
    * src/third_party/android_deps/libs/android_arch_core_runtime
    * src/third_party/android_deps/libs/android_arch_lifecycle_common
    * src/third_party/android_deps/libs/android_arch_lifecycle_common_java8
    * src/third_party/android_deps/libs/android_arch_lifecycle_livedata
    * src/third_party/android_deps/libs/android_arch_lifecycle_livedata_core
    * src/third_party/android_deps/libs/android_arch_lifecycle_runtime
    * src/third_party/android_deps/libs/android_arch_lifecycle_viewmodel
    * src/third_party/android_deps/libs/com_android_support_animated_vector_drawable
    * src/third_party/android_deps/libs/com_android_support_appcompat_v7
    * src/third_party/android_deps/libs/com_android_support_asynclayoutinflater
    * src/third_party/android_deps/libs/com_android_support_cardview_v7
    * src/third_party/android_deps/libs/com_android_support_collections
    * src/third_party/android_deps/libs/com_android_support_coordinatorlayout
    * src/third_party/android_deps/libs/com_android_support_cursoradapter
    * src/third_party/android_deps/libs/com_android_support_customview
    * src/third_party/android_deps/libs/com_android_support_design
    * src/third_party/android_deps/libs/com_android_support_documentfile
    * src/third_party/android_deps/libs/com_android_support_drawerlayout
    * src/third_party/android_deps/libs/com_android_support_interpolator
    * src/third_party/android_deps/libs/com_android_support_loader
    * src/third_party/android_deps/libs/com_android_support_localbroadcastmanager
    * src/third_party/android_deps/libs/com_android_support_multidex
    * src/third_party/android_deps/libs/com_android_support_print
    * src/third_party/android_deps/libs/com_android_support_recyclerview_v7
    * src/third_party/android_deps/libs/com_android_support_slidingpanelayout
    * src/third_party/android_deps/libs/com_android_support_support_annotations
    * src/third_party/android_deps/libs/com_android_support_support_compat
    * src/third_party/android_deps/libs/com_android_support_support_core_ui
    * src/third_party/android_deps/libs/com_android_support_support_core_utils
    * src/third_party/android_deps/libs/com_android_support_support_fragment
    * src/third_party/android_deps/libs/com_android_support_support_media_compat
    * src/third_party/android_deps/libs/com_android_support_support_v4
    * src/third_party/android_deps/libs/com_android_support_support_vector_drawable
    * src/third_party/android_deps/libs/com_android_support_swiperefreshlayout
    * src/third_party/android_deps/libs/com_android_support_transition
    * src/third_party/android_deps/libs/com_android_support_versionedparcelable
    * src/third_party/android_deps/libs/com_android_support_viewpager
    * src/third_party/android_deps/libs/com_android_tools_common
    * src/third_party/android_deps/libs/com_android_tools_layoutlib_layoutlib_api
    * src/third_party/android_deps/libs/com_android_tools_sdk_common
    * src/third_party/android_deps/libs/com_github_ben_manes_caffeine_caffeine
    * src/third_party/android_deps/libs/com_github_kevinstern_software_and_algorithms
    * src/third_party/android_deps/libs/com_google_android_annotations
    * src/third_party/android_deps/libs/com_google_android_apps_common_testing_accessibility_framework_accessibility_test_framework
    * src/third_party/android_deps/libs/com_google_android_datatransport_transport_api
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_auth
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_auth_api_phone
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_auth_base
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_base
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_basement
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_cast
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_cast_framework
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_clearcut
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_cloud_messaging
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_flags
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_gcm
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_iid
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_instantapps
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_location
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_phenotype
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_places_placereport
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_stats
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_tasks
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_vision
    * src/third_party/android_deps/libs/com_google_android_gms_play_services_vision_common
    * src/third_party/android_deps/libs/com_google_android_material_material
    * src/third_party/android_deps/libs/com_google_android_play_core_common
    * src/third_party/android_deps/libs/com_google_android_play_feature_delivery
    * src/third_party/android_deps/libs/com_google_auto_auto_common
    * src/third_party/android_deps/libs/com_google_auto_service_auto_service
    * src/third_party/android_deps/libs/com_google_auto_service_auto_service_annotations
    * src/third_party/android_deps/libs/com_google_auto_value_auto_value_annotations
    * src/third_party/android_deps/libs/com_google_code_findbugs_jsr305
    * src/third_party/android_deps/libs/com_google_code_gson_gson
    * src/third_party/android_deps/libs/com_google_dagger_dagger
    * src/third_party/android_deps/libs/com_google_dagger_dagger_compiler
    * src/third_party/android_deps/libs/com_google_dagger_dagger_producers
    * src/third_party/android_deps/libs/com_google_dagger_dagger_spi
    * src/third_party/android_deps/libs/com_google_errorprone_error_prone_annotation
    * src/third_party/android_deps/libs/com_google_errorprone_error_prone_annotations
    * src/third_party/android_deps/libs/com_google_errorprone_error_prone_check_api
    * src/third_party/android_deps/libs/com_google_errorprone_error_prone_core
    * src/third_party/android_deps/libs/com_google_errorprone_error_prone_type_annotations
    * src/third_party/android_deps/libs/com_google_errorprone_javac
    * src/third_party/android_deps/libs/com_google_errorprone_javac_shaded
    * src/third_party/android_deps/libs/com_google_firebase_firebase_annotations
    * src/third_party/android_deps/libs/com_google_firebase_firebase_common
    * src/third_party/android_deps/libs/com_google_firebase_firebase_components
    * src/third_party/android_deps/libs/com_google_firebase_firebase_encoders
    * src/third_party/android_deps/libs/com_google_firebase_firebase_encoders_json
    * src/third_party/android_deps/libs/com_google_firebase_firebase_iid
    * src/third_party/android_deps/libs/com_google_firebase_firebase_iid_interop
    * src/third_party/android_deps/libs/com_google_firebase_firebase_installations
    * src/third_party/android_deps/libs/com_google_firebase_firebase_installations_interop
    * src/third_party/android_deps/libs/com_google_firebase_firebase_measurement_connector
    * src/third_party/android_deps/libs/com_google_firebase_firebase_messaging
    * src/third_party/android_deps/libs/com_google_googlejavaformat_google_java_format
    * src/third_party/android_deps/libs/com_google_guava_failureaccess
    * src/third_party/android_deps/libs/com_google_guava_guava
    * src/third_party/android_deps/libs/com_google_guava_guava_android
    * src/third_party/android_deps/libs/com_google_guava_listenablefuture
    * src/third_party/android_deps/libs/com_google_j2objc_j2objc_annotations
    * src/third_party/android_deps/libs/com_google_protobuf_protobuf_java
    * src/third_party/android_deps/libs/com_google_protobuf_protobuf_javalite
    * src/third_party/android_deps/libs/com_googlecode_java_diff_utils_diffutils
    * src/third_party/android_deps/libs/com_squareup_javapoet
    * src/third_party/android_deps/libs/com_squareup_javawriter
    * src/third_party/android_deps/libs/com_squareup_okio_okio_jvm
    * src/third_party/android_deps/libs/com_squareup_wire_wire_runtime_jvm
    * src/third_party/android_deps/libs/io_github_java_diff_utils_java_diff_utils
    * src/third_party/android_deps/libs/io_grpc_grpc_api
    * src/third_party/android_deps/libs/io_grpc_grpc_binder
    * src/third_party/android_deps/libs/io_grpc_grpc_context
    * src/third_party/android_deps/libs/io_grpc_grpc_core
    * src/third_party/android_deps/libs/io_grpc_grpc_protobuf_lite
    * src/third_party/android_deps/libs/io_grpc_grpc_stub
    * src/third_party/android_deps/libs/io_perfmark_perfmark_api
    * src/third_party/android_deps/libs/javax_annotation_javax_annotation_api
    * src/third_party/android_deps/libs/javax_annotation_jsr250_api
    * src/third_party/android_deps/libs/javax_inject_javax_inject
    * src/third_party/android_deps/libs/net_bytebuddy_byte_buddy
    * src/third_party/android_deps/libs/net_bytebuddy_byte_buddy_agent
    * src/third_party/android_deps/libs/net_ltgt_gradle_incap_incap
    * src/third_party/android_deps/libs/org_bouncycastle_bcprov_jdk18on
    * src/third_party/android_deps/libs/org_ccil_cowan_tagsoup_tagsoup
    * src/third_party/android_deps/libs/org_checkerframework_checker_compat_qual
    * src/third_party/android_deps/libs/org_checkerframework_checker_qual
    * src/third_party/android_deps/libs/org_checkerframework_checker_util
    * src/third_party/android_deps/libs/org_checkerframework_dataflow_errorprone
    * src/third_party/android_deps/libs/org_codehaus_mojo_animal_sniffer_annotations
    * src/third_party/android_deps/libs/org_conscrypt_conscrypt_openjdk_uber
    * src/third_party/android_deps/libs/org_eclipse_jgit_org_eclipse_jgit
    * src/third_party/android_deps/libs/org_hamcrest_hamcrest
    * src/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib_jdk7
    * src/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib_jdk8
    * src/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_android
    * src/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm
    * src/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_guava
    * src/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_metadata_jvm
    * src/third_party/android_deps/libs/org_jsoup_jsoup
    * src/third_party/android_deps/libs/org_mockito_mockito_android
    * src/third_party/android_deps/libs/org_mockito_mockito_core
    * src/third_party/android_deps/libs/org_mockito_mockito_subclass
    * src/third_party/android_deps/libs/org_objenesis_objenesis
    * src/third_party/android_deps/libs/org_ow2_asm_asm
    * src/third_party/android_deps/libs/org_ow2_asm_asm_analysis
    * src/third_party/android_deps/libs/org_ow2_asm_asm_commons
    * src/third_party/android_deps/libs/org_ow2_asm_asm_tree
    * src/third_party/android_deps/libs/org_ow2_asm_asm_util
    * src/third_party/android_deps/libs/org_pcollections_pcollections
    * src/third_party/android_deps/libs/org_robolectric_annotations
    * src/third_party/android_deps/libs/org_robolectric_junit
    * src/third_party/android_deps/libs/org_robolectric_nativeruntime
    * src/third_party/android_deps/libs/org_robolectric_nativeruntime_dist_compat
    * src/third_party/android_deps/libs/org_robolectric_pluginapi
    * src/third_party/android_deps/libs/org_robolectric_plugins_maven_dependency_resolver
    * src/third_party/android_deps/libs/org_robolectric_resources
    * src/third_party/android_deps/libs/org_robolectric_robolectric
    * src/third_party/android_deps/libs/org_robolectric_sandbox
    * src/third_party/android_deps/libs/org_robolectric_shadowapi
    * src/third_party/android_deps/libs/org_robolectric_shadows_framework
    * src/third_party/android_deps/libs/org_robolectric_shadows_playservices
    * src/third_party/android_deps/libs/org_robolectric_utils
    * src/third_party/android_deps/libs/org_robolectric_utils_reflector
    DEPS diff: af3d01376b..f2539aa88a/DEPS

    Clang version changed llvmorg-17-init-16420-g0c545a44:llvmorg-20-init-13894-g8cb44859
    Details: af3d01376b..f2539aa88a/tools/clang/scripts/update.py

BYPASS_LARGE_CHANGE_WARNING: Updating the DEPS is inherently a large change. See each patchset for smaller changes, but these partial updates don't build.

Bug: libyuv:358992053
No-Try: true
Change-Id: I37c7f51c247b5836f22ce635e6118d80ab7b1fdc
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/6111088
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
2025-01-08 06:40:17 -08:00

491 lines
12 KiB
Plaintext

# Copyright 2014 The LibYuv Project Authors. All rights reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
import("//build/config/features.gni")
import("//testing/test.gni")
import("libyuv.gni")
declare_args() {
# Set to false to disable building with absl flags.
libyuv_use_absl_flags = true
# When building a shared library using a target in WebRTC or
# Chromium projects that depends on libyuv, setting this flag
# to true makes libyuv symbols visible inside that library.
libyuv_symbols_visible = false
}
config("libyuv_config") {
include_dirs = [ "include" ]
if (is_android) {
if (target_cpu == "arm" || target_cpu == "x86" || target_cpu == "mipsel") {
ldflags = [ "-Wl,--dynamic-linker,/system/bin/linker" ]
} else {
ldflags = [ "-Wl,--dynamic-linker,/system/bin/linker64" ]
}
}
# Define CHROMIUM to tell cpu_id to avoid sandbox unsafe system calls.
defines = [ "CHROMIUM" ]
if (!libyuv_use_neon) {
defines += [ "LIBYUV_DISABLE_NEON" ]
}
if (!libyuv_use_sve) {
defines += [ "LIBYUV_DISABLE_SVE" ]
}
if (!libyuv_use_sme) {
defines += [ "LIBYUV_DISABLE_SME" ]
}
if (libyuv_disable_rvv) {
defines += [ "LIBYUV_DISABLE_RVV" ]
}
if (!libyuv_use_lsx) {
defines += [ "LIBYUV_DISABLE_LSX" ]
}
if (!libyuv_use_lasx) {
defines += [ "LIBYUV_DISABLE_LASX" ]
}
}
# This target is built when no specific target is specified on the command line.
group("default") {
testonly = true
deps = [ ":libyuv" ]
if (libyuv_include_tests) {
deps += [
":compare",
":cpuid",
":i444tonv12_eg",
":libyuv_unittest",
":psnr",
":yuvconstants",
":yuvconvert",
]
}
}
group("libyuv") {
all_dependent_configs = [ ":libyuv_config" ]
deps = []
if (is_win && target_cpu == "x64") {
# Compile with clang in order to get inline assembly
public_deps = [ ":libyuv_internal(//build/toolchain/win:win_clang_x64)" ]
} else {
public_deps = [ ":libyuv_internal" ]
}
if (libyuv_use_neon) {
deps += [ ":libyuv_neon" ]
}
if (libyuv_use_sve) {
deps += [ ":libyuv_sve" ]
}
if (libyuv_use_sme) {
deps += [ ":libyuv_sme" ]
}
if (libyuv_use_msa) {
deps += [ ":libyuv_msa" ]
}
if (libyuv_use_lsx) {
deps += [ ":libyuv_lsx" ]
}
if (libyuv_use_lasx) {
deps += [ ":libyuv_lasx" ]
}
if (!is_ios && !libyuv_disable_jpeg) {
# Make sure that clients of libyuv link with libjpeg. This can't go in
# libyuv_internal because in Windows x64 builds that will generate a clang
# build of libjpeg, and we don't want two copies.
deps += [ "//third_party:jpeg" ]
}
}
static_library("libyuv_internal") {
visibility = [ ":*" ]
sources = [
# Headers
"include/libyuv.h",
"include/libyuv/basic_types.h",
"include/libyuv/compare.h",
"include/libyuv/compare_row.h",
"include/libyuv/convert.h",
"include/libyuv/convert_argb.h",
"include/libyuv/convert_from.h",
"include/libyuv/convert_from_argb.h",
"include/libyuv/cpu_id.h",
"include/libyuv/loongson_intrinsics.h",
"include/libyuv/macros_msa.h",
"include/libyuv/mjpeg_decoder.h",
"include/libyuv/planar_functions.h",
"include/libyuv/rotate.h",
"include/libyuv/rotate_argb.h",
"include/libyuv/rotate_row.h",
"include/libyuv/row.h",
"include/libyuv/scale.h",
"include/libyuv/scale_argb.h",
"include/libyuv/scale_rgb.h",
"include/libyuv/scale_row.h",
"include/libyuv/scale_uv.h",
"include/libyuv/version.h",
"include/libyuv/video_common.h",
# Source Files
"source/compare.cc",
"source/compare_common.cc",
"source/compare_gcc.cc",
"source/compare_win.cc",
"source/convert.cc",
"source/convert_argb.cc",
"source/convert_from.cc",
"source/convert_from_argb.cc",
"source/convert_jpeg.cc",
"source/convert_to_argb.cc",
"source/convert_to_i420.cc",
"source/cpu_id.cc",
"source/mjpeg_decoder.cc",
"source/mjpeg_validate.cc",
"source/planar_functions.cc",
"source/rotate.cc",
"source/rotate_any.cc",
"source/rotate_argb.cc",
"source/rotate_common.cc",
"source/rotate_gcc.cc",
"source/rotate_win.cc",
"source/row_any.cc",
"source/row_common.cc",
"source/row_gcc.cc",
"source/row_rvv.cc",
"source/row_win.cc",
"source/scale.cc",
"source/scale_any.cc",
"source/scale_argb.cc",
"source/scale_common.cc",
"source/scale_gcc.cc",
"source/scale_rgb.cc",
"source/scale_rvv.cc",
"source/scale_uv.cc",
"source/scale_win.cc",
"source/video_common.cc",
]
configs += [ ":libyuv_config" ]
defines = []
deps = []
if (libyuv_symbols_visible) {
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
configs += [ "//build/config/gcc:symbol_visibility_default" ]
}
if ((!is_ios || use_blink) && !libyuv_disable_jpeg) {
defines += [ "HAVE_JPEG" ]
# Needed to pull in libjpeg headers. Can't add //third_party:jpeg to deps
# because in Windows x64 build it will get compiled with clang.
deps += [ "//third_party:jpeg_includes" ]
}
# Always enable optimization for Release and NaCl builds (to workaround
# crbug.com/538243).
if (!is_debug || is_nacl) {
configs -= [ "//build/config/compiler:default_optimization" ]
# Enable optimize for speed (-O2) over size (-Os).
configs += [ "//build/config/compiler:optimize_max" ]
}
# To enable AVX2 or other cpu optimization, pass flag here
if (!is_win) {
cflags = [
# "-mpopcnt",
# "-mavx2",
# "-mfma",
"-ffp-contract=fast", # Enable fma vectorization for NEON.
]
}
}
if (libyuv_use_neon) {
static_library("libyuv_neon") {
sources = [
# ARM Source Files
"source/compare_neon.cc",
"source/compare_neon64.cc",
"source/rotate_neon.cc",
"source/rotate_neon64.cc",
"source/row_neon.cc",
"source/row_neon64.cc",
"source/scale_neon.cc",
"source/scale_neon64.cc",
]
deps = [ ":libyuv_internal" ]
public_configs = [ ":libyuv_config" ]
if (current_cpu == "arm64") {
cflags = [ "-march=armv8-a+dotprod+i8mm" ]
} else {
configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
cflags = [ "-mfpu=neon" ]
}
}
}
if (libyuv_use_sve) {
static_library("libyuv_sve") {
sources = [ "source/row_sve.cc" ]
deps = [ ":libyuv_internal" ]
public_configs = [ ":libyuv_config" ]
# SVE2 is an Armv9-A feature.
cflags = [ "-march=armv9-a+sve2" ]
}
}
if (libyuv_use_sme) {
static_library("libyuv_sme") {
sources = [
"source/rotate_sme.cc",
"source/row_sme.cc",
"source/scale_sme.cc",
]
deps = [ ":libyuv_internal" ]
public_configs = [ ":libyuv_config" ]
# SME is an Armv9-A feature.
cflags = [ "-march=armv9-a+sme" ]
}
}
if (libyuv_use_msa) {
static_library("libyuv_msa") {
sources = [
# MSA Source Files
"source/compare_msa.cc",
"source/rotate_msa.cc",
"source/row_msa.cc",
"source/scale_msa.cc",
]
deps = [ ":libyuv_internal" ]
public_configs = [ ":libyuv_config" ]
}
}
if (libyuv_use_lsx) {
static_library("libyuv_lsx") {
sources = [
# LSX Source Files
"source/rotate_lsx.cc",
"source/row_lsx.cc",
"source/scale_lsx.cc",
]
cflags_cc = [
"-mlsx",
"-Wno-c++11-narrowing",
]
deps = [ ":libyuv_internal" ]
public_configs = [ ":libyuv_config" ]
}
}
if (libyuv_use_lasx) {
static_library("libyuv_lasx") {
sources = [
# LASX Source Files
"source/row_lasx.cc",
]
cflags_cc = [
"-mlasx",
"-Wno-c++11-narrowing",
]
deps = [ ":libyuv_internal" ]
public_configs = [ ":libyuv_config" ]
}
}
if (libyuv_include_tests) {
config("libyuv_unittest_warnings_config") {
if (!is_win) {
cflags = [
# TODO(fbarchard): Fix sign and unused variable warnings.
"-Wno-sign-compare",
"-Wno-unused-variable",
]
}
if (is_win) {
cflags = [
"/wd4245", # signed/unsigned mismatch
"/wd4189", # local variable is initialized but not referenced
]
}
}
config("libyuv_unittest_config") {
defines = [ "GTEST_RELATIVE_PATH" ]
}
test("libyuv_unittest") {
testonly = true
sources = [
"unit_test/basictypes_test.cc",
"unit_test/color_test.cc",
"unit_test/compare_test.cc",
"unit_test/convert_argb_test.cc",
"unit_test/convert_test.cc",
"unit_test/cpu_test.cc",
"unit_test/cpu_thread_test.cc",
"unit_test/math_test.cc",
"unit_test/planar_test.cc",
"unit_test/rotate_argb_test.cc",
"unit_test/rotate_test.cc",
"unit_test/scale_argb_test.cc",
"unit_test/scale_plane_test.cc",
"unit_test/scale_rgb_test.cc",
"unit_test/scale_test.cc",
"unit_test/scale_uv_test.cc",
"unit_test/unit_test.cc",
"unit_test/unit_test.h",
"unit_test/video_common_test.cc",
]
deps = [
":libyuv",
"//testing/gtest",
]
defines = []
if (libyuv_use_absl_flags) {
defines += [ "LIBYUV_USE_ABSL_FLAGS" ]
deps += [
"//third_party/abseil-cpp/absl/flags:flag",
"//third_party/abseil-cpp/absl/flags:parse",
]
}
configs += [ ":libyuv_unittest_warnings_config" ]
public_deps = [ "//testing/gtest" ]
public_configs = [ ":libyuv_unittest_config" ]
if (is_linux || is_chromeos) {
cflags = [ "-fexceptions" ]
# For enabling ASLR.
ldflags = [ "-pie" ]
}
if (is_ios) {
configs -= [ "//build/config/compiler:default_symbols" ]
configs += [ "//build/config/compiler:symbols" ]
cflags = [ "-Wno-sometimes-uninitialized" ]
}
if (!is_ios && !libyuv_disable_jpeg) {
defines += [ "HAVE_JPEG" ]
}
# TODO(YangZhang): These lines can be removed when high accuracy
# YUV to RGB to Neon is ported.
if ((target_cpu == "armv7" || target_cpu == "armv7s" ||
(target_cpu == "arm" && arm_version >= 7) || target_cpu == "arm64") &&
(arm_use_neon || arm_optionally_use_neon)) {
defines += [ "LIBYUV_NEON" ]
}
defines += [
# Enable the following 3 macros to turn off assembly for specified CPU.
# "LIBYUV_DISABLE_X86",
# "LIBYUV_DISABLE_NEON",
# Enable the following macro to build libyuv as a shared library (dll).
# "LIBYUV_USING_SHARED_LIBRARY"
]
}
executable("compare") {
sources = [
# sources
"util/compare.cc",
]
deps = [ ":libyuv" ]
if (is_linux || is_chromeos) {
cflags = [ "-fexceptions" ]
}
}
executable("yuvconvert") {
sources = [
# sources
"util/yuvconvert.cc",
]
deps = [ ":libyuv" ]
if (is_linux || is_chromeos) {
cflags = [ "-fexceptions" ]
}
}
executable("yuvconstants") {
sources = [
# sources
"util/yuvconstants.c",
]
deps = [ ":libyuv" ]
if (is_linux || is_chromeos) {
cflags = [ "-fexceptions" ]
}
}
executable("psnr") {
sources = [
# sources
"util/psnr.cc",
"util/psnr_main.cc",
"util/ssim.cc",
]
deps = [ ":libyuv" ]
if (!is_ios && !libyuv_disable_jpeg) {
defines = [ "HAVE_JPEG" ]
}
}
executable("i444tonv12_eg") {
sources = [
# sources
"util/i444tonv12_eg.cc",
]
deps = [ ":libyuv" ]
}
executable("cpuid") {
sources = [
# sources
"util/cpuid.c",
]
deps = [ ":libyuv" ]
}
}