Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
evan@chromium.org ca7411c2ef Solaris: various edits towards compiling Chromium on Solaris. Changed __Solaris__ to __sun. Defined NAME_MAX as MAXNAMLEN for systems where it is undefined.
BUG=30101
TEST=compiles
Patch by James Choi <jchoi42 at pha.jhu.edu>

Review URL: http://codereview.chromium.org/652166

git-svn-id: http://src.chromium.org/svn/trunk/src/build@43297 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-01 00:35:15 +00:00
glider@chromium.org 52585778e0 Add the linux_use_heapchecker GYP variable that should turn the tcmalloc heap
lleak checker on and off.
Review URL: http://codereview.chromium.org/1334002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42740 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-26 09:41:22 +00:00
thestig@chromium.org ff1b7d16a1 Merge the LINUX_TC_MALLOC #define with the existing TC_MALLOC #define.
BUG=36687
TEST=about:tcmalloc, etc, works when tcmalloc is enabled on Linux.
Review URL: http://codereview.chromium.org/660118

git-svn-id: http://src.chromium.org/svn/trunk/src/build@40080 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-26 00:31:08 +00:00
evan@chromium.org d442d562e1 Solaris: Second set adding in Solaris as an OS option
TEST=compiles
BUG=30101
Patch by James Choi <jchoi42@pha.jhu.edu>.

Review URL: http://codereview.chromium.org/606075

git-svn-id: http://src.chromium.org/svn/trunk/src/build@39362 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-18 16:11:37 +00:00
wtc@chromium.org 1bcb873f4f Use the USE_NSS macro to help porting to FreeBSD, OpenBSD, etc.
Fix cpplint nits.

R=evan,pvalchev
BUG=none
TEST=No compilation errors.
Review URL: http://codereview.chromium.org/558008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@37358 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-28 00:32:10 +00:00
evan@chromium.org 24fb92782e bsds: views/ and webkit/ support for FreeBSD/OpenBSD
- add a TOOLKIT_USES_GTK #define to catch GTK and Views+GTK
- lots of ifdef twiddling

Review URL: http://codereview.chromium.org/519030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35402 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-31 01:03:52 +00:00
benl@chromium.org 6199ed3877 OpenBSD defines.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@34829 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-17 14:49:39 +00:00
evan@chromium.org 2fd1a8253c Changes to build/ from a combination of FreeBSD and OpenBSD patches.
Review URL: http://codereview.chromium.org/491053

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-11 20:04:06 +00:00
brettw@chromium.org e7fa5e93a9 Added a case to build_config.h to cover compiling for Linux with 16-bit wchars
(alongside the existing cases for Windows with 16-bit wchars and Linux with 
32-bit wchars) so that it becomes possible to compile and link the Chromium 
base together with third-party libraries that require short wchars. 

BUG=none
TEST=none
Original review http://codereview.chromium.org/315004
Patch by mdsteele@google.com

git-svn-id: http://src.chromium.org/svn/trunk/src/build@29786 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-22 18:04:17 +00:00
sgk@chromium.org 004bac3497 Add a simple about:tcmalloc page that just displays its canned stats.
Add USE_TCMALLOC to control its inclusion.  Make browser depend on
tcmalloc to get the PERFTOOLS_DLL_DECL definition.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/216033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26816 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-22 16:16:39 +00:00
benl@chromium.org 3941bffa47 Added USE_GDK, set when either TOOLKIT_GTK or TOOLKIT_VIEWS is set but
not OS_WIN.

Added USE_X11. Set when OS_LINUX or OS_FREEBSD is set.

Added USE_BASE_DATA_PACK for base::DataPack usage, set for OS_MACOSX,
OS_LINUX or OS_FREEBSD.

Added USE_NSS for ... nss (for crypto). Windows and MacOS use
platform-specific libraries.

All of the above cause slightly odd formulations like:

#if defined(OS_WIN)
...
#elif defined(USE_BASE_DATA_PACK)
...
#endif

Possibly should also define USE_DLL_FOR_DATA, etc? Or something?

Wrapped various references to struct stat64 and stat64() to use struct
stat and stat() for FreeBSD - but a "man stat64" on Linux suggests
that we could do the same thing for at least Linux, too, and perhaps
eliminate the wrapper?


git-svn-id: http://src.chromium.org/svn/trunk/src/build@25599 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-07 16:39:46 +00:00
sky@chromium.org ce336ba23e Stubs out OSExchangeData for views on gtk.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/113321

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16012 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-13 23:21:45 +00:00
sky@chromium.org b26d094122 Fleshes out WidgetGTK and WindowGTK a bit more. This is still vary
rough, but makes things work a bit more.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/113123

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15598 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-07 23:41:29 +00:00
sky@chromium.org e68a70a0ef Lands http://codereview.chromium.org/99349 for Ryan.
Comments from Ryan:

Some small changes to get chromium building on ARM. I tested these using the
standard Linux tool chain and crosstools-ng.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/99365

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15241 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-04 21:13:42 +00:00
thestig@chromium.org 467deed756 Add atomic operations for ARM.
Review URL: http://codereview.chromium.org/57031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@15070 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-01 17:57:09 +00:00
deanm@chromium.org a4312d9d07 NO CODE CHANGE
Normalize end of file newlines in build/ media/ printing/ testing/ and tools/.  All files end in a single newline.

Review URL: http://codereview.chromium.org/43082


git-svn-id: http://src.chromium.org/svn/trunk/src/build@11449 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-11 15:17:55 +00:00
maruel@chromium.org 6e71ac1982 WIN32 is defined by windows.h. _WIN32 is defined by the compiler. Fix the check to use _WIN32 since it is defined 100% of the time.
Review URL: http://codereview.chromium.org/20108

git-svn-id: http://src.chromium.org/svn/trunk/src/build@9387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-02-09 15:42:08 +00:00
license.bot 335bf31598 Use a more compact license header in source files.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@1287 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-24 00:55:55 +00:00
deanm@google.com 2480fda82d Detect linux with '__linux__' since 'linux' is not defined with -ansi.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@864 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-14 11:21:28 +00:00
brettw@google.com 0db2852eb7 Add defines for the size of wchar_t to build_config.h. Use this in places where we currently have an OS-specific check.
Remove all WIN32 ifdefs from base and replace them with proper defined(OS...).

I also fixed random style bits when I encountered them. I made major style fixes to string16.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-07 18:31:40 +00:00
deanm@google.com 807421862a Add process information (ARCH_CPU_*) to build_config.h.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-05 11:56:30 +00:00
mmentovai@google.com d33d43515b OS_WINDOWS conflicted with a macro in Windows' shlwapi.h, use OS_WIN
git-svn-id: http://src.chromium.org/svn/trunk/src/build@339 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-04 21:32:57 +00:00
mmentovai@google.com 189150f004 Provide OS_ and COMPILER_ macros for OS and compiler differentiation
Review URL: http://chrome-reviews.prom.corp.google.com/1108

git-svn-id: http://src.chromium.org/svn/trunk/src/build@338 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-04 21:16:50 +00:00