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

910 Коммитов

Автор SHA1 Сообщение Дата
james.wei@intel.com 3bb4660eb6 This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 09:17:45 +00:00
rsleevi@chromium.org 757089c2e1 Revert 135087 - This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


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

TBR=james.wei@intel.com
Review URL: https://chromiumcodereview.appspot.com/10331008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135095 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 05:03:14 +00:00
james.wei@intel.com f686c213c2 This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 04:00:39 +00:00
jamescook@chromium.org 3846046104 cros: Use touch theme assets with --touch-optimized-ui
This follows the same pattern for theme_resources_touch_1x as we used for ui_resources_touch.  I also introduced a gyp flag for enable_touch_ui at sky's suggestion.

BUG=115234
TEST=visual, run with --touch-optimized-ui and see bigger tabstrip and toolbar assets

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@134942 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-02 17:56:06 +00:00
joi@chromium.org a606eb1d23 Fix mini_installer for Metro resources.
This ensures the enable_hidpi and enable_metro flags make it to the create_installer_archive script.

BUG=125547


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@134935 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-02 17:20:45 +00:00
maruel@chromium.org 5c2bf40cf8 Add --mode=noop so progress can be made while the builders are being reconfigured
R=rogerta@chromium.org
BUG=98636
TEST=committing r134507 again would work


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@134580 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-30 20:14:13 +00:00
dpranke@chromium.org 285b479dda fix incremental_chrome_dll shared build on windows
This patch applies patchset #2 from
https://chromiumcodereview.appspot.com/10121004/

and then removes the changes to content_switches.cc (which weren't
needed) and chrome_exe.gypi (which was not needed and was actually
bad because it caused chrome.exe to depend on content.dll ).

R=jam@chromium.org, vangelis@chromium.org, rogerta@chromium.org
BUG=none
TEST=local win build succeeds with incremental_chrome_dll = 1, all bots
remain green.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@134008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-25 23:13:45 +00:00
tedchoc@chromium.org 28fb84b4ae Implement the skeleton of an android content shell.
Many TODOs here that will allow a quicker distribution of work to get the
remaining pieces upstreamed.

BUG=118591
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133857 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-25 03:18:46 +00:00
sail@chromium.org 3bff33e40d Metro/HiDPI: Use metro resource pak in metro mode
This CL does the following:
  - add a new enable_metro build flag
  - if the build flag is set then add a new metro icon resource pak to chrome
  - at run time if Chrome is running in metro mode AND ENABLE_METRO is set then use the metro icon resource pak

BUG=114311

TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133843 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-25 02:24:18 +00:00
sail@chromium.org 135ac52133 Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133613 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-24 02:43:24 +00:00
jrg@chromium.org 5354603cad apk-based test runner work for android. 2 unit test bundles converted over (ipc, base).
OFF by default; enable with a gyp var.  E.g.
  GYP_DEFINES="$GYP_DEFINES gtest_target_type=shared_library" android_gyp

Some useful commands:
adb uninstall org.chromium.native_test
adb install -r out/Release/base_unittests_apk/ChromeNativeTests-debug.apk
adb shell am start -n org.chromium.native_test/org.chromium.native_test.ChromeNativeTestActivity

For the moment, all apks can be built simultaneously but use the same
activity name.  Thus you cannot have more than one installed at the
same time.

BUG=None
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133053 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-19 21:02:09 +00:00
thakis@chromium.org f1bc06b547 Enable the clang plugin by default on linux (when using clang).
BUG=none
TEST=GYP_DEFINES=clang=1 gclient runhooks, then build. Plugin prints warnings.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132935 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-19 03:40:08 +00:00
varunjain@chromium.org 7c727b5124 Revert 132760 - Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

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

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

TBR=sail@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10115031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132804 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-18 17:03:42 +00:00
sail@chromium.org 9f6a7b8885 Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132760 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-18 07:30:15 +00:00
sky@chromium.org 0545c38ae3 Revert 132589 - Revert 132440 - Allow extension APIs to be compiled out.
BUG=117407,123835
TEST=


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

