gyp: add osmesa target to factor out common code
authorhalcanary <halcanary@google.com>
Wed, 20 Apr 2016 15:49:53 +0000 (08:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 20 Apr 2016 15:49:53 +0000 (08:49 -0700)
commit906021334fcf45e97670f877ea6f41bb2bc3b060
treee40f06885ee307f605a4bf213c1800f9e51e69bb
parentf8c74a1ef9acc65e62dc56526acc47c5143d84d8
gyp: add osmesa target to factor out common code

Test this out with `GYP_DEFINES=skia_mesa=1`.

Also uses the `library_dirs` keyword, which is relatively new.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1903233002

Review URL: https://codereview.chromium.org/1903233002
gyp/gputest.gyp
gyp/tools.gyp