summaryrefslogtreecommitdiffstats
path: root/WebKit/wx/wxwk-settings.bkl
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
commit8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch)
tree11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebKit/wx/wxwk-settings.bkl
parent648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff)
downloadexternal_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebKit/wx/wxwk-settings.bkl')
-rw-r--r--WebKit/wx/wxwk-settings.bkl101
1 files changed, 101 insertions, 0 deletions
diff --git a/WebKit/wx/wxwk-settings.bkl b/WebKit/wx/wxwk-settings.bkl
new file mode 100644
index 0000000..4328576
--- /dev/null
+++ b/WebKit/wx/wxwk-settings.bkl
@@ -0,0 +1,101 @@
+<?xml version="1.0" ?>
+<!--
+Copyright (C) 2007 Kevin Ollivier All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ its contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+JavaScriptCore Bakefile project file.
+-->
+
+<makefile>
+ <set var="WX_UNICODE">1</set>
+ <set var="WX_SHARED">1</set>
+
+ <include file="presets/wx.bkl"/>
+ <include file="presets/wxwebkit.bkl"/>
+ <include file="dependencies.bkl"/>
+
+ <set var="BUILDDIR">obj-$(FORMAT)</set>
+ <!-- the WX_PYTHON option was added to presets/wx.bkl in 2.8.5, so define
+ it in case the presets/wx.bkl doesn't define it for us. -->
+
+ <if cond="not isdefined('WX_PYTHON')">
+ <set var="WX_PYTHON">0</set>
+ </if>
+
+ <template id="wxwk_build_settings">
+ <dirname>$(WKOUTPUTDIR)</dirname>
+ <warnings>default</warnings>
+ <cxx-rtti>on</cxx-rtti>
+ <cxx-exceptions>on</cxx-exceptions>
+ <define>BUILDING_WX__=1</define>
+ <define>ENABLE_DOM_STORAGE</define>
+ <define>
+ $(substituteFromDict(DEBUG,{'1':'','0':'NDEBUG'}))
+ </define>
+ <define>USE_SYSTEM_MALLOC</define>
+ <optimize>
+ $(substituteFromDict(DEBUG,{'1':'off','0':'speed'}))
+ </optimize>
+ <debug-info>
+ $(substituteFromDict(DEBUG,{'1':'on','0':'off'}))
+ </debug-info>
+ <if cond="FORMAT in ['msvc', 'msvs2005prj']">
+ <set var="DEBUG_RUNTIME">
+ <if cond="WX_PYTHON=='1' and WX_DEBUG=='0'">off</if>
+ <if cond="WX_PYTHON=='0' and WX_DEBUG=='0'">off</if>
+ <if cond="WX_PYTHON=='1' and WX_DEBUG=='1'">off</if>
+ <if cond="WX_PYTHON=='0' and WX_DEBUG=='1'">on</if>
+ </set>
+ <debug-runtime-libs>
+ $(DEBUG_RUNTIME)
+ </debug-runtime-libs>
+ </if>
+ <if cond="FORMAT=='gnu'">
+ <include>$(WK_ROOT)/WebKitLibraries/unix/include</include>
+ <lib-path>$(WK_ROOT)/WebKitLibraries/unix/lib</lib-path>
+ </if>
+ <if cond="FORMAT in ['msvc', 'msvs2005prj']">
+ <include>$(WK_ROOT)/WebKitLibraries/win/include</include>
+ <lib-path>$(WK_ROOT)/WebKitLibraries/win/lib</lib-path>
+ </if>
+ </template>
+ <template id="wxwk" template="wxwk_build_settings,wx">
+ <!--
+ since wx 2.8's libpng and libjpeg symbols get exported when using gcc/gnu make
+ we need to make sure our versions appear first, so that it will get the symbols
+ from the right place
+ -->
+ <if cond="FORMAT=='gnu'">
+ <ldflags>-ljpeg -lpng</ldflags>
+ </if>
+ <wx-lib>core</wx-lib>
+ <wx-lib>base</wx-lib>
+ <if cond="PLATFORM_WIN32=='1'">
+ <define>WXUSINGDLL=1</define>
+ </if>
+ </template>
+
+</makefile>