TBR=jgreenwald@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10107026

TBR=zmo@google.com
Review URL: https://chromiumcodereview.appspot.com/10106026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132591 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 17:13:34 +00:00
zmo@google.com 60f47f0c24 Revert 132440 - Allow extension APIs to be compiled out.
BUG=117407,123835
TEST=


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

TBR=jgreenwald@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10107026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 17:01:19 +00:00
hbono@chromium.org 7444f0265d Revert 132517 - Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

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

TBR=sail@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10103022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132529 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 04:00:32 +00:00
sail@chromium.org d5494d3f23 Metro/HiDPI: Move 1x icons into separate pak file
Currently all 1x art files are repacked into chrome.pak files.

This is a problem on Windows where we want to choose which pak file to load based on metro and DPI scale.

As a first step this CL does the following:
 - add a new enable_hidpi build flag. This allows us to test HiDPI mode on Windows Chrome.
 - stop packing theme_resources_standard.pak and ui_resources_standard.pak into chrome.pak
 - update the Mac and Windows installer code to package the extra pak files.

Note, I'll be updating the Linux installer script in a separate CL. I'm still looking into the ChromeOS situation.

BUG=114311
TEST=Ran on Windows, and Mac and Linux.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132517 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 02:12:11 +00:00
thakis@chromium.org b7ed9035d9 clang: Remove -Wno-literal-conversion
BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132443 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-16 19:30:55 +00:00
jgreenwald@chromium.org ae60a688b1 Allow extension APIs to be compiled out.
BUG=117407
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132440 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-16 19:22:53 +00:00
thakis@chromium.org fa7edce4f8 clang: Remove -Wno-c++11-compat.
It has been removed from -Wall in clang r143248 (Oct 2011), so
there's no need to explicitly disable it. No behavior change.

BUG=none
TEST=none
TBR=hans
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132367 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-15 21:55:42 +00:00
thakis@chromium.org cb5a1ed320 roll clang 153589:154450
Interesting changes in this range:
* The tooling infrastructure landed. Not observable, but it makes it easier
to write clang tools.
* Honor -fno-pic, pie support
* Better diagnostics for several c++11 features
* Cross-compiler changes that hopefully make CrOs clang builds simpler
* Many LTO fixes

Also pick up a minor change to the style plugin: Instead of ignoring
problems below out/, it now ignores them below gen/ and geni/. This
should make it work better with custom build directories.

BUG=none
TEST=none
TBR=mark

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132350 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-15 00:16:23 +00:00
yfriedman@chromium.org 88e1566620 Temporarily make unit_tests a static library on Android.
While we sort out the remaining linker errors, this at least ensures we
can add compliation of a bunch of chrome code for Android to gatekeeper.
This is motivated by having the android unit_tests compilation step
broken 4 out of 4 days this week.

BUG=117407


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132154 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-13 07:37:15 +00:00
asharif@chromium.org e2fad095f6 Added a GYP_DEFINE to add libraries to the link line.
When Chrome is built with -fprofile-generate in *_extra_cflags, it needs to link
against gcov. Adding -lgcov to the link line doesn't help because it occurs
before -Wl,--start-group. This flag correctly adds the required library if used
like the test case described below.

BUG=102550
TEST=GYP_DEFINES="debug_extra_cflags=-fprofile-generate libraries_for_target=-lgcov" ./build/gyp_chromium
make -j5 chrome # passes.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132061 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-12 21:24:36 +00:00
jscholler@chromium.org 3d925c4195 Removed access to prefs that does not work on Android
This work is useful to make sure at build time that we are not accessing prefs that are not registered.

This CL addresses the prefs registered by:
  BrowserInit::RegisterUserPrefs
  PinnedTabCodec::RegisterUserPrefs
  PluginsUI::RegisterUserPrefs
  PromoResourceService::RegisterUserPrefs

Later CL:
  Browser::RegisterUserPrefs
  SyncPromoUI::RegisterUserPrefs
  *::RegisterPrefs

