Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/libxslt/libxslt.gyp

Issue 7055003: Last gyp patch for cross-platform Unix support (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libxslt/libxslt.gyp
diff --git a/third_party/libxslt/libxslt.gyp b/third_party/libxslt/libxslt.gyp
index 826bf5ec108bc29ef067e65ea62c5d561650d9e3..3b00ffae4add8314370a89c5a95bf608076ad27a 100644
--- a/third_party/libxslt/libxslt.gyp
+++ b/third_party/libxslt/libxslt.gyp
@@ -5,7 +5,7 @@
{
'variables': {
'conditions': [
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ ['os_posix == 1 and OS != "mac"', {
'os_include': 'linux'
}],
['OS=="mac"', {'os_include': 'mac'}],
@@ -21,8 +21,7 @@
{
'target_name': 'libxslt',
'conditions': [
- ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") '
- 'and use_system_libxml', {
+ ['os_posix == 1 and OS != "mac" and use_system_libxml', {
'type': 'settings',
'direct_dependent_settings': {
'cflags': [
@@ -37,7 +36,7 @@
'<!@(pkg-config --libs-only-l libxslt)',
],
},
- }, { # else: OS != "linux" or ! use_system_libxml
+ }, { # else: os_posix != 1 or OS == "mac" or ! use_system_libxml
'type': 'static_library',
'msvs_guid': 'FC0E1FD0-5DD7-4041-A1C9-CD3C376E4EED',
'sources': [

Powered by Google App Engine
This is Rietveld 408576698