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

928 Коммитов

Автор SHA1 Сообщение Дата
alexeypa@chromium.org d6d0409b43 The 'msbuild_toolset%' variable can be used to select the desired version of Windows SDK when building in MSBuild (Visual Studio 2010/2010e).
TEST=Built all.sln successfully.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124274 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-29 22:53:30 +00:00
cevans@chromium.org 376305b3c5 Restore -pie linker flag on Linux.
Review URL: https://chromiumcodereview.appspot.com/9514014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124072 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-29 00:40:36 +00:00
glider@chromium.org 32e4687af7 Allow to override the location of ASan blacklist.
This is needed to build a CrOS binary, because the buildsystem doesn't play well with relative paths.

BUG=chromium-os:26919
Review URL: https://chromiumcodereview.appspot.com/9479002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@123935 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-28 07:27:58 +00:00
tony@chromium.org cf37037590 Fix linking when in a WebKit only checkout.
third_party is in a different location relative to the output directory
in WebKit only checkouts.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@123892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-28 05:17:26 +00:00
evan@chromium.org 1a8484f085 linux: don't instrument mmx functions
Shadow stacks use -finstrument-functions to hook all function entry/exit.
But mmx-related functions expect to be inlined so the compiler can
compile them out into mmx instructions.

This change excludes the mmx intrinsics header file from instrumentation.
Without it, builds wil fail with errors like the following:

../../third_party/gold/gold64: obj/media/libyuv_convert.a(obj/media/base/yuv_convert.yuv_convert.o): in function media::EmptyRegisterState():yuv_convert.cc(.text._ZN5media18EmptyRegisterStateEv+0x29): error: undefined reference to '_mm_empty()'

(_mm_empty() is an mmx intrinsic function.)


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@123289 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-23 19:10:51 +00:00
fsamuel@chromium.org fda208871a Compute pageScaleFactor on page so that fixed layout page fits width of window.
Fixed layout mode can now be enabled with the command line
flag --enable-fixed-layout.

This mode does not interact well with zoom at this point in time. This will be fixed shortly.

This bug replaces http://codereview.chromium.org/7764006/ which is no longer relevant. 

BUG=none
TEST=manually


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@123126 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-22 23:08:05 +00:00
glider@chromium.org e316690e6f Fix the path issues in ASan+ninja build
Review URL: https://chromiumcodereview.appspot.com/9372062

git-svn-id: http://src.chromium.org/svn/trunk/src/build@123019 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-22 10:22:29 +00:00
glider@chromium.org 0c53890669 Pass -asan-blacklist when building with ASan
Review URL: https://chromiumcodereview.appspot.com/9424048

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122831 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-21 16:51:09 +00:00
yoshiki@chromium.org 82b24f1650 Enable WebUI TaskManager by default.
Back to WebUI Task Manager, since M18 branch point has been passed.

BUG=99029
TEST=manual on linux and cros

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122806 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-21 09:53:16 +00:00
erg@chromium.org e29444abc6 Linux: Remove references to '-nopie' now that it's fixed in cros and doesn't exist on Pangolin.
BUG=cros:15266,79722


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-16 23:26:05 +00:00
eugenis@google.com 23fd55325e Disable ASan for host targets on Android.
They are always x86_32, and Clang only builds a x86_64 ASan runtime by default.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9413005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-16 11:42:12 +00:00
jrg@chromium.org bff44a8069 Disable gold for Android. Causes sporadic build breakage.
BUG=None
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121668 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-12 18:09:46 +00:00
asvitkine@chromium.org f542800660 Disable use_canvas_skia_skia=1 on Windows until CJK font fallback is working.
This is a revert of http://crrev.com/120710.

BUG=113437, 105550
TEST=none
TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121638 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-11 04:48:30 +00:00
evan@chromium.org 2ff34ef0cc Revert "Build fix: no gold on any ChromeOS build."
This reverts commit r121264, the bot is just sick.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121267 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 19:33:51 +00:00
evan@chromium.org a3be503eb9 Build fix: no gold on any ChromeOS build.
On a Google-internal ChromeOS builder make seems to exit with a
failure code no error message I can identify.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121264 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 19:26:27 +00:00
evan@chromium.org 26bc9879f9 linux: migrate linker --threads flag out of gyp
(Retry of r121148 with ChromeOS excluded.)

This just copies the flags used within gyp.

BUG=gyp:250

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 19:00:17 +00:00
wjia@chromium.org 4bef0864ce disable media stream creation when enable_webrtc=0
BUG=110581
Review URL: https://chromiumcodereview.appspot.com/9369022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121252 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 18:19:32 +00:00
csilv@chromium.org 28154f0194 Revert 121165 - Revert 121068 - linux: add a use_gold flag that defaults to on
[This CL was backed out speculatively due to failures on the cros trunk bot. But this CL
was not the cause of that problem, so I'm un-doing the revert.]

Currently, gyp attempts to autodetect whether the linker supports
the --icf flag.  It's more predictable to just require the caller
to specify whether they're using gold.

As a first demonstration of this, drop LINKER_USES_ICF code in the
Chrome build.  (I'll follow up with a gyp patch to remove the
LINKER_USES_ICF stuff in gyp.)

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

TBR=evan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9372012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121175 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 03:49:00 +00:00
csilv@chromium.org 0596e8b288 Revert 121068 - linux: add a use_gold flag that defaults to on
Currently, gyp attempts to autodetect whether the linker supports
the --icf flag.  It's more predictable to just require the caller
to specify whether they're using gold.

As a first demonstration of this, drop LINKER_USES_ICF code in the
Chrome build.  (I'll follow up with a gyp patch to remove the
LINKER_USES_ICF stuff in gyp.)


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

TBR=evan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9368015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121165 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 03:06:06 +00:00
gman@chromium.org e852276776 Revert 121148 - linux: migrate linker --threads flag out of gyp
This just copies the flags used within gyp.

BUG=gyp:250


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

TBR=evan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9368014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121163 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 02:39:41 +00:00
evan@chromium.org ae708a3db4 linux: migrate linker --threads flag out of gyp
This just copies the flags used within gyp.

BUG=gyp:250


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121148 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 01:59:40 +00:00
mark@chromium.org af02052ef9 Back out r121079 from the trunk, because it was checked in without permission
to a closed tree.

Back to WebUI Task Manager, since M18 branch point has been passed.

Revert 119612 - WebUI TaskManager: Turn it off by default on Win/Mac/Linux

WebUI Task Manager does not ship on M18 on Desktop Chromes (Win/Mac/Linux) so that task manager have been disabled temporary. On Chrome OS and Aura, it is still enabled.

BUG=97429
TEST=manual on linux and aura


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

TBR=yoshiki@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9361050

TBR=yoshiki@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9348075

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121082 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-08 23:06:44 +00:00
yoshiki@chromium.org a6ea5f7c9c Back to WebUI Task Manager, since M18 branch point has been passed.
Revert 119612 - WebUI TaskManager: Turn it off by default on Win/Mac/Linux

WebUI Task Manager does not ship on M18 on Desktop Chromes (Win/Mac/Linux) so that task manager have been disabled temporary. On Chrome OS and Aura, it is still enabled.

BUG=97429
TEST=manual on linux and aura


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

TBR=yoshiki@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9361050

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121079 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-08 23:04:04 +00:00
evan@chromium.org 2ada780735 linux: add a use_gold flag that defaults to on
Currently, gyp attempts to autodetect whether the linker supports
the --icf flag.  It's more predictable to just require the caller
to specify whether they're using gold.

As a first demonstration of this, drop LINKER_USES_ICF code in the
Chrome build.  (I'll follow up with a gyp patch to remove the
LINKER_USES_ICF stuff in gyp.)


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121068 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-08 22:04:58 +00:00
saintlou@chromium.org 77a3de0b94 Add flag to build old ChromeOS (pre-Aura). Thus allowing us to have a bot on the main waterfall.
BUG=112962
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120784 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-07 16:36:06 +00:00
ivankr@chromium.org 52ad43c3ee Enable internal gold for ChromeOS.
BUG=None
TEST=Manual: chrome builds with chromeos=1 on a 64-bit machine without a system gold binary.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120762 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-07 11:04:39 +00:00
asvitkine@chromium.org b7f78c3655 Enable canvas_skia_skia.cc on Windows.
BUG=105550
TEST=All UI text looks the same as before.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-07 04:28:22 +00:00
saintlou@chromium.org d9132b3ae1 Reverting: https://chromiumcodereview.appspot.com/9316112/
which prevents building chromeos with gtk

TBR=thestig@chromium.org
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120684 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-07 01:54:50 +00:00
saintlou@chromium.org 7266888ce8 First pass at chrome_browser gyp simplification.
BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120526 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-05 20:16:21 +00:00
evan@chromium.org ce1c30f2e7 linux: use an in-tree copy of gold by default
(Reland of r120385 with newer third_party/gold.)

Rather than forcing everyone to configure their search paths etc.
we should just make this work by default.  You can set
the gyp variable linux_use_gold_binary=0 to turn it off.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120424 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-03 22:44:59 +00:00
tim@chromium.org 67f477b874 Revert 120385 - linux: use an in-tree copy of gold by default
Rather than forcing everyone to configure their search paths etc.
we should just make this work by default.  You can set
the gyp variable linux_use_gold_binary=0 to turn it off.

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120356

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

TBR=evan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9328004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120397 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-03 20:55:52 +00:00
evan@chromium.org 858c60c730 linux: use an in-tree copy of gold by default
Rather than forcing everyone to configure their search paths etc.
we should just make this work by default.  You can set
the gyp variable linux_use_gold_binary=0 to turn it off.

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120356

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120385 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-03 20:19:47 +00:00
evan@chromium.org f0d8d123ba Revert "linux: use an in-tree copy of gold by default"
This reverts commit r120356.  Build failures on 32-bit Linux.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120361 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-03 19:28:28 +00:00
evan@chromium.org 91e8e93f95 linux: use an in-tree copy of gold by default
Rather than forcing everyone to configure their search paths etc.
we should just make this work by default.  You can set
the gyp variable linux_use_gold_binary=0 to turn it off.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120356 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-03 18:23:54 +00:00
saintlou@chromium.org c0f7c9ce5f Enable Aura for all ChromeOS builds in Chromium.
This will be landed after this: https://gerrit.chromium.org/gerrit/#change,14752

BUG=112154
TEST=build with chromeos==1 in gyp and see Aura desktop.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120240 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-02 21:40:05 +00:00
evan@chromium.org b58f88abbf build/common.gypi: delete an unused variable
TBR=thakis

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-01 01:51:15 +00:00
junov@chromium.org 45f32dc1b2 Removing unused gyp variable use_threaded_compositing
BUG=111192
TEST=NONE

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119688 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-30 17:50:29 +00:00
piman@chromium.org 9dfe2082f3 Merge Compositor and CompositorCC
This also removes a few unused calls.

BUG=None
TEST=compiles, tests pass


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-29 21:22:13 +00:00
thakis@chromium.org 67747622ed roll clang 148039:148911
BUG=97532,111806,111208 (maybe?)
TEST=none
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119637 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-29 09:02:10 +00:00
yoshiki@chromium.org 30138beafb WebUI TaskManager: Turn it off by default on Win/Mac/Linux
WebUI Task Manager does not ship on M18 on Desktop Chromes (Win/Mac/Linux) so that task manager have been disabled temporary. On Chrome OS and Aura, it is still enabled.

BUG=97429
TEST=manual on linux and aura


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119612 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-28 14:50:33 +00:00
piman@chromium.org 1f61a871e9 Fold views_compositor=1 into use_aura=1
We don't have a use case for views_compositor=1 and use_aura=0 (and it's
broken/untested anyway), so this simplifies things a little bit.

