# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 'os_include': 'linux' }], ['OS=="mac"', {'os_include': 'mac'}], ['OS=="win"', {'os_include': 'win32'}], ], # We used to have a separate flag for using the system # libxslt, but it seems mixing Chrome libxml and system # libxslt causes crashes that nobody has had time to diagnose. # So just put them both behind the same flag for now. 'use_system_libxml%': 0, }, 'targets': [ { 'target_name': 'libxslt', 'conditions': [ ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") ' 'and use_system_libxml', { 'type': 'settings', 'direct_dependent_settings': { 'cflags': [ '