source: webkit/trunk/Source/JavaScriptCore/wscript@ 106454

Last change on this file since 106454 was 95934, checked in by [email protected], 14 years ago

Finish removing PLATFORM(BREWMP) by removing associated code
https://bugs.webkit.org/show_bug.cgi?id=68779

Reviewed by Sam Weinig.

.:

  • Source/cmake/WebKitPackaging.cmake:
  • wscript:

Source/JavaScriptCore:

(WTF::fastMallocSize):

  • wtf/Vector.h:
  • wtf/brew: Removed.
  • wtf/brew/MainThreadBrew.cpp: Removed.
  • wtf/brew/OwnPtrBrew.cpp: Removed.
  • wtf/brew/RefPtrBrew.h: Removed.
  • wtf/brew/ShellBrew.h: Removed.
  • wtf/brew/StringBrew.cpp: Removed.
  • wtf/brew/SystemMallocBrew.h: Removed.
  • wtf/unicode/brew: Removed.
  • wtf/unicode/brew/UnicodeBrew.cpp: Removed.
  • wtf/unicode/brew/UnicodeBrew.h: Removed.

Source/WebCore:

When Geoffrey Garen removed PLATFORM(BREWMP) in
http://trac.webkit.org/changeset/95555, he did not remove all the
associated code. This completes the work started in r95555 by removing
all the code assoicated with PLATFORM(BREWMP).

  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • bindings/js/ScriptControllerBrew.cpp: Removed.
  • editing/brew: Removed.
  • editing/brew/EditorBrew.cpp: Removed.
  • gyp/WebCore.gyp:
  • page/brew: Removed.
  • page/brew/ChromeClientBrew.h: Removed.
  • page/brew/DragControllerBrew.cpp: Removed.
  • page/brew/EventHandlerBrew.cpp: Removed.
  • page/brew/FrameBrew.cpp: Removed.
  • platform/brew: Removed.
  • platform/brew/ClipboardBrew.cpp: Removed.
  • platform/brew/ClipboardBrew.h: Removed.
  • platform/brew/ContextMenuBrew.cpp: Removed.
  • platform/brew/ContextMenuItemBrew.cpp: Removed.
  • platform/brew/CursorBrew.cpp: Removed.
  • platform/brew/DragDataBrew.cpp: Removed.
  • platform/brew/EventLoopBrew.cpp: Removed.
  • platform/brew/FileSystemBrew.cpp: Removed.
  • platform/brew/KURLBrew.cpp: Removed.
  • platform/brew/LanguageBrew.cpp: Removed.
  • platform/brew/LocalizedStringsBrew.cpp: Removed.
  • platform/brew/LoggingBrew.cpp: Removed.
  • platform/brew/MIMETypeRegistryBrew.cpp: Removed.
  • platform/brew/PasteboardBrew.cpp: Removed.
  • platform/brew/PlatformKeyboardEventBrew.cpp: Removed.
  • platform/brew/PlatformMouseEventBrew.cpp: Removed.
  • platform/brew/PlatformTouchEventBrew.cpp: Removed.
  • platform/brew/PlatformTouchPointBrew.cpp: Removed.
  • platform/brew/PopupMenuBrew.cpp: Removed.
  • platform/brew/PopupMenuBrew.h: Removed.
  • platform/brew/SSLKeyGeneratorBrew.cpp: Removed.
  • platform/brew/ScreenBrew.cpp: Removed.
  • platform/brew/ScrollbarThemeBrew.cpp: Removed.
  • platform/brew/ScrollbarThemeBrew.h: Removed.
  • platform/brew/SearchPopupMenuBrew.cpp: Removed.
  • platform/brew/SearchPopupMenuBrew.h: Removed.
  • platform/brew/SharedBufferBrew.cpp: Removed.
  • platform/brew/SharedTimerBrew.cpp: Removed.
  • platform/brew/SoundBrew.cpp: Removed.
  • platform/brew/SystemTimeBrew.cpp: Removed.
  • platform/brew/TemporaryLinkStubs.cpp: Removed.
  • platform/brew/WidgetBrew.cpp: Removed.
  • platform/graphics/brew: Removed.
  • platform/graphics/brew/IconBrew.cpp: Removed.
  • platform/graphics/brew/ImageBrew.cpp: Removed.
  • platform/graphics/brew/IntPointBrew.cpp: Removed.
  • platform/graphics/brew/IntSizeBrew.cpp: Removed.
  • platform/network/brew: Removed.
  • platform/network/brew/DNSBrew.cpp: Removed.
  • platform/network/brew/SocketStreamError.h: Removed.
  • platform/network/brew/SocketStreamHandle.h: Removed.
  • platform/network/brew/SocketStreamHandleBrew.cpp: Removed.
  • platform/network/brew/SocketStreamHandlePrivate.h: Removed.
  • platform/text/brew: Removed.
  • platform/text/brew/TextBoundariesBrew.cpp: Removed.
  • platform/text/brew/TextBreakIteratorBrew.cpp: Removed.
  • platform/text/brew/TextCodecBrew.cpp: Removed.
  • platform/text/brew/TextCodecBrew.h: Removed.

Source/WebKit2:

  • Scripts/generate-forwarding-headers.pl:

Tools:

  • Scripts/webkitpy/common/config/build.py:
  • waf/build/settings.py:
File size: 3.2 KB
Line 
1#! /usr/bin/env python
2
3# Copyright (C) 2009 Kevin Ollivier All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright
9# notice, this list of conditions and the following disclaimer.
10# 2. Redistributions in binary form must reproduce the above copyright
11# notice, this list of conditions and the following disclaimer in the
12# documentation and/or other materials provided with the distribution.
13#
14# THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
15# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
18# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25#
26# JavaScriptCore build script for the waf build system
27
28import commands
29
30from settings import *
31
32def build(bld):
33
34 import Options
35
36 jscore_excludes = ['jsc.cpp', 'ExecutableAllocatorPosix.cpp']
37 jscore_excludes.extend(get_excludes(jscore_dir, ['*CF.cpp', '*Symbian.cpp']))
38 jscore_excludes.extend(get_excludes(jscore_dir, ['*None.cpp']))
39
40 sources = []
41
42 if Options.options.port == "wx":
43 if building_on_win32:
44 jscore_excludes += ['OSAllocatorPosix.cpp', 'ThreadingPthreads.cpp']
45 else:
46 jscore_excludes.append('JSStringRefBSTR.cpp')
47 jscore_excludes.extend(get_excludes(jscore_dir, ['*Win.cpp']))
48
49 full_dirs = get_dirs_for_features(jscore_dir, features=[Options.options.port.lower()], dirs=jscore_dirs)
50
51 includes = common_includes + full_dirs
52 if sys.platform.startswith('darwin'):
53 includes.append(os.path.join(jscore_dir, 'icu'))
54
55 # 1. A simple program
56 jscore = bld.new_task_gen(
57 features = 'cc cxx cstaticlib',
58 includes = '. .. assembler DerivedSources ForwardingHeaders ' + ' '.join(includes),
59 source = sources,
60 target = 'jscore',
61 uselib = 'WX ICU ' + get_config(),
62 uselib_local = '',
63 install_path = output_dir)
64
65 jscore.find_sources_in_dirs(full_dirs, excludes = jscore_excludes)
66
67 obj = bld.new_task_gen(
68 features = 'cxx cprogram',
69 includes = '. .. assembler DerivedSources ForwardingHeaders ' + ' '.join(includes),
70 source = 'jsc.cpp',
71 target = 'jsc',
72 uselib = 'WX ICU ' + get_config(),
73 uselib_local = 'jscore',
74 install_path = output_dir,
75 )
76
77 if building_on_win32:
78 myenv = obj.env.copy()
79 myenv.CXXFLAGS = myenv.CXXFLAGS[:]
80 myenv.CXXFLAGS.remove('/EHsc')
81 obj.env = myenv
82
83 bld.install_files(os.path.join(output_dir, 'JavaScriptCore'), 'API/*.h')
Note: See TracBrowser for help on using the repository browser.