summaryrefslogtreecommitdiffstats
path: root/build/build_config.h
Commit message (Collapse)AuthorAgeFilesLines
* chromeos: Remove CROS_FONTS_USING_BCI.derat@chromium.org2012-08-161-6/+0
| | | | | | | | | | | | | | | | | | | This was a #define that was added when we were deciding whether we should use the bytecode interpreter or FreeType's autohinter when rendering UI text on Chrome OS. The text had different heights depending on which setting was used, so a bunch of constants were special-cased when BCI was enabled. We've been using the autohinter for a long time, and we'll need to update lots of newer code if we decide to switch to BCI someday. BUG=none TEST=UI text looks the same as before TBR=tony@chromium.org,davemoore@chromium.org,zork@chromium.org Review URL: https://chromiumcodereview.appspot.com/10828336 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151928 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build for native client to roll DEPS.bbudge@chromium.org2012-07-041-2/+2
| | | | | | | | BUG=none TEST=compiles in NaCl repo Review URL: https://chromiumcodereview.appspot.com/10696117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145462 0039d316-1c4b-4281-b951-d872f2087c98
* Fix OS_IOS definitionstuartmorgan@chromium.org2012-07-021-2/+2
| | | | | | | | | | | | TARGET_OS_IOS is always defined, either to 1 or 0, so defined() isn't the right check. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10697053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145148 0039d316-1c4b-4281-b951-d872f2087c98
* Add iOS support to common.gypistuartmorgan@chromium.org2012-06-291-2/+13
| | | | | | | | | | | | | | | There are basically three categories of changes here: 1) Most OS==mac becomes OS==mac or OS==ios 2) Some Xcode-related settings move into OS==mac blocks since Xcode is no longer Mac-only 3) Addition of iOS-specific settings (SDK, compile flags, etc) BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10704039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145008 0039d316-1c4b-4281-b951-d872f2087c98
* [MIPS] Adding atomic ops for MIPS architecture.petarj@mips.com2012-06-181-0/+6
| | | | | | | | | | | | Initial commit for atomic operations on MIPS architecture. BUG=https://code.google.com/p/chromium/issues/detail?id=130022 TEST=make chrome Review URL: https://chromiumcodereview.appspot.com/10448043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142663 0039d316-1c4b-4281-b951-d872f2087c98
* linux: don't define NO_HEAPCHECKER for every fileevan@chromium.org2012-01-241-6/+1
| | | | | | | | | | | | | | Rather than globally defining NO_HEAPCHECKER and then checking that in build_config.h, let builds that opt in to heap checking directly set USE_HEAPCHECKER. Result should be equivalent builds but less stuff in the build files. Review URL: http://codereview.chromium.org/9146022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118823 0039d316-1c4b-4281-b951-d872f2087c98
* define OS_BSD on *BSD and replace the ifdefs to use thatrobert.nagy@gmail.com2011-11-151-5/+11
| | | | | | | | | | BUG= TEST=compile Review URL: http://codereview.chromium.org/8564020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109986 0039d316-1c4b-4281-b951-d872f2087c98
* Make use_nss a gyp var so that aura can build w/ nss.davemoore@chromium.org2011-10-051-6/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/8135024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104100 0039d316-1c4b-4281-b951-d872f2087c98
* These are the changes necessary for views to be able to build w/ use_aura ↵davemoore@chromium.org2011-09-221-6/+0
| | | | | | | | | | | implying no gtk. BUG=97131 TEST=views_unittests Review URL: http://codereview.chromium.org/7996008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102335 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Make GTK a dependency again for chrome/aura etc. to make things buildable.sadrul@chromium.org2011-09-211-1/+1
| | | | | | | | | BUG=97131 TEST=none Review URL: http://codereview.chromium.org/7978016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102078 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 102005 and 102009: aura: Explicitly disable GTK.sadrul@chromium.org2011-09-211-1/+1
| | | | | | | | | | | | | | | Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a series of changes required to have chrome on aura build and link without GTK. This CL makes base/ build without GTK. Subsequent CLs will do this for other components. TBR=evan@chromium.org BUG=97131 TEST=none Review URL: http://codereview.chromium.org/7983022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102058 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 102005 - aura: Explicitly disable GTK.sky@chromium.org2011-09-201-1/+1
| | | | | | | | | | | | | | Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a series of changes required to have chrome on aura build and link without GTK. This CL makes base/ build without GTK. Subsequent CLs will do this for other components. BUG=97131 TEST=none Review URL: http://codereview.chromium.org/7904034 TBR=sadrul@chromium.org Review URL: http://codereview.chromium.org/7978007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102015 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Explicitly disable GTK.sadrul@chromium.org2011-09-201-1/+1
| | | | | | | | | | | Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a series of changes required to have chrome on aura build and link without GTK. This CL makes base/ build without GTK. Subsequent CLs will do this for other components. BUG=97131 TEST=none Review URL: http://codereview.chromium.org/7904034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102005 0039d316-1c4b-4281-b951-d872f2087c98
* Allow __pnacl__ target to build code included from Chrome.sehr@google.com2011-08-261-0/+2
| | | | | | | | | | Committing for pdox@google.com. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/7744034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98461 0039d316-1c4b-4281-b951-d872f2087c98
* Remove USE_BASE_DATA_PACK from build_config.h since it's onlytony@chromium.org2011-08-021-3/+1
| | | | | | | | | used in one file. Inline the usage instead. Review URL: http://codereview.chromium.org/7538030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95123 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream android string implementation etc.michaelbai@google.com2011-06-271-3/+17
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7238018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90616 0039d316-1c4b-4281-b951-d872f2087c98
* Implement AES-CTR for NSS.hclam@chromium.org2011-06-241-0/+3
| | | | | | | | | | | Implement AES-128-CTR. BUG=87152 TEST=None Review URL: http://codereview.chromium.org/7056026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90425 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Adjust default font sizes for new hand hinted fonts.nkostylev@chromium.org2010-11-221-0/+6
| | | | | | | | | BUG=chromium-os:8658 TEST=Manual. Review URL: http://codereview.chromium.org/5180002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66999 0039d316-1c4b-4281-b951-d872f2087c98
* Bring up IPC in NaCl.abarth@chromium.org2010-11-121-1/+3
| | | | | | | | | | | | This patch gets a bunch of the IPC and Base libraries compiling (but not linking) in NaCl. There's obviously a bunch more work to do, but this patch is a starting point. Original patch by Eric Seidel. Review URL: http://codereview.chromium.org/4812002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65920 0039d316-1c4b-4281-b951-d872f2087c98
* Make USE_OPENSSL and USE_NSS mutually exclusivejoth@chromium.org2010-10-221-1/+7
| | | | | | | | | | | | | | | | | | - that is, defining use_openssl=1 will now remove all dependency on NSS. This does not impact any of the standard, non-openssl builds. Adds stub implementations of several files that need to be fully implemented in follow up patchs. Firefox import code will need some more substatial refactoring, as it makes little sense to be attempting a firefox import without NSS libraries to hand, however the UI etc has numerous assumption about the presence of this importer. BUG=None TEST=None Review URL: http://codereview.chromium.org/3855004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63506 0039d316-1c4b-4281-b951-d872f2087c98
* Don't define USE_HEAPCHECKER on Windows.thestig@chromium.org2010-10-151-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3815007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62780 0039d316-1c4b-4281-b951-d872f2087c98
* Solaris: various edits towards compiling Chromium on Solaris. Changed ↵evan@chromium.org2010-04-011-1/+1
| | | | | | | | | | | | __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: svn://svn.chromium.org/chrome/trunk/src@43297 0039d316-1c4b-4281-b951-d872f2087c98
* Add the linux_use_heapchecker GYP variable that should turn the tcmalloc heapglider@chromium.org2010-03-261-0/+5
| | | | | | | lleak checker on and off. Review URL: http://codereview.chromium.org/1334002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42740 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the LINUX_TC_MALLOC #define with the existing TC_MALLOC #define.thestig@chromium.org2010-02-261-1/+1
| | | | | | | | BUG=36687 TEST=about:tcmalloc, etc, works when tcmalloc is enabled on Linux. Review URL: http://codereview.chromium.org/660118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40080 0039d316-1c4b-4281-b951-d872f2087c98
* Solaris: Second set adding in Solaris as an OS optionevan@chromium.org2010-02-181-2/+6
| | | | | | | | | | TEST=compiles BUG=30101 Patch by James Choi <jchoi42@pha.jhu.edu>. Review URL: http://codereview.chromium.org/606075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39362 0039d316-1c4b-4281-b951-d872f2087c98
* Use the USE_NSS macro to help porting to FreeBSD, OpenBSD, etc.wtc@chromium.org2010-01-281-2/+3
| | | | | | | | | | | Fix cpplint nits. R=evan,pvalchev BUG=none TEST=No compilation errors. Review URL: http://codereview.chromium.org/558008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37358 0039d316-1c4b-4281-b951-d872f2087c98
* bsds: views/ and webkit/ support for FreeBSD/OpenBSDevan@chromium.org2009-12-311-0/+6
| | | | | | | | | - 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: svn://svn.chromium.org/chrome/trunk/src@35402 0039d316-1c4b-4281-b951-d872f2087c98
* OpenBSD defines.benl@chromium.org2009-12-171-4/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34829 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to build/ from a combination of FreeBSD and OpenBSD patches.evan@chromium.org2009-12-111-10/+8
| | | | | | Review URL: http://codereview.chromium.org/491053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34371 0039d316-1c4b-4281-b951-d872f2087c98
* Added a case to build_config.h to cover compiling for Linux with 16-bit wchars brettw@chromium.org2009-10-221-0/+8
| | | | | | | | | | | | | (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: svn://svn.chromium.org/chrome/trunk/src@29786 0039d316-1c4b-4281-b951-d872f2087c98
* Add a simple about:tcmalloc page that just displays its canned stats.sgk@chromium.org2009-09-221-0/+5
| | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@26816 0039d316-1c4b-4281-b951-d872f2087c98
* Added USE_GDK, set when either TOOLKIT_GTK or TOOLKIT_VIEWS is set butbenl@chromium.org2009-09-071-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@25599 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs out OSExchangeData for views on gtk.sky@chromium.org2009-05-131-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/113321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16012 0039d316-1c4b-4281-b951-d872f2087c98
* Fleshes out WidgetGTK and WindowGTK a bit more. This is still varysky@chromium.org2009-05-071-0/+4
| | | | | | | | | | | rough, but makes things work a bit more. BUG=none TEST=none Review URL: http://codereview.chromium.org/113123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15598 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/99349 for Ryan.sky@chromium.org2009-05-041-0/+1
| | | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@15241 0039d316-1c4b-4281-b951-d872f2087c98
* Add atomic operations for ARM.thestig@chromium.org2009-05-011-1/+7
| | | | | | Review URL: http://codereview.chromium.org/57031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15070 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-111-1/+0
| | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@11449 0039d316-1c4b-4281-b951-d872f2087c98
* WIN32 is defined by windows.h. _WIN32 is defined by the compiler. Fix the ↵maruel@chromium.org2009-02-091-1/+1
| | | | | | | | check to use _WIN32 since it is defined 100% of the time. Review URL: http://codereview.chromium.org/20108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9387 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Detect linux with '__linux__' since 'linux' is not defined with -ansi.deanm@google.com2008-08-141-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@864 0039d316-1c4b-4281-b951-d872f2087c98
* Add defines for the size of wchar_t to build_config.h. Use this in places ↵brettw@google.com2008-08-071-0/+10
| | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@524 0039d316-1c4b-4281-b951-d872f2087c98
* Add process information (ARCH_CPU_*) to build_config.h.deanm@google.com2008-08-051-2/+28
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@371 0039d316-1c4b-4281-b951-d872f2087c98
* OS_WINDOWS conflicted with a macro in Windows' shlwapi.h, use OS_WINmmentovai@google.com2008-08-041-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@339 0039d316-1c4b-4281-b951-d872f2087c98
* Provide OS_ and COMPILER_ macros for OS and compiler differentiationmmentovai@google.com2008-08-041-0/+57
Review URL: http://chrome-reviews.prom.corp.google.com/1108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@338 0039d316-1c4b-4281-b951-d872f2087c98