Commit Graph

37 Commits

Author SHA1 Message Date
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Stephan Bergmann
c5c3b6d951 Improved error reporting 2012-04-18 14:43:04 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Michael Meeks
eea51b7622 minor documentation tweaks 2012-03-09 17:03:50 +00:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Stephan Bergmann
b7da830447 Better exception message. 2012-01-26 11:01:08 +01:00
Stephan Bergmann
dee53a32a9 Temporary hack around cppu_detail_getCppuType variants violating ODR.
Which causes cppuhelper to pick wrong variant from other library, now that its own
symbols are no longer reduced to private on Mac OS X.  As a temporary hack, emit
cppu_detail_getCppuType for the relevant types always as fully comprehensive; should
be revisited when improving types.rdb format (routinely generating C++ information
for certain UNO types into a dedicated library?).  Requires a fix to xmlreader and
a fix to forms that looks like a Mac OS X GCC bug.
2012-01-02 15:33:14 +01:00
Tor Lillqvist
e3ab0fd901 osl_unmapFile can't work for files bundled inside the .apk on Android
On Android, when an app is installed, arbitrary files bundled in the
app won't be unpacked into actual separate files in the file
system. They will exist only as archive entries in the .apk file
(which is a zip archive).

The SDK tooling puts such files under the /assets folder in the
.apk. The LibreOffice bootstrapping code for Android maps the .apk
file into memory.

osl_openFile() knows about the /assets special case, and uses a
separate abstraction for such memory-mapped files.

Obviously, when producing an .apk, one needs to make sure these
bundled files are not compressed, if one wants to be able to use them
directly from the memory-mapped .apk file. We do that in our test and
sample Android projects.

When mapping such files under /assets , just return a pointer to the
file's location inside the mapped .apk archive.

We can't use the old osl_unmapFile() on such mapped files, as that
would unexpectedly unmap fairly arbitrary pages of the .apk mapping,
wreaking havoc on later use of the same pages.

So, introduce a new osl_unmapMappedFile() function that takes also the
oslFileHandle originally passed to osl_mapFile(). Use this instead in
the few places where the code actually called osl_unmapFile(). Make
sure osl_mapFile() is nonexistent on Android.
2011-12-21 14:08:48 +02:00
Stephan Bergmann
c4e5203999 Code modules no longer depend on stlport. 2011-12-16 17:45:10 +01:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Stephan Bergmann
438054572e Adapted to new assertion/logging mechanisms. 2011-11-29 22:59:59 +01:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Michael Stahl
d63d64c4de empty a bunch of d.lst files 2011-11-21 22:46:17 +01:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Norbert Thiebaud
d64bbd6bf8 detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly set 2011-08-19 18:29:07 -05:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Takeshi Abe
3661f535da Emacs modeline compatible with vim's one 2011-08-05 11:08:06 +09:00
Tor Lillqvist
1ce8037044 Add consistent Emacs and vim mode lines 2011-07-30 23:03:36 +03:00
Bjoern Michaelsen
58b501f5cf postmerge fixes for gnumake4 2011-07-22 21:05:27 +02:00
Bjoern Michaelsen
fcb8c3c297 resyncing to master 2011-07-21 18:59:03 +02:00
Tor Lillqvist
a65ee94f90 MinGW fixup
Don't use any i prefix for import library, and deliver it.
2011-06-21 00:02:11 +03:00
Bjoern Michaelsen
24af5f6248 gnumake4: fix buildbreakers from merge 2011-06-20 13:24:15 +02:00
Bjoern Michaelsen
a82eae375e Merge branch 'master' into feature/gnumake4
Conflicts:
	xmlreader/prj/d.lst
2011-06-19 11:57:43 +02:00
Hans-Joachim Lankenau
4313f43185 ause130: #i117218# change .idl handling to gnu make 2011-06-18 11:30:46 +02:00
Michael Stahl
3fac4d5f53 gnumake4: #i116959#: kill gb_LinkTarget_set_{defs,cflags,cxxflags,objcxxflags} [hg:389f5e8ec8cd] 2011-06-17 14:24:10 +02:00
Michael Stahl
2b095223ce gnumake4: xmlreader: fix build.lst [hg:ab8134c0d177] 2011-06-17 01:26:23 +02:00
Mathias Bauer
ac61a8dd8e CWS gnumake4: convert xmlreader to new build system [hg:751b4a1bff7b] 2011-06-17 01:07:42 +02:00
Tor Lillqvist
7862e397af Drop %_EXT% which was always empty 2011-06-03 13:28:35 +03:00
Francisco Saito
0d730cba6f drop bogus executable flag from idl/build/src and config files 2011-03-29 21:47:37 +01:00
sb
739343f846 sb131: #i115203# note that xmlreader is semi-private and unversioned for now 2010-10-22 16:19:33 +02:00
Vladimir Glazunov
3db3d0728c CWS-TOOLING: integrate CWS sb129 2010-09-29 10:24:13 +02:00
sb
d9f453f735 sb129: #i113189# adjusted comments 2010-09-16 11:00:47 +02:00
sb
597dfa1917 sb129: #i113189# move XmlReader from configmgr to URE 2010-09-10 13:09:38 +02:00