| Index: build/linux/system.gyp
|
| diff --git a/build/linux/system.gyp b/build/linux/system.gyp
|
| index e10c9053f72d8c3feecd8bdf6dcd9dde7f354914..7b6d82cb10d6488e000e0317af8218e00ef4714e 100644
|
| --- a/build/linux/system.gyp
|
| +++ b/build/linux/system.gyp
|
| @@ -3,21 +3,33 @@
|
| # found in the LICENSE file.
|
|
|
| {
|
| + 'variables' : {
|
| + 'includes': [
|
| + '../common.gypi',
|
| + ],
|
| + 'conditions': [
|
| + ['sysroot!=""', {
|
| + 'pkg-config': './pkg-config-wrapper "<(sysroot)"',
|
| + }, {
|
| + 'pkg-config': 'pkg-config'
|
| + }],
|
| + ],
|
| + },
|
| 'targets': [
|
| {
|
| 'target_name': 'gtk',
|
| 'type': 'settings',
|
| 'direct_dependent_settings': {
|
| 'cflags': [
|
| - '<!@(pkg-config --cflags gtk+-2.0 gthread-2.0)',
|
| + '<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)',
|
| ],
|
| },
|
| 'link_settings': {
|
| 'ldflags': [
|
| - '<!@(pkg-config --libs-only-L --libs-only-other gtk+-2.0 gthread-2.0)',
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-2.0 gthread-2.0)',
|
| ],
|
| 'libraries': [
|
| - '<!@(pkg-config --libs-only-l gtk+-2.0 gthread-2.0)',
|
| + '<!@(<(pkg-config) --libs-only-l gtk+-2.0 gthread-2.0)',
|
| ],
|
| },
|
| },
|
| @@ -26,15 +38,15 @@
|
| 'type': 'settings',
|
| 'direct_dependent_settings': {
|
| 'cflags': [
|
| - '<!@(pkg-config --cflags nss)',
|
| + '<!@(<(pkg-config) --cflags nss)',
|
| ],
|
| },
|
| 'link_settings': {
|
| 'ldflags': [
|
| - '<!@(pkg-config --libs-only-L --libs-only-other nss)',
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
|
| ],
|
| 'libraries': [
|
| - '<!@(pkg-config --libs-only-l nss)',
|
| + '<!@(<(pkg-config) --libs-only-l nss)',
|
| ],
|
| },
|
| },
|
| @@ -43,15 +55,15 @@
|
| 'type': 'settings',
|
| 'direct_dependent_settings': {
|
| 'cflags': [
|
| - '<!@(pkg-config --cflags freetype2)',
|
| + '<!@(<(pkg-config) --cflags freetype2)',
|
| ],
|
| },
|
| 'link_settings': {
|
| 'ldflags': [
|
| - '<!@(pkg-config --libs-only-L --libs-only-other freetype2)',
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other freetype2)',
|
| ],
|
| 'libraries': [
|
| - '<!@(pkg-config --libs-only-l freetype2)',
|
| + '<!@(<(pkg-config) --libs-only-l freetype2)',
|
| ],
|
| },
|
| },
|
| @@ -60,15 +72,15 @@
|
| 'type': 'settings',
|
| 'direct_dependent_settings': {
|
| 'cflags': [
|
| - '<!@(pkg-config --cflags fontconfig)',
|
| + '<!@(<(pkg-config) --cflags fontconfig)',
|
| ],
|
| },
|
| 'link_settings': {
|
| 'ldflags': [
|
| - '<!@(pkg-config --libs-only-L --libs-only-other fontconfig)',
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)',
|
| ],
|
| 'libraries': [
|
| - '<!@(pkg-config --libs-only-l fontconfig)',
|
| + '<!@(<(pkg-config) --libs-only-l fontconfig)',
|
| ],
|
| },
|
| },
|
| @@ -77,15 +89,15 @@
|
| 'type': 'settings',
|
| 'direct_dependent_settings': {
|
| 'cflags': [
|
| - '<!@(pkg-config --cflags gdk-2.0)',
|
| + '<!@(<(pkg-config) --cflags gdk-2.0)',
|
| ],
|
| },
|
| 'link_settings': {
|
| 'ldflags': [
|
| - '<!@(pkg-config --libs-only-L --libs-only-other gdk-2.0)',
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other gdk-2.0)',
|
| ],
|
| 'libraries': [
|
| - '<!@(pkg-config --libs-only-l gdk-2.0)',
|
| + '<!@(<(pkg-config) --libs-only-l gdk-2.0)',
|
| ],
|
| },
|
| },
|
| @@ -94,15 +106,15 @@
|
| 'type': 'settings',
|
| 'direct_dependent_settings': {
|
| 'cflags': [
|
| - '<!@(pkg-config --cflags gconf-2.0)',
|
| + '<!@(<(pkg-config) --cflags gconf-2.0)',
|
| ],
|
| },
|
| 'link_settings': {
|
| 'ldflags': [
|
| - '<!@(pkg-config --libs-only-L --libs-only-other gconf-2.0)',
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other gconf-2.0)',
|
| ],
|
| 'libraries': [
|
| - '<!@(pkg-config --libs-only-l gconf-2.0)',
|
| + '<!@(<(pkg-config) --libs-only-l gconf-2.0)',
|
| ],
|
| },
|
| },
|
| @@ -111,15 +123,15 @@
|
| 'type': 'settings',
|
| 'direct_dependent_settings': {
|
| 'cflags': [
|
| - '<!@(pkg-config --cflags x11)',
|
| + '<!@(<(pkg-config) --cflags x11)',
|
| ],
|
| },
|
| 'link_settings': {
|
| 'ldflags': [
|
| - '<!@(pkg-config --libs-only-L --libs-only-other x11)',
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other x11)',
|
| ],
|
| 'libraries': [
|
| - '<!@(pkg-config --libs-only-l x11)',
|
| + '<!@(<(pkg-config) --libs-only-l x11)',
|
| ],
|
| },
|
| },
|
| @@ -131,15 +143,15 @@
|
| # 'type': 'settings',
|
| # 'direct_dependent_settings': {
|
| # 'cflags': [
|
| -# '<!@(pkg-config --cflags gnome-keyring-1)',
|
| +# '<!@(<(pkg-config) --cflags gnome-keyring-1)',
|
| # ],
|
| # },
|
| # 'link_settings': {
|
| # 'ldflags': [
|
| -# '<!@(pkg-config --libs-only-L --libs-only-other gnome-keyring-1)',
|
| +# '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1)',
|
| # ],
|
| # 'libraries': [
|
| -# '<!@(pkg-config --libs-only-l gnome-keyring-1)',
|
| +# '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)',
|
| # ],
|
| # },
|
| # },
|
| @@ -148,15 +160,15 @@
|
| # 'type': 'settings',
|
| # 'direct_dependent_settings': {
|
| # 'cflags': [
|
| -# '<!@(pkg-config --cflags dbus-glib-1)',
|
| +# '<!@(<(pkg-config) --cflags dbus-glib-1)',
|
| # ],
|
| # },
|
| # 'link_settings': {
|
| # 'ldflags': [
|
| -# '<!@(pkg-config --libs-only-L --libs-only-other dbus-glib-1)',
|
| +# '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)',
|
| # ],
|
| # 'libraries': [
|
| -# '<!@(pkg-config --libs-only-l dbus-glib-1)',
|
| +# '<!@(<(pkg-config) --libs-only-l dbus-glib-1)',
|
| # ],
|
| # },
|
| # },
|
|
|