Age | Commit message (Collapse) | Author |
|
84ed246fbe
Original change: https://android-review.googlesource.com/c/platform/frameworks/rs/+/1690365
Change-Id: I509ab3fb820d34dbcfeb500a06e1cdaacdbaf2fd
|
|
Convert two mk files simultaneously since the one in the parent dir
calls the other one explicitly.
1. Convert libsgemm/Android.mk to libsgemm/Android.bp;
2. Convert RsBLAS_Benchmark/Android.mk to RsBLAS_Benchmark/Android.bp
Bug: 186677673
Test: compared the two apk files built by Make and Soong
Test: TreeHugger
Change-Id: I06c3711b4e8a50887b08a55b6cb809b19423adde
|
|
e418e877dd am: 8b63aeb72c
Original change: https://android-review.googlesource.com/c/platform/frameworks/rs/+/1682287
Change-Id: Iaa561641bc6f65a765e30c06dafbb847a71a6a0c
|
|
Added SPDX-license-identifier-Apache-2.0 to:
tests/java_api/Balls/Android.mk
tests/java_api/CannyLive/Android.mk
tests/java_api/ComputeBenchmark/Android.mk
tests/java_api/ComputePerf/Android.mk
tests/java_api/GenImages/Android.mk
tests/java_api/HealingBrush/Android.mk
tests/java_api/HelloComputeNDK/Android.mk
tests/java_api/ImageProcessing/Android.mk
tests/java_api/ImageProcessing2/Android.mk
tests/java_api/ImageProcessing_jb/Android.mk
tests/java_api/LatencyBenchmark/Android.mk
tests/java_api/LivePreview/Android.mk
tests/java_api/MathErr/Android.mk
tests/java_api/RSTestBackward/Android.mk
tests/java_api/RSTestBackward19/Android.mk
tests/java_api/RSTestForward/21.1.2/Android.mk
tests/java_api/RSTestForward/22.0.1/Android.mk
tests/java_api/RSTestForward/23.0.3/Android.mk
tests/java_api/RSTestForward/24.0.3/Android.mk
tests/java_api/RSTestForward/25.0.2/Android.mk
tests/java_api/RSTest_CompatLib/Android.mk
tests/java_api/RSTest_CompatLib19/Android.mk
tests/java_api/RSTest_CompatLibLegacy/Android.mk
tests/java_api/Refocus/Android.mk
tests/java_api/RsBLAS_Benchmark/Android.mk
tests/java_api/RsCameraDemo/Android.mk
tests/java_api/RsMinimalTest/Android.mk
tests/java_api/RsNbody/Android.mk
tests/java_api/RsTest/Android.mk
tests/java_api/RsTest_11/Android.mk
tests/java_api/RsTest_14/Android.mk
tests/java_api/RsTest_16/Android.mk
tests/java_api/SSHealingBrush/Android.mk
tests/java_api/SampleTest/Android.mk
tests/java_api/ScriptGroupTest/Android.mk
tests/java_api/VrDemo/Android.mk
tests/lldb/java/Allocations/Android.mk
tests/lldb/java/BranchingFunCalls/Android.mk
tests/lldb/java/DebugWaitAttach/Android.mk
tests/lldb/java/InfiniteLoop/Android.mk
tests/lldb/java/KernelVariables/Android.mk
tests/lldb/java/MultipleRSFiles/Android.mk
tests/lldb/java/NoDebugWaitAttach/Android.mk
tests/lldb/java/Reduction/Android.mk
tests/lldb/java/ScriptGroup/Android.mk
tests/lldb/java/SingleSource/Android.mk
tests/lldb/jni/Allocations/Android.mk
tests/lldb/jni/BranchingFunCalls/Android.mk
tests/lldb/jni/DebugWaitAttach/Android.mk
tests/lldb/jni/InfiniteLoop/Android.mk
tests/lldb/jni/KernelVariables/Android.mk
tests/lldb/jni/MultipleRSFiles/Android.mk
tests/lldb/jni/NoDebugWaitAttach/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ieba6137e19380f9b291ce82fa09cc6f96e17fe8e
|
|
e7c9510785 am: dde26776c6
Original change: https://android-review.googlesource.com/c/platform/frameworks/rs/+/1588169
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5fffa02ba56907f87f80db4f87fb4620492f4e9c
|
|
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
cpp/Android.bp
cpu_ref/Android.bp
driver/runtime/Android.mk
script_api/Android.bp
support/Android.bp
support/jni/Android.bp
tests/cpp_api/cpp-globalguard/Android.mk
tests/cpp_api/cppallocation/Android.mk
tests/cpp_api/cppbasic-getpointer/Android.mk
tests/cpp_api/cppbasic-shared/Android.mk
tests/cpp_api/cppbasic/Android.mk
tests/cpp_api/cppf16/Android.mk
tests/cpp_api/cppstrided/Android.mk
tests/cpp_api/latency/Android.mk
tests/cpp_api/typecheck/Android.mk
tests/java_api/HelloComputeNDK/libhellocomputendk/Android.mk
tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk
tests/lldb/cpp/Allocations/Android.mk
tests/lldb/cpp/BranchingFunCalls/Android.mk
tests/lldb/cpp/InfiniteLoop/Android.mk
tests/lldb/cpp/KernelVariables/Android.mk
tests/lldb/cpp/MultipleRSFiles/Android.mk
tests/lldb/cpp/WaitAttach/Android.mk
tests/lldb/jni/Allocations/jniallocations/Android.mk
tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/Android.mk
tests/lldb/jni/DebugWaitAttach/jnidebugwaitattach/Android.mk
tests/lldb/jni/InfiniteLoop/jniinfiniteloop/Android.mk
tests/lldb/jni/KernelVariables/jnikernelvariables/Android.mk
tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/Android.mk
tests/lldb/jni/NoDebugWaitAttach/jninodebugwaitattach/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I24599c0a1653664536d92f45179a4f8533c8b104
|
|
am: 1ad73cc08f am: 54aef0a96b am: 2176ad088f am: b93bddf15b am: 4d46941f41
Original change: https://android-review.googlesource.com/c/platform/frameworks/rs/+/1382880
Change-Id: I2c15bc7dafa6656c24eba3ce219728513a7d97c8
|
|
See https://source.android.com/setup/contribute/respectful-code for
reference
BUG=162536543
Test: m
Change-Id: I0190988e08fcdade2d1644300409f8f810ddf62c
|
|
am: 6464cc90de am: bb6f61aa42 am: eaed62a0a8 am: b7dba386a9 am: b556bf6f74
Original change: https://android-review.googlesource.com/c/platform/frameworks/rs/+/1382876
Change-Id: I83249304f868281141019dc1cb2579c19339411b
|
|
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Change-Id: I89a5e704c48d47dc83bdcae0b136d994874a90b4
|
|
23e552d0b5 am: 5519d66cf1 am: c25d6578c2 am: 90b322aca6
Original change: https://android-review.googlesource.com/c/platform/frameworks/rs/+/1354186
Change-Id: I5ff1cb0ce4a263e0db90feb1a7e497da43972b3f
|
|
Bug: 152482542
Test: mma
Exempt-From-Owner-Approval: build refactoring
Change-Id: Ie6a8fa6ff349bc20597a7c1b959c7f3aab9b2791
|
|
Bug: 158617385
Test: mm
Change-Id: I5c6e4dca8613f7a60615e5a6df3b06bf6bf83474
|
|
Bug: 158617385
Test: mm
Change-Id: I2639fb3b61708259c8311d71bf03e7f6bff6244b
|
|
This creates a ninja-visible module for RSUnbundledTests19 (and a
corresponding dist-for-goals entry) specific to this module.
This is needed because https://r.android.com/1270879 adds this module
to module-info.json, and all modules in module-info.json should be
buildable by `m <module>`.
Test: m RSUnbundledTests19
Test: ninja -t inputs RSUnbundledTests19
Bug: 152799773
Change-Id: I40774fa72772a2ad3e00e31b3e6395eaa34b0777
|
|
Reserve .rs extension for Rust.
Bug: 137365032
Test: make checkbuild
Test: cd frameworks/compile/slang/tests
./slang_tests.py
Test: atest CtsRenderscriptTestCases
Test: CtsRsCppTestCases
Exempt-From-Owner-Approval: Clean CP
Change-Id: I88b87b253ddb63ba4a4946d185ef76a553ba6fee
Merged-In: I88b87b253ddb63ba4a4946d185ef76a553ba6fee
(cherry picked from commit ab7b68cabd2a98b500edc2a0f8977a3f737f5cde)
|
|
am: 88995dfb74
Change-Id: Ibb53904c909357988efb789e21136a4b7dff673a
|
|
As discussed with Romain Guy in the email thread, the Apache 2.0
license applies to the affected .jpg files now and retroactively from
the time of import.
'data.jpg' was altered using the exiftool:
exiftool -WebStatement=http://www.apache.org/licenses/LICENSE-2.0
'img3840x2160a.jpg' was altered using the exiftool:
exiftool -WebStatement=http://www.apache.org/licenses/LICENSE-2.0 \
-UsageTerms='Apache License Version 2.0'
Change-Id: I22e3334dd9b39a0de516f0590b46f643e0d30ad9
|
|
See go/jetpack-test-android-migration
Test: mmma frameworks/rs
Merged-In: I435234484935f243c8449ba30b8afd44f9f01aae
Change-Id: Icd37f5f9b064940d2ae361094704e72903c9a777
|
|
See go/jetpack-test-android-migration
Test: mmma frameworks/rs
Change-Id: I435234484935f243c8449ba30b8afd44f9f01aae
|
|
am: f6fa86166c
Change-Id: I313f2f385732ac8d3a71304a70a1ff5856ea14bb
|
|
am: d0b9241f66
Change-Id: If4d756708340be628f71fd9edef0a669780db37e
|
|
Bug: http://b/32019064
Test: builds
Change-Id: I34f294b54b896a76086c8ff0157ac91a7f1f3181
|
|
To be consistent with the frameworks/support project
Bug: 74398526
Test: m -j droid MODULES-IN-frameworks-rs
Change-Id: Id53d7d89ce3abca7d4b907673fb9084bb2a46794
|
|
Bug: 76692459
Test: mmma frameworks/rs/tests/java_api/RsNbody
Change-Id: I121ab5e74cf238be3bb902944937c2f82d458cbe
|
|
8352e175f0
am: 9bd5db6042
Change-Id: I60bd695a7ae579db16a9bbcdcbffab3a3e59912b
|
|
am: 8352e175f0
Change-Id: Ic030cdd343846758b2b8d9d7bc81bbe16c919424
|
|
Use current instead of 0 for targeting the current renderscript api.
Bug: 79481102
Test: m java FORCE_AAPT2=true
Change-Id: I912433b576c7d846be8a31d31d249fbd257f80ac
|
|
Bug: 76692459
Test: make CannyLive
Change-Id: I9b8096493713614bf2818b6d7ab7129989c843da
|
|
am: f21dc7a52e
Change-Id: I7ed06d514e0c9fc159afda5454a095956a41e118
|
|
am: fe79bccaec
Change-Id: I4fd160aaa8077e330e22e1e239fba801396e121c
|
|
Bug: 64382372
Bug: 74963051
Test: m
Change-Id: Ieb4a2f7bd60434b8eaa3676716930b3d8ec9a54b
|
|
am: 3d6dddb02a
Change-Id: I3d8532fc96f53929829ee179905a39f49d39b777
|
|
am: 8722dfea7a
Change-Id: I34749e4676f0008250177fa23e7a8abe8f5f0b68
|
|
Add it to the suite version of APCT metric instru.
Test: build device-tests.zip
Bug: 77280599
Change-Id: If6607e8a4ff53487b6105baccf9357b410dee4b7
|
|
4d0275a2ef
am: 3988ca13d3
Change-Id: Iade6920c82d54d8ed146421ec186fb5447525354
|
|
am: 4d0275a2ef
Change-Id: Id8c4e6c79f0b7172e55714360c49bff9b1bd0543
|
|
Test: forrest
BUG: 66502166
Change-Id: Id42cc3927a636520fe8c1e9a72e9591aae94d4f4
|
|
- This test is not intended to test all the APIs / functionalities.
It uses IntrinsicBlur to make sure RenderScript is not completely
broken by unexpected changes.
- It runs fast (<200ms), suitable for presubmit tests.
Bug: 72342986
Test: mm
Test: adb shell am instrument -w \
com.android.rs.minimaltest/android.support.test.runner.AndroidJUnitRunner
Change-Id: I2a51b03a2706d25f09224c40cd8f8ad443c4b02f
|
|
am: af900007b5
Change-Id: I32186f228a5c61a352a25284f276a473275ec236
|
|
Build is breaking with message "Must specify LOCAL_SDK_VERSION or
LOCAL_PRIVATE_PLATFORM_APIS".
Test: tapas RSTests
Test: m ENABLE_RSTESTS=true
Test: tapas RSUnbundledTests
Test: m FORCE_BUILD_RS_COMPAT=true
Change-Id: Idcbe8a218d1bc55c67764b046c18bf411777956e
|
|
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Tests are also migrated to use stubs instead of the libraries that
contain private APIs.
Test: make relevant packages
Bug: 73535841
Merged-In: I04e2caab2614c2b7f6d5560c25b257f03cb2a81c
Change-Id: Ic82b4f92837a5ce3a06bb1c7653ce0b062e139e3
|
|
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: I04e2caab2614c2b7f6d5560c25b257f03cb2a81c
|
|
android.test.base/runner/mock libraries are shared libraries that are
built without SDK, but with framework interanl libraries (framework.jar,
etc). Apps or libs that are built with SDK (LOCAL_SDK_VERSION is set)
shouldn't use them, but instead the stubs version of the test framework
libraries, which are built using SDK.
This is because, the build system does not allow a module built with SDK
to depend on another module built without SDK. This has been
exceptionally allowed with warnings, but will soon be errors.
In order to prevent the expected build breakage, direct reference to the
shared libraries are all changed to the stubs libraries.
Note: no one has been using these shared libs statically. So, it is
guaranteed that they won't encounter a problem due to missing
<uses-library name="android.test.runner"/> even after this change.
Bug: 69899800
Test: m -j checkbuild
Change-Id: I0d1b752c4b249ea4c6516bc8e1daf1df2a3ce3e0
|
|
am: 74558ebfc4
Change-Id: Iff07271a22322865ac98857e1f70a792394b5637
|
|
Test: make checkbuild
Bug: None
Change-Id: I6bda6ed73cf2eb561f00c941d564a88bd4c4ff54
|
|
In preparation for the removal of the non-junit classes in the
android.test.base library from the android.jar this adds a dependency
on android.test.base/stubs to ensure this code will continue to
compile.
The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.
* tests/java_api/ImageProcessing/Android.mk
Added 'android.test.base.stubs' to LOCAL_JAVA_LIBRARIES because
ImageProcessing's will need them in order to compile once its
classes are removed from the current SDK on which it currently
depends.
Bug: 30188076
Test: make dist
Change-Id: Ic3ad5cecd9864fd7c9d331005355e64308b8c852
|
|
Statically including legacy-android-test leads to duplicate classes
which causes build time problems (with Proguard) and runtime problems on
older SDK versions. This change:
* Stops statically including legacy-android-test.
* Adds compile time dependencies on andoid.test.base, android.test.mock
and android.test.runner where necessary.
* Adds <uses-library android:name="android.test.runner"/> to any
affected package to ensure that the classes that were included by
legacy-android-test are still available at runtime. That also adds a
dependency on android.test.base and android.test.mock.
The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.
* tests/java_api/RSTest_CompatLibLegacy/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in RSTest_CompatLegacy
results in duplicate classes which leads to build time and compile
time issues. It is also unnecessary as RSTest_CompatLegacy targets
SDK version 20 which provides all the classes at runtime.
* tests/java_api/RSTest_CompatLibLegacy/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to
RSTest_CompatLegacy at runtime.
Bug: 30188076
Test: make checkbuild
Change-Id: Ieb1a8f212b6a649a6fb5b8399460418e1a6d57d0
|
|
Statically including legacy-android-test leads to duplicate classes
which causes build time problems (with Proguard) and runtime problems on
older SDK versions. This change:
* Stops statically including legacy-android-test.
* Adds compile time dependencies on andoid.test.base, android.test.mock
and android.test.runner where necessary.
* Adds <uses-library android:name="android.test.runner"/> to any
affected package to ensure that the classes that were included by
legacy-android-test are still available at runtime. That also adds a
dependency on android.test.base and android.test.mock.
The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.
* tests/java_api/ImageProcessing/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in ImageProcessing results
in duplicate classes which leads to build time and compile time
issues.
* tests/java_api/ImageProcessing_jb/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in ImageProcessingJB
results in duplicate classes which leads to build time and compile
time issues.
Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because
ImageProcessingJB's source depends on its classes and because of
these changes they are no longer present on the compilation path.
* tests/java_api/RsBLAS_Benchmark/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in RsBlasBenchmark results
in duplicate classes which leads to build time and compile time
issues.
Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because
RsBlasBenchmark's source depends on its classes and because of
these changes they are no longer present on the compilation path.
* tests/java_api/RsTest_11/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in RSTest_v11 results in
duplicate classes which leads to build time and compile time
issues.
* tests/java_api/RsTest_11/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to RSTest_v11 at
runtime.
* tests/java_api/RsTest_14/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in RSTest_v14 results in
duplicate classes which leads to build time and compile time
issues.
* tests/java_api/RsTest_14/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to RSTest_v14 at
runtime.
* tests/java_api/RsTest_16/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in RSTest_v16 results in
duplicate classes which leads to build time and compile time
issues.
* tests/java_api/RsTest_16/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to RSTest_v16 at
runtime.
Bug: 30188076
Test: make checkbuild
Change-Id: I6ac2c5dc6147a8751f82f9d6899c4d16e4ae4216
|
|
* Remove unused local variables.
* Suppress warning of unused private field.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ibd3e496df783793418dda20832eec21ef7be7461
|