diff options
Diffstat (limited to 'services/surfaceflinger/tests/unittests/Android.bp')
-rw-r--r-- | services/surfaceflinger/tests/unittests/Android.bp | 105 |
1 files changed, 17 insertions, 88 deletions
diff --git a/services/surfaceflinger/tests/unittests/Android.bp b/services/surfaceflinger/tests/unittests/Android.bp index b5086fafb7..3c4a791a5e 100644 --- a/services/surfaceflinger/tests/unittests/Android.bp +++ b/services/surfaceflinger/tests/unittests/Android.bp @@ -12,18 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -package { - // See: http://go/android-license-faq - // A large-scale-change added 'default_applicable_licenses' to import - // all of the 'license_kinds' from "frameworks_native_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["frameworks_native_license"], -} - cc_test { name: "libsurfaceflinger_unittest", - defaults: ["surfaceflinger_defaults"], + defaults: ["libsurfaceflinger_defaults"], test_suites: ["device-tests"], sanitize: { // Using the address sanitizer not only helps uncover issues in the code @@ -48,32 +39,16 @@ cc_test { "CompositionTest.cpp", "DispSyncSourceTest.cpp", "DisplayIdentificationTest.cpp", - "DisplayIdGeneratorTest.cpp", "DisplayTransactionTest.cpp", - "DisplayDevice_GetBestColorModeTest.cpp", - "DisplayDevice_SetProjectionTest.cpp", + "EventControlThreadTest.cpp", "EventThreadTest.cpp", - "FpsReporterTest.cpp", - "FpsTest.cpp", - "FramebufferSurfaceTest.cpp", - "FrameTimelineTest.cpp", - "GameModeTest.cpp", "HWComposerTest.cpp", "OneShotTimerTest.cpp", "LayerHistoryTest.cpp", - "LayerInfoTest.cpp", + "LayerHistoryTestV2.cpp", "LayerMetadataTest.cpp", - "MessageQueueTest.cpp", - "SurfaceFlinger_CreateDisplayTest.cpp", - "SurfaceFlinger_DestroyDisplayTest.cpp", - "SurfaceFlinger_GetDisplayNativePrimariesTest.cpp", - "SurfaceFlinger_HandleTransactionLockedTest.cpp", - "SurfaceFlinger_NotifyPowerBoostTest.cpp", - "SurfaceFlinger_HotplugTest.cpp", - "SurfaceFlinger_OnInitializeDisplaysTest.cpp", - "SurfaceFlinger_SetDisplayStateTest.cpp", - "SurfaceFlinger_SetPowerModeInternalTest.cpp", - "SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp", + "PhaseOffsetsTest.cpp", + "PromiseTest.cpp", "SchedulerTest.cpp", "SchedulerUtilsTest.cpp", "SetFrameRateTest.cpp", @@ -83,89 +58,43 @@ cc_test { "RegionSamplingTest.cpp", "TimeStatsTest.cpp", "FrameTracerTest.cpp", - "TimerTest.cpp", "TransactionApplicationTest.cpp", - "TransactionFrameTracerTest.cpp", - "TransactionSurfaceFrameTest.cpp", - "TunnelModeEnabledReporterTest.cpp", "StrongTypingTest.cpp", "VSyncDispatchTimerQueueTest.cpp", "VSyncDispatchRealtimeTest.cpp", - "VsyncModulatorTest.cpp", + "VSyncModulatorTest.cpp", "VSyncPredictorTest.cpp", "VSyncReactorTest.cpp", - "VsyncConfigurationTest.cpp", "mock/DisplayHardware/MockComposer.cpp", - "mock/DisplayHardware/MockHWC2.cpp", + "mock/DisplayHardware/MockDisplay.cpp", "mock/DisplayHardware/MockPowerAdvisor.cpp", + "mock/MockDispSync.cpp", + "mock/MockEventControlThread.cpp", "mock/MockEventThread.cpp", - "mock/MockFrameTimeline.cpp", - "mock/MockFrameTracer.cpp", "mock/MockMessageQueue.cpp", "mock/MockNativeWindowSurface.cpp", "mock/MockSurfaceInterceptor.cpp", "mock/MockTimeStats.cpp", - "mock/MockVsyncController.cpp", - "mock/MockVSyncTracker.cpp", + "mock/MockFrameTracer.cpp", "mock/system/window/MockNativeWindow.cpp", ], static_libs: [ - "android.hardware.graphics.composer@2.1", - "android.hardware.graphics.composer@2.2", - "android.hardware.graphics.composer@2.3", - "android.hardware.graphics.composer@2.4", - "android.hardware.power@1.0", - "android.hardware.power@1.1", - "android.hardware.power@1.2", - "android.hardware.power@1.3", - "android.hardware.power-V1-cpp", - "libcompositionengine_mocks", - "libcompositionengine", - "libframetimeline", "libgmock", + "libcompositionengine", + "libcompositionengine_mocks", "libgui_mocks", - "liblayers_proto", "libperfetto_client_experimental", "librenderengine_mocks", - "librenderengine", - "libserviceutils", - "libtimestats", - "libtimestats_atoms_proto", - "libtimestats_proto", - "libtrace_proto", "perfetto_trace_protos", ], shared_libs: [ - "android.hardware.configstore-utils", - "android.hardware.configstore@1.0", - "android.hardware.configstore@1.1", - "android.hardware.graphics.allocator@2.0", - "android.hardware.graphics.allocator@3.0", - "android.hardware.graphics.common@1.2", - "libbase", - "libbinder", - "libcutils", - "libEGL", - "libfmq", - "libGLESv1_CM", - "libGLESv2", - "libgui", - "libhidlbase", - "libinput", - "liblog", - "libnativewindow", - "libprocessgroup", - "libprotobuf-cpp-lite", - "libSurfaceFlingerProp", - "libsync", - "libui", - "libutils", + "libprotoutil", + "libstatssocket", + "libsurfaceflinger", + "libtimestats", + "libtimestats_proto", ], header_libs: [ - "android.hardware.graphics.composer@2.1-command-buffer", - "android.hardware.graphics.composer@2.2-command-buffer", - "android.hardware.graphics.composer@2.3-command-buffer", - "android.hardware.graphics.composer@2.4-command-buffer", "libsurfaceflinger_headers", ], } |