Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a249cae6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SF: Enable address sanitizer for the unittest"

parents 3be4ebb0 e967d486
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
// Copyright (C) 2018 The Android Open Source Project
// Copyright 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16,6 +16,12 @@ cc_test {
    name: "libsurfaceflinger_unittest",
    defaults: ["libsurfaceflinger_defaults"],
    test_suites: ["device-tests"],
    sanitize: {
        // Using the address sanitizer not only helps uncover issues in the code
        // covered by the tests, but also covers some of the tricky injection of
        // fakes the unit tests currently do.
        address: true,
    },
    srcs: [
        ":libsurfaceflinger_sources",
        "DisplayIdentificationTest.cpp",