commit | 85799f71de2b2a27949f339cf937f86d185f2804 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Wed Jul 03 13:17:38 2019 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Wed Jul 03 13:17:38 2019 -0700 |
tree | a05e7b9b89efa9b5fa39133b3fafb8e3b5349e89 | |
parent | 11e5d906dbd3502aee688ebdd8b9a6ce4bd98592 [diff] |
Camera: Only obsessively validate camera_metadata on eng builds Currently, an assert(validate_camera_metadata_structure) is present at the end of most camera_metadata functions; and asserts are enabled on both -eng and -userdebug. This causes large amounts of validate calls to be done on builds that are used for perf evaluation and dogfood. Restrict assert enabling to eng builds only. Test: atest Bug: 136675319 Change-Id: Ie682bed722cd85f8d495fc5a32fea3f48e41abb5