• tfarina's avatar
    Reland "skia: Add 'skia_unittests' test suite for this directory." · 0f9c5eed
    tfarina authored
    This should be a lightweight test suite that should allow a dev changing
    something in skia/ext to test it much more quickly than having to build
    all 'unit_tests' target just to run the tests from skia/ext.
    
    It was reverted because it broke Mac GN with error like:
    duplicate symbol __ZN3gfx27SkMatrixToCGAffineTransformERK8SkMatrix in:
        obj/skia/ext/skia_unittests.skia_utils_mac_unittest.o
            obj/skia/ext/skia.skia_utils_mac.o
            (and more similar issues).
    
    BUG=444058
    TEST=skia_unittests links and runs fine.
    R=danakj@chromium.org,thakis@chromium.org,glider@chromium.org,sky@chromium.org
    TBR=glider@chromium.org (already reviewed tools/valgrind - and no changes were made at that directory).
    
    Review URL: https://codereview.chromium.org/837243002
    
    Cr-Commit-Position: refs/heads/master@{#310688}
    0f9c5eed
BUILD.gn 24.8 KB