BUG=120802
TEST=Compiled and made diff-ed the link error to make sure they are the same.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131994 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-12 16:14:31 +00:00
alexeypa@chromium.org d24df49612 The Chrome Remote Desktop installation for Windows can be build by bots now.
Review URL: http://codereview.chromium.org/10031014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-12 09:50:12 +00:00
thakis@chromium.org 2f92390cea roll gtest 560:613, gmock 364:405
Most of the included changes are minor. After this roll, we
have what went into the 1.6 release, and gmock now supports
being build as a DLL. (I want this roll for one of the minor
changes, which makes it possible to reenable
-Wnull-dereference for clang)

Turn -Wnull-dereference back on, fix one instance where a
violation snuck in.

BUG=111806
TEST=none
TBR=tony

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131656 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-10 22:42:47 +00:00
oshima@chromium.org 962e8eb59b Floating point based Point/Size/Rect and Insets
This is copied from integer version, instead of using
template, to minimize conflict with m19 branch, as
using template requires updating forward declaration
of these classes in many places.
 I put this behind gyp flag for now so that we can move forward without breaking non DIP build until we can get aura
working with DIP.

BUG=114664
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-09 19:27:43 +00:00
scottmg@chromium.org 8751476b0a These targets were causing files to have the same output target, which ninja (reasonably) does not like.
dlldata.c is a generated file name that a bunch of idl build rules output but most do not actually compile it AFAICT. This was causing some targets in isimpledom (that contain multiple idl files) to output to the same name (dlldata.c), so uniquize it based on InputName. For the one target that seems to actually build dlldata.c, override back to the original name to keep things the same (iaccessible2).


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-07 01:49:33 +00:00
oshima@chromium.org 89c1c390df Remove WAYLAND port
Also removed skia/ext/canvas_paint_x.h which is not in use.

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-07 00:33:04 +00:00
jgreenwald@chromium.org 87aec185e9 Don't build the task manager into Android builds.
BUG=117407


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-06 01:11:02 +00:00
jgreenwald@chromium.org 1b692476ea Add support for not compiling in chrome/browser/background.
BUG=117407
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-05 22:53:00 +00:00
yfriedman@chromium.org fcd1e2e6d7 Allow SessionService to be disabled.
Android manages persistence of sessions separately in Java code.

BUG=117407


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130976 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-05 18:34:53 +00:00
oshima@chromium.org 3b455b7939 Remove TOOLKIT_USES_GTK and consolidate it into TOOLKIT_GTK
Add gtk dependency to base.gyp for android host_os="linux" case

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130784 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-05 00:21:22 +00:00
rogerta@chromium.org 4ad3902b2c Revert 130528 - Disable one-click signin for all platforms except windows.
BUG=121677
TEST=Make sure one-click signin is working only on windows. See crbug.com/110050
for a description of the feature

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

TBR=rogerta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9981002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130623 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-04 15:05:05 +00:00
asvitkine@chromium.org 1cfddbca32 Revert 129889 - Revert 129878 - Re-enable use_canvas_skia=1 on Windows.
Original review: https://chromiumcodereview.appspot.com/9863053

BUG=105550
TEST=UI text looks the same as before.
Review URL: https://chromiumcodereview.appspot.com/9965062

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130614 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-04 14:01:17 +00:00
rogerta@chromium.org 51fb794148 Disable one-click signin for all platforms except windows.
BUG=121677
TEST=Make sure one-click signin is working only on windows. See crbug.com/110050
for a description of the feature

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130528 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-04 00:46:05 +00:00
olonho@google.com 4dc2661c84 Remove hack in .gyp file disabling NaCl in ARM CrOs build. We still have it disabled in ebuild.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2687
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130389 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-03 16:19:26 +00:00
erg@google.com 3637efc228 Fix linux_aura bot compile.
BUG=121545
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130253 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-02 23:34:22 +00:00
tony@chromium.org 2d29682c8b Revert 129968 - Use gyp names in MIDL build rules rather than VS macros.
This broke the Google Chrome Win build:
http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/9711