BUG=None
TEST=compiles, tests pass.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-28 03:23:01 +00:00
tony@chromium.org 2f6c313084 Add Malay as a translation.
The language code is ms.  This adds the necessary files to generate
the locale pak file.  Translations will arrive later.

BUG=111670
TBR=gfeher

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119548 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-28 00:57:19 +00:00
gbillock@chromium.org dff30693e2 Revert 119306 - Turn web intents build flag on.
Move the command-line flag to default-on.

(Revert of 119284 : https://chromiumcodereview.appspot.com/9212036)

IN CASE OF FIRE, PULL THIS HANDLE! If web intents needs
to be disabled, revert this change.

R=jhawkins@chromium.org
BUG=111135
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119423 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-27 09:36:11 +00:00
evan@chromium.org 734901a222 build/common.gypi: split out filename exclude rules
Here's a step towards making this enormous file a little more tractable.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119372 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-27 04:55:13 +00:00
evan@chromium.org 9db74ccd02 common.gypi: move harfbuzz-NG setting out into harfbuzz project
Less code in the central gyp file, more code near where it's
used.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119348 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-27 02:44:00 +00:00
gbillock@chromium.org ab8a36fb63 Revert 119284 - Turn web intents build flag on. Move the command-line flag to default on.
Make the flag disable rather than enable web intents.
Put the options UI behind a new flag controlling functionality if the registration tag is present for web content.

IN CASE OF FIRE, PULL THIS HANDLE! If web intents needs
to be disabled, revert this change.

R=jhawkins@chromium.org
BUG=90458
TEST=None

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

TBR=gbillock@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9113095

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119306 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-26 22:56:39 +00:00
gbillock@chromium.org a3549f92db Turn web intents build flag on. Move the command-line flag to default on.
Make the flag disable rather than enable web intents.
Put the options UI behind a new flag controlling functionality if the registration tag is present for web content.

IN CASE OF FIRE, PULL THIS HANDLE! If web intents needs
to be disabled, revert this change.

R=jhawkins@chromium.org
BUG=90458
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119284 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-26 20:55:13 +00:00
evan@chromium.org faabbc9b1c linux: don't make -Werror setting conditional on OS
People who need to adjust this should adjust it directly.
Guessing just makes everything more confusing.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119092 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-25 18:32:31 +00:00
evan@chromium.org fd65048d52 Use a 'defines' block instead of adding -Dfoo to cflags.
Should be equivalent, but simpler.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-25 17:51:36 +00:00
asvitkine@chromium.org dc135aa62e Add implementation of CanvasSkia based on RenderText.
This allows text drawing entirely through Skia, since RenderText ultimately uses
Skia to draw character glyphs.

This CL adds the new code, but does not yet enable it on any platforms. That
will be done in later CLs.

Note: Some functions, such as CanvasSkia::DrawStringWithHalo() and
PixelShouldGetHalo() are taken almost verbatim from the canvas_skia_win.cc
implementation.

BUG=105550
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119086 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-25 17:49:35 +00:00
glotov@google.com 929da149d7 Initial commit of profile guided optimization option
FYI, instrumentation code that provides the orderfile is here: http://codereview.chromium.org/8770054/

BUG=chromiumos:20187
TEST=bootperf, see https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-effort

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119073 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-25 15:30:46 +00:00
piman@chromium.org c539c5bac8 Always use webkit compositor
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118987 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-25 02:40:20 +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
evan@chromium.org b718315677 linux: remove no_strict_aliasing gyp variable
We won't build in -fstrict-aliasing mode anyway, so there's little
point putting it behind a flag.  Anyone who wanted to experiment
with this could just as well edit the build file directly.

BUG=32204

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118799 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-24 04:37:29 +00:00
piman@chromium.org 54db3fd4bd Revert 118789 - Always use webkit compositor
BUG=None
TEST=None


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

TBR=piman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9283008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118792 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-24 03:22:13 +00:00
piman@chromium.org bef14311fd Always use webkit compositor
BUG=None
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118789 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-24 02:53:27 +00:00
dpranke@chromium.org d8afd38e1d remove build_webkit_exes_from_webkit_gyp flag
R=tony@chromium.org
BUG=105823
TEST=everything stays green

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118774 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-24 01:34:35 +00:00
derat@chromium.org 245b1e3d04 aura: Replace UI-feature GYP flags with switches.
This replaces the aura_show_about_flag_window_mode and
chromeos_legacy_power_button GYP flags with
--aura-force-compact-window-mode and
--aura-legacy-power-button command-line switches.  There is
concern that using compile-time flags to control these
features will greatly increase the workload on the Chrome OS
builders; we apparently currently share Chrome binaries
across all Chrome OS boards with the same architecture.

BUG=109209,109052,chrome-os-partner:7570
TEST=manual

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-20 22:20:39 +00:00
dpranke@chromium.org d06e1fc2a9 build DRT, webkit_unit_tests from individual gyp files.
This change toggles the build_webkit_exes_from_webkit_gyp file to 0,
so that we try to build DumpRenderTree and webkit_unit_tests from their
corresponding .gyp files (WebKitUnitTests.gyp and Tools.gyp) rather than
the old WebKit.gyp file. This breaks the circular dependencies between
the executables which depend on webkit_support, which depends on
WebKit.gyp. We now only use the 'webkit' target itself in WebKit.gyp.

R=tony@chromium.org
BUG=105826
TEST=waterfall stays green

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118366 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-19 21:51:36 +00:00
thakis@chromium.org a2da04c9f3 clang: Force colors on when building with ninja.
BUG=110262
TEST=Build with ninja & clang, still get color diagnostics.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-19 03:15:48 +00:00
bauerb@chromium.org e652b5b631 Add -DENABLE_PLUGIN_INSTALLATION in chrome/renderer.
BUG=62079
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@117904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-17 16:47:34 +00:00
joi@chromium.org 2c46747486 Use PCH by default in VS 2010.
According to my testing, VS 2010 does not have problem (b) documented
at http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders,
i.e. it rebuilds the PCH file when necessary because of
e.g. preprocessor flag changes.

Since we aren't using VS 2010 for official builds, if problem (a) (out
of memory) is encountered with VS 2010 when we make the switch to
using it for official builds, we can simply turn PCH off explicitly in
the include.gypi for the official bots.

This change has no effect on VS 2008 bots or users.

BUG=110001


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@117845 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-16 11:45:17 +00:00
mazda@chromium.org dfd577ef5f Set -Wno-unused-result for Chrome OS build
Now gcc in chroot is updated to 4.6 and this option is available.

BUG=chromium-os:18541
TEST='emerge-stumpy chromeos-chrome' succeeds in chroot.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@117615 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-13 06:28:03 +00:00
thestig@chromium.org 4cbfbf092c Roll DEPS for Breakpad r897:r902. Mostly changes being upstreamed from CrOS's branch. Cleanup some whitespaces while we're at it.
Review URL: http://codereview.chromium.org/9158035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@117602 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-13 03:34:28 +00:00
wez@chromium.org 7e321db3bc Revert 117533 - Fix ASLR Windows build configuration
1) Actually turn off ASLR for Debug build.
   Despite the comments, this was not happening in reality
   because the /dynamicbase linker flag overrode the
   VCLinkerTool.RandomizedBaseAddress setting.

2) Make the ASLR setting configurable from outside
   (target usage is for particular Dr. Memory builds).

TEST=Built googleurl_unittests and ensured its ALSR setting matched that requested, both for default and for custom via new gyp var

BUG=109767

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

TBR=bruening@chromium.org
Review URL: http://codereview.chromium.org/9194003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@117586 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-13 02:43:33 +00:00
bruening@chromium.org 850539653c Fix ASLR Windows build configuration
1) Actually turn off ASLR for Debug build.
   Despite the comments, this was not happening in reality
   because the /dynamicbase linker flag overrode the
   VCLinkerTool.RandomizedBaseAddress setting.

2) Make the ASLR setting configurable from outside
   (target usage is for particular Dr. Memory builds).

TEST=Built googleurl_unittests and ensured its ALSR setting matched that requested, both for default and for custom via new gyp var

BUG=109767

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@117533 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-12 22:26:59 +00:00
derat@chromium.org 8c3b347198 chromeos/aura: Handle power button on unofficial hardware.
Most official Chrome OS hardware reports power button
releases correctly, but on standard x86 systems, we'll always
receive a button up event just after the button down.  This
change adds a chromeos_legacy_power_button gyp flag; when
set, we lock the screen or shut down immediately when the
button is pressed instead of providing interactive
animations.

