diff options
author | raphael.kubo.da.costa@intel.com <raphael.kubo.da.costa@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 15:16:06 +0000 |
---|---|---|
committer | raphael.kubo.da.costa@intel.com <raphael.kubo.da.costa@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 15:16:06 +0000 |
commit | 87ce6799ae3494b3ab59dd2b3dfcfd1f1fc697cc (patch) | |
tree | 4fd8b1ecf992462effbacd77305f68106c4903a7 /skia | |
parent | 3d51f8cd483d788a7c290164d68673a1330ec099 (diff) | |
download | chromium_src-87ce6799ae3494b3ab59dd2b3dfcfd1f1fc697cc.zip chromium_src-87ce6799ae3494b3ab59dd2b3dfcfd1f1fc697cc.tar.gz chromium_src-87ce6799ae3494b3ab59dd2b3dfcfd1f1fc697cc.tar.bz2 |
Make the build work with speech-dispatcher >= 0.8.
speech-dispatcher 0.8 has changed the location where the libspeechd.h header
file is installed, and users are expected to reference it from the top-level
directory, ie.
#include <speech-dispatcher/libspeechd.h>
Version 0.8 also installs a .pc pkg-config file.
Since speech-dispatcher 0.7 is still very widespread, we cannot assume this new
structure and .pc file are always available, so resort to adding the
"speech-dispatcher/" prefix to the #include based on whether `pkg-config
--exists' does not fail.
Arguably, we should also start calling `pkg-config --{cflags,libs-only-l,etc}',
but not having the .pc file always available would make the changes more
complicated. Since everything has worked so far without that, keeping the
status quo for now should be fine.
BUG=
TEST=Build with speech-dispatcher >= 0.8 installed.
Review URL: https://chromiumcodereview.appspot.com/14296005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions