vfs: check userland buffers before reading them.
[haiku.git] / src / apps / webpositive / Jamfile
blobf06ac60a072453d6aa9b9098281cc4294eeb78c3
1 SubDir HAIKU_TOP src apps webpositive ;
3 SubDirC++Flags $(defines) -Wno-error=sequence-point --std=c++11 ;
4 SubDirCcFlags $(defines) -Wno-error=sequence-point ;
6 # source directories
7 local sourceDirs =
8         autocompletion
9         support
10         tabview
13 local sources =
14         # autocompletion
15         AutoCompleter.cpp
16         AutoCompleterDefaultImpl.cpp
17         TextViewCompleter.cpp
19         # support
20         BaseURL.cpp
21         BitmapButton.cpp
22         BookmarkBar.cpp
23         FontSelectionView.cpp
24         SettingsMessage.cpp
26         # tabview
27         TabContainerView.cpp
28         TabManager.cpp
29         TabView.cpp
31         AuthenticationPanel.cpp
32         BrowserApp.cpp
33         BrowserWindow.cpp
34         BrowsingHistory.cpp
35         ConsoleWindow.cpp
36         CookieWindow.cpp
37         CredentialsStorage.cpp
38         DownloadProgressView.cpp
39         DownloadWindow.cpp
40         SettingsKeys.cpp
41         SettingsWindow.cpp
42         URLInputGroup.cpp
45 # We build WebPositive only for one architecture -- the first architecture for
46 # which it is possible.
47 local architectureObject ;
48 for architectureObject in [ MultiArchSubDirSetup ] {
49         on $(architectureObject) {
50                 if ! [ FIsBuildFeatureEnabled webkit ] {
51                         continue ;
52                 }
54                 UseBuildFeatureHeaders webkit ;
56                 local sourceDir ;
57                 for sourceDir in $(sourceDirs) {
58                         SEARCH_SOURCE
59                                 += [ FDirName $(HAIKU_TOP) src apps webpositive $(sourceDir) ] ;
60                 }
62                 Includes [ FGristFiles $(sources) ]
63                         : [ BuildFeatureAttribute webkit : headers ] ;
64                         # Dependency needed to trigger downloading/unzipping the package
65                         # before compiling the files.
67                 # private OS headers
68                 UseLibraryHeaders icon ;
69                 UsePrivateHeaders interface shared tracker ;
70                 SubDirHdrs $(HAIKU_TOP) src kits tracker ;
72                 Application WebPositive :
73                         $(sources)
74                         :
75                         [ BuildFeatureAttribute webkit : libraries ]
76                         [ TargetLibstdc++ ] localestub shared
77                         [ MultiArchDefaultGristFiles libcolumnlistview.a ]
78                         be network bnetapi tracker translation
79                         :
80                         WebPositive.rdef
81                         ;
83                 DoCatalogs WebPositive :
84                         x-vnd.Haiku-WebPositive
85                         :
86                         $(sources)
87                         ;
89                 EnableBuildFeatures webpositive ;
91                 break ;
92         }