| Index: third_party/libxslt/libxslt.scons
|
| ===================================================================
|
| --- third_party/libxslt/libxslt.scons (revision 7247)
|
| +++ third_party/libxslt/libxslt.scons (working copy)
|
| @@ -55,7 +55,7 @@
|
| ],
|
| )
|
|
|
| -if env['PLATFORM'] == 'win32':
|
| +if env.Bit('windows'):
|
| env.Append(
|
| CCFLAGS = [
|
| '/TC',
|
| @@ -88,7 +88,7 @@
|
| env.ChromeStaticLibrary('libxslt', input_files)
|
|
|
|
|
| -if env['PLATFORM'] == 'win32':
|
| +if env.Bit('windows'):
|
| config_files = [
|
| # The configure.js script must be first in this list; the
|
| # env.Command() call below executes the first list element.
|
| @@ -120,7 +120,7 @@
|
| copied_sources,
|
| 'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS',
|
| CONFIG_OPTIONS='compiler=msvc')
|
| -elif env['PLATFORM'] == 'posix':
|
| +elif env.Bit('linux'):
|
| config_files = [
|
| 'config.h',
|
| 'xslt-config',
|
|
|