In support of ninja/windows. DLLDataFileName changed to be uniquized too because in a target that has multiple idl files, they would all output to the same dlldata.c (which ninja quite reasonably doesn't like).

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

TBR=scottmg@google.com
Review URL: https://chromiumcodereview.appspot.com/9950035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130000 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-31 00:03:09 +00:00
scottmg@google.com 983deab57a Use gyp names in MIDL build rules rather than VS macros.
In support of ninja/windows. DLLDataFileName changed to be uniquized too because in a target that has multiple idl files, they would all output to the same dlldata.c (which ninja quite reasonably doesn't like).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129968 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 22:16:37 +00:00
nileshagrawal@chromium.org 7a6a933b3d Exclude ProtectorService code from Android build.
The change adds a ENABLE_PROTECTOR_SERVICE condition to exclude
ProtectorService and related code. I have introduced protector_utils.h which
contains methods used by keyword_table.cc to sign and verify keywords.

Note: ChromeOS also excludes protector from the tests
(chrome_tests.gypi), but disables ProtectorService using a command line
switch.

BUG=117407
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129910 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 19:57:29 +00:00
mihaip@chromium.org fab1b58189 Revert 129878 - Re-enable use_canvas_skia=1 on Windows.
BUG=105550
TEST=UI text looks the same as before.
Review URL: https://chromiumcodereview.appspot.com/9863053

TBR=asvitkine@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9959029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129889 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 18:16:54 +00:00
asvitkine@chromium.org 3dc42451bc Re-enable use_canvas_skia=1 on Windows.
BUG=105550
TEST=UI text looks the same as before.
Review URL: https://chromiumcodereview.appspot.com/9863053

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129878 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 17:03:34 +00:00
glider@chromium.org 3a9a7e0283 Do not use ASan ignore.txt file when building Chrome.
__attribute__((no_address_safety_analysis)) should be used instead.

TBR=inferno
BUG=118565
Review URL: https://chromiumcodereview.appspot.com/9959012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129836 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 13:18:27 +00:00
akalin@chromium.org 64b63124c5 [Sync] [GTK] Add GTK version of the one-click signin dialog
Enable one-click signin on Linux (but not ChromeOS).

Build GTK version of one-click signin dialog.

BUG=120577
TEST=On Linux, with a clean profile, sign into GMail.  The one-click infobar should pop up, and clicking "OK, sync" should bring up the one-click dialog.

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129773 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 03:18:54 +00:00
mihaip@chromium.org 1ecc59e5e8 Revert 129762 - [Sync] [GTK] Add GTK version of the one-click signin dialog
Enable one-click signin on Linux.

Build GTK version of one-click signin dialog.

BUG=120577
TEST=On Linux, with a clean profile, sign into GMail.  The one-click infobar should pop up, and clicking "OK, sync" should bring up the one-click dialog.

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

TBR=akalin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9964001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 02:24:00 +00:00
akalin@chromium.org f082e16e31 [Sync] [GTK] Add GTK version of the one-click signin dialog
Enable one-click signin on Linux.

Build GTK version of one-click signin dialog.

BUG=120577
TEST=On Linux, with a clean profile, sign into GMail.  The one-click infobar should pop up, and clicking "OK, sync" should bring up the one-click dialog.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129762 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 02:02:28 +00:00
viettrungluu@chromium.org f40fbfdd5c Remove PPB_Flash_NetConnector and ENABLE_FLAPPER_HACKS.
PPB_Flash_NetConnector has been superseded by less hacky and more general
interfaces. ENABLE_FLAPPER_HACKS only enabled PPB_Flash_NetConnector.

TEST=builds (and still passes PPAPI tests)
TBR=darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129444 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-28 18:14:00 +00:00
scottmg@google.com a38a3d4a05 Remove forced _HAS_TR1=0 define. VS2010 headers unconditionally define _HAS_TR1=1. The gyp msvs 2010 generator has a hardcoded hack to remove _HAS_TR1=0 from the defines, but it seems better not to add this to the ninja generator too.
Added here http://codereview.chromium.org/147015/ but not sure of reason. Perhaps the define could just be removed now?

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129310 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-28 00:25:20 +00:00
nileshagrawal@chromium.org b8be22d101 Disable plugin_installation for android.
BUG=117407

TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129127 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-27 04:08:23 +00:00
thakis@chromium.org c0a28fa3cc rlz: Hook up on mac, switch to chrome's network stack on win.
This CL conceptually does several things (most of them just one line).

1. Roll RLZ 105:118

106: Fix "expression result unused" warning caused by VERIFY() use.
107: rlz: Add an implementation of PingServer() that uses chrome's net stack.
108: Implement RlzValueStoreMac.
109: Move GetMachineId() to its own file. No intended behavior change.
110: Implement GetSystemTimeAsInt64() on mac.
111: Minor cleanups.
112: Don't pay a static initializer for expected_assertion_ when it's not used.
113: Rename rlz_lib2.cc and win/lib/rlz_lib.cc to win/lib/rlz_lib_win.cc
114: mac: Implement GetMachineId().
115: mac: Implement the locking part of ScopedRlzValueStoreLock.
116: Tweaks to make the use of chrome's net stack forceable through gyp.
117: Push RLZ_NETWORK_IMPLEMENTATION_ define to dependent targets.
118: Use base::mac::ScopedNSAutorleasePool only on mac.

2. Change rlz.cpp to use the blocking pool instead of the file thread.

3. Enable on mac.

4. Switch to chrome's network stack on windows

5. Switch RlzSendFinancialPingFunction to be an AsyncExtensionFunction
that calls SendFinancialPing on a worker thread. This is required because
extension functions run with a MessageLoop, so the MessageLoop in
SendFinancialPing in rlz would trigger an assert (and making that inner
loop nestable seems like a very bad idea). This change also removes
one instance of ScopedAllowIO and fixes a TODO.

BUG=46579
TEST=
1.) Do an official chrome build
2.) Add gratuitous logging in rlz.cc and other places and check that by default:
* The channel is reported as "stable"
* The brand code is the empty string
* This brand code counts as organic install
* RLZ exits early.
3.) Create ~/Library/Google/Google\ Chrome\ Brand.plist and add e.g. the string "BRAND" for key KSBrandID, restart chrome.
* Brand code is now "BRAND" (this depends on Chrome's Info.plist not having a KSBrandID key, which has precedence. Currently our Chromes seem to never have this key.)
* A ping is scheduled, but nothing is sent.
* Use the omnibox a little, which causes product events to be recorded.
4.) Restart chrome yet again, wait a bit.
* Logging in "SendFinancialPing()" should print:
pinging http://clients1.google.com:80/tools/pso/ping?as=chrome&brand=BRAND&pid=&hl=en&events=C1F,C1S&rep=2&rlz=C1:1C1_____enUS476,C2:1C2_____enUS476&id=0926C138C2EA77A791CB450D322D0183E5A8079300000001B5
ping completed!