BUG=109209
TEST=added tests; also did manual testing

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116993 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-10 02:42:25 +00:00
alicet@chromium.org 43ca877331 This is added so that we can control from the chromeos build time whether to define this flag, and can optionally not add the aura-window-mode toggle to about://flags page.
BUG=109052
TEST=checked generated make file and compiles.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116964 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-10 00:13:38 +00:00
jbauman@chromium.org 9d6f161a54 Reenable SwiftShader
The crash bugs weren't related to SwiftShader, so enable it again.

BUG=26001
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116429 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-05 01:07:12 +00:00
thakis@chromium.org 9ac92da4f4 clang: Remove -Wno-format now that our clang understands %as in c++.
BUG=none
TEST=builds
TBR=hans


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116397 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-04 23:06:32 +00:00
cpu@chromium.org 0b73cee81d Add shell32 to the delayload list for most gyp projects
I am working on removing cruft (manual binds to shell32) that people have made in /chrome and /base

BUG=none
TEST=green tree
Review URL: http://codereview.chromium.org/9008075

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116368 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-04 20:11:01 +00:00
ben@chromium.org d438d29779 Introduce use_ash macro/gyp define.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116212 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-03 22:02:16 +00:00
derat@chromium.org 68115e4677 aura: Allow fullscreen RWHVAs (i.e. Flash) to be focused.
This fixes a regression that caused fullscreen
RenderWidgetHostViewAuras to decline the focus, resulting in
them not receiving key events.

BUG=107804
TEST=manually checked that Space and Escape now work in fullscreen YouTube videos; also added a test

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115855 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-27 23:58:52 +00:00
thakis@chromium.org 3b11a706f1 roll clang 146361:147225
BUG=107412
TEST=none
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115755 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-24 07:50:43 +00:00
podivilov@chromium.org a91a116db4 Add --dart-flags and --disable-dart command line switches.
R=darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115707 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-23 11:59:35 +00:00
jbauman@chromium.org f993c89eea Temporarily disable swiftshader.
We've been getting a bunch of extra gpu-related crashes recently, and while they don't seem to be related to swiftshader (the timing is a bit off) it's possible, so try to rule that out.

BUG=26001
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-22 14:30:44 +00:00
aarya@google.com 952d3d3d05 Fix for missing ASAN stack frames.
Review URL: http://codereview.chromium.org/8999013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115347 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-21 17:37:08 +00:00
siggi@chromium.org b6c605bd25 With this change, each target can select an optimization level for Windows official builds by setting a variable name "optimize" to one of three possible values:
- "size"; optimizes for minimal code size, the default.
- "speed"; optimizes for speed over code size.
- "max"; turns on link time code generation and whole
   program optimization, which is very expensive and should
   be used sparingly.

Note that this change by itself lowers the optimization level to "size" for all targets. Separate changes to the V8 and WebKit repos will be needed to bring up their optimization levels to WPO. 

BUG=108167
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115187 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-20 21:37:37 +00:00
glider@chromium.org 9cfd417817 Do not pass the deprecated -fasan flag in the asan=1 mode
(we're already passing -faddress-sanitizer).
Review URL: http://codereview.chromium.org/8953033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115097 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-20 08:38:00 +00:00
bruening@chromium.org 1a015eacda 3 additions to common.gypi:
1) re-instate r113657 from crbug/106711:
   win_release_OmitFramePointers=0 must explicitly pass /Oy-
   since /O2 implies /Oy
2) add win_debug_OmitFramePointers as tri-state where blank
   value (the default) avoids perturbing VS defaults
3) add win_release_extra_cflags and win_debug_extra_cflags
   to make it easier to add custom local flags for
   tool builds

BUG=106711
TEST=Tweaked these vars via GYP_DEFINES and include.gypi and confirmed the changes in build/All.vcproj

For example:

I have "'win_release_InlineFunctionExpansion': 0" in my include.gypi:

% GYP_DEFINES='win_debug_extra_cflags="/QIfist /nologo"' gclient runhooks
% grep -E -o 'Name="[^"|]*\|[^"]*"|Omit[^ ]*|include" AdditionalOptions="[^"]*"' build/All.vcproj 
Name="Release|Win32"
include" AdditionalOptions="/MP /Ob0"
OmitFramePointers="true"
Name="Debug|Win32"
include" AdditionalOptions="/MP /QIfist /nologo"
Name="Release|x64"
include" AdditionalOptions="/MP /Ob0"
OmitFramePointers="true"
Name="Debug|x64"
include" AdditionalOptions="/MP /QIfist /nologo"

% GYP_DEFINES='win_release_extra_cflags="/QIfist /nologo" win_release_OmitFramePointers=0 win_debug_OmitFramePointers=1' gclient runhooks
% grep -E -o 'Name="[^"|]*\|[^"]*"|Omit[^ ]*|include" AdditionalOptions="[^"]*"' build/All.vcproj
Name="Release|Win32"
include" AdditionalOptions="/MP /QIfist /nologo /Ob0 /Oy-"
OmitFramePointers="false"
Name="Debug|Win32"
include" AdditionalOptions="/MP"
OmitFramePointers="true"
Name="Release|x64"
include" AdditionalOptions="/MP /QIfist /nologo /Ob0 /Oy-"
OmitFramePointers="false"
Name="Debug|x64"
include" AdditionalOptions="/MP"
OmitFramePointers="true"


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114893 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-17 02:16:24 +00:00
jbauman@chromium.org 4157c248d3 Download SwiftShader component if WebGL is blacklisted
Register with the component updater service if it's discovered that WebGL is blacklisted. Then register the swiftshader library with the GPU data manager.

BUG=26001
TEST=Start up chrome on a blacklisted windows machine, wait a while, and open a webgl page

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114885 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-16 23:57:57 +00:00
mseaborn@chromium.org b5236bb2c0 Breakpad: Compile Breakpad into Chromium by default on Mac
This is intended to make it easier to test Breakpad crash dumping on
the buildbots.  Crash dumping will be disabled in Chromium by default
at run time unless CHROME_HEADLESS is set.

The bots set CHROME_HEADLESS, but we don't really want the bots to be
uploading crash dumps that are useless without symbols, so uploading
is disabled except for official builds and when building with
mac_breakpad_uploads=1.

This should not affect stack backtraces that occur in tests (such as
browser_tests) via StackDumpSignalHandler().  Although Breakpad would
normally take priority over this signal handler, Breakpad does not get
enabled in these test suites because is_browser is false inside
InitCrashReporter().

This change leaves the Gyp option "mac_breakpad" for enabling the
creation of Breakpad files.  This remains off by default for Chromium
builds, because the symbol dumping is slow and because it has problems
in the makefile-based Mac builds.

BUG=105778
TEST=run Chromium with --crash-test and CHROME_HEADLESS=1; a *.dmp file
  should appear in ~/Library/Application Support/Chromium/Crash Reports


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114468 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-14 19:10:56 +00:00
robert.nagy@gmail.com 15992a73df add -fPIC to ldflags if linux_fpic is enabled
BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114467 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-14 19:04:35 +00:00
robertm@google.com 6e85b84e37 Put irt and untrusted TC dependencies behind a flag.
This helps with arm development where the PNaCl hook up will take a while.

Also:
* split ppapi_proxy.gyp into trusted and untrusted parts.
* enable nacl for arm when *not* targeting chromeos 


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114438 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-14 16:32:07 +00:00
maruel@chromium.org 74da83cd6a Revert r113657 "win_release_OmitFramePointers=0 must explicitly pass /Oy-"
We are suspecting this has side effects on official builds.

If so, this is a configuration error. Trying out to be sure.

TBR=timurrrr@chromium.org
BUG=
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-13 19:46:48 +00:00
peter@chromium.org a7360ac8d0 Set the compiler root directory for the Android NDK, merging two linker flags.
This change replaces -rpath-link and an -L linking flag with --sysroot, which sets the compiler root directory for all headers and libraries.

BUG=
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114216 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-13 16:00:52 +00:00
yoshiki@chromium.org 03cd4ab53e WebUI TaskManager: Turn it on-by-default on Win/Mac/Linux
Enable WebUI task manager for all platforms in r18, reverting r112133 ("WebUI TaskManager: Turn it off-by-default on Win/Mac/Linux").

BUG=97429
TEST=manual on linux
TBR=yoshiki@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@113779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-09 09:48:10 +00:00
bruening@chromium.org fe4359cdf4 win_release_OmitFramePointers=0 must explicitly pass /Oy-
since /O2 implies /Oy

BUG=106711
TEST=examined All.vcproj and ./build/Release/obj/googleurl_unittests/BuildLog.htm and confirmed /Oy- is present


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@113657 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-08 21:04:12 +00:00
piman@chromium.org 9b97c3beaf aura: Use WebKit compositor by default
BUG=99524
TEST=compositor_unittests, views_unittests, aura_unittests...


Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112641

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@113434 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-07 19:13:11 +00:00
robert.nagy@gmail.com f3c7620c31 use os_bsd and OS_BSD and add some OS_FREEBSD conditions
this change is the first part of the FreeBSD support

BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@112936 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-04 14:19:41 +00:00
kalman@chromium.org 259dd9951b Revert 112641 - aura: Use WebKit compositor by default
BUG=99524
TEST=compositor_unittests, views_unittests, aura_unittests...


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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@112645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-02 06:45:29 +00:00
piman@chromium.org d8360c9b81 aura: Use WebKit compositor by default
BUG=99524
TEST=compositor_unittests, views_unittests, aura_unittests...


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@112641 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-02 05:09:45 +00:00
thakis@chromium.org d555fd41e8 Make clang_load and clang_add_plugin independent.
BUG=none
TEST=GYP_DEFINES=clang_add_plugin=foo build/gyp_chromium adds a parameter


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@112630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-02 03:41:53 +00:00
saintlou@chromium.org 6c4e7aafa2 Removing the last occurences of the 'touchui' gyp flag.
BUG=105046
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@112514 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-01 20:18:02 +00:00
yoshiki@chromium.org 749d4fa427 WebUI TaskManager: Turn it off-by-default on Win/Mac/Linux
WebUI Dialogs does not ship on M17 on Desktop Chromes (Win/Mac/Linux) so that task manager have been disabled temporary.

