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

450 Коммитов

Автор SHA1 Сообщение Дата
ben@chromium.org 68e846ae48 Canvas refactoring part 2.
- Rename Canvas to CanvasSkia.
- Create a subclass Canvas that inherits from CanvasSkia for compatibility.

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@50664 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-23 23:04:23 +00:00
piman@chromium.org 6524f01c9f Enable gpu on all targets
Review URL: http://codereview.chromium.org/2853011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@50519 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-22 20:43:53 +00:00
pkasting@chromium.org 46682ed379 Make right-clicking the omnibox with nothing selected select all (just like left-clicking).
Eat middle-mouse clicks on the omnibox to avoid tripping a CRichEditCtrl bug.

Original patch by Jared Wein (see http://codereview.chromium.org/2241003 ), r=me.

BUG=6873, 30134
TEST=Middle-click the omnibox, then try to click it (or any other UI element), and make sure the click has an effect. Select a portion of the URL and right-click on the omnibox. Notice that the selection does not change. Clear the selection and right-click on the omnibox and notice that the URL is automatically selected.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@50420 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-22 02:01:57 +00:00
victorw@chromium.org d360c40a13 -. Add new variables for multi dll build:
1. multi_dll_build: whether or not to build multi dll version.
   2. component: used for library that can be built as DLL.
        component is set to shared_library if multi_dll_build==1,
        in other cases, it is set to "<(library)".
-. Fix win_use_allocator_shim comments and some MSVCRT related settings.

Note: this patch just adds new variables. They are not ready to use yet.

R=darin
BUG=46311
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@50362 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-21 18:06:52 +00:00
thomasvl@chromium.org 5738fbef4d [Mac] force -Wextra on for all chromium code. Not bothering with a local switch since there shouldn't be a reason to allow overrides of this.
BUG=34160
TEST=none
Review URL: http://codereview.chromium.org/2854013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@50355 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-21 15:19:04 +00:00
thakis@chromium.org 3a7aa84e14 Revert 49982 - patch
TBR=thakis@chromium.org
Review URL: http://codereview.chromium.org/2825006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@50002 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-16 18:39:53 +00:00
thakis@chromium.org e7f4ce0d56 patch
git-svn-id: http://src.chromium.org/svn/trunk/src/build@49982 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-16 18:25:37 +00:00
thomasvl@chromium.org 0d57e6c794 Add support for turning on -Wextra on the mac. Doesn't compile that way, but makes it easier to enable it in a build to start working toward it.
BUG=34160
TEST=none
Review URL: http://codereview.chromium.org/2822004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49785 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-15 11:51:06 +00:00
hclam@chromium.org 00782d6763 Enable remoting unittests to run on build bots
Renamed chromoting.gyp to remoting.gyp.

Also enabled remoting_unittests to be executed on the build bots.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49609 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-11 23:08:17 +00:00
jam@chromium.org 997861e577 Second try of building a version of base with -fPIC for internal plugin. Credit to bradnelson.
Review URL: http://codereview.chromium.org/2767010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49597 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-11 21:30:37 +00:00
jam@chromium.org 4f88a8a119 Revert 49503 - Fix build failure from previous change.
Review URL: http://codereview.chromium.org/2796004

TBR=jam@chromium.org
Review URL: http://codereview.chromium.org/2790010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49504 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-11 05:40:10 +00:00
jam@chromium.org ee0c2fad60 Fix build failure from previous change.
Review URL: http://codereview.chromium.org/2796004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49503 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-11 05:24:19 +00:00
hclam@chromium.org d9b19402d4 Enable chromoting in the build by default
Set chromoting to be built by default. Also defines a ENABLE_CHROMOTING flag
if chromoting is enabled in the build system so we can exclude chromoting
if we don't want chromoting code to be linked in.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49482 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-11 00:39:00 +00:00
mdm@chromium.org 9bcedc00b3 Reland r49135: Linux: enable compiling GNOME Keyring and KWallet integration. It's still unused.
BUG=12351,25404
TEST=GNOME Keyring and KWallet get compiled, but add no new library dependencies

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49370 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-10 05:45:01 +00:00
apatrick@chromium.org 57892e2e85 Added EGL based GLContext.
Python script to generate code to dynamically bind to GL functions (native GL, OSMesa, EGL or mock GL for unit tests). This replaces GLEW because GLEW doesn't bind to the GLES dialect of GL.
Moved the mock GL code into app/gfx/gl.
Updated the GPU code and AcceleratedSurface to use the new GL bindings.


TEST=trybots
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49332 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-09 22:06:15 +00:00
apatrick@chromium.org 317e30f7d6 Added ANGLE to Windows build.
Also added paths to DirectX SDK to common.gypi because ANGLE requires headers and libraries not part of the Windows Platform SDK.

TEST=trybots
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49323 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-09 21:31:37 +00:00
sergeyu@chromium.org 2004673f0c Add chromoting option for gyp.
TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49201 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-08 22:43:45 +00:00
mdm@chromium.org ce51d15cde Revert r49135: Linux: enable compiling GNOME Keyring and KWallet integration. Some of the bots (memory, ARM) didn't get the new package installed yet.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-08 08:41:01 +00:00
mdm@chromium.org f9af46da9c Linux: enable compiling GNOME Keyring and KWallet integration. It's still unused.
BUG=12351,25404
TEST=GNOME Keyring and KWallet get compiled, but add no new library dependencies

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49135 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-08 01:25:58 +00:00
jam@chromium.org 38c7ebc682 Generate .dSYM bundles for loadable_modules as well.
Review URL: http://codereview.chromium.org/2468002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@48642 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-01 18:30:25 +00:00
mbelshe@chromium.org d6c4d13373 Enable warning 4389 as an error on windows builds. This will make
windows builds more similar to linux/mac, which already treat signed/ 
unsigned equality comparisons as warnings (and hence errors). 

BUG=44471
TEST=none 

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@48395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-27 15:38:07 +00:00
rafaelw@chromium.org af4e7829ba Revert "Another dependency the bbot missed!!!"
This reverts commit 161f7fd3bdd425167af9fe26fdc5373a2ff44c98.

Revert "Missed a file as part of checkin for r48186"

This reverts commit cff86beba5938209393a6c3bccced62a7f3ff36b.

Revert "Enable warning 4389 as an error on windows builds.  This will make"

This reverts commit c78936bcfc65b98edf288191d927a495b0364621.

TBR=mbelshe

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@48238 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-26 01:52:40 +00:00
mbelshe@chromium.org b1ac112618 Enable warning 4389 as an error on windows builds. This will make
windows builds more similar to linux/mac, which already treat signed/
unsigned equality comparisons as warnings (and hence errors).

BUG=44471
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@48186 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-25 20:21:16 +00:00
oshima@chromium.org cb96852cb0 Fix bad_alloc linkage error on chromeos valgrind bots. part 1.
Seems like some of test binaries are now big enough that gold cannot link  with gc-sectinos.
This CL add gyp variable to turn it off. I'll add this  flag to master.cfg in separate CL.

BUG=44241
TEST=chromeos valgrind bot should be able to link test binaries.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@47351 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-15 01:02:51 +00:00
timurrrr@chromium.org 8ec611b599 Update dynamic annotations and move them to base/third_party
Review URL: http://codereview.chromium.org/1992005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@47252 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-14 08:24:42 +00:00
scherkus@chromium.org 65cf6cf08a Added #ifdef to allow Chromium to enable proprietary codecs.
We need to enable MP4 and MP3 support on tegra2 boards. This change will let us enable this support via a flag in make.conf.

Patch by jneddo@nvidia.com:
http://codereview.chromium.org/1942003/show

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@46824 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-10 17:04:48 +00:00
mad@google.com 9106fa8d9a Committing for jeffbailey.
Excerpt from: http://codereview.chromium.org/1991004/show
----------------
Put version information into header file for easy consumption by RC files.

RC files can use an #include to pull in this header, rather than being each
dynamically generated.

BUG=none
TEST=none
----------------

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@46736 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-07 20:41:38 +00:00
timurrrr@chromium.org b835f599e5 Quick fix: explicitly specify /Ob0 to avoid inlining if InlineFunctionExpansion==0; add 'default' value
This is a follow-up for http://codereview.chromium.org/1995004
Looks like InlineFunctionExpansion=0 means "default", not /Ob0 for MSVS...
TEST=trybots, tried locally with "vim base/base.vcproj"
Review URL: http://codereview.chromium.org/2041002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@46682 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-07 13:19:15 +00:00
timurrrr@chromium.org 596b2dd121 Make RuntimeLibrary adjustable for Win/Debug build
TEST=trybot
Review URL: http://codereview.chromium.org/1995004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@46664 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-07 07:41:21 +00:00
piman@chromium.org 47f0cf8fcc remove the logic to compute enable_gles since it's broken;
add enable_eglimage

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@45889 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-29 00:18:50 +00:00
tony@chromium.org 09beff9fbf Add a gyp flag for disabling sse2. This makes it easier for
distros to disable sse2.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@45777 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-28 02:14:22 +00:00
evan@chromium.org c89adbc3e2 gyp: unify toolkit_views usage
Now that we can rely on toolkit_views to be set when appropriate,
we can simplify a bunch of logic in gyp.

TEST=compiles

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@45727 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-27 18:31:31 +00:00
evan@chromium.org fb8c5dbc25 Fix the toolkit_views gyp variable define mania.
This makes it so toolkit_views==1 is always true for views builds,
either on Windows or ChromeOS.

Three levels of nesting are needed for this chained conditional:
1) Set the default value of ChromeOS.
2) Depending on ChromeOS value, set the default value of toolkit_views.
3) Depending on toolkit_views value, set the rest of the build variables.

This should have no affect on the build, but will allow subsequent cleanup.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@45639 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-26 22:58:17 +00:00
piman@chromium.org f2345dc935 add ENABLE_GLES flag for conditional complilation of GLES
related code

Review URL: http://codereview.chromium.org/1708006
Patch from Wei Jia <wjia@chromium.org>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@45635 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-26 22:33:54 +00:00
evan@chromium.org dfdbc017b7 bsd: refactor XDG bits of linux_util into a shared file.
This allows the shared code to build on the BSDs without
them needing to build _linux files.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@45380 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-22 23:28:05 +00:00
willchan@chromium.org 821fb79248 Re-enable TCMalloc on Linux.
BUG=36687

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@45219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-21 19:19:45 +00:00
apatrick@chromium.org 0890d2ac80 New experimental Pepper device API.
- makes device contexts opaque to the plugin
- can get / set multiple attributes and flush with a single call (and underlying IPC message exchange)
- currently works in parallel with old API
- adapted pepper test plugin to use new API if use_new_npdevice_api=1

TEST=trybots, visual confirmation that pepper test plugin works with new API
BUG=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@44840 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-16 22:40:37 +00:00
glider@chromium.org 923695881e Add the linux_use_debugallocation flag.
Setting this flag to 1 shall force the use of debugallocation.cc instead of
tcmalloc.cc
The flag is off by default because it still needs testing.

BUG=30715
Review URL: http://codereview.chromium.org/1513043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@44759 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-16 08:04:03 +00:00
fbarchard@chromium.org f181960040 Enable SSE2 compilation for ChromeOS.
In practice the <video> tag needs this for faster YUV conversion/filtering.
BUG=19113
TEST=Test youtube html5 with chromeos (not chromiumos).  It should not crash, and it should be faster.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@44740 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-16 02:00:44 +00:00
thestig@chromium.org 3b2e5d7913 POSIX: Implement the fastbuild option.
BUG=none
TEST=Enabling fastbuild -> faster debug build.
Review URL: http://codereview.chromium.org/1558043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@44543 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-14 21:37:40 +00:00
fbarchard@chromium.org ff2d4135d6 Enable MMX for Chrome
BUG=41259,19113
TEST=build code that uses mmx intrinsics.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@44325 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-13 04:03:10 +00:00
willchan@chromium.org 822696122c Turn off TCMalloc for Linux to fix plugin crashes.
BUG=38692

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@44105 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-09 18:26:27 +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
willchan@chromium.org 5a96799c46 Disable executable stack on Linux.
BUG=29824
TEST=
william@penguin:~/src/chromium2/src$ out/Debug/chrome --user-data-dir=/tmp/foo&
[2] 28679
william@penguin:~/src/chromium2/src$ cat /proc/28679/maps | grep stack
7fff3fc4d000-7fff3fc63000 rw-p 00000000 00:00 0                          [stack]
william@penguin:~/src/chromium2/src$ eu-readelf -l out/Debug/chrome | grep STACK GNU_STACK
0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW  0x8

eu-readelf shows that the GNU_STACK segment indicates the stack should be RW (no X for execute).
`cat/proc/{pid}/maps | grep stack` shows that the stack mapping is indeed RW (if the dynamic linker encounters a shared library that needs an executable stack, it will globally enable executable stacks.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@43150 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-30 23:53:10 +00:00
evan@chromium.org ffdf4fc949 Flip seccomp sandbox back off, now that we have some perf numbers.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@43140 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-30 22:46:21 +00:00
evan@chromium.org f7f2d4ced6 linux: enable seccomp sandbox by default
It seems the best way to keep the seccomp sandbox working is to have
everyone's development environment have it on by default.  So we turn
on the seccomp sandbox, but only for non-official builds.

If the build-time flag is set: --disable-seccomp-sandbox turns it off.
If the build-time flag is *not* set: --enable-seccomp-sandbox turns it on.

BUG=36133

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@43122 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-30 19:47:41 +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
evan@chromium.org 96cdc5b1ca Build fix. Revert -Wextra.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@42709 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-26 00:48:05 +00:00
evan@chromium.org 6e0ba2b97a linux: turn on -Wextra
This is a followup to an earlier change (r38266) which did most of the
warning-related cleanup.  This one just flips the flag, and fixes some
new warnings that crept in during the window while the flag was off.

Second try, now with some libpng fixes.

BUG=34160

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42700 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-26 00:03:50 +00:00
evan@chromium.org 9771e7a5b1 Revert "linux: turn on -Wextra"
Compiled locally and on trybots but failed on builder?!

This reverts commit r42688.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42689 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-25 22:58:47 +00:00
evan@chromium.org 42122df5d9 linux: turn on -Wextra
This is a followup to an earlier change (r38266) which did most of the
warning-related cleanup.  This one just flips the flag, and fixes some
new warnings that crept in during the window while the flag was off.

BUG=34160

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42688 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-25 22:53:51 +00:00
jshin@chromium.org 23f9f38e6d Remove Oriya from the list of UI languages for now because we're not getting Oriya translation updated any more.
BUG=37562
TEST=On Windows, 'chrome --lang=or' will bring up English Chrome.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42655 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-25 19:38:23 +00:00
rsesek@chromium.org 295fc07bf1 Fix some gyp errors found with --check.
Running check will error out until NaCl problems are fixed (CL pending).

TEST=src/build/gyp_chromium --check

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-24 22:06:35 +00:00
willchan@chromium.org b71c31a28a Enable TCMalloc on Linux by default.
BUG=36687

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@41457 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-12 19:10:32 +00:00
piman@chromium.org 86ba57b19f ARM: add arm_fpu option to specify which version of vfp to use
Review URL: http://codereview.chromium.org/669131

git-svn-id: http://src.chromium.org/svn/trunk/src/build@40699 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-05 01:41:56 +00:00
thestig@chromium.org 9944007d9a Detect python version using /usr/lib/libpython$(ver).so.1.0 instead of /usr/bin/python$(ver). /usr/bin/python may not be installed, i.e. on ARM buildbots.
BUG=none
TEST=ARM buildbots go green.
TBR=zelidrag
Review URL: http://codereview.chromium.org/669069

git-svn-id: http://src.chromium.org/svn/trunk/src/build@40631 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-04 17:07:54 +00:00
thestig@chromium.org e9c8f168cd Build pyauto only if the architecture of python binary matches.
BUG=none
TEST=Building 32-bit pyauto on 64-bit Linux with a 32-bit sysroot works.
Review URL: http://codereview.chromium.org/660443

git-svn-id: http://src.chromium.org/svn/trunk/src/build@40630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-04 16:42:23 +00:00
zelidrag@chromium.org 4054779db8 Fixed pyauto build for chromeos. Added proper sysroot and ability to specify python version.
TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@40319 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-01 23:39:36 +00:00
piman@chromium.org 6a47674a88 Separate neon flags from armv7, because some platforms have armv7a but no neon.
For ffmpeg, I copied the "arm" configs (which include neon) into "arm-neon" configs, and changed HAVE_NEON=1 to 0 in the existing ones. Also, I removed the explicit cflags in ffmpeg.gyp since they are already set in common.gypi

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@40163 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-26 21:53:43 +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
thestig@chromium.org 4c08803cc5 Linux: Remove -fno-asynchronous-unwind-tables. We need the eh_frame section to obtain backtraces on 64-bit.
BUG=none
TEST=Sane backtraces in 64-bit stacktraces.
Review URL: http://codereview.chromium.org/626013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@39320 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-18 02:05:28 +00:00
evan@chromium.org 7e26360471 media: remove redundant gyp excludes
I moved all of these general patterns to common.gypi.
Also rearrange the common.gypi patterns to cover more common
Linux patterns.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@39236 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-17 18:03:13 +00:00
mark@chromium.org 6ba019e811 Ignore .m files in addition to .mm on non-Macs.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/594031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@38680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-10 22:36:26 +00:00
mark@chromium.org e216fc11e6 Let the chromium_code variable be applied in target scope in addition to .gyp
file scope.

This extends r38519, which was incomplete.

To resolve bug 33186, I am trying to turn test_shell.gyp into test_shell.gypi,
and have webkit.gyp include it.  webkit.gyp is not chromium_code, but the
targets in test_shell.gypi are.

BUG=33186
TEST=builds still work, -Werror and friends are still applied (or not)
     correctly
Review URL: http://codereview.chromium.org/600047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@38658 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-10 20:43:18 +00:00
mark@chromium.org cc33daee54 Move build/external_code.gypi into build/common.gypi.
BUG=35184
TEST=none
Review URL: http://codereview.chromium.org/593025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@38626 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-10 17:43:28 +00:00
mark@chromium.org 49ecca45e5 Let the chromium_code variable be applied in target scope in addition to .gyp
file scope.

To resolve bug 33186, I am trying to turn test_shell.gyp into test_shell.gypi,
and have webkit.gyp include it.  webkit.gyp is not chromium_code, but the
targets in test_shell.gypi are.

BUG=33186
TEST=builds still work, -Werror and friends are still applied (or not) correctly
Review URL: http://codereview.chromium.org/595010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@38519 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-09 22:06:15 +00:00
evan@chromium.org c5387b293b linux: build with -Wextra
95% of this is removing "const" from return types, but turning this
on found one bug!  (A "for" loop that expected its iterator to go negative but
which was using an unsigned type.)

BUG=34160

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@38266 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-05 22:23:20 +00:00
alokp@chromium.org 6c6c22ee8a Changes necessary to compile gpu demos on linux. It is not functional yet just compiling.
BUG=26099
Review URL: http://codereview.chromium.org/552240

git-svn-id: http://src.chromium.org/svn/trunk/src/build@37977 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-03 17:02:27 +00:00
kbr@google.com 889e7a1dca [GPU] Get GPU process running on the mac
Initial port of GPU process / plugin to Mac OS X. Uses new IOSurface
APIs and therefore currently runs only on 10.6. Alternate strategy
will need to be devised for 10.5.

Slight UI issues remain such as GPU plugins initially showing up in
the wrong place on the page. These will be fixed in follow-on bugs.

Minimal changes made to command buffer code to get it to compile on
Mac OS X. Commented out use of nested anonymous namespaces in
gles2_cmd_decoder.cc which were causing the linker to crash with a seg
fault.

Refactored gyp files so the OS test enabling the GPU plugin is in one
place, common.gypi, and other files test only the variable enable_gpu.

Slight change to gles2_demo_cc.cc to add some simple animation to
verify that updates from the GPU plugin are reaching the screen.
Changed Pepper test plugin to use 3D view by default and commented out
use of audio context because of recent issues.

TEST=none (ran Pepper Test Plugin with 3D view enabled)
BUG=http://crbug.com/25988

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@37934 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-03 02:28:48 +00:00
evan@chromium.org 3a1690b684 Use refactored filename rules in net.gyp.
build/common.gypi has some general patterns for filenames on platforms,
e.g. "don't build _win.cc on non-Windows", so we don't need to duplicate
them here.

While I'm at it, add the FreeBSD/OpenBSD tests as well, since
that was what prompted this change.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@37553 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-29 22:28:32 +00:00
piman@chromium.org 1824e1a4f8 linux: enable pepper plugin
This is CL 36399 that was reverted in 36969 because it caused an ICE on the official builders.
This adds a workaround for the ICE.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@37055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-25 23:10:58 +00:00
laforge@chromium.org ce45ace99a Revert 36399 - linux: enable pepper_test_plugin
This is breaking official x64 builds, notified team of break earlier in the 
week, but haven't seen a fix.  I'm reverting now.  

Please fix before re-enabling.

Original message:
This includes a way to build it with full support on x64 (and arm ?), by specifying linux_fpic=1 in GYP_DEFINES and rerunning gyp.

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

TBR=piman@chromium.org
Review URL: http://codereview.chromium.org/548133

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36969 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-23 22:08:50 +00:00
pvalchev@google.com ee62b124ed GYP: recognize OpenBSD/amd64 as x64 as it's called in this world
Review URL: http://codereview.chromium.org/548125

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-23 02:37:56 +00:00
evan@chromium.org 8cb6aec8b1 linux: always set visibility=hidden
This is necessary to make some plugins work.  Satoru has a patch to
do backtraces in a different manner.

BUG=32762
TEST=about:plugins doesn't call random other plugins the native client plugin

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36778 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-21 20:23:12 +00:00
kuchhal@chromium.org adef5a6234 Revert r36641 "Linux: Enable TCMalloc (Take X)."
Apparently this change is causing random hangs on Linux buildbots.

This reverts commit db71cfd0fea742eb16ec2f38d14f6a0e8aeaa7f9.

TBR=willchan

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36724 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-21 02:46:50 +00:00
willchan@chromium.org b386d1c23a Linux: Enable TCMalloc (Take X).
Async signal safe posix signal handling has landed, so this should be safe to land too.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36641 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-20 18:11:44 +00:00
robertshield@chromium.org 3a3e61acaf Adding a secondary mini_installer target for Chrome Frame. This will remove the need to have different build scripts to build either Chrome or Chrome Frame.
Also remove the now-unneeded gyp variables 'chrome_frame_define' and 'google_update_appid'.

BUG=Both Chrome and Chrome Frame products should be buildable from a single solution file - we shouldn't need to run GYP with different settings to get a CF solution.
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-19 21:15:06 +00:00
piman@chromium.org 4e4c96317d linux: enable pepper_test_plugin
This includes a way to build it with full support on x64 (and arm ?), by specifying linux_fpic=1 in GYP_DEFINES and re-running gyp.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36399 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-15 20:19:06 +00:00
craig.schlenter@chromium.org 9a4d23445f Use no_strict_aliasing=1 by default.
This will turn on -fno-strict-aliasing. There are regular aliasing problems
in the codebase and at least one of these was not caught by -Wall -Werror
so defaulting to -fno-strict-aliasing seems like a good idea especially
given the increased popularity of gcc 4.4 with it's use in karmic, fedora and in
chromeos chroot builds et. al.

The long term plan is to have some test infrastructure in place that will test
4.4 binaries and to fix the aliasing issues.

BUG=28749

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@36151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-13 19:25:42 +00:00
piman@chromium.org b3bbbe9dcc linux: add host_arch detection
BUG=31274

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35993 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-12 04:29:59 +00:00
oshima@chromium.org 6308dfb98d official build and buildbots are now chromeos=1
valgrind bots are up (they're still red tho).
I believe it's ready to check this in.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35858 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-09 01:16:57 +00:00
piman@chromium.org e2253e06af linux: implement gpu plugin
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35509

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35612 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-06 04:38:55 +00:00
piman@chromium.org 852c6d9af7 Revert 35509 - linux: implement gpu plugin
Review URL: http://codereview.chromium.org/500132

TBR=piman@chromium.org
Review URL: http://codereview.chromium.org/525022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35511 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-05 04:11:13 +00:00
piman@chromium.org b8481bbd59 linux: implement gpu plugin
Review URL: http://codereview.chromium.org/500132

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35509 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-05 03:07:07 +00:00
bradnelson@google.com 7a2eabc7e3 Removing the last remaining vsprops files (that are hooked in).
Also pulling in a newer nacl version.
Switching to use AdditionalOptions in list form.

BUG=None
TEST=None
TBR=mmentovai

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35449 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-04 06:40:16 +00:00
evan@chromium.org 60d6d98e5e linux: reenable symbols in backtraces in debug builds
This is easy enough to fix, and would be occasionally helpful.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-31 02:28:09 +00:00
jrg@chromium.org 130a28f831 Apply -lgcov link to type loadable_bundle when building coverage=1.
Review URL: http://codereview.chromium.org/515045

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35307 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-28 20:45:43 +00:00
willchan@chromium.org 6c08b9d71a Revert 35189 (caused test_shell_tests crashes on valgrind bot):
Take 2: Reenable TCMalloc on Linux and make POSIX signal handling async signal safe.
Reinstates r34096 and r34036, which were reverted by r34632 due to hanging ui_tests and browser_tests on bots.
I've been unable to repro on the trybots despite hitting them with a ton of try jobs, so I'm trying on the buildbots again.
BUG=http://crbug.com/30501

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

TBR=willchan@chromium.org
Review URL: http://codereview.chromium.org/517001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35192 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-23 00:11:17 +00:00
willchan@chromium.org 74839fff88 Take 2: Re-enable TCMalloc on Linux and make POSIX signal handling async signal safe.
Reinstates r34096 and r34036, which were reverted by r34632 due to hanging ui_tests and browser_tests on bots.
I've been unable to repro on the trybots despite hitting them with a ton of try jobs, so I'm trying on the buildbots again.
BUG=http://crbug.com/30501

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35189 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-22 23:57:16 +00:00
oshima@chromium.org 37275f268d Change chromeos build to use views
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35186 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-22 23:30:18 +00:00
apatrick@google.com acf974e1aa Added Pepper 3D device that instantiates the GPU plugin and sends GLES2 commands to it via a command buffer.
Added API for managing buffers to Pepper 3D device.

Removed DCHECK from WebPluginImpl::SetWindow that checks against a windowless plugin being given a window handle. Please check this! Now an initially windowless plugin instance gets a handle when it requests a Pepper 3D context. Perhaps the window handle should be concealed from the underlying plugin isntance.

Removed enable_gpu gyp variable and C macro. GPU code is always built on windows but not mac or linux. It is enabled at runtime with the --enable-gpu-plugin switch.

Redesigned CommandBuffer interface so it exposes shared memory through a Buffer. This was necessary because Pepper has no notion of shared memory handles. The Buffer exposes the shared memory as both a handle (through base::SharedMemory) and the mapped address and size.

Refactored CommandBufferEngine so mapped shared memory addresses and sizes are returned with a single call rather than two separate calls.
	
Added 3D demo to pepper test plugin.

TEST=try servers
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35185 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-22 23:28:15 +00:00
gregoryd@google.com 0c62ce1e69 Refactoring build configurations - make it clearer and allow better support for x64 on Windows
TEST=none
BUG=29467


Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35012
Review URL: http://codereview.chromium.org/501127

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35129 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-22 01:52:50 +00:00
gregoryd@google.com a45f9d2d51 Revert 35012 - Rearrange build configurations make it clearer and allow better support for x64 on Windows
TEST=none
BUG=29467

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

TBR=gregoryd@google.com
Review URL: http://codereview.chromium.org/500149

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-19 00:58:01 +00:00
gregoryd@google.com 28ea5a8a76 Rearrange build configurations - make it clearer and allow better support for x64 on Windows
TEST=none
BUG=29467

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35012 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-19 00:35:28 +00:00
slightlyoff@chromium.org 28ff355e0b Revert 34983 - Split more targets from chrome.gyp to add support for building Native Client for 64bit Windows.
This CL is required for supporting Native Client on 64bit Windows. On Win64 we will use a 64bit executable to load NaCl modules. Since we have only one version of Chrome on Windows, this executable has to be built together with 32bit Chrome binaries.
For the targets that are required for both 32bit and 64bit builds, this CL moves the shared parts of the target definitions into targetspecific gypi files (such as base.gypi). New 64bit only targets are added. Since we would like to port as few code as possible at this point, some 64bit targets include less source files or less dependencies than the original 32bit targets. These targets will have nacl_win64 in their name  to emphasize that they should be used for NaCl only. Some 64bit targets are identical to the 32bit targets in everything except for the target platform  these will have only win64 in their name. 

TEST=none
BUG=28176
Review URL: http://codereview.chromium.org/384068

TBR=gregoryd@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34990 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-18 22:09:12 +00:00
gregoryd@google.com 58255f93a6 Split more targets from chrome.gyp to add support for building Native Client for 64-bit Windows.
This CL is required for supporting Native Client on 64-bit Windows. On Win64 we will use a 64-bit executable to load NaCl modules. Since we have only one version of Chrome on Windows, this executable has to be built together with 32-bit Chrome binaries.
For the targets that are required for both 32-bit and 64-bit builds, this CL moves the shared parts of the target definitions into target-specific gypi files (such as base.gypi). New 64-bit only targets are added. Since we would like to port as few code as possible at this point, some 64-bit targets include less source files or less dependencies than the original 32-bit targets. These targets will have nacl_win64 in their name - to emphasize that they should be used for NaCl only. Some 64-bit targets are identical to the 32-bit targets in everything except for the target platform - these will have only win64 in their name. 

TEST=none
BUG=28176
Review URL: http://codereview.chromium.org/384068

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34983 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-18 20:55:37 +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
willchan@chromium.org c07106dc4d Fix Linux hanging ui_tests and browser_tests by reverting posix signal handler changes.
Reverts:
r34036 - "Make POSIX SIGTERM/SIGINT/SIGHUP handler async signal safe."
r34096 - "Re-enable TCMalloc on Linux."  This change depended on the posix signal handler change.
BUG=http://crbug.com/30501

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34632 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-16 00:55:07 +00:00
bradnelson@google.com 532a39f88a Yet again, trying to land switch to win7 sdk.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-12 22:19:52 +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
bradnelson@google.com e7f8cfd5d8 Reverting sdk7 landing AGAIN!!!
Something is still fishy on the bots.

BUG=None
TEST=None
TBR=maruel


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34358 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-11 18:39:01 +00:00
bradnelson@google.com fd1a6ced96 Reconstructing 34247 / 479007
Giving it another go on the bots.
I think I know what went wrong.

BUG=None
TEST=None
TBR=maruel

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34355 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-11 17:59:20 +00:00
bradnelson@google.com b4a950d40e Reverting 34267.
Too much red.

BUG=None
TEST=None
TBR=maruel

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34269 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-10 19:47:28 +00:00
bradnelson@google.com 5ab5b8bf93 Switching platform sdk hermetic fallback to 7.0
BUG=None
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34267 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-10 19:35:50 +00:00
mmoss@google.com 97167e5465 Make sure the 'use_system_*' variables are actually visible in the relevant gyp files.
Retrying r34195, this time without libxslt, since we don't want to use the
system version of that if we're not also using system libxml (merged from
http://codereview.chromium.org/481011).

BUG=29738

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34255 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-10 17:31:45 +00:00
sehr@google.com d8b02466a1 Re-enable the build of Pepper support by default (issue 464074, svn revision 34161).
There were problems building Skia and others for the 64-bit linux versions of the
Pepper test plugin, so I have disabled building that plugin except on Windows for now
and added a TODO.

One significant addition to the previous comment lines. The flag enable_gpu=1 now
causes the build definition ENABLE_GPU=1 to allow guarding of dependent code.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34227 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-10 03:21:14 +00:00
jrg@chromium.org 18872a02e0 Revert 34195 - Make sure the 'use_system_*' variables are actually visible in the relevant gyp files.
BUG=29738

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

TBR=mmoss@google.com

Example choke:
http://build.chromium.org/buildbot/waterfall/builders/Linux%20Perf/builds/4382/steps/compile/logs/stdio

   Compiling /b/slave/chromium-rel-linux-hardy/build/src/sconsbuild/Release/obj/chrome/unit_tests/common/bzip2_unittest.o
   /b/slave/chromium-rel-linux-hardy/build/src/chrome/common/bzip2_unittest.cc:6:19: error: bzlib.h: No such file or directory


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34213 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-10 00:53:59 +00:00
mmoss@google.com 029b242532 Make sure the 'use_system_*' variables are actually visible in the relevant gyp files.
BUG=29738

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-09 22:04:02 +00:00
sehr@google.com 0fd4a4c5ca Revert 34161 - Enable Pepper support by default, including building the test plugin.
This is needed because the NaCl plugin code that runs in the renderer
needs to use Pepper APIs all the time, and NaCl support has been enabled
by default for several months now.  To cause an untrusted Pepper plugin
to run in the renderer one needs to specify the internalpepper flag.
I have also removed the enable_pepper flag from gyp.  As the build of the
GPU process was tied to this flag, I have renamed the flag to enable_gpu.
TEST=none
BUG=none

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

TBR=sehr@google.com
Review URL: http://codereview.chromium.org/475004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-09 17:45:03 +00:00
sehr@google.com 39017af51a Enable Pepper support by default, including building the test plugin.
This is needed because the NaCl plugin code that runs in the renderer
needs to use Pepper APIs all the time, and NaCl support has been enabled
by default for several months now.  To cause an untrusted Pepper plugin
to run in the renderer one needs to specify the --internal-pepper flag.
I have also removed the enable_pepper flag from gyp.  As the build of the
GPU process was tied to this flag, I have renamed the flag to enable_gpu.
TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34161 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-09 17:19:22 +00:00
agl@chromium.org 70ee1734bb Linux: switch to our own copy of libssl by default.
http://codereview.chromium.org/465137

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34125 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-09 01:45:41 +00:00
willchan@chromium.org ed73ea21ff Re-enable TCMalloc on Linux.
In r34036, I've fixed the signal handlers not to allocate dynamic memory, so they shouldn't deadlock anymore.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34096 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-08 22:38:31 +00:00
agl@chromium.org 9a07506a13 Linux: switch to using the system libraries in some cases.
Previously we built our own copies of many common system libraries.
This comes from our Windows history, where these libraries have to be
carried by any application using them because they aren't provided as
standard.

On Linux, however, they are ubiqutous so we can save binary size by
dynamically linking against the system versions.

TEST=none
BUG=29738

http://codereview.chromium.org/465126

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34084 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-08 21:04:07 +00:00
bradnelson@google.com 4f874240b4 Prevent Common_x64 from leaking thru on non-windows platforms.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33998 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-07 22:07:56 +00:00
gregoryd@google.com 3c3d7b92c9 Split base.gyp and add base_nacl_win64 target
TEST=none
BUG=28176


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33872 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-04 22:46:50 +00:00
joel@chromium.org 9a4e5a82fc arm: Add thumb target and associated fixes
Add arm_thumb=1 to GYP_DEFINES to enable

BUG=29203

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33799 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-04 06:21:29 +00:00
dank@chromium.org d9a7a5e8fe Make no-tcmalloc (really, non-base/allocator) builds work again,
(i.e. this is a plain vanilla build used when layers like base/allocator
are getting in the way of debugging)
and make sure they use msvcrt rather than libcmt
(libcmt is used to help shim malloc/free, but it gets
in the way of valgrind doing the same thing).

Sadly, this is now a gyp-time operation rather than a Configuration
option.

Had to remove hardcoded C prototype for _set_new_mode, 
as that caused link errors.

Also add variables win_{release,debug}_{Optimization,RuntimeLibrary}
to let the valgrind build override those settings.

Fix calling convention on _set_new_mode to match the
one in <new.h>

BUG=none
TEST=build with ~/.gyp/include.gypi set as described in comment in common.gypi, gclient runhooks, do release build, verify all exe's and dll's linked against msvcrt dll


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-03 21:07:47 +00:00
evan@chromium.org eef08e4039 linux: move asynchronous-unwind-tables flag to Release-only
This makes backtraces again include symbols in Debug builds.

TEST=StackTrace.OutputToStream (in a Debug build; the test is
already disabled in Release builds, exactly because this flag
breaks the thing the test is testing.)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33320 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-30 20:17:32 +00:00
mark@chromium.org 1784039d01 In-application Keystone ticket promotion.
The concept of "ticket promotion" is added to the application when Keystone is
in use.  Ticket promotion is used to turn a user Keystone ticket, which Chrome
normally establishes when it launches, into a system Keystone ticket, after
successful user authentication and authorization.  Having a system Keystone
with a system ticket means that updates are applied with root privileges
instead of user privileges, essentially eliminating the possibility that a
user will fall off of the auto-update train because they can read and execute
but not write the application.

Two principles of promotion apply:

 - An application on a user ticket NEEDS promotion if it determines that it
   doesn't have permission to write to itself.  Being on a user ticket, an
   update attempt would fail.
 - An application on a user ticket WANTS promotion if it already NEEDS
   promotion.  Additionally, if it is installed in a system-wide location
   such as /Applications, it will WANT promotion, even if it does not NEED it.

If promotion is needed, an info bar will show up on launch requesting it.
This info bar works similarly to the default browser info bar: it has a "don't
bother me again" button, it will only show up after the first launch, it won't
disappear on navigation if the navigation happens very quickly, and it won't
show itself if another info bar is up.  This means that if both the default
browser info bar and the promotion info bar have a shot at showing, only one
will win.  In my experience, each wins about half of the time.

If promotion is needed, the update UI in the About window will be hidden.
Checking for updates and offering to apply them doesn't make much sense when
the update won't be able to install successfully.  All of the auto-update
machinery is still working in the background, but the About window UI is
hidden.

If promotion is wanted, the About window will contain a new button allowing
the user to enter promotion.  This gives access to the same promotion routine
as the promotion info bar.  It can be used even from an administrative account
that is able to update the application without promotion.  It's intended to be
used by the system administrator of the family without requiring them to
switch to one of the kids' accounts.

BUG=16360
TEST=Exhaustively, please.
Review URL: http://codereview.chromium.org/437053

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33241 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-28 22:05:11 +00:00
thestig@chromium.org 5f8f5c77b9 Disable tcmalloc on Linux.
TBR=willchan
BUG=28818, 28828
TEST=Random ui test / startup flakiness goes away on Linux.
Review URL: http://codereview.chromium.org/437085

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33184 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-26 06:33:39 +00:00
evan@chromium.org 3efdb92b61 Refactor OS-dependent filename exclusion patterns
Rather than duplicate logic in the tree, merge all of the
shared rules about patterns in filenames into one common set.
The pattern is: "if (OS != x): exclude x's files."

This is especially needed for upcoming changes that bring in a few
more platform-specific (FreeBSD, OpenBSD, Solaris(?)) files.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33160 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-26 00:15:50 +00:00
willchan@chromium.org 689d23c991 Enable TCMalloc on Linux by default.
This change also reworks the tcmalloc dependency to be added only to chrome and test_shell, instead of base.  This is necessary since otherwise tcmalloc will be double initialized (by both the main executable and dlopen'd shared objects like the npapitestplugin.so).
Add valgrind suppressions.  This are invalid reads on static initialization in the VDSOSupport module.  I haven't investigated it yet, but I suspect they're benign.
BUG=http://crbug.com/28149, http://crbug.com/28385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33010 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-25 00:17:53 +00:00
mmoss@chromium.org 58136e96ad Make Linux packaging options more granular.
This allows us to not waste time building packages/channels we don't care about. Also added option to build new 'trunk' channel packages, which are a special configuration for developer testing.

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@32879 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-23 22:39:32 +00:00
estade@chromium.org 715ff211e2 Move Mac to using renderer spellchecker.
BUG=25677

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32561 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-19 22:44:29 +00:00
hclam@chromium.org 61202ca47a test_shell buildable on ARM
GYP changes to allow test_shell be buildable on ARM so we can
use it as a minimal browser for testing purpopse.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 20:35:54 +00:00
evan@chromium.org 288dfc2bf3 linux: pass --gc-sections in link line
We have compile flags set up to support using --gc-sections, but apparently
we aren't using it for the actual link!  It was probably lost during the gyp
conversion.

This has a few-megabyte difference on binary size.

(Trying submit again, hopefully thestig successfully converted bots...)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32330 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 17:07:13 +00:00
evan@chromium.org 4557c47ab4 linux: set a compiler flag that drops the eh_frame section
eh_frame is data used for exception frames.  We already disable exceptions,
but it turns out this obscure extra flag was responsible for the eh_frame
making it into our binaries.

This shaves off another few megabytes from our binaries.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32254 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 01:51:34 +00:00
idana@chromium.org 3cc3569c9c Revert 32244 - linux: pass gcsections in link line
We have compile flags set up to support using gcsections, but apparently
we aren't using it for the actual link?  This has a large difference on
binary size.

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

TBR=evan@chromium.org
Review URL: http://codereview.chromium.org/401018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32248 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 01:24:13 +00:00
evan@chromium.org bb2d2e4cd6 linux: pass --gc-sections in link line
We have compile flags set up to support using --gc-sections, but apparently
we aren't using it for the actual link?  This has a large difference on
binary size.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32244 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 00:55:28 +00:00
evan@chromium.org b27dd36467 linux: set -fvisiblility-inlines-hidden when building
This matches the Mac and shaves a surprising 300kb off the binary.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32185 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 18:39:36 +00:00
willchan@chromium.org 8e6283e544 TBR: willchan
git-svn-id: http://src.chromium.org/svn/trunk/src/build@32159 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 06:42:28 +00:00
willchan@chromium.org 935f01cd68 Experiment: enable TCMalloc on Linux by default.
Will revert after looking at the Linux memory bot and perf cycler.
TBR=willchan

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32158 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 06:31:44 +00:00
estade@chromium.org 17693ca6ed reland 31875. Revert was:
------
Revert 31875 to see whether it fixes reliability bot.

BUG=25677
TEST=None
------

TBR=huanr
Review URL: http://codereview.chromium.org/397017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32112 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-16 22:55:17 +00:00
huanr@chromium.org ca3876645a Revert 31875 to see whether it fixes reliability bot.
BUG=25677
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32074 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-16 19:34:59 +00:00
hclam@chromium.org 52479328c1 Test program for OpenMAX video decoding
Including gyp file for openmax and the test application.
The test application will link against libOmxCore.so which is provided
by the target system.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31957 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-13 22:21:01 +00:00
hclam@chromium.org 9d3633790a Building FFmpeg in tree for arm
Changes yasm to be built for host instead of target.
Also don't need to depend on yasm if build ing for arm.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31929 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-13 19:30:25 +00:00
estade@chromium.org ad1155a6fb Use renderer spellchecker for windows.
BUG=25677
Review URL: http://codereview.chromium.org/372075

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31875 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-13 01:36:50 +00:00
willchan@chromium.org 3b447caf63 Revert 31765 - Experiment: enable TCMalloc on Linux by default.
Will revert after looking at the Linux memory bot and perf cycler.
TBR=willchan

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

TBR=willchan@chromium.org
Review URL: http://codereview.chromium.org/384074

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31769 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-12 05:58:58 +00:00
willchan@chromium.org 5bd04f221b Experiment: enable TCMalloc on Linux by default.
Will revert after looking at the Linux memory bot and perf cycler.
TBR=willchan

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31765 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-12 05:21:58 +00:00
willchan@chromium.org 34b3b664d9 linux: TCMalloc-based C++ heap profiler.
Requires compiling with linux_use_tcmalloc=1.

When enabled by --heap-profiler flag in test_shell exposes
chromium.HeapProfiler object to JavaScript. The object has three
methods:
o start() -- starts profiling
o dump() -- dumps data accumulated since start() to file
named like chromium-YYYY-MM-DD-TS.heap
o stop() -- stops profiling.

Output can be analyzed by third_party/tcmalloc/tcmalloc/src/pprof.
For example:
$ third_party/tcmalloc/tcmalloc/src/pprof \
sconsbuild/Release/test_shell \
chromium-2009-11-06-1234567890.heap

See http://code.google.com/p/google-perftools/ for details on how to
use pprof.

Patch contributed by vitalyr@chromium.org.  Original review at
http://codereview.chromium.org/377010/show.

TBR=vitalyr

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31688 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-11 19:24:24 +00:00
mark@chromium.org a7b45abd09 Set SDKROOT in the project-wide xcode_settings block instead of doing it in
target_defaults.  This is equivalent to how Xcode sets SDKROOT from the
Project Info window's General tab.  Making this setting project-wide means
that the selected SDK will show up properly in that UI.

BUG=26976
TEST=Build still works.
     SDK (typically "Mac OS X 10.5") shows up in Project Info:General.
Review URL: http://codereview.chromium.org/371035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31307 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-06 21:57:50 +00:00
estade@chromium.org 97934cefd9 Move the spellchecker to the renderer.
The motivation is that this removes the sync IPC on every call to the spellchecker. Also, currently we spellcheck in the IO thread, which frequently needs to go to disk (in particular, the entire spellcheck dictionary starts paged out), so this will block just the single renderer when that happens, rather than the whole IO thread.

This breaks the SpellChecker class into two new classes.
1) On the browser side, we have SpellCheckHost. This class handles browser-wide tasks, such as keeping the custom words list in sync with the on-disk custom words dictionary, downloading missing dictionaries, etc. On Posix, it also opens the bdic file since the renderer isn't allowed to open files. SpellCheckHost is created and destroyed on the UI thread. It is initialized on the file thread.
2) On the renderer side, SpellChecker2. This class will one day be renamed SpellChecker. It handles actual checking of the words, memory maps the dictionary file, loads hunspell, etc. There is one SpellChecker2 per RenderThread (hence one per render process).

My intention is for this patch to move Linux to this new approach, and follow up with ports for Windows (which will involve passing a dictionary file name rather than a file descriptor through to the renderer) and Mac (which will involve adding sync ViewHost IPC callsfor when the platform spellchecker is enabled). Note that anyone using the platform spellchecker rather than Hunspell will get no benefit out of this refactor.

There should be no loss of functionality for Linux (or any other platform) in this patch. The following should all still work:
- dictionary is loaded lazily
- hunspell is initialized lazily, per renderer
- language changes work.
- Dynamic downloading of new dictionaries
- auto spell correct works (as well as toggling it).
- disabling spellcheck works.
- custom words work (including adding in one renderer and immediately having it take effect in other renderers, for certain values of "immediate")

TODO:
- move spellchecker unit tests to test SpellCheck2
- add sync IPC for platform spellchecker; port to Mac
- add dictionary location fallback; port to Windows
- remove SpellChecker classes from browser/

BUG=25677

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31199 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-06 03:05:46 +00:00
jshin@chromium.org 2a0eff2751 Add 'am' and 'sw' to Linux/Mac build
Review URL: http://codereview.chromium.org/346027

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30990 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-04 20:36:50 +00:00
craig.schlenter@chromium.org b652947930 Linux: Autodetect and change build flags when using gcc 4.4.
This runs g++ -dumpversion (or $CXX) to establish the compiler version
and set the gyp gcc_version variable automatically.

BUG=25209

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30824 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-03 17:32:10 +00:00
apatrick@google.com 4cd3bc349d Conditionally added pepper_test_plugin.gyp as all.gyp dependency based on whether enable_pepper variable is set to 1. Defaults to 0.
Added run_as block to automatically launch chrome and load the plugin when the pepper_test_plugin project is run or debugged.
See new instructions in updated README.
TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30741 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-02 21:07:35 +00:00
piman@chromium.org d5e5920b77 linux: fix library=shared_library issues
Review URL: http://codereview.chromium.org/339079

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30738 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-02 20:32:51 +00:00
bradnelson@chromium.org bfb95e3439 Adding x64 configurations for windows.
These do not build, but are for experimentation.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30683 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-01 23:45:30 +00:00
bradnelson@chromium.org 2b269f4fb9 Pulling in latest gyp with rule generation and configuration change.
BUG=None
TEST=None
TBR=sgk

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-01 21:17:34 +00:00
bradnelson@chromium.org 47e2a7fd96 Taking advantage of new configuration inheritance option.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-29 21:24:56 +00:00
piman@chromium.org 5036e8b759 This does a few things:
- only include cflags/linkflags and other compiler settings that are target-specific when building for 'target'
- make build tools (protoc) compile for 'host', and change the dependencies on them to reflect that.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30381 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-28 20:13:57 +00:00
brettw@chromium.org 075340e829 Put back -fno-rtti which I somehow accidentally checked in.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/342021

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-28 19:12:22 +00:00
evan@chromium.org 3214fccb88 linux: add -fvisibility=hidden to build flags
We use this on OS X, so it shouldn't be harmful and it will fix a visibility
issue that came up in
  http://groups.google.com/group/chromium-dev/browse_thread/thread/800bda968bdc8f29

BUG=17943

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30253 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-27 21:40:26 +00:00
ajwong@chromium.org d5f2816771 Switch optimization cflag to late-resolve the debug_optimize and release_optimize vars.
This will allow lower-level targets to change their desired optimization level.  In particular, the ffmpeg build requires this because it has problems compiling with -O0.

BUG=22307
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-26 22:14:01 +00:00
jrg@chromium.org a696272015 Fix coverage on the Mac.
Add extra unit test bundles (all platforms).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@29845 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-23 00:12:01 +00:00
mark@chromium.org 8d0a045050 Back out r29592 (-Wl,-pie) because apparently Valgrind doesn't understand
executable slide.

BUG=25372
TEST=green tree
Review URL: http://codereview.chromium.org/311001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@29604 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-21 02:47:20 +00:00
mark@chromium.org b5c7419acc Back out r29591 (-fstack-protector) because it may have caused Valgrind test
failures and bug 25372.

BUG=25372
TEST=green tree
Review URL: http://codereview.chromium.org/306021

git-svn-id: http://src.chromium.org/svn/trunk/src/build@29601 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-21 02:23:53 +00:00
mark@chromium.org a2c75d5f57 Mmm, pie.
BUG=16713
TEST=none
Review URL: http://codereview.chromium.org/308010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@29592 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-21 00:21:50 +00:00
mark@chromium.org a1be1802e6 Use -fstack-protector in Mac Debug builds.
We used to have this in debug.xcconfig, but it seems to have gotten lost when
we migrated to GYP.

BUG=16713 (not really, that's for release builds, but close enough)
TEST=none
Review URL: http://codereview.chromium.org/292036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@29591 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-21 00:21:38 +00:00
mmoss@chromium.org 54df4ad9d0 Default to building for the same architecture as the build host.
BUG=24766

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@29230 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-16 00:53:59 +00:00
sky@chromium.org 0c7e0b2599 Fixes bug in toolkit_views. We shouldn't set the theme provider for
widget_gtk when building chromeos build. We need a #ifdef for
CHROMEOS but not using TOOLKIT_VIEWs for the browser window. I'm
temporarily adding this one.

This bug is the result of Oshima making TOOLKIT_VIEWS set OS_CHROMEOS.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@28916 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-13 23:31:53 +00:00
oshima@chromium.org 5dfc871754 include CHROMEOS files and defintions in TOOLKIT_VEIWS build.
* changed gyp files so that all files compiled for chrome os will be also compiled when toolkit_views==1
 * changed to define OS_CHROMEOS when toolkit_views==1
 * changed TabOverbiewMessageListener to use BrowserView instead of BrowserWindowGtk when toolkit_views==1
  I left one for CHROME_NOTIFY_FLOATING_TAB_OVER_TOPLEVEL b/c i couldn't figure out how to get gdkwindow
  from xid. Looks like I need to register it somewhere

Note: Nicolas updated trybot and buildbot to include chromeos dependency, so this all should compile fine.

BUG=none
TEST=run views unit test and browser.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@28764 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-12 23:58:03 +00:00
piman@chromium.org cc8b6019d1 Separate ARM-v7 compilation flags from chromeos
Review URL: http://codereview.chromium.org/256074

git-svn-id: http://src.chromium.org/svn/trunk/src/build@28197 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-07 00:10:46 +00:00
sgk@google.com 19ba4b483e Add comments setting emacs and vim tab width and expansion variables.
BUG=none
TEST=successful builds
Review URL: http://codereview.chromium.org/256059

git-svn-id: http://src.chromium.org/svn/trunk/src/build@28089 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-06 03:02:38 +00:00
brettw@chromium.org e67ac0da14 Move the JPEG and PNG codecs from base/gfx to app/gfx/codec. Move the classes
into the gfx namespace.

Combine the PNGEncoder and PNGDecoder. There were separate when we had
different executables for the browser and renderer, and linked the encoder only
in one of them (which saved us some space used by libpng). This hasn't been the
case for years, so combining them (again) makes sense.

TEST=none
BUG=none
Review URL: http://codereview.chromium.org/243076

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27930 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-03 03:12:20 +00:00
maruel@chromium.org ccc0b16090 Reenable fastbuild (for windows only).
This will be enabled on the windows try slaves.

TEST=none
BUG=none
Review URL: http://codereview.chromium.org/256042

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27883 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-02 19:59:54 +00:00
piman@chromium.org 51debf763f Add an option to disable NaCl at compile time for platforms where it doesn't build yet
Just add disable_nacl=1 to gyp defines

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27873 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-02 19:00:31 +00:00
thestig@chromium.org 3657852c7c Add (yet another) option to allow stripping the chrome binary after dumping symbols. Chromebot does not like 200MB zip files and 800MB chrome binaries.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/259008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27795 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-01 23:29:03 +00:00
thestig@chromium.org dd6d65fdcf Remove a circular dependency for chrome Linux symbols. Make it possible to force Linux symbol dumping.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/243056

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27752 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-01 18:54:57 +00:00
robertshield@chromium.org cf56350aa8 Cleaning up after the initial Chrome Frame commit.
Review URL: http://codereview.chromium.org/242025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27367 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-28 16:50:46 +00:00
yaar@chromium.org ed66f14831 Downstreamed v8 extension building & webkit_chromium_port flag
1. Downstreamed building webkit/extension/v8/*.cc files, which were built by upstream webcore by mistake. Now glue will build them.
   I tested that even though webcore still builds them, there are no errors if glue also builds them.
2. Added webkit_chromium_port variable to build/common.gypi which is turned off by default. Currently, nothing uses it but the chrome port will need it.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27122 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-24 20:36:21 +00:00
thomasvl@chromium.org 597a39f45e Adding a GYP variable to indicate if a build wants Title Case strings or not.
Default to Title Case strings for Mac and Linux/GTK.
Pass an extra define to the invoke of grit for TitleCase strings.
Test the define for grit Title Case strings and have two sets of strings where needed.
DEPs roll to pick up a new GYP that will keep int values as ints.

BUG=22253
TEST=The bookmark bar menus on Mac and linux gtk will be Title Case, in Windows and ChromeOS they will be Sentence case.  NOTE: we'll the translations in the Title Case areas until new translations are entered.
Review URL: http://codereview.chromium.org/210022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26803 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-22 12:37:44 +00:00
mark@chromium.org 327dcecfc6 No-op .gypi change to force GYP to run via the DEPS hook. This should get
the straggler bots back to green.  They must have missed a GYP run while
gclient was broken earlier.
Review URL: http://codereview.chromium.org/211037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26639 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-19 00:47:04 +00:00
ajwong@chromium.org ec7fbc7305 Update ffmpeg binaries directories to support variants based off the target architecture.
BUG=20948
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-18 22:10:27 +00:00
timurrrr@chromium.org 49651114b2 Re-applying build/common.gypi patch from http://codereview.chromium.org/195078
The previous patch was reverted until buildbot master was restarted.

After the restart, GYP_DEFINES contains "release_valgrind_build=1"
http://build.chromium.org/buildbot/waterfall/builders/Chromium Linux Builder (valgrind)/builds/2/steps/gclient/logs/stdio
Review URL: http://codereview.chromium.org/196140

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26564 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-18 14:26:56 +00:00
thestig@chromium.org e5b88b0dd1 Add all locales to the appropriate generated file lists in .gyp files.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/208002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26494 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-17 21:54:28 +00:00
mark@chromium.org f4a9fb7b43 Use MAC_OS_X_DEPLOYMENT_TARGET instead of rolling our own macro.
Allow the deployment target and SDK to be overridden by GYP variables.
Review URL: http://codereview.chromium.org/193128

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26360 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-16 17:31:25 +00:00
yaar@chromium.org 348eca2172 Force inclusion of build/common.gypi for all chromium gyp files.
Why: Simpler build code. If everybody includes it, it should be included automatically.
Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi.

What was done:
1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi
2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi.
3. lots of gyp files were fixed to not refer to build/common.gypi any more.
4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too.
5. build/common.gypi was left empty, because there are some external projects that still refer to it.

Things that are left to do after this patch is in:
1. The following external files (in other repositories) need to stop include common.gypi
  ./third_party/hunspell/hunspell.gyp
  ./third_party/icu/icu.gyp
  ./v8/tools/gyp/v8.gyp
2. Once nobody refers to common.gypi anymore, delete common.gypi
   -or-
   Delete gyp_chromium.gypi and move its content back to common.gypi

Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26302 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-15 23:52:14 +00:00
maf@google.com 64d54140a2 Changes needed for MacOS X 10.4 support.
Add "support_macosx_10_4" option to common.gypi that causes it to change deployment target, and define a new preprocessor symbol on the Mac build.  Setting this flag to true is harmless on non Mac builds and has no effect.
Make various changes to source files where they modify their behavior in the presence of the new preprocessor symbol to become 10.4 compatible.
Review URL: http://codereview.chromium.org/201122

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26285 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-15 22:42:59 +00:00
agl@chromium.org 3e01e2c3e4 Linux: add support for SELinux.
This patch adds support for a selinux GYP variable which, when set to
one, does the following:
  * Removes the seccomp sandbox from the compile
  * Removes support for SUID sandboxing from the zygote
  * Performs a dynamic transition, in the zygote, to
    chromium_renderer_t.

This code requires that the system policy have a sensible set of
access vectors for the chromium_renderer_t type. Such a policy will be
found in sandbox/selinux in the future.

http://codereview.chromium.org/203071


git-svn-id: http://src.chromium.org/svn/trunk/src/build@26257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-15 20:13:38 +00:00
agl@chromium.org 7ba812ec42 Revert "Added NVALGRIND define [on by default]. Can be turned off on valgrind slaves by using valgrind_build=1"
This reverts commit 26241.

(Testing to see if it greens the Linux Valgrind builder.)


git-svn-id: http://src.chromium.org/svn/trunk/src/build@26251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-15 19:30:57 +00:00
timurrrr@chromium.org 537105b145 Added NVALGRIND define [on by default]. Can be turned off on valgrind slaves by using valgrind_build=1
Review URL: http://codereview.chromium.org/195078

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26241 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-15 18:41:51 +00:00
robertshield@chromium.org a0c8317fe8 Adding reference to experimental browser distribution files.
Review URL: http://codereview.chromium.org/192076

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26036 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-11 22:32:11 +00:00
dkegel@google.com 0c28707747 There was already release_extra_cflags for linux;
this just generalizes it to debug_ and to mac.

Required a litle rearranging.  Tested by comparing
xcode and make files before and after change.

Ignores those settings when generating Visual C++ projects,
but since the goal was to let valgrind bots tweak
optimization settings, that's ok for now.
Review URL: http://codereview.chromium.org/202054

git-svn-id: http://src.chromium.org/svn/trunk/src/build@25997 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-11 19:37:00 +00:00
robertshield@chromium.org c3f24c2181 Adding the option to drop in a new BrowserDistribution instance for experimentation.
Review URL: http://codereview.chromium.org/202049

git-svn-id: http://src.chromium.org/svn/trunk/src/build@25950 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-11 00:01:39 +00:00
piman@chromium.org 42120e1293 linux: improve support for cross-compiling
This CL adds support for a 'sysroot' GYP define, that should point to the target root filesystem for cross-compilation.
It passes that argument to the compiler and linker which uses it to prefix its hard-coded path (e.g. /usr/include)
It also points pkg-config to look for package configs there, and rewrite the paths to be prefixed by 'sysroot' (since pkg-config doesn't do it itself)

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@25418 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-04 01:53:01 +00:00
robertshield@chromium.org 7266c00012 Parameterize the Google Update appid at build time instead of hard coding it in the source.
Review URL: http://codereview.chromium.org/178011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@25072 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-01 19:09:41 +00:00
thestig@chromium.org a2133f3505 Clean out leftover bits of the path-based Linux SUID sandbox.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/181030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@25019 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-01 07:01:20 +00:00
dank@chromium.org 884f7582fe Allow overriding debug optimization level on mac.
Review URL: http://codereview.chromium.org/178026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24834 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-28 23:23:29 +00:00
bradnelson@google.com 728a99f534 Submitted for bmcquade:
See review 17374

Description:
Fix include path in common.gypi to be relative to DEPTH, like all other
include paths in common.gypi.

BUG=19965
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-26 20:47:49 +00:00
mark@chromium.org ff05b4073e Build for Mac in the Release configuration at -O3
This is an experiment to get a few test cycles in so that we can measure the
impact and evaluate it against the .app/.dmg size increase that it will cause.
The size increase relative to -O2 is 1900kB (6%) .app and 800kB (5%) .dmg.

BUG=16713
TEST=Watch perf
Review URL: http://codereview.chromium.org/173505

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24511 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-26 20:14:55 +00:00
bradnelson@chromium.org 856e5cf098 Moving configuration platform to always be present, as that is required
in order for each configuration to get fully populated in configuration
manager.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24436 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-26 06:41:49 +00:00
thestig@chromium.org 6032048b09 Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS support. (Try 2)
TEST=none
BUG=19663

Original Review URL: http://codereview.chromium.org/173095

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-26 00:14:27 +00:00
yutak@chromium.org 433e6892fe Reverting 24220.
It seemed that r24220 caused failures on all of Linux UI (valgrind) bots.

TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24228 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-25 11:23:45 +00:00
thestig@chromium.org 34fa816a78 Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS support.
TEST=none
BUG=19663
Review URL: http://codereview.chromium.org/173095

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24220 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-25 07:25:06 +00:00
mark@chromium.org ce7a69df20 Build for Mac in the Release configuration at -O2
BUG=16713
TEST=Watch perf.  Startup time should be flat or possibly lose a very small
         amount (~1%).  Everything else should be a little bit faster.
     Watch sizes.  The .app and .dmg will grow, but I've cut their sizes way
         down lately, and I'd like to cash in some of those gains for speed.
Review URL: http://codereview.chromium.org/174160

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23882 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-20 21:19:26 +00:00
sgk@google.com b3017c6aad Explicitly set {Output,Intermediate}Directory on all configurations,
so that all .gyp files use the same output locations regardless
of whether they're still using the old checked-in release.vsprops file.
BUG=none
TEST=successful build of the Purify configuration
Review URL: http://codereview.chromium.org/172077

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23698 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-19 06:07:01 +00:00
munjal@chromium.org f215909caf Try what I tried in r23343 again
Sync gyp stuff moved from common.gypi to chrome.gyp.
TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23517 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-15 07:46:36 +00:00
darin@chromium.org fd12cb831f revert unintended change
git-svn-id: http://src.chromium.org/svn/trunk/src/build@23443 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-14 17:51:13 +00:00
darin@chromium.org 113ced8465 Remove WebFrame::selectAll and WebFrame::clearSelection in favor of having
consumers use executeCommand.

Patch by Marshall Greenblatt  
R=darin
BUG=19270
TEST=covered by unit tests



git-svn-id: http://src.chromium.org/svn/trunk/src/build@23442 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-14 17:50:22 +00:00
agl@chromium.org 5bb24236c5 Linux: add GYP flag for -fno-strict-aliasing.
We're still figuring out what to do about strict aliasing and V8. In
the mean time, V8 (and other parts of the code) are unbuildable with
GCC 4.4 and strict aliasing. Adding this flag at the request of fta.

http://codereview.chromium.org/164538


git-svn-id: http://src.chromium.org/svn/trunk/src/build@23421 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-14 05:30:52 +00:00