TBR=sky

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129028 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-26 22:29:17 +00:00
rsesek@chromium.org 4790c9feed Add gyp variable mac_strip_release to set the target_defaults variable mac_strip.
This allows you to do `GYP_DEFINES='mac_strip_release=0' gclient sync` to
produce Release binaries that are not run through strip_from_xcode.

BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-26 22:22:15 +00:00
rbyers@chromium.org c3ed213660 Revert 128696 - roll clang 151385:153254 due to mac sizes regression
Caused a ~250kB regression in ChromiumFramework size, reverting to get the tree
green.
---

New stuff:
* ObjC number, array, dict literals
* ASan fixes, visibility fixes (see bugs)
* (c++11: User-defined literals)
* -Wstring-plus-int
* Fix for a bug that made the last roll not work with goma

BUG=114996,112539,119119
TEST=none

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

TBR=thakis@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9835085

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 16:17:42 +00:00
thakis@chromium.org 958092e1f9 roll clang 151385:153254
New stuff:
* ObjC number, array, dict literals
* ASan fixes, visibility fixes (see bugs)
* (c++11: User-defined literals)
* -Wstring-plus-int
* Fix for a bug that made the last roll not work with goma

BUG=114996,112539,119119
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128696 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 05:57:53 +00:00
rsleevi@chromium.org 962d5c4564 Revert 128679 - Speculative revert. xcodebuilders hosed between r128678 - 128680 in GYP phse, this is the only change that touched GYP files.
apk-based test runner work.  Not enabled yet.  This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks.


