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

47 Коммитов

Автор SHA1 Сообщение Дата
davemoore@chromium.org 52fde023ab Rationalize linux vs x11 in ui
BUG=236170
TEST=None
R=ben@chromium.org

Review URL: https://codereview.chromium.org/13985039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@197087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-29 18:13:12 +00:00
rjkroege@chromium.org fa3d4d6cbe Add a message pump for ChromeOS Embedded.
A message pump implementation for embedded ChromeOS.

BUG=180666


Review URL: https://chromiumcodereview.appspot.com/12546010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@192703 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-06 04:51:21 +00:00
torne@chromium.org ce5ef5afb0 Reorder platforms in build_config to fix Android on Mac.
The Android port relies on the global define ANDROID to identify that
we are crosscompiling for Android, but __APPLE__ was being checked first
in build_config.h, and so builds on a Mac sometimes ended up with the
wrong OS_* macro defined. Reorder the list so that ANDROID is tested
first, as it will only be set manually when crosscompiling (__APPLE__ is
set internally by the compiler).

BUG=


Review URL: https://chromiumcodereview.appspot.com/13541003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@192303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-04 11:51:27 +00:00
derat@chromium.org 098b6478ab chromeos: Remove CROS_FONTS_USING_BCI.
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: http://src.chromium.org/svn/trunk/src/build@151928 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-16 18:47:56 +00:00
bbudge@chromium.org c5a0211145 Fix build for native client to roll DEPS.
BUG=none
TEST=compiles in NaCl repo
Review URL: https://chromiumcodereview.appspot.com/10696117

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145462 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-04 15:23:39 +00:00
stuartmorgan@chromium.org f2e7c9bf63 Fix OS_IOS definition
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: http://src.chromium.org/svn/trunk/src/build@145148 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-02 15:28:13 +00:00
stuartmorgan@chromium.org fc94f68b89 Add iOS support to common.gypi
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: http://src.chromium.org/svn/trunk/src/build@145008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-29 22:12:20 +00:00
petarj@mips.com dccf3dbdf8 [MIPS] Adding atomic ops for MIPS architecture.
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: http://src.chromium.org/svn/trunk/src/build@142663 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-18 02:47:05 +00:00
evan@chromium.org 33a5af6e69 linux: don't define NO_HEAPCHECKER for every file
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: http://src.chromium.org/svn/trunk/src/build@118823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-24 12:26:40 +00:00
robert.nagy@gmail.com 39ff90bf1a define OS_BSD on *BSD and replace the ifdefs to use that
BUG=
TEST=compile


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-15 00:06:16 +00:00
davemoore@chromium.org 8654876582 Make use_nss a gyp var so that aura can build w/ nss.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104100 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-05 14:34:57 +00:00
davemoore@chromium.org 8b69126dac These are the changes necessary for views to be able to build w/ use_aura implying no gtk.
BUG=97131
TEST=views_unittests

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102335 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-22 19:39:52 +00:00
sadrul@chromium.org f3bba76ca4 aura: Make GTK a dependency again for chrome/aura etc. to make things buildable.
BUG=97131
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 03:01:09 +00:00
sadrul@chromium.org ef323b60a0 Reland 102005 and 102009: aura: Explicitly disable GTK.
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: http://src.chromium.org/svn/trunk/src/build@102058 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 00:17:19 +00:00
sky@chromium.org 39c9343ddc Revert 102005 - aura: Explicitly disable GTK.
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: http://src.chromium.org/svn/trunk/src/build@102015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:56:51 +00:00
sadrul@chromium.org be2c499b31 aura: Explicitly disable GTK.
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: http://src.chromium.org/svn/trunk/src/build@102005 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:29:52 +00:00
sehr@google.com 777a44b736 Allow __pnacl__ target to build code included from Chrome.
Committing for pdox@google.com.
BUG=none
TEST=trybots

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98461 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-26 19:03:20 +00:00
tony@chromium.org 87e1efc7a5 Remove USE_BASE_DATA_PACK from build_config.h since it's only
used in one file.  Inline the usage instead.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95123 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-02 18:53:53 +00:00
michaelbai@google.com e729f35f20 Upstream android string implementation etc.
BUG=
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@90616 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-06-27 19:13:10 +00:00
hclam@chromium.org a081405db0 Implement AES-CTR for NSS.
Implement AES-128-CTR.

BUG=87152
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@90425 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-06-24 20:46:06 +00:00
nkostylev@chromium.org 78304238cc [cros] Adjust default font sizes for new hand hinted fonts.
BUG=chromium-os:8658
TEST=Manual.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@66999 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-22 20:57:18 +00:00
abarth@chromium.org a01fae473b Bring up IPC in NaCl.
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: http://src.chromium.org/svn/trunk/src/build@65920 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-12 08:37:08 +00:00
joth@chromium.org 267b821acb Make USE_OPENSSL and USE_NSS mutually exclusive
- 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: http://src.chromium.org/svn/trunk/src/build@63506 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-22 13:12:34 +00:00
thestig@chromium.org 7c8ccb9abc Don't define USE_HEAPCHECKER on Windows.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3815007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@62780 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-15 20:15:04 +00:00
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