commit | 2ee3957ebc063ee770e6fcc1c28fef40709e0f48 | [log] [tgz] |
---|---|---|
author | Lloyd Pique <lpique@google.com> | Wed Dec 20 16:48:10 2017 -0800 |
committer | Lloyd Pique <lpique@google.com> | Wed Feb 07 13:16:40 2018 -0800 |
tree | 7a8f3570c65f69a8043c4f30fd152db9111f0a4d | |
parent | 144e116f45f196396f0d59d5fc09766ab618f885 [diff] [blame] |
SF: Define mock::RE::RenderEngine et al This allows the unit test to use mocks in place of the normal implementation. Test: Builds Bug: None Change-Id: Iad51c4cf2373ef4313fc9ac77d1df4aa15d705ea
diff --git a/services/surfaceflinger/tests/unittests/Android.bp b/services/surfaceflinger/tests/unittests/Android.bp index 6151466..be3a918 100644 --- a/services/surfaceflinger/tests/unittests/Android.bp +++ b/services/surfaceflinger/tests/unittests/Android.bp
@@ -21,6 +21,7 @@ ":libsurfaceflinger_sources", "DisplayTransactionTest.cpp", "MockComposer.cpp", + "MockRenderEngine.cpp", ], static_libs: [ "libgmock",