BUG=None
TEST=


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

TBR=jrg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9852004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128685 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 04:44:41 +00:00
jrg@chromium.org d168ae37cd apk-based test runner work. Not enabled yet. This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks.
BUG=None
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128679 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 03:57:36 +00:00
michaelbai@chromium.org 8587cf2162 Using 'target_arch' instead of 'android_target_arch'
BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 02:44:43 +00:00
reveman@google.com 9ba3a2d688 aura: Enable use_canvas_skia=1 on aura.
BUG=111587,105550
TEST=manual

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128170 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-22 04:19:12 +00:00
akalin@chromium.org 66c2f2b08a [Sync] Implement Mac-specific UI for one-click signin
Enable one-click signin on OS X.

Build Cocoa version of one-click signin dialog.

Refactor one-click signin code to make it easier to unit test.

BUG=116685
TEST=On OSX, with a clean profile, sign into GMail.  The one-click infobar should pop up, and clicking "OK, sync" should bring up the one-click dialog.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128126 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-22 01:02:46 +00:00
alexeypa@chromium.org 899b11c4a1 ATL 8.0 included in WDK 7.1 makes the linker to generate almost eight hundred LNK4254 and LNK4078 warnings. This CL disables both warnings when compiling using "Express" versions of Visual Studio.
Review URL: http://codereview.chromium.org/9718030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128082 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-21 22:59:32 +00:00
robert.nagy@gmail.com 0d01311bf7 set toolkit_uses_gtk% to 1 on all systems using Gtk
BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128061 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-21 21:46:17 +00:00
erg@chromium.org f2568125f8 GYP fix: toolkit_uses_gtk% should be dependent on use_aura%.
This fixes the linux_aura FYI builder. This was broken in r127620.

BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127858 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-21 01:13:19 +00:00
bulach@chromium.org f0219b05fd Chrome on Android: fix cross-compilation setup.
This patch removes the need of exporting / setting
CROSS_C* variables when calling make for android.
Instead, set them at Makefile generation time so that gyp will
set the right compilers when calling android_gyp.
This also allows goma builds.

BUG=
TEST=builds for android.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127667 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-20 10:45:27 +00:00
saintlou@chromium.org 0feb08867a Simple gyp rule cleanup.
BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127620 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-20 02:11:58 +00:00
saintlou@chromium.org 618aa44bc4 More chrome_browser.gypi cleanup once chromeos_gtk is gone.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127481 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-19 16:10:55 +00:00
saintlou@chromium.org ca38449a6a Remove defunct chromeos_gtk gyp variable.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127474 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-19 15:40:35 +00:00
tfarina@chromium.org a8073d6729 ui/gfx: Rename canvas_skia_skia to just canvas_skia.
BUG=116572,105550
R=asvitkine@chromium.org
TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-18 03:09:50 +00:00
peter@chromium.org 7e92127e89 Disable the optimizations replacing aggregates with scalars for Android
The optimizations may fail under certain conditions. This is the case in,
for example, WebKit WTF's Checked type, and causes test failures. As this
may affect more than just that code, disable it for the entirety of Chromium
when building for Android.

BUG=
TEST=TestWebKitAPI passes all tests.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127262 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-16 22:03:53 +00:00
timurrrr@chromium.org 14fb64470f Fix a typo in the comment regarding /MT vs /MD
Review URL: http://codereview.chromium.org/9699119

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127165 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-16 15:22:16 +00:00
wangxianzhu@chromium.org 7045689c39 Add enable_automation build switch.
It's only disabled on Android to exclude automation from Android build.
enable_automation=0 still doesn't work on platforms other than Android.