BUG=97429
TEST=manual on linux


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@112133 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-30 05:03:29 +00:00
bradnelson@google.com bf6d0c52fc Pulling in new nacl toolchain for chromeos.
BUG=http://code.google.com/p/chromium/issues/detail?id=105658
TEST=None
R=aa@chromium.org

TBR
Review URL: http://codereview.chromium.org/8728022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111857 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-29 03:21:41 +00:00
davemoore@chromium.org dc3600c449 Revert 110948 - Add support for stripping Chrome tests.
The chromeos-chrome ebuild strips Chrome tests after the build, but it
can run significantly faster if we strip them during the build. This
changelist reduces the time it takes to build Chrome by allowing
developers to remove unnecessary debug symbols.

Performance comparison on z600 LOCAL_SOURCE build:
  Before: 24m31s (257m04s user, 23m19s sys)
  After:  20m55s (236m12s user, 22m10s sys)

Companion CL for updating Chrome OS to use strip_tests by default is here:
  https://gerrit.chromium.org/gerrit/11517

BUG=chromium-os:22844
TEST=Build with and without debug symbols. Confirm speed difference.

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

TBR=davemoore@chromium.org
Review URL: http://codereview.chromium.org/8659015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111778 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-28 21:52:48 +00:00
epoger@chromium.org 1c34a9cda7 Move use_skia_on_mac setting into its own gypi file, so that WebKit scripts can
change their behavior based on its setting.

This will help keep buildbots green during a transition period (see bug).

