2 # Copyright (C) 2011 Igalia S.L.
3 # Copyright (C) 2012 Intel Corporation
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2 of the License, or (at your option) any later version.
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 __efl_tools_directory = os.path.abspath(os.path.dirname(__file__))
22 sys.path.append(__efl_tools_directory)
25 build_policy = 'updated'
27 # FIXME: move shared parts into ../jhbuild folder.
29 __moduleset_file_uri = 'file://' + os.path.join(__efl_tools_directory, 'jhbuild.modules')
30 __extra_modulesets = os.environ.get("WEBKIT_EXTRA_MODULESETS", "").split(",")
31 moduleset = [ __moduleset_file_uri, ]
32 if __extra_modulesets != ['']:
33 moduleset.extend(__extra_modulesets)
35 __extra_modules = os.environ.get("WEBKIT_EXTRA_MODULES", "").split(",")
36 modules = [ 'webkitefl-testing-dependencies', ]
37 if __extra_modules != ['']:
38 modules.extend(__extra_modules)
40 checkoutroot = os.path.abspath(common.top_level_path('WebKitBuild','Dependencies', 'Source'))
41 prefix = os.path.abspath(common.top_level_path('WebKitBuild','Dependencies', 'Root'))
45 if ('MAKEFLAGS' not in os.environ):
46 os.environ['MAKEFLAGS'] = '-j' + str(common.number_of_cpus())
48 # Use system libraries while building.
53 addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', _libdir, 'pkgconfig'))
54 addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))