BUG=117407
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-15 21:53:10 +00:00
tedchoc@chromium.org 6281a628f4 Chrome on Android : Begin removing references to themes.
Android will not in the forseeeable future be supporting themes, so this begins
removing their support to get unit_tests linking upstream for android.

BUG=113487
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126988 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-15 20:50:38 +00:00
tfarina@chromium.org 47759ca4cc ui/gfx: Rename almost all entries from gfx::CanvasSkia to gfx::Canvas.
BUG=116572
R=asvitkine@chromium.org
TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126935 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-15 17:32:42 +00:00
epoger@google.com a4f7f95a14 Remove use_skia_on_mac.gypi ; building with CG is no longer supported.
BUG=110881
Review URL: https://chromiumcodereview.appspot.com/9699029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-14 16:02:21 +00:00
yoshiki@chromium.org 63e7899653 Disable WebUI TaskManager on Desktop Chrome (Win/Mac/Linux)
This CL disables WebUI TaskManager on Desktop Chrome (Win/Mac/Linux) since it won't be shipped with the final decision. But it is still enabled on ChromeOS.

This is a revert patch of http://crrev.com/122806.

BUG=99029
TEST=manual

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126608 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-14 07:38:23 +00:00
jgreenwald@chromium.org 4f21fae47a Remove web intents from Chrome on Android build
Chrome on Android doesn't currently support web intents.  This change fixes linker errors that occuring when trying to build sync_unit_tests.

BUG=113487
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-13 20:04:56 +00:00
maruel@chromium.org c911a0b1f0 Add target base_unittests_run and tools/isolate/isolate.py.
This target uses isolate.py to run the unit test in a separate directory.

BUG=98636
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@125386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-07 14:39:56 +00:00
thestig@chromium.org ce4286e9ae Linux: Use gold for 32-bit builds as well.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9580032

git-svn-id: http://src.chromium.org/svn/trunk/src/build@125369 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-07 09:20:40 +00:00
rogerta@chromium.org 6c6a6b9616 Implement one click login.
depends on http://codereview.chromium.org/9466022/
depends on http://codereview.chromium.org/9465018/

BUG=110050
TEST=When the profile is not connected to a google account, each time the user
logs in to a google property an infobar will ask the user if he would like to
connect the profile to this account.  If so, a dialog pops up with more
information, and allows the user to start or cancel.  The user can also not
choose the default sync settings, in which case pressing start will bring
up the advanced sync dialog.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124996 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-05 21:02:40 +00:00
erg@chromium.org 32c837f234 Aura: Build on the linux desktop, plus add USE_ASH.
BUG=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124488 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-01 21:34:06 +00:00
rnk@chromium.org 65105f2afb Move the build config logic for our memory tools into common.gypi.
This change allows us to tweak these options without restarting the
build masters and submit try jobs that tweak them.

It also simplifies usage of these tools, because instead of copying and
pasting a large block of gyp variables from
tools/build/scripts/masters/factor/chromium_factory.py into GYP_DEFINES
or .gyp/include.gyp, developers can simply set build_for_tool=mytool.

My plan is to change the chromium.fyi master to use build_for_tool=*
first, and revert if those bots break.  If they stay green, I'll send a
change to update chromium.memory.fyi and completely remove
ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES.

I intend to remove all the otherwise unused (win_)(release|debug)_*
options that we exposed later.  This change is supposed to be the
simplest thing that works.

R=maruel@chromium.org,timurrrr@chromium.org
BUG=109780
TEST=built with build_for_tool=drmemory locally


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124323 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-01 01:29:47 +00:00
dfalcantara@chromium.org 3083ac7ca6 Android: Guard off desktop notifications
We currently have no system in place to perform desktop
notifications on Android.  This CL guards off certain bits
of code and prevents the files in browser/notifications/*
from being compiled when notifications are disabled.

BUG=http://crbug.com/115320
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124305 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-01 00:29:11 +00:00
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