BUG=101731
Review URL: http://codereview.chromium.org/8716011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111734 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-28 18:53:48 +00:00
aa@chromium.org 64cad4af1b Revert "Reland "Move a bunch of ChromeOS APIs out of chrome/browser/extensions."""
This reverts commit fd92fe3ff7c0a4a0da97da00cdf6bd5476c46195.

BUG=
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111663 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-27 22:47:02 +00:00
aa@chromium.org 1b0cfd087d Reland "Move a bunch of ChromeOS APIs out of chrome/browser/extensions.""
Original CL: http://codereview.chromium.org/8609008

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111661 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-27 22:24:10 +00:00
noelallen@google.com 48a117ea38 Disable build of NaCl in ChromeOS
Due to a hack which pins the ChromeOS toolchain in a python script,
attempts to roll deps past a toolchain bump is failing for ChomeOS.
This CL disables NaCl in ChromeOS until we can fix the build issue.

BUG= http://code.google.com/p/chromium/issues/detail?id=105484
TRB= bradnelson@chromium.org
Review URL: http://codereview.chromium.org/8710002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111644 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-27 02:30:42 +00:00
glider@chromium.org 91d9b4717f ASan Mac + cleanup:
-- move the compiler/linker options turned on by asan==1 to the conditions section to use them for host binaries too;
 -- use 'defines' instead of -D on Linux
 -- removed an obsolete comment
Review URL: http://codereview.chromium.org/8702003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-25 10:34:35 +00:00
glider@chromium.org 1ede726064 If asan==1:
-- pass the -faddress-sanitizer flag to enable ASan;
 -- pass the -fasan flag for backward compatibility;
 -- pass the -DADDRESS_SANITIZER which soon won't be defined by ASan;
 -- mark several functions missing in the 10.5 SDK as dynamic_lookup

 Whitespace fix.

TBR=thakis
Review URL: http://codereview.chromium.org/8676002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111575 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-25 07:26:56 +00:00
scottmg@chromium.org 87829f3277 Add gamepad hardware data fetcher, and higher level thread container
DataFetcher is the hardware and platform-specific data getter that talks to OS
level interfaces for each platform and fill in a structure provided to it.
Currently only Windows is here.

Provider is a manager for the background thread that the DataFetcher runs on,
and interacts with the rest of browser.

This is part of a larger patch, the remainder of which is at
http://codereview.chromium.org/8345027/

BUG=79050


Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111189

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111456 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-24 00:57:54 +00:00
dpranke@chromium.org 1a64c436a0 Add build_webkit_exes_from_webkit_gyp flag to build/common.gypi
This is the first step in splitting up the circular dependencies between
DRT, webkit_support, and webkit. This change should be a no-op for now.

R=tony@chromium.org
BUG=https://bugs.webkit.org/show_bug.cgi?id=68463

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111436 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-23 23:32:06 +00:00
saintlou@chromium.org 2c8cf0cb91 Touch constants and dead code removal.
BUG=105046
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111415 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-23 21:42:33 +00:00
jingzhao@chromium.org 0fff30ce7f Upstream: Gyp changes to build net_unittests for Android.
BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111114 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-22 07:53:01 +00:00
erg@chromium.org c1f92d84ba GTK: Make the gtk port compile with GTK_DISABLE_SINGLE_INCLUDES.
BUG=79722
TEST=none
TBR=tony

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111090 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-22 03:12:31 +00:00
saintlou@chromium.org 8e8c7c9bff Remove TOUCH_UI definition and make use_virtual_keyboard an independant variable.
BUG=105046
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111069 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-22 01:25:27 +00:00
davemoore@chromium.org fec5d32554 Add support for stripping Chrome tests.
The chromeos-chrome ebuild strips Chrome tests after the build, but it
can run significantly faster if we strip them during the build. This
changelist reduces the time it takes to build Chrome by allowing
developers to remove unnecessary debug symbols.

Performance comparison on z600 LOCAL_SOURCE build:
  Before: 24m31s (257m04s user, 23m19s sys)
  After:  20m55s (236m12s user, 22m10s sys)

Companion CL for updating Chrome OS to use strip_tests by default is here:
  https://gerrit.chromium.org/gerrit/11517

BUG=chromium-os:22844
TEST=Build with and without debug symbols. Confirm speed difference.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@110948 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-21 17:16:54 +00:00
glider@chromium.org 5b020299b2 Two changes related to the asan=1 mode:
-- set -DADDRESS_SANITIZER when compiling, because ASan will no more define it;
 -- use -faddress-sanitizer instead of -fasan (these will coexist until we update all the binaries)

TBR=thakis
Review URL: http://codereview.chromium.org/8461008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@110907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-21 13:12:14 +00:00
dpranke@chromium.org fab84354ad Enable content component (again!).
This version fixes a problem with the windows incremental linking build. We can't incrementally link chrome when content is being built as a DLL because chrome links in webkit_glue and webkit_glue depends on symbols defined in content. We can remove this when we fix glue.

R=jam@chromium.org
BUG=90442, 98755.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@110360 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-16 21:55:18 +00:00
mark@chromium.org 4a89b696f7 rename some _linux files to _posix and introduce os_bsd
The os_bsd variable is only available on FreeBSD and OpenBSD.
Later on others like NetBSD and DragonflyBSD can be added.
This variable was introduced in order to have shorter
conditions in the gyp files.

BUG=
TEST=compile

Patch by Robert Nagy <robert.nagy@gmail.com>
Review URL: http://codereview.chromium.org/8567001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109929 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-14 19:15:25 +00:00
robert.nagy@gmail.com 503abe182b don't exclude _xdg(_unittest)?\\.(h|cc) on OpenBSD either
BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109884 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-14 15:18:01 +00:00
saintlou@chromium.org a148ee937c IsPureViews() is always true under USE_AURA and TOUCH_UI at compile time (as before).
For other configurations it can also be set by a command line option at run-time (also as before).
What changes is that we are removing use_only_pure_views as a separate GYP flag which we no longer really need.

BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109571 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-11 03:00:38 +00:00
derat@chromium.org 3fd942adfe aura: Make the Linux version of IconLoader not require GTK+.
This change makes it use webkit_glue::ImageDecoder instead
of gdk-pixbuf and hides various GTK+ theme-related code
behind TOOLKIT_USES_GTK ifdefs.  Chrome OS is currently
loading its own icons from resources (see r86936 and
http://crosbug.com/129) instead of using IconLoader and
IconManager, so this only removes NOTIMPLEMENTED()s on
non-Chrome-OS Linux Aura builds (along with simplifying the
GTK+ version of the code).

BUG=99494
TEST=manual: download icons are still visible on a gtk+ build

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109527 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-10 23:01:19 +00:00
reed@google.com 4033b09a69 revert 109421
Review URL: http://codereview.chromium.org/8462017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109438 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-10 16:25:09 +00:00
epoger@chromium.org ab25313e6f Re-enable Skia by default for Chromium-Mac. See bug for more details.
BUG=101731
Review URL: http://codereview.chromium.org/8520005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109421 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-10 13:32:59 +00:00
thakis@chromium.org f304a23f9a Turn on -Wexit-time-destructors for ui and content.
I had hoped to just turn this on globally after fixing all instances, but people
add these fairly often. So enable the warning for clean targets incrementally.

BUG=10600
TEST=none
TBR=ben

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109274 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-09 18:46:07 +00:00
vollick@chromium.org be9160188a Reenable triggering of screen rotations by sensors.
Depends on http://codereview.chromium.org/8395046

BUG=None
TEST=Visiting about:rotate?right, about:rotate?left, etc. should cause the appropriate screen rotations.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@108889 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-07 19:26:30 +00:00
dmaclach@chromium.org 47046e2928 Remove prebinding which only applies to 10.4 and powerpc.
BUG=None
TEST=Build


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@108430 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-03 04:57:49 +00:00
epoger@chromium.org 07fbe97ac1 Revert 108110 - Set use_skia=1 by default
Reverted because it was killing pagecycler performance

More background info at http://code.google.com/p/chromium/issues/detail?id=101731 ('re-enable use_skia by default')
BUG=101731
Review URL: http://codereview.chromium.org/8384004

TBR=kerz@chromium.org
Review URL: http://codereview.chromium.org/8386008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@108129 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-01 17:54:24 +00:00
epoger@chromium.org 3d733201bd Set use_skia=1 by default
More background info at http://code.google.com/p/chromium/issues/detail?id=101731 ('re-enable use_skia by default')
BUG=101731
Review URL: http://codereview.chromium.org/8384004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@108110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-01 15:27:12 +00:00
jknotten@chromium.org 9674f158a0 Allow building without notification support.
BUG=None
TEST=Existing


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@107708 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-28 10:41:57 +00:00
ben@chromium.org 48f770ab16 Always use skia text rendering on Windows in Aura. GDI rendering is really wonky, and this is a convenient fix.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8400023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@107608 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-27 19:01:00 +00:00
rogerta@chromium.org 47f1493036 Make sure that the builder includes the search app crx in the installer. In
a previous CL I added the crx file and the corresponding change to the json
file, but forgot to add the crx file to the gyp files.

BUG=101500
TEST=Make sure the search app appears in new profiles

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@107263 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-26 00:57:06 +00:00
piman@chromium.org f3ac00e498 Enable accelerated compositing of web pages when using webkit compositor
BUG=99517
TEST=http://www.webkit.org/blog/386/3d-transforms/


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@107262 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-26 00:54:46 +00:00
steveblock@chromium.org 60d399c536 Add ENABLE_JAVA_BRIDGE
This flag allows us to avoid compiling and executing JavaBridge code when the
feature is not required. The flag defaults to off, but is enabled on Android.

BUG=96703

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@107010 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-24 23:16:18 +00:00
robert.nagy@gmail.com cb91ef8ec3 OpenBSD patches for base and build, part 2
base/base.gyp: 
  - exclude test/test_file_util_linux.cc on OpenBSD because of
    missing fdatasync()

base/base.gypi:
  - include linux_util.cc on OpenBSD too
  - exclude some linux specific files from the OpenBSD build
    because the openbsd implementation is different

base/file_util_posix.cc:
  - Use file_util::GetTempDir directly to get the shm dir
    on !linux

base/sys_info_freebsd.cc:
   - return 0 and do a NOTREACHED() in case sysctlbyname() fails

base/sys_info_openbsd.cc:
  - cleanup includes
  - use arraysize() in the sysctl() call
  - implement SysInfo::MaxSharedMemorySize()

build/common.gypi:
  - -Wno-deprecated is C++ only flag so move it to cflags_cc
  - Do not exclude linux specific files, dirs on OpenBSD since
    90% of it is sharable

base/sys_info_linux.cc:
  - DCHECK if the read string is empty
  - Use base::StringToInt64() to convert the string
    to an int64
  - DCHECK if the returned int64 is okay for a size_t
  - call NOTREACHED() and return 0 if fails

BUG=
TEST=runs on linux?


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106984 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-24 22:05:27 +00:00
piman@chromium.org fc6bee088b Use WebKit compositor in ui::Layer
BUG=99524
TEST=compositor_unittests


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106814 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-22 00:32:46 +00:00
rsesek@chromium.org 628da0a423 Gracefully handle child process death in out-of-process plugin loading.
This also queues requests to load plugins, based on http://codereview.chromium.org/8243010/.

BUG=100053
TEST=Install Sonix webcam driver on OS X Lion and try to load a Flash video. It plays.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106738 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-21 17:45:43 +00:00
lipalani@chromium.org a4c52ad64c Revert 106606 - Use WebKit compositor in ui::Layer
BUG=99524
TEST=compositor_unittests


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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106615 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-20 23:05:52 +00:00
piman@chromium.org 3399f82024 Use WebKit compositor in ui::Layer
BUG=99524
TEST=compositor_unittests


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106606 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-20 22:39:45 +00:00
thakis@chromium.org 4250057b73 clang: Enable using a different compiler path for standalone webkit make builds.
BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-20 21:52:24 +00:00
jasonwkim@google.com 2f0bf36f7b Move the definition of disable_nacl% inside a conditional
and remove the explicit commingling of target_arch=arm and disable_nacl
in other parts.
The net effect is that NaCl is still disabled on ARM but is more easily
enabled.

R=bradnelson@google.com
BUG=http://code.google.com/p/chromium/issues/detail?id=61695
BUG=http://code.google.com/p/chromium/issues/detail?id=38909
BUG=http://code.google.com/p/nativeclient/issues/detail?id=135


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106527 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-20 18:16:11 +00:00
backer@chromium.org f88d8c2510 Update name to match define.
In previous CL, moved VIEW_GPU_IMAGE_TRANSPORT to UI_COMPOSITOR_IMAGE_TRANSPORT at reviewer request. Forgot to move views_gpu_image_transport to ui_compositor_image_transport.

R=ben@chromium.org
BUG=none
TEST=none (CL is a no-op)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-19 14:51:33 +00:00
yoshiki@chromium.org ce6b3656e3 WebUI TaskManager: Turn it on-by-default on Win/Mac/Linux
Modified gyp to define WEBUI_TASK_MANAGER=1.
And fixed some tests, because they had failed with WEBUI_TASK_MANAGER=1 on Windows.

BUG=99029
TEST=manual, trybots pass


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106040 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-18 07:05:16 +00:00
thakis@chromium.org a0b795c78b roll clang 140930:142072
Also add a --run-tests parameter to update.sh

The plugin change is required due to http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20111010/047769.html

BUG=none
TEST=none
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@105679 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-15 19:00:30 +00:00
sky@chromium.org 0deda81573 Wires keeping the launcher up to date with the browser. I also needed GetBrowserViewForNativeWindow, so I had to wire up ViewProps for it to work correctly.
BUG=97262
TEST=none
R=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@105677 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-15 18:44:51 +00:00
jknotten@chromium.org ee35183eeb Allow speech input feature to be disabled.
BUG=None
TEST=Existing


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@105463 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-14 05:08:22 +00:00
backer@chromium.org 8cd219917c Enable accelerated WebKit compositor for Aura.
This allows the use of the WebKit compositor for Aura on Linux. It reuses the same display path as TOUCH_UI.

BUG=none
TEST=build GYP_DEFINES="use_aura" on Linux; go to http://www.webkit.org/blog-files/3d-transforms/poster-circle.html

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@105323 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-13 17:18:11 +00:00
mark@chromium.org 72bb97f457 OpenBSD and FreeBSD fixes for base.
OpenBSD and FreeBSD need -I/usr/local/include for <execinfo.h>.
Use !#/usr/bin/env bash because on !linux it's not located there.

Patch by Robert Nagy <robert@openbsd.org>

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@105257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-13 04:23:22 +00:00
thakis@chromium.org b86921bce4 clang: Reenable -Wparentheses on mac.
I disabled it 4 months ago in http://codereview.chromium.org/7046048
and forgot to turn it back on.

BUG=none
TEST=none
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@105233 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-13 01:36:57 +00:00
phajdan.jr@chromium.org 5fe72dcb0f Fix build with system yasm.
BUG=100078
Review URL: http://codereview.chromium.org/8243012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@105149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-12 20:37:36 +00:00
glider@chromium.org e5b53336d8 Do not use Chrome plugins with ASan.
Review URL: http://codereview.chromium.org/8242011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@105102 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-12 16:55:20 +00:00
dmichael@chromium.org fe8e5197b0 Add global lock for Enter* classes. Add ScopedProxyLock for non-thunk proxies. Add multi-threading test for PPB_Var.
BUG=92909
TEST=None yet

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104931 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-11 18:58:22 +00:00
timurrrr@chromium.org 5a0bef9ab2 Make OmitFramePointer adjustable for Win/Release build.
Also, remove the Optimization hard-coded flags that turned out not to be adjustable as well.

TEST=vimdiff against ipc\ipc.vcproj of three different versions:
1) old
2) new (matches "old" except for the addition of OmitFramePointers="true" for Release x64)
3) new with `GYP_DEFINES=win_release_OmitFramePointers=0 win_release_Optimization=2`

BUG=99446,96326

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-11 15:47:33 +00:00
scottbyer@chromium.org 783b6aba24 Smooth scrolling build cleanup.
Now that it's compiled into WebKit by default, remove the gyp flag.

BUG=none
TEST=build on Windows or Linux after this CL, turn on the flag, check that scrolling is still animated.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104893 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-11 15:31:39 +00:00
davemoore@chromium.org befe5970b6 Add gyp rules to exclude _aurax11 and _aurawin files when appropriate
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-10 15:42:43 +00:00
jamesr@chromium.org ac0ce3a318 Add command line switch for enabling threaded compositing
This is a patch against the patch in http://codereview.chromium.org/8139020/

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104623 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-08 01:23:38 +00:00
rkc@chromium.org f5935e5b86 Implement disable_pie for all executables.
On setting disable_pie=1 would only build Chrome with the PIE flag disabled. This helped debugging Chrome but browser_tests, ui_tests and other tests + executables were still built with PIE making remote debugging them not possible.

Now when disable_pie=1 is specified, all executables will be built non-PIE.

R=zelidrag@chromium.org,thakis@chromium.org
BUG=None.
TEST=Tested with a complete build. Only and all executables are being linked with '-nopie' with disable_pie=1 specified.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104609 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-08 00:00:44 +00:00
ben@chromium.org 1b62dec1b7 Get Chrome to build & link with USE_AURA on Windows again.BUG=noneTEST=none
Review URL: http://codereview.chromium.org/8174005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104382 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-06 22:55:28 +00:00
tony@chromium.org 50d26baf55 Move build_dir_prefix up a level of nesting so we don't create
a 'variables' configuration in xcode.

BUG=99226


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104321 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-06 18:06:44 +00:00
mattm@chromium.org 8ac3b240aa Fix build with GYP_DEFINES=use_openssl=1.
BUG=none
TEST=build on linux with GYP_DEFINES=use_openssl=1.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104237 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-06 03:30:42 +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
gbillock@chromium.org ad2ff47424 Fix ENABLE_INTENTS to ENABLE_WEB_INTENTS that slipped through the cracks.
R=jhawkins@chromium.org
BUG=None
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-04 20:18:47 +00:00
bradnelson@google.com ec2340ddba Revert 102221 - Temporarily turning off stripping for mac builds on the main waterfall to
debug intermittent crash seen only there.

BUG=None
TEST=None
R=bradchen@chromium.org
Review URL: http://codereview.chromium.org/7976042

TBR=bradnelson@google.com
Review URL: http://codereview.chromium.org/8136010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-04 18:36:38 +00:00
hashimoto@chromium.org c5290091a5 Separate Virtual Keyboard related conditionals from TouchUI
Add a gyp variable use_virtual_keyboard
Add a cpp define USE_VIRTUAL_KEYBOARD
Add a grit define use_virtual_keyboard

BUG=chromium-os:10620
TEST=chrome and browser_tests compile successfully with GYP_DEFINES="touchui=1" and GYP_DEFINES="use_virtual_keyboard=1 use_only_pure_views=1".  they run with a virtual keyboard with command-line option --views-desktop


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103926 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-04 17:03:18 +00:00
mark@chromium.org 05269bbaa8 Disable CLANG_WARN_CXX0X_EXTENSIONS (-Wc++0x-extensions) when building with
clang under Xcode 4.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103747 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-03 18:22:38 +00:00
scottmg@chromium.org 929e4a0089 Mostly automatic incremental link enabling
Patch and tool to make turning on incremental linking on Windows easy.

BUG=94837
TEST=No link errors


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103474 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-30 16:37:51 +00:00
vapier@google.com 51fc68dbba linux: allow builds to override libdir path
Not all multilibs install into /usr/lib/, so when building for one which
doesn't, we hit errors where the detected python arch does not match the
detected target arch.  Like x86_64/powerpc64/sparc64/etc... which use
/usr/lib64/.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103422 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-30 04:38:43 +00:00
glotov@google.com 8663a7efaf _pyautolib.so is linked with libasan.a if ASAN is used.
BUG=chromium-os:20711
TEST=run autotests under ASAN

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103298 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-29 17:29:03 +00:00
michaelbai@google.com 456849006f Upstream: The change of common.gypi
- Exclude android specific files when building with 'host' toolset.
- Not using system icu by default.

BUG=
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103286 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-29 16:07:28 +00:00
sky@chromium.org 4abb72fb1b Refactors TestCompositor out of views_unittests into a place it can be
used by both the layer tests and the views test. Also fixes a bug that
was causing test to fail and fixes up defines. I've disabled a portion
of the compositor unit tests on linux as they don't compile.

BUG=none
TEST=none
R=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-28 23:45:38 +00:00
rogerta@chromium.org 5af7c4a109 Changed Mac, Linux and Win Official Chrome build to drop default app CRXs in
the build/installer output.

This change undoes the revert of 99878.  This change was originally reverted
because it was decided to push this change to M16.

BUG=94920
TEST=Do an Official build in mac, linux and win. Ensure that after installing
the app, you can find the default apps under the install's directory
structure. For win, this is under a default_apps directory, for mac, this is
under a "Default Apps" directory.
Review URL: http://codereview.chromium.org/8041033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-28 02:03:59 +00:00
tony@chromium.org 62618d28ec Add a gyp variable build_dir_prefix to control the output
directory of the build on Windows.

BUG=97678


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@103054 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-28 00:02:51 +00:00
epoger@google.com 3095a94d9c Disable Skia on Mac until we resolve http://code.google.com/p/chromium/issues/detail?id=98079
('Unable to see any "TEXT' in chrome browser.')
Review URL: http://codereview.chromium.org/8054015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102944 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-27 16:30:55 +00:00
joi@chromium.org 7464670db3 Use precompiled headers on Windows only when a flag is set.
I would have preferred if precompiled headers could be enabled by
default. The motivation for this change is primarily that Visual
Studio does the wrong thing on preprocessor flag changes - instead of
rebuilding precompiled headers, it errors out on any file that uses
them, saying that the precompiled header was built with different
flags! This causes a world of hurt on our infrastructure stuff,
particularly on trybots as they may be jumping back and forth between
revisions before and after a flag change.

Prior to this change, only Debug builds used precompiled headers and
Release builds did not. The reason Release builds did not was that
official builds were running out of memory with precompiled headers
enabled. The distinction of Debug vs. Release is no longer necessary
after the flag is added, so removing that extra bit of complexity from
the .gyp files.

BUG=none
TEST=it builds


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102839 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-27 00:15:16 +00:00
jschuh@chromium.org 54476b5bd1 Update Windows version macros to Win 7
BUG=92941
Review URL: http://codereview.chromium.org/8004004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102735 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-26 16:06:47 +00:00
sadrul@chromium.org d0ac9c0cb5 touchui: support XInput2 multitouch
Use XI2 multitouch events instead of mouse events as touch event input for touchui build.

Note: XI MT will be supported in X server 1.12 and XI2.2. Please use build switch "use_xi2_mt=<minor version number>" to specify the minimum XI2 minor version. It is useful to test on experimental XI2.1 with MT support (e.g. build with use_xi2_mt=1).

BUG=95150
TEST=(1) build with touchui=1 use_xi2_mt=1 (2) test on ubuntu 11.04 (X server 1.10 and XI2.1 with experimental MT support). (3) manually test if touch works on browser UI and JS touch events.

Review URL: http://codereview.chromium.org/7792094
Patch from Ningxin Hu <ningxin.hu@intel.com>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102668 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-25 00:04:35 +00:00
saintlou@chromium.org b35b9c2677 + renamed window_snapshot_x.cc => window_snapshot_gtk.cc
+ added window_snapshot_aura.cc
+ added missing members to icon_loader_aura.cc
+ fixed a couple of minor issues with #includes

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102659 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-24 18:32:49 +00:00
epoger@google.com 9dfcbb32fd Change default on Mac to use_skia=1
For context, see http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/f8d4f43b6e66ab83#
Review URL: http://codereview.chromium.org/8002009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102532 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-23 18:18:14 +00:00
tony@chromium.org 28e023ec89 On Windows, force the output directories to be src/build/{Debug,Release}.
This allows develoeprs to build from any sln file and not have to rebuild the
world.  This is more like how XCode projects are generated.

We choose src/build/{Debug,Release} because this is where all.sln generates
files and this is what the bots use.  This shouldn't require any changes to
the bots.

BUG=95278

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102514 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-23 17:15:32 +00:00
sadrul@chromium.org eb44487d8e aura: Have aura and aura_demo build and run without gtk on linux.
BUG=97131
TEST=manually

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102403 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-23 00:08:46 +00:00
thakis@chromium.org 3a140855ab mac: Don't build with debug information on the trybots.
Locally, a full build is 50% faster with this.

BUG=none
TEST=mac trybot build time should go down at least 7 minutes.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102343 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-22 20:23:14 +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
bradnelson@google.com 0f3b860b98 Temporarily turning off stripping for mac builds on the main waterfall to
debug intermittent crash seen only there.

BUG=None
TEST=None
R=bradchen@chromium.org
Review URL: http://codereview.chromium.org/7976042

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102221 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-22 01:09:01 +00:00
jamescook@chromium.org 0b31c3206c Aura: Use extension-based file picker from CrOS for pure-views builds.
Removes the dependency on chromeos-specific code in the extension-based file picker.  Compiles, links, and runs, but the dialog doesn't function yet - there's still some work to do to wire up the private JavaScript API calls.  See crbug.com/97424

BUG=chromium-os:20583
TEST=On plain ChromeOS, can still open a file with control-O file picker.

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102113

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102156 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 20:26:19 +00:00
jamescook@chromium.org d79a0b0dba Revert 102113 - Aura: Use extension-based file picker from CrOS for pure-views builds.
Removes the dependency on chromeos-specific code in the extension-based file picker.  Compiles and links, but does not yet run - the extension subsystem is not finding the resources for the file_manager component extension.  The Aura build currently won't process keyboard or mouse events, so I don't have a good way to debug this.  For now, added logging, and we'll get back to it when Aura is in better shape.

BUG=chromium-os:20583
TEST=On plain ChromeOS, can still open a file with control-O file picker.

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

TBR=jamescook@chromium.org
Review URL: http://codereview.chromium.org/7976025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102116 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 16:44:47 +00:00
jamescook@chromium.org e71037fab5 Aura: Use extension-based file picker from CrOS for pure-views builds.
Removes the dependency on chromeos-specific code in the extension-based file picker.  Compiles and links, but does not yet run - the extension subsystem is not finding the resources for the file_manager component extension.  The Aura build currently won't process keyboard or mouse events, so I don't have a good way to debug this.  For now, added logging, and we'll get back to it when Aura is in better shape.

BUG=chromium-os:20583
TEST=On plain ChromeOS, can still open a file with control-O file picker.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102113 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 16:27:13 +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
flackr@chromium.org a16a345354 Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs (Patch set 1 Reverts revert of http://codereview.chromium.org/7670041/)
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=96935
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 02:03:38 +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
saintlou@chromium.org 6a24e6d188 Making TOOLKIT_USES_GTK orthogonal to USE_AURA.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102019 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 21:20:33 +00:00
nsylvain@chromium.org 3e5d0ac178 Add a gyp flag to enable dcheck by default in release without
having the pass a flag. This will be used on the try bots.

BUG=96753
Review URL: http://codereview.chromium.org/7719007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102017 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:59:01 +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
michaelbai@google.com 10e10ee112 Upstream: The Common.gypi change for Android.
BUG=
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102007 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:35:01 +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
scherkus@chromium.org 49a36b92da Revert 101785 - Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=96935
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101581

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

TBR=flackr@chromium.org
Review URL: http://codereview.chromium.org/7957001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101789 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-19 18:49:47 +00:00
flackr@chromium.org 9cacad61ce Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=96935
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101581

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101785 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-19 18:33:23 +00:00
saintlou@chromium.org 300f01fe76 Aura under Linux is enabled with:
'use_aura': 1,

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101704 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-18 17:28:50 +00:00
rsimha@chromium.org 315f1523fb Revert 101581 - Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
Reason for revert: Broke compile on linux touch.

This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=None
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.

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

TBR=flackr@chromium.org
Review URL: http://codereview.chromium.org/7919028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-16 22:31:20 +00:00
flackr@chromium.org 27bd099576 Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=None
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101581 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-16 22:09:29 +00:00
ben@chromium.org 77a8380c08 Adds some features to the shell:
- desktop background
- stub launcher
- clicking the background opens test windows

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101496 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-16 16:37:30 +00:00
thakis@chromium.org 77909dd432 mac: Turn style plugin on by default.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101494 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-16 16:11:07 +00:00
thestig@chromium.org aa6c57f90c Remove an unused seccomp sandbox gyp variable.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7889056

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101354 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-15 19:18:56 +00:00
thakis@chromium.org 0aa8184c5d mac: Switch the default compiler to clang for everyone.
Also commit http://codereview.chromium.org/7890052/ as part of this CL,
so that new pch files are created for clang automatically.

BUG=none
TEST=devs get happier, not too many bots break

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101239 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-15 03:58:11 +00:00
rsleevi@chromium.org aad0b3763b When cross-compiling for ia32, do not build 'host' targets with -m32
BUG=94852
TEST=it (cross-)compiles


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101014 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-14 02:36:21 +00:00
nduca@chromium.org 42e853781d Retry 3 to split WebGraphicsContext3DCommandBufferImpl::initialize() into two stages.
This CL splits out creation of the context from channel creation.  The
WebGraphicsContext3D will not be fully initialized until MakeCurrent is called
on it, at which point it is tied to the calling thread.

As compared to previous land attempts, this has:
- Protection against isContextLost being called on a dead context
- WebKit-side protection to ensure that GraphicsContext3Ds get made current
- Pepper modified to makeCurrent new contexts

Original review URL: http://codereview.chromium.org/7713015

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-13 20:06:17 +00:00
saintlou@chromium.org c425704c24 Up to now the only touch UI was running Pure Views. However, we want to improve Pure Views for Chromium and ChromiumOS benefit independently of Touch. And therefore make the "use_only_pure_views" orthogonal so that it can be enabled with chromeos==0 or ==1 and/or with touchui==0.
The ultimate goal is to have toolkit_views <==> use_only_pure_views when all the GTK code has been removed from Views.

Note: as a side-effect this should  reduce the need to use #ifdef TOUCH_UI which in many cases shall be replaced by USE_ONLY_PURE_VIEWS.

BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100846 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-13 02:50:22 +00:00
mihaip@chromium.org cc0d79aec0 Remove CHROME_V8 #define and related javascript_engine gyp variable.
BUG=94282
R=tfarina@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100692 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-12 15:39:19 +00:00
joth@chromium.org 8609ddc544 Refactor ScopedJavaRef
- introduces JavaRef<> base class to allow passing refs without knowledge of their scope
- makes the ScopedJavaLocalRef and ScopedJavaGlobalRef consistent, in name, in methods available, and in conversions allowed.
Also updates some other minor base API changes whilst I'm in those files.

BUG=
TEST=doesn't break build...

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100383 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-09 10:17:35 +00:00
mark@chromium.org 927eb1f97d Disable PIE for dump_syms. The framework is too big to reliably be able to
mmap it in a 32-bit process with PIE on. There may not be a big enough gap in
the address space to mmap it.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-08 15:33:17 +00:00
thakis@chromium.org daf3d79f22 clang/make: Set LINK to $(CXX).
Fixes clients that set CXX to a custom clang, such as ASAN.

BUG=none
TEST=asan bot goes green again.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99868 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-06 23:51:07 +00:00
thakis@chromium.org 73235a9581 Set CC to clang when GYP_DEFINES=clang=1.
This makes it a lot easier to build with clang, since setting the GYP_DEFINES
is now the only thing one has to do. The rest is set automatically.
In preparation of setting clang=1 in build/common.gypi on mac.

Depends on http://codereview.chromium.org/7779041/ . Idea and xcode
part of the patch by Mark.

BUG=none
TEST= Set GYP_DEFINES=clang=1, create xcode and make projects
1.) Building with Xcode 3.2 uses clang
2.) Building with Xcode 4 gives functional fixits
3.) Building with make uses clang both for host and target
4.) Building with xcodebuild and goma still works on mac
5.) Building with make and goma still works

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99835 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-06 21:53:30 +00:00
thakis@chromium.org 26dfaaa88a Revert 99673 (didn't help) - mac: Use stabs instead of dwarf when fastbuild=1
libbase_i18n.a goes from 1MB to 300kB with this. I could imagine that
this CL makes the trybot compile time quite a bit faster.

BUG=none
TEST=none
TBR=mark

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

TBR=thakis@chromium.org
Review URL: http://codereview.chromium.org/7834036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99697 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-06 05:00:01 +00:00
thakis@chromium.org 1ff51ba02c mac: Use stabs instead of dwarf when fastbuild=1
libbase_i18n.a goes from 1MB to 300kB with this. I could imagine that
this CL makes the trybot compile time quite a bit faster.

BUG=none
TEST=none
TBR=mark

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99673 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-05 21:46:51 +00:00
scottbyer@chromium.org 1049802386 Smooth scrolling
Smooth scrolling compiled in behind a flag on Windows.

BUG=61140
TEST=build chrome, launch, check about:flags for Smooth Scrolling


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99525 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-03 03:09:40 +00:00
glider@chromium.org ddbba0674f If the 'asan' GYP variable is set to 1 on Mac, do not strip the __asan_init symbol from the binaries.
Review URL: http://codereview.chromium.org/7828043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-02 15:34:00 +00:00
thakis@chromium.org b2b175e465 Enable smooth scrolling on mac
This confuses a few unit tests, so add some machinery to disable the feature in tests and do so in the tests that need it.

BUG=61140,575
TEST=Go to en.wikipedia.org, hit space. Scroll should be animated.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99186 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-01 15:23:56 +00:00
pkasting@chromium.org b7b65c0810 Reduce number of unnamed-type-template-args violations (mostly when passing values to DCHECK(), ASSERT_EQ(), etc.), generally by naming previously-anonymous enums. We've decided not to eliminate the warning entirely because doing so is only possible with tons of ugly static_cast<>()s in Mac code.
BUG=92247
TEST=Compiles
Review URL: http://codereview.chromium.org/7605019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99086 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-01 00:46:33 +00:00
gbillock@chromium.org 6db18b2111 Revert 97966 : Revert 97955 - First pass on intents options UI.
Original review URL: http://codereview.chromium.org/7624012

R=groby@chromium.org,vandebo@chromium.org
BUG=none
TEST=*Intents*


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98340 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-25 23:02:07 +00:00
ben@chromium.org 4381f95b49 Add Aura support to views:
- change aura GYP_DEFINE to use_aura to be consistent with other switches
- add gfx::NativeView/Window typedefs
- add NativeWidgetAura/etc.
- update some ifdefs and includes to build on windows.

http://crbug.com/93944
TEST=none
Review URL: http://codereview.chromium.org/7741001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98234 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-25 15:39:58 +00:00
ben@chromium.org 7d47acb8ff Add support for GYP_DEFINES aura_wm=1 which also defines views_compositor=1.
This build flag will control which set of native types views builds with on various platforms.

Also fixes mouse event handling in the demo app so that the window can be moved.

http://crbug.com/84070
TEST=none
Review URL: http://codereview.chromium.org/7717015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98086 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 19:03:35 +00:00
mark@chromium.org 94f879ec90 Turn off PIE when building for Valgrind.
BUG=90221, 93551
TEST=Valgrind
Review URL: http://codereview.chromium.org/7724002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 14:59:13 +00:00
mark@chromium.org 33b38ff9ef Give plug-in processes an executable heap and disable PIE/ASLR for Native
Client loader processes.

Some plug-ins depend on having an executable heap. They write code to data
pages and attempt to execute it without calling mprotect to mark this code
as executable.

Native Client needs to allocate a contiguous 1GB of address space. ASLR may
interfere with there being a "hole" this large in the address space by the
time NaCl makes its request.

Non-executable heaps are only available in 10.7 and later for 32-bit
processes.

PIE/ASLR was formerly disabled for all processes other than the browser
process. This change reenables it for all processes other than the NaCl
loader. PIE/ASLR is available on 10.5 and later, although the implementation
is stronger in 10.7 than in earlier releases.

This change results in two new helpers in addition to the existing
Chromium Helper.app: Chromium Helper EH.app (for executable heaps) and
Chromium Helper NP.app (for no PIE). libplugin_carbon_interpose.dylib moves
out of the helper .app and directly into the versioned directory. The
InfoPlist.strings have been removed from the helper app, but empty .lproj
directories remain.

BUG=90221, 93551
TEST=everything
Review URL: http://codereview.chromium.org/7714018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97984 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 03:33:36 +00:00
mattm@chromium.org 3860ca64c4 Revert 97955 - First pass on intents options UI.
Copies the cookies view handler for intents.
Add pass-throughs to grit for flag.
Optionalize intents options page JS/CSS.
Fix up data model to read title. Working test.

R=jhawkins@chromium.org
BUG=None
TEST=*Intents*


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

TBR=gbillock@chromium.org
Review URL: http://codereview.chromium.org/7717016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97966 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 01:11:41 +00:00
gbillock@chromium.org 77262bdbcd First pass on intents options UI.
Copies the cookies view handler for intents.
Add pass-throughs to grit for flag.
Optionalize intents options page JS/CSS.
Fix up data model to read title. Working test.

R=jhawkins@chromium.org
BUG=None
TEST=*Intents*


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 00:32:29 +00:00
fta@sofaraway.org ed83affff3 Update translations using strings from launchpad.net r311
This includes a new lang: ms (Malay)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97771 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-22 23:27:16 +00:00
kerz@chromium.org aaf29e2504 Re-enable clang for official builders.
Revert 96424 - mac: Use gcc for official builds again until breakpad is sorted out.

BUG=91371
TEST=none

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

TBR=thakis@chromium.org
Review URL: http://codereview.chromium.org/7711004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97670 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-22 17:15:48 +00:00
scottmg@chromium.org 6c4c949804 restore OutputFile for chrome.exe, do moving hardlink on dll instead
Hardlink from different dir for chrome.exe caused annoyance when running from
Visual Studio because $(TargetPath) the default in the .user file is not the
correct path. So, instead do the hardlink on the dll. To avoid the possible
expense on non-NTFS, and to enable a trybot in the future, do this hardlink
based on a gyp define.

BUG=92528, 92685
TEST=No link problems


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97341 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-18 18:30:06 +00:00
flackr@chromium.org 1f30e34ba7 Use bookmark manager to add/edit bookmark pages with webui_dialogs=1.
This is the first phase towards being able to replace Bookmark Editor with the WebUI Bookmark Manager as part of the GTK removal effort on ChromeOS. It does not yet have a means of selecting a folder to bookmark all of your tabs in and as such can't yet replace all calls to BookmarkEditor::Show.

BUG=None
TEST=Tested editing bookmarks from the popup bubble and bookmark bar in Linux and TouchUI builds.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97186 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-17 19:51:35 +00:00
jeanluc@chromium.org 129599a43b Remove Purify and Quantify.Doing so will reduce substantially the size of the project files.
BUG=92102
Review URL: http://codereview.chromium.org/7528010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97156 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-17 17:41:02 +00:00
tzik@chromium.org 7129f96260 Add _GLIBCXX_DEBUG compilation mode.
BUG=86880
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97001 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-16 19:06:22 +00:00
glotov@google.com 308be779d5 Adding GYP_DEFINES=ASAN to enable ASAN build
BUG=chromium-os:16717
TEST=manual yet

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96772 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-15 14:33:06 +00:00
jschuh@chromium.org 651dcd7c49 Revert 96592 - Add scroll and gesture message filters for UIPI Flash.
Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. 

One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). 

BUG=86810
TEST=None.
Review URL: http://codereview.chromium.org/7617019

TBR=jschuh@chromium.org
Review URL: http://codereview.chromium.org/7648011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96661 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-13 02:19:25 +00:00
pkasting@chromium.org c2babc27d3 Lower PSAPI_VERSION to 1 to try to get Chrome launching again on < Windows 7 after r96592.
BUG=none
TEST=Launches on XP/Vista
TBR=georgey
Review URL: http://codereview.chromium.org/7633044

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96657 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-13 00:52:28 +00:00
jschuh@chromium.org 256c45adc7 Add scroll and gesture message filters for UIPI Flash.
Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. 

One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). 

BUG=86810
TEST=None.
Review URL: http://codereview.chromium.org/7617019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96592 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-12 19:12:44 +00:00
dnicoara@chromium.org 2ca356e3af Adding Wayland message loop and gyp build deps
This CL depends on http://codereview.chromium.org/7457023

BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96428 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 18:20:22 +00:00
thakis@chromium.org 7e43328ae7 mac: Use gcc for official builds again until breakpad is sorted out.
BUG=91371
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96424 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 18:10:05 +00:00
mark@chromium.org f4baa7662f Disable data page (heap) execution when running on Mac OS X 10.7 ("Lion").
BUG=91990
TEST=otool -h Whatever.app/Contents/MacOS/Whatever should show the 0x1000000
     bit set in the |flags| column
Review URL: http://codereview.chromium.org/7608027

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96288 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 01:12:10 +00:00
thakis@chromium.org 744f380c93 Don't make clang plugins stuff dependent on _toolset=target either.
Follow-up to http://codereview.chromium.org/7606012

BUG=none
TEST=nothing changes


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96272 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 00:16:26 +00:00
dnicoara@chromium.org 699eca76f4 Adding Wayland support for ui/gfx
* Added GL surface and context support for Wayland.
* Updated ui/gfx files to allow Wayland support
* All Wayland code is behind the use_wayland gyp flag

This CL depends on http://codereview.chromium.org/7457023

BUG=
TEST=Compiled Chrome with use_wayland disabled to verify that
the changes didn't break anything


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96192 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-10 16:50:44 +00:00
thakis@chromium.org dbf52af393 Pass clang flags to the host compiler, too.
As of http://codereview.chromium.org/7471028, clang is used as
host compiler as well, so this check is no longer necessary. In
fact, it's harmful: In http://codereview.chromium.org/7550002 ,
a dependency on base is added on the host side, which doesn't
build with clang because e.g. -Wno-char-subscript isn't used,
which means base/third_party/dmg_fp/dtoa.cc doesn't build cleanly
in host compiler mode.

BUG=none
TEST=happy pkasting


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96121 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-10 03:07:12 +00:00
thakis@chromium.org 6c5f8e89ee mac: Make 'clang=1' the default for official builds.
BUG=91371
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96104 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-10 00:11:49 +00:00
fta@sofaraway.org 1e42ed2cd0 Update translations using strings from launchpad.net r297
Patch from Fabien Tassin <fta@sofaraway.org>.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95947 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-09 04:44:34 +00:00
siggi@chromium.org 6ded4d7f6f Enable /PROFILE for Release builds and remove it from Debug builds.
Landing this change for rogerm@chromium.org, original review at http://codereview.chromium.org/7541080/.

BUG=None
TEST=Incremental linking works again.
Review URL: http://codereview.chromium.org/7106002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95878 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-08 20:56:34 +00:00
yoshiki@chromium.org 4d43d01c4c WebUI TaskManager: make it default on Chrome OS
And fixes the code of task manager and following tests which didn't work correctly on WebUI TaskManager.
- TaskManagerBrowserTest.ShutdownWhileOpen
- ExtensionApiTest.ProcessesVsTaskManager
- PrerenderBrowserTest.PrerenderTaskManager

BUG=chromium-os:13885
TEST=trybots

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95567 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-05 04:00:47 +00:00
thakis@chromium.org 220d88c8af clang: Remove explicit -fobjc-exceptions flag.
clang matches gcc again in that -fno-exceptions no longer disables
objc exceptions. Woohoo!

BUG=75001
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95420 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-04 15:39:38 +00:00
yoshiki@chromium.org b5292c6822 Revert 95015 - WebUI TaskManager: make it default on Chrome OS
And fixes the code of task manager and following tests which didn't work correctly on WebUI TaskManager.
- TaskManagerBrowserTest.ShutdownWhileOpen
- ExtensionApiTest.ProcessesVsTaskManager
- PrerenderBrowserTest.PrerenderTaskManager

BUG=chromium-os:13885
TEST=trybots

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

TBR=yoshiki@chromium.org
Review URL: http://codereview.chromium.org/7537045

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95018 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-02 00:43:41 +00:00
yoshiki@chromium.org 358b53a2cd WebUI TaskManager: make it default on Chrome OS
And fixes the code of task manager and following tests which didn't work correctly on WebUI TaskManager.
- TaskManagerBrowserTest.ShutdownWhileOpen
- ExtensionApiTest.ProcessesVsTaskManager
- PrerenderBrowserTest.PrerenderTaskManager

BUG=chromium-os:13885
TEST=trybots

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-02 00:23:56 +00:00
jhawkins@chromium.org f8a11ba5b7 Web Intents: Preparatory work.
* Added --enable-web-intents switch.
* Added enable_web_intents build variable, for use in WebKit mostly.
* Added registration InfoBar and piping to the WebKit side, which is not hooked
  up on that side yet.

BUG=none
TEST=RegisterIntentHandlerInfoBarDelegateTest.*

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@94867 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-01 02:34:01 +00:00
dnicoara@chromium.org 08fda30329 Adding a Wayland basic toolkit
This is essentially a OO wrapper over the Wayland library. It will be used to
add Wayland support for Chrome.

This was written with the intent of being as standalone as possible and it 
should not require any external Chrome dependencies.

BUG=None
TEST=None

R=evan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@94492 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-28 17:38:23 +00:00
fta@sofaraway.org 2639b17cc5 Update translations using strings from launchpad.net r285
Add a new lang: 'ia' (Interlingua).
Patch from Fabien Tassin <fta@sofaraway.org>.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@94395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-28 00:08:31 +00:00
mazda@chromium.org 54b4644d34 Set -Wno-unused-result only when chromeos==0.
-Wno-unused-result is not supported by gcc 4.3.4, which is used for building
chrome in chroot, and setting this option causes build error when building
chrome from the source in chroot for Chrome OS.

http://build.chromium.org/p/chromiumos/builders/x86%20generic%20tot%20chrome%20pre%20flight%20queue

(Need to copy URL text instead of clicking the link to see the page above.)

BUG=chromium-os:18272
TEST=emerge-x86-alex chromeos-chrome succeeds.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@94266 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-27 10:32:11 +00:00
evan@chromium.org 6424fca5da linux: ignore warnings about unused results in third-party code
This warning is frequent in our build logs across multiple third-party
modules.  It seems clear to me that upstreams don't see it
in their builds.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@94185 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-26 22:14:40 +00:00
evan@chromium.org e653b891b9 linux: remove -Wsign-compare for non-chromium code
We set this flag at a higher level, but we want to remove
it for third_party code.

BUG=90453

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@93999 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-25 23:59:18 +00:00
fischman@chromium.org 3cc64fe31e Add -Wsign-compare for C++ compilation on linux & friends.
g++ -Wall includes -Wsign-compare on C++ source, but clang++ doesn't.

(this is a 2nd attempt to land this change, after 79846 had to be rolled back
because clang's -Wsign-compare semantics were different from gcc's; this has
been fixed in clang 135664)

BUG=none
TEST=chrome builds w/ rolled clang, trybots

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@93837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-25 04:03:17 +00:00
ofri@google.com 57a6c9ddfa Adding fake bidi generation
BUG=73052
TEST=NONE


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@93821 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-24 09:29:19 +00:00
wjia@chromium.org 4dc21a6b9a add enable_webrtc in gyp to allow some platform to disable webrtc. enable_webrtc is set to 1 by default.
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/7450003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@93108 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-19 22:07:48 +00:00