# 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_posix == 1 and OS != "mac"', { '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_posix == 1 and OS != "mac" and use_system_libxml', { 'type': 'none', 'direct_dependent_settings': { 'cflags': [ '