Adding an accelerated platform for the X11-less build. This uses GBM (EGL_MESA_platform_gbm) as the backing Mesa platform.

BUG=377497

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273509 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
dnicoara@chromium.org 2014-05-29 17:22:50 +00:00
Родитель 306adbd676
Коммит a1c7689d24
3 изменённых файлов: 28 добавлений и 9 удалений

Просмотреть файл

@ -1401,6 +1401,7 @@
'ozone_platform_caca%': 0,
'ozone_platform_dri%': 0,
'ozone_platform_egltest%': 0,
'ozone_platform_gbm%': 0,
'ozone_platform_ozonex%': 0,
'ozone_platform_test%': 0,

Просмотреть файл

@ -99,15 +99,15 @@ dev_list="apache2.2-bin bison curl dpkg-dev elfutils devscripts fakeroot flex
language-pack-he language-pack-zh-hant libapache2-mod-php5
libasound2-dev libbrlapi-dev libbz2-dev libcairo2-dev libcap-dev
libcups2-dev libcurl4-gnutls-dev libdrm-dev libelf-dev libexif-dev
libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev
libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev
libnss3-dev libpam0g-dev libpci-dev libpulse-dev libsctp-dev
libspeechd-dev libsqlite3-dev libssl-dev libudev-dev libwww-perl
libxslt1-dev libxss-dev libxt-dev libxtst-dev mesa-common-dev openbox
patch perl php5-cgi pkg-config python python-cherrypy3 python-dev
python-psutil rpm ruby subversion ttf-dejavu-core ttf-indic-fonts
ttf-kochi-gothic ttf-kochi-mincho wdiff xfonts-mathml zip
$chromeos_dev_list"
libgbm-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev
libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libkrb5-dev
libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev
libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev
libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev
mesa-common-dev openbox patch perl php5-cgi pkg-config python
python-cherrypy3 python-dev python-psutil rpm ruby subversion
ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho
wdiff xfonts-mathml zip $chromeos_dev_list"
# 64-bit systems need a minimum set of 32-bit compat packages for the pre-built
# NaCl binaries. These are always needed, regardless of whether or not we want

Просмотреть файл

@ -402,6 +402,24 @@
},
],
}],
['ozone_platform_gbm==1', {
'targets': [
{
'target_name': 'gbm',
'type': 'none',
'direct_dependent_settings': {
'cflags': [
'<!@(<(pkg-config) --cflags gbm)',
],
},
'link_settings': {
'libraries': [
'<!@(<(pkg-config) --libs-only-l gbm)',
],
},
},
],
}],
], # conditions
'targets': [
{