Statically link stdc++ in libosmesa.so
commit62de59f4d603cac8a86a319f551238676e49b688
authoryucliu <yucliu@chromium.org>
Fri, 17 Jul 2015 16:58:17 +0000 (17 09:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Jul 2015 16:58:54 +0000 (17 16:58 +0000)
tree770201cc7fd270a2f4b3ce2fc62d02427bb6a225
parent74b12ef0c25a688f63a783ac33bd4cef0692263f
Statically link stdc++ in libosmesa.so

Manually copy local changes from chromecast to upstream and
add guard for chromecast build. This allows us to run
content_unittests (TOT build) on devices. Changes includes:

1. remove link flag '-lstdc++'
2. add empty.cc to force use g++

Local changes: 33660, 33437

BUG=510552

Review URL: https://codereview.chromium.org/1238013002

Cr-Commit-Position: refs/heads/master@{#339272}
third_party/mesa/README.chromium
third_party/mesa/chromium/empty.cc [new file with mode: 0644]
third_party/mesa/mesa.gyp