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

1807 Коммитов

Автор SHA1 Сообщение Дата
caitkp@chromium.org 223a699f31 Use an alternate mechanism for CreateFile calls in Chrome
BUG=334379

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246313 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 13:49:01 +00:00
uekawa@chromium.org 79f728503a Remove FILE_MANAGER_EXTENSION and related configuration. They can be folded back to Chrome OS as condition.
BUG=166934

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246294 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 11:09:32 +00:00
eugenis@chromium.org 1b77ddb22c Remove -fomit-frame-pointer when building with any Sanitizer.
On Android/ARM we add -fomit-frame-pointer elsewhere in common.gypi.
Simply adding -fno-omit-frame-pointer when building with sanitizers is
not enough, because the former flag wins (it get added closer to the end
of the command line). Therefore, we also remove all -fomit-frame-pointer
flags under sanitizers.

BUG=325685
TEST=wait for the next clang roll, run asan tests on android
R=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246256 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 09:27:52 +00:00
jam@chromium.org 1391faa165 Revert 245865 "Revert of Reenable linux_aura on the main builder..."
We've switched to Aura on Linux (see chromium-dev threads). NPAPI plugins aren't supported on Linux Aura (also see chromium-dev thread). These tests should just be disabled.

> Revert of Reenable linux_aura on the main builders. (Again). (https://codereview.chromium.org/138033023/)
> 
> Reason for revert:
> Blink layout tests are failing:
> 
> http/tests/plugins/interrupted-get-url.html
> http/tests/plugins/third-party-cookie-accept-policy.html
> plugins/mouse-click-plugin-clears-selection.html
> 
> Original issue's description:
> > Reenable linux_aura on the main builders. (Again).
> > 
> > We upgraded the eu-strip binary so that it can deal with binaries that
> > are more than two gigabytes large. This should fix the crash on the
> > Google Chrome Linux builder, which was the only bot to break last night.
> > 
> > BUG=319075,125106,303342,318961
> > NOTRY=True
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245737
> 
> TBR=erg@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=319075,125106,303342,318961
> 
> Review URL: https://codereview.chromium.org/143073002

TBR=eustas@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246094 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-21 20:02:51 +00:00
eustas@chromium.org 36d6cf587f Revert of Reenable linux_aura on the main builders. (Again). (https://codereview.chromium.org/138033023/)
Reason for revert:
Blink layout tests are failing:

http/tests/plugins/interrupted-get-url.html
http/tests/plugins/third-party-cookie-accept-policy.html
plugins/mouse-click-plugin-clears-selection.html

Original issue's description:
> Reenable linux_aura on the main builders. (Again).
> 
> We upgraded the eu-strip binary so that it can deal with binaries that
> are more than two gigabytes large. This should fix the crash on the
> Google Chrome Linux builder, which was the only bot to break last night.
> 
> BUG=319075,125106,303342,318961
> NOTRY=True
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245737

TBR=erg@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=319075,125106,303342,318961

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245865 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-20 07:46:54 +00:00
thakis@chromium.org 106c8979fd android: Use use_goma=1 gomadir gyp defines instead of magic GOMA_DIR env var.
For a short transition period, let envsetup.sh set the right GYP_DEFINES when
GOMA_DIR is set, so that people aren't broken immediately after this lands.

Also stop setting GOMA_COMPILER_PROXY_THREADS – if the value this sets
is truly better, that should be the default in goma, it shouldn't be set in
envsetup.sh (doing it in goma has the advantage that it works on all
platforms, also abstraction barriers, etc.)

BUG=332697
R=brettw@chromium.org, ilevy@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-18 23:54:41 +00:00
erg@chromium.org 3fd68c674e Reenable linux_aura on the main builders. (Again).
We upgraded the eu-strip binary so that it can deal with binaries that
are more than two gigabytes large. This should fix the crash on the
Google Chrome Linux builder, which was the only bot to break last night.

BUG=319075,125106,303342,318961
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-18 03:40:17 +00:00
earthdok@chromium.org 5c5f3f42f5 Allow the asan_coverage GYP flag to accept arbitrary values.
We're experimenting with using values other than 0 or 1 to control coverage
granularity.

BUG=324216
TBR=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245614 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 21:01:36 +00:00
earthdok@chromium.org abaa0fd581 Introduce an MSan blacklist and use it to ignore V8.
BUG=330709,178409
TBR=glider@chromium.org,eugenis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245597 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 20:24:53 +00:00
jochen@chromium.org e1583e7d28 In a chromium checkout, compile d8 for the host toolset
It's required during compilation on the host for webui tests

BUG=331585
R=machenbach@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 14:17:40 +00:00
jochen@chromium.org 8f543a1c05 Revert 245464 "Use an alternate mechanism for CreateFile calls i..."
ChromeCreateFileTest.CheckWriteAndReadParams crashes on Vista

> Use an alternate mechanism for CreateFile calls in Chrome
> 
> BUG=334379
> 
> Review URL: https://codereview.chromium.org/138593004

TBR=caitkp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 12:49:40 +00:00
caitkp@chromium.org ba3ecc57bd Use an alternate mechanism for CreateFile calls in Chrome
BUG=334379

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245464 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 07:20:47 +00:00
ycheo@chromium.org a43c633ccc Remove Chrome for TV code.
BUG=334126

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245449 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 06:52:19 +00:00
erg@chromium.org a0340ed280 Revert of Reenable linux_aura on the main builders. (https://codereview.chromium.org/136813004/)
Reason for revert:
Failed due to mysterious failures on the Google Chrome Linux bot.

Example:
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/deb.build.AEvway'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...

BUG=335451

Original issue's description:
> Reenable linux_aura on the main builders.
> 
> We fixed the browser test slowdown that lead to linux_aura being
> disabled in r235280. (Different test suites are faster or slower, but
> overall, tests run faster.)
> 
> We are turning this on primarily to get perf data; if things look
> acceptable, we hope to cut a dev channel this week.
> 
> BUG=319075,125106,303342,318961
> NOTRY=True
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245415

TBR=
NOTREECHECKS=true
NOTRY=true
BUG=319075,125106,303342,318961

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245429 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 06:06:49 +00:00
erg@chromium.org 00337f31a1 Revert of linux_aura: Attempt to green the official builder by reverting unwind support. (https://codereview.chromium.org/141013009/)
Reason for revert:
Didn't actually help with the build failures on Google Chrome Linux.

Original issue's description:
> linux_aura: Attempt to green the official builder by reverting unwind support.
> 
> This effectively reverts in r243919 and r244331 in a desperate attempt
> to fix the tree.
> 
> Build fail output:
> 
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
> Staging common install files in '/tmp/rpm.build.XtJRbJ'...
> eu-strip: while computing checksum for debug information: Invalid argument
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
> Staging common install files in '/tmp/rpm.build.t4jNp4'...
> eu-strip: while computing checksum for debug information: Invalid argument
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
> Staging common install files in '/tmp/deb.build.CxnH9l'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
> Staging common install files in '/tmp/deb.build.9Zyie1'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
> Staging common install files in '/tmp/deb.build.xUB39X'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
> Staging common install files in '/tmp/rpm.build.aN0PGV'...
> eu-strip: while computing checksum for debug information: Invalid argument
> ../out/Release/chrome, section '.eh_frame': the call frame entry at offset 0x18 uses a DWARF expression to describe how to recover register '.cfa',  but this translator cannot yet translate DWARF expressions to Breakpad postfix expressions
> ninja: build stopped: subcommand failed.
> 
> BUG=180975
> TBR=spang@chromium.org, stip@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245421

TBR=spang@chromium.org,stip@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=180975

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245428 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 06:02:51 +00:00
erg@chromium.org 17f961d9a1 linux_aura: Attempt to green the official builder by reverting unwind support.
This effectively reverts in r243919 and r244331 in a desperate attempt
to fix the tree.

Build fail output:

FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
Staging common install files in '/tmp/rpm.build.XtJRbJ'...
eu-strip: while computing checksum for debug information: Invalid argument
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
Staging common install files in '/tmp/rpm.build.t4jNp4'...
eu-strip: while computing checksum for debug information: Invalid argument
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
Staging common install files in '/tmp/deb.build.CxnH9l'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/deb.build.9Zyie1'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
Staging common install files in '/tmp/deb.build.xUB39X'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/rpm.build.aN0PGV'...
eu-strip: while computing checksum for debug information: Invalid argument
../out/Release/chrome, section '.eh_frame': the call frame entry at offset 0x18 uses a DWARF expression to describe how to recover register '.cfa',  but this translator cannot yet translate DWARF expressions to Breakpad postfix expressions
ninja: build stopped: subcommand failed.

BUG=180975
TBR=spang@chromium.org, stip@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245421 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 04:07:19 +00:00
erg@chromium.org 31803bf96b Reenable linux_aura on the main builders.
We fixed the browser test slowdown that lead to linux_aura being
disabled in r235280. (Different test suites are faster or slower, but
overall, tests run faster.)

We are turning this on primarily to get perf data; if things look
acceptable, we hope to cut a dev channel this week.

BUG=319075,125106,303342,318961
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245415 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 01:52:50 +00:00
ager@chromium.org 724f901e12 Revert "Linux: Turn --icf=safe back on for the gold linker."
This broke the wtf_unittests when compiling with gcc:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20%28dbg%29/builds/16904

TBR=cevans@chromium.org, thestig@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245194 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-16 12:19:49 +00:00
thestig@chromium.org aff00f4430 Linux: Turn --icf=safe back on for the gold linker.
Review URL: https://codereview.chromium.org/137993011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-16 05:42:06 +00:00
earthdok@chromium.org 6867ff1017 Add a GYP flag to enable coverage gathering instrumentation in ASan builds.
BUG=324216
R=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245091 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-16 03:25:03 +00:00
raymes@google.com 1aaf2ea193 Disable multithreading for gold
gold is frequently crashing on the buildbots which is most likely due to a race
condition when running in multithreaded mode. Disable multithreaded mode
until the bug is fixed.

BUG=161942
R=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244811 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-14 23:40:55 +00:00
bolian@chromium.org ce4a6db2c4 Added Dev host for data reduction proxy controlled by Finch experiment.
This is only for Android. We don't need it for iOS at this point.

BUG=325345

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244669 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-14 11:17:30 +00:00
thakis@chromium.org 862b84ed2d android: Set gcc_version in build/common.gypi instead of in envsetup.
BUG=330631
R=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244615 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-14 00:14:49 +00:00
spang@chromium.org e3e6e06769 Use third_party/fontconfig for embedded builds
This uses the in-tree version when embedded==1.

BUG=318315

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-13 21:27:42 +00:00
hans@chromium.org 2de5cf9cda Roll Clang 193323:198389
BUG=323668

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244540 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-13 18:34:22 +00:00
spang@chromium.org 5c3c0217bf Enable unwind support with buildtype=Official branding=Chrome in Debug mode
The previous patch removed unwind support on x64 official builds,
including Debug builds. That may have been a bit too far. Add it back to
Debug builds (but not Release builds).

BUG=180975

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244331 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-11 03:12:05 +00:00
dalecurtis@google.com aef7d5f1f7 Revert 244256 "[Android] Enable lint warnings by default."
> [Android] Enable lint warnings by default.
> 
> Lint has been running on FYI bots for a while,
> time to enable them by default on bots and for developers.
> 
> BUG=None
> R=yfriedman@chromium.org
> 
> Review URL: https://codereview.chromium.org/127383002

TBR=frankf@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244266 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-10 22:42:57 +00:00
frankf@chromium.org c2410e8f72 [Android] Enable lint warnings by default.
Lint has been running on FYI bots for a while,
time to enable them by default on bots and for developers.

BUG=None
R=yfriedman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244256 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-10 22:02:12 +00:00
spang@chromium.org e80ad0953f Enable unwind support for all non-official builds
This makes unwind support consistent on Linux (used by
base::debug::StackTrace). A combination of arch-specific toolchain defaults
and arch-specific cflags made the previous behavior inconsistent.

Unwind tables are useful for development and much cheaper than
debuginfo, so enable them for all non-official builds.

TEST=build for ia32, x64, arm (compared defaults & official)
BUG=180975

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@243919 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-09 17:32:51 +00:00
thakis@chromium.org a418e1e0ea Add mac_write_linker_maps gyp define.
With GYP_DEFINES=mac_write_linker_maps=1, ld64 will be instructed to write
.map files, which can then be visualized to get an idea of binary size.

(Works best in a static library build.)

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242693 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-28 21:27:44 +00:00
thakis@chromium.org ce49cd1dd2 Get rid of the python_arch variable.
It's only used for pyauto, which is on the way out.

BUG=277641,224072,177664
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242551 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-26 20:38:39 +00:00
mostynb@opera.com d89b36da73 remove deprecated armv7 gyp setting now that all uses have been removed
BUG=234135

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242428 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-24 15:08:02 +00:00
alextaran@chromium.org 43e2baa08c Add libc++ and libc++abi to third-party.
BUG=318770, 313751
R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org,phajdan@chromium.org

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-20 13:07:28 +00:00
jln@chromium.org 4bb1fab585 Make building seccomp-bpf a GYP condition
We add a use_seccomp_bpf variable to allow not building
seccomp-bpf.

We make sure that it can't be use by mistake with sanity
checks that the architecture is MIPS.

BUG=267179
TEST=Use "GYP_DEFINES='use_seccomp_bpf=0' and comment out the two #error.
about:sandbox should say that seccomp-bpf is disabled.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-19 21:38:38 +00:00
fischman@chromium.org 6d66da0bd7 Revert r169382 now that android:40302 is fixed.
Thin archives are once again ok for android static_library builds.

(related, the webrtc build no longer uses the ndk-build system)

BUG=https://code.google.com/p/webrtc/issues/detail?id=950

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241812 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-19 06:19:34 +00:00
thakis@chromium.org 8c9a4555f2 Revert 241705 "Revert 241681 "Let test_isolation_mode default to..."
This relands 241681, which should now hopefully work after r241717.

> Revert 241681 "Let test_isolation_mode default to check on mac."
> 
> Still not working on the branded builders, lots of .isolate files still
> hardcode "chromium framework" (see http://crbug.com/324911)
> 
> > Let test_isolation_mode default to check on mac.
> > 
> > It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
> > issues with xcode. Now that xcode is no longer used, it can be set to check
> > again.
> > 
> > BUG=none
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238025
> > 
> > R=maruel@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/92303002
> 
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/110423005

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241767 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-19 02:39:08 +00:00
thakis@chromium.org 052812f587 Revert 241681 "Let test_isolation_mode default to check on mac."
Still not working on the branded builders, lots of .isolate files still
hardcode "chromium framework" (see http://crbug.com/324911)

> Let test_isolation_mode default to check on mac.
> 
> It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
> issues with xcode. Now that xcode is no longer used, it can be set to check
> again.
> 
> BUG=none
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238025
> 
> R=maruel@chromium.org
> 
> Review URL: https://codereview.chromium.org/92303002

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241705 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-18 23:45:05 +00:00
thakis@chromium.org e099912806 Let test_isolation_mode default to check on mac.
It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
issues with xcode. Now that xcode is no longer used, it can be set to check
again.

BUG=none

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

R=maruel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241681 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-18 22:19:32 +00:00
nick@chromium.org f9f599a317 Revert 241574 "Add libc++ and libc++abi to third-party."
[Reason for revert: linux builder check_licenses failure. - nick]

> Add libc++ and libc++abi to third-party.
> 
> BUG=318770, 313751
> R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240682
> 
> Review URL: https://codereview.chromium.org/75213003

TBR=alextaran@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-18 18:00:27 +00:00
alextaran@chromium.org 4d0811c2c6 Add libc++ and libc++abi to third-party.
BUG=318770, 313751
R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241574 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-18 15:28:27 +00:00
dnicoara@chromium.org 0120fa1bf9 Do not define use_clipboard_aurax11 on ozone builds
On Ozone builds clipboard_aurax11 is excluded since Ozone
builds should not pull any X11 dependencies.

This patch fixes failing ui_unittests build on Ozone.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241390 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-17 22:28:31 +00:00
glider@chromium.org 0c69f83c18 Don't add -lrt when linking ASan/TSan/MSan binaries.
This is now done by the Clang driver.

BUG=234010
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241298 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-17 16:08:53 +00:00
zmo@chromium.org 9b4dff58a5 Get rid of the old angle checkout
BUG=319527
TEST=bots
R=kbr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241099 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-17 02:05:01 +00:00
reveman@chromium.org 2741f8bec2 base: Refactor DiscardableMemoryProvider to build and be tested on all platforms.
This also moves DiscardableMemory::CreateLockedMemory implementations
to platform specific files and allows us to choose what implementation
to use at runtime.

No change in behavior, refactor only.

BUG=327516
TEST=base_unitttest --gtest_filter=DiscardableMemory*

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-16 18:02:04 +00:00
mostynb@opera.com fae2d596b6 update armv6 floating point defaults
Update the armv6 floating point defaults as suggested in
http://crbug.com/234135

BUG=234135

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240891 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-16 14:11:38 +00:00
phajdan.jr@chromium.org e2a0c74afe Add a flag to force disable libstdc++ debug mode.
BUG=328249, 65151
R=kbr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240769 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 22:10:27 +00:00
cmp@chromium.org d62d6af9ee Revert 240682 "Add libc++ and libc++abi to third-party."
This change broke deps2git.  We will add the repos in a bit and
we'll add check_deps2git to the CQ.

> Add libc++ and libc++abi to third-party.
> 
> BUG=318770, 313751
> R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org
> 
> Review URL: https://codereview.chromium.org/75213003

TBR=alextaran@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240706 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 18:45:48 +00:00
alextaran@chromium.org ab65d23cef Add libc++ and libc++abi to third-party.
BUG=318770, 313751
R=glider@chromium.org,thakis@chromium.org,bradnelson@chromium.org,darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240682 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 17:12:16 +00:00
thakis@chromium.org fc93c55fc9 Remove heapcheck support.
The bots are gone, no need to keep this around. The replacement that's
maintained by the dynamic tools team is ASan / LSan.

BUG=325380

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240643 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 14:39:49 +00:00
geofflang@chromium.org 12390fc573 Update dependencies to use new angle repository.
BUG=319527

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-13 11:49:09 +00:00
oshima@chromium.org d7fae187d7 Add use_clibpard_aurax11 gyp flag to allow chromeos-chrome to access X11 Clipboard
I made this a gyp flag instead of command line flag to avoid linking this on production.

BUG=153978

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240465 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-12 23:06:50 +00:00
qinmin@chromium.org f842f0df6a Split the hole punching logic from GOOGLE_TV #ifdef into VIDEO_HOLE
This CL splits the hole punching logic into another ifdef, so that the code can be reused by different parties and can be easily managed

See discussion: https://groups.google.com/a/google.com/forum/#!topic/chrome-gpu/eIM1RwarUmk

BUG=323157

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240365 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-12 18:23:13 +00:00
frankf@chromium.org 09d44ed138 [Android] Add lint as a gyp action.
- Run lint on all java/apk targets using a dummy AndroidManifest.xml
- Add build/android/lint/suppress.py for suppressing generated
  errors
- Enable lint on FYI builders as a first step

BUG=None
R=cjhopman@chromium.org, newt@chromium.org
TBR=navabi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239984 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-11 03:02:10 +00:00
phajdan.jr@chromium.org f8451c8fa9 GTTF: Enable glibcxx debug mode for Debug builds by default.
This will help us catch problems earlier.

This CL actually fixes several problems detected by this mode.

BUG=65151, 267870, 267891
TEST=none
R=avi@chromium.org, jar@chromium.org, thakis@chromium.org, thestig@chromium.org, yoz@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239811 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-10 18:52:22 +00:00
rtoy@google.com da6758bd36 Enable WebAudio support on Android/x86.
WebAudio support itself is disabled by default and can be enabled
using a flag in chrome://flags.  When so enabled, WebAudio will run.

BUG=290622,292922

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239518 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-09 18:13:14 +00:00
raymes@chromium.org c28d56737f Add a PDF component extension
This adds a PDF component extension which is used for rendering PDFs with an
out of process PDF plugin. It adds the extension as a MIME handler for pdf file
types. The extension is currently only added if the --out-of-process-pdf switch
is passed to Chrome, AND the PDF plugin is available.

BUG=303491

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239451 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-09 08:43:17 +00:00
mostynb@opera.com 2aa0735788 OpenMAX requires armv7 or greater
BUG=234135
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-06 14:38:15 +00:00
fischman@chromium.org 62afbb7f44 Remove promises of clang flag-removal since clang isn't going to change.
BUG=90453,http://llvm.org/PR10448
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-06 08:06:20 +00:00
jochen@chromium.org 2203656142 Turn on deprecation warnings for V8 on Mac
BUG=324225
R=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-05 12:16:13 +00:00
boliu@chromium.org fddbff8b61 Fix non-goma android build after r238630
dirname outputs "." when given an empty argument, which gyp rules then
interpret as goma being available.

Remove ANDROID_GOMA_WRAPPER which is no longer used, and use GOMA_DIR
directly for android build.

BUG=
NOTRY=true

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238727 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 18:35:38 +00:00
mostynb@opera.com 8f0f153192 remove arm_version==5 configuration, since it's no longer supported
Since armv5 builds are no longer supported (due to being dropped by V8),
let's remove a stray arm_version==5 section from the build configration.

BUG=234135

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238725 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 18:26:12 +00:00
boliu@chromium.org 8f76b822a5 Revert 238718 "Fix non-goma android build after r238630"
Broke gyp on chromeos bot (possibly others)

> Fix non-goma android build after r238630
> 
> dirname outputs "." when given an empty argument, which gyp rules then
> interpret as goma being available.
> 
> Remove ANDROID_GOMA_WRAPPER which is no longer used, and use GOMA_DIR
> directly for android build.
> 
> BUG=
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/104563004

TBR=boliu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 17:52:16 +00:00
boliu@chromium.org 4dda2a367e Fix non-goma android build after r238630
dirname outputs "." when given an empty argument, which gyp rules then
interpret as goma being available.

Remove ANDROID_GOMA_WRAPPER which is no longer used, and use GOMA_DIR
directly for android build.

BUG=
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238718 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 17:47:53 +00:00
mostynb@opera.com faea1b40e4 TODO: remove armv7 setting
Leave a TODO note in build/common.gypi to remove this obsolete armv7
setting, once all uses of it are removed.

BUG=234135

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238643 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 08:47:21 +00:00
yyanagisawa@chromium.org 1ce775885f Add use_goma for GYP_DEFINES
If use_goma is specified in GYP_DEFINES, gomacc is automatically set as
CC wrapper and CXX wrapper. It uses the default goma directory if the gomadir
option is not given. No need to fix PATH when running ninja (or make).
This is the revival of https://codereview.chromium.org/69293004/.
In https://codereview.chromium.org/69293004/, I removed ANDROID_GOMA_WRAPPER
code, which is actually used.  This code supports both way of enabling goma
for Android.  You can set GOMA_DIR or you can set -D use_goma=1.

Currently, this works well with ninja (default build system of chromium).
It does not work well with make in some case (e.g. build on linux with make).

Example 1
$ GYP_DEFINES="clang=1 use_goma=1" build/gyp_chromium
(no need to set CC/CXX at this stage)

build.ninja will have
cc = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang
cxx = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++

The user can run ninja without setting PATH or so.
$ ninja -C out/Release -j100

Example 2

$ GYP_DEFINES="use_goma=1 gomadir=/path/to/goma" build/gyp_chromium

build.ninja will have
cc = /path/to/goma/gomacc gcc
cxx = /path/to/goma/gomacc g++

user can run ninja without setting PATH or so.
$ ninja -C out/Release -j100

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 07:32:41 +00:00
jshin@chromium.org c1a52c1465 Move the logic for getting icu data out of icu_util
Currently, how to build/link the icu data is split between
common.gypi and icu_util.cc

Move it out of icu_util.cc and put it in common.gypi

Also, remove icudata from the dependency list in url.gyp. icuuc depends
on icudata and specifying icuuc alone is sufficient. Otherwise, ninja
complains about multiple rules specified for icudata and a circular
dependency when icu_use_data_file_flag is set to 1 on Linux.

A similar change has to be made in
third_party/WebKit/Source/web/web.gyp. 
(see https://codereview.chromium.org/93053003/ )

This CL does not change the actual build process, yet. It's just to prepare
to switch to "icu*.dat" on Mac and Linux.

BUG=72633
TEST=All the configuration/builds go fine on all platforms.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238567 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 04:37:06 +00:00
wfh@chromium.org d764644c44 [Win] Add option to reauthenticate the OS user before revealing passwords.
This CL depends on 28713002

BUG=303113

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238552 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 04:02:03 +00:00
thakis@chromium.org 5a3419ec8d Revert 238466 "Revert 238036 "Revert 238025 "Let test_isolation_..."
While r238430 improved things, it didn't fix them enough. Exciting new error:

OSError: File /Volumes/data/b/build/slave/google-chrome-rel-mac/build/src/out/Release/<(mac_product_name) Framework.framework doesn't exist

(tracked at http://crbug.com/324911)

> Revert 238036 "Revert 238025 "Let test_isolation_mode default to..."
> 
> The change was reverted because swarming didn't work with branded builds,
> but r238430 should've fixed that. Relanding. (There are no branded trybots.)
> 
> > Revert 238025 "Let test_isolation_mode default to check on mac."
> > 
> > Failing on "Google Chrome Mac" (http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/15042)
> > In the error log, tools/swarming_client/isolate.py says "File /Volumes/data/b/build/slave/google-chrome-rel-mac/build/src/out/Release/Chromium Framework.framework doesn't exist"
> > 
> > > Let test_isolation_mode default to check on mac.
> > > 
> > > It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
> > > issues with xcode. Now that xcode is no longer used, it can be set to check
> > > again.
> > > 
> > > BUG=none
> > > 
> > > Review URL: https://codereview.chromium.org/92303002
> > 
> > TBR=thakis@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/98383002
> 
> TBR=hashimoto@chromium.org
> 
> Review URL: https://codereview.chromium.org/102963003

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238505 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-04 00:48:11 +00:00
thakis@chromium.org 176ee6ca52 Revert 238036 "Revert 238025 "Let test_isolation_mode default to..."
The change was reverted because swarming didn't work with branded builds,
but r238430 should've fixed that. Relanding. (There are no branded trybots.)

> Revert 238025 "Let test_isolation_mode default to check on mac."
> 
> Failing on "Google Chrome Mac" (http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/15042)
> In the error log, tools/swarming_client/isolate.py says "File /Volumes/data/b/build/slave/google-chrome-rel-mac/build/src/out/Release/Chromium Framework.framework doesn't exist"
> 
> > Let test_isolation_mode default to check on mac.
> > 
> > It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
> > issues with xcode. Now that xcode is no longer used, it can be set to check
> > again.
> > 
> > BUG=none
> > 
> > Review URL: https://codereview.chromium.org/92303002
> 
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/98383002

TBR=hashimoto@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238466 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-03 22:38:26 +00:00
alextaran@chromium.org 073a2129ce Add instrumented libraries build with msan
BUG=313751
R=glider@chromium.org
TBR=cpu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238394 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-03 14:33:41 +00:00
sgurun@chromium.org 388abef545 For implementing printing in android K release, we had to temporarily
fork chromium. The first patchset below is equivalent to what we have
in KLP branch (minus machine generated makefiles). 

This is to unfork the implementation.

Note that the print messages and print_web_view_helper are same (or
very slightly different) from their counterpart in
chrome/renderer/printing and chrome/common/print_messages. The plan is
to start componentizing printing immediately after and remove the
duplicate code

TBR=danakj@chromium.org
BUG=322276

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238196 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 21:52:01 +00:00
jochen@chromium.org 47c25416ff Disable deprecated V8 APIs when building
Except for Mac. On Mac, we need to wait for one additional V8 roll.

BUG=322505
TBR=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 15:25:50 +00:00
jochen@chromium.org 2bdd6b0989 Revert 238096 "Disable deprecated V8 APIs when building"
> Disable deprecated V8 APIs when building
> 
> BUG=322505
> R=dcarney@chromium.org
> 
> Review URL: https://codereview.chromium.org/83523002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238102 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 15:18:24 +00:00
jochen@chromium.org 011bfb8030 Revert 238100 "Don't enable V8 deprecation warnings on Mac just yet"
> Don't enable V8 deprecation warnings on Mac just yet
> 
> I'll need to figure out why this doesn't compile on Mac but everywhere
> else.
> 
> BUG=322505
> TBR=dcarney@chromium.org
> 
> Review URL: https://codereview.chromium.org/99253002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238101 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 15:17:39 +00:00
jochen@chromium.org 897c147494 Don't enable V8 deprecation warnings on Mac just yet
I'll need to figure out why this doesn't compile on Mac but everywhere
else.

BUG=322505
TBR=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238100 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 15:00:07 +00:00
jochen@chromium.org cd055331ab Disable deprecated V8 APIs when building
BUG=322505
R=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238096 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 14:30:59 +00:00
hashimoto@chromium.org c2437af80c Revert 238025 "Let test_isolation_mode default to check on mac."
Failing on "Google Chrome Mac" (http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/15042)
In the error log, tools/swarming_client/isolate.py says "File /Volumes/data/b/build/slave/google-chrome-rel-mac/build/src/out/Release/Chromium Framework.framework doesn't exist"

> Let test_isolation_mode default to check on mac.
> 
> It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
> issues with xcode. Now that xcode is no longer used, it can be set to check
> again.
> 
> BUG=none
> 
> Review URL: https://codereview.chromium.org/92303002

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238036 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 06:07:10 +00:00
thakis@chromium.org c9ea67d3e5 Let test_isolation_mode default to check on mac.
It was set to noop in https://chromiumcodereview.appspot.com/14055005 due to
issues with xcode. Now that xcode is no longer used, it can be set to check
again.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@238025 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-02 04:28:33 +00:00
jochen@chromium.org 47d4e52544 Remove -Wno-deprecated-warnings from cflags for clang
third-party libraries that use auto_ptr or other deprecated APIs
should either define this locally or be updated.

BUG=324299
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237971 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-30 05:15:18 +00:00
eae@chromium.org 506b67df37 Revert 237900 "Add use_goma for GYP_DEFINES"
Broke the blink android build.
TBR=mkwst@chromium.org

> Add use_goma for GYP_DEFINES
> 
> If use_goma is specified in GYP_DEFINES, gomacc is automatically set as
> CC wrapper and CXX wrapper.  It uses the default goma directory if the gomadir
> option is not given.  No need to fix PATH when running ninja (or make).
> This is the revival of https://codereview.chromium.org/12419003/,
> and expected to work with https://codereview.chromium.org/66303010/.
> Note: Goma team suggest not to put gomadir in PATH if you use use_goma option.
> 
> Currently, this works well with ninja (default build system of chromium).
> It does not work well with make in some case (e.g. build on linux with make).
> 
> According to the review comment, ANDROID_GOMA_WRAPPER has already been
> obsoleted.  ANDROID_GOMA_WRAPPER will be just ignored after this change.
> 
> Example 1
> $ GYP_DEFINES="clang=1 use_goma=1" build/gyp_chromium
> (no need to set CC/CXX at this stage)
> 
> build.ninja will have
> cc = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang
> cxx = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++
> 
> The user can run ninja without setting PATH or so.
> $ ninja -C out/Release -j100
> 
> Example 2
> 
> $ GYP_DEFINES="use_goma=1 gomadir=/path/to/goma" build/gyp_chromium
> 
> build.ninja will have
> cc = /path/to/goma/gomacc gcc
> cxx = /path/to/goma/gomacc g++
> 
> user can run ninja without setting PATH or so.
> $ ninja -C out/Release -j100
> 
> BUG=173686
> 
> Review URL: https://codereview.chromium.org/69293004

TBR=yyanagisawa@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237911 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-29 09:55:00 +00:00
yyanagisawa@chromium.org a3e2164008 Add use_goma for GYP_DEFINES
If use_goma is specified in GYP_DEFINES, gomacc is automatically set as
CC wrapper and CXX wrapper.  It uses the default goma directory if the gomadir
option is not given.  No need to fix PATH when running ninja (or make).
This is the revival of https://codereview.chromium.org/12419003/,
and expected to work with https://codereview.chromium.org/66303010/.
Note: Goma team suggest not to put gomadir in PATH if you use use_goma option.

Currently, this works well with ninja (default build system of chromium).
It does not work well with make in some case (e.g. build on linux with make).

According to the review comment, ANDROID_GOMA_WRAPPER has already been
obsoleted.  ANDROID_GOMA_WRAPPER will be just ignored after this change.

Example 1
$ GYP_DEFINES="clang=1 use_goma=1" build/gyp_chromium
(no need to set CC/CXX at this stage)

build.ninja will have
cc = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang
cxx = ${HOME}/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++

The user can run ninja without setting PATH or so.
$ ninja -C out/Release -j100

Example 2

$ GYP_DEFINES="use_goma=1 gomadir=/path/to/goma" build/gyp_chromium

build.ninja will have
cc = /path/to/goma/gomacc gcc
cxx = /path/to/goma/gomacc g++

user can run ninja without setting PATH or so.
$ ninja -C out/Release -j100

BUG=173686

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237900 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-29 08:20:42 +00:00
aedla@chromium.org 25702cbdfb IPC fuzzer child process component
Fuzzer child process takes messages from a testcase file specified by --ipc-fuzzer-testcase and sends them across IPC.

Renderer process is replaced by the fuzzer process using --renderer-cmd-prefix, which is only supported under POSIX.

BUG=260848

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237795 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-28 16:05:14 +00:00
thakis@chromium.org 373a1188a6 Remove ant_build_out.
build/java_apk,gypi defaults to something based on <(PRODUCT_DIR) for
asset_location, so apparently it doesn't require an absolute path. Absolute
paths are yucky, and the `pwd -P` pattern has led someone else astray, so
remove it.

BUG=none
R=cjhopman@chromium.org
TBR=avi

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237676 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-28 05:17:33 +00:00
scottmg@chromium.org ddc29606e5 Default msvs_cygwin_shell to 0
This will cause all rules that do not have msvs_cygwin_shell: 1 to run
using cmd.exe.

R=iannucci@chromium.org
TBR=wez@chromium.org
BUG=123026

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237636 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-27 22:52:39 +00:00
scottmg@chromium.org 8d935e7fd9 Revert 237623 "Default msvs_cygwin_shell to 0"
Broke
http://build.chromium.org/p/chromium.webkit/builders/Win%20Builder/builds/44940/steps/compile/logs/stdio#error1

remoting_copy_locales, or something.

> Default msvs_cygwin_shell to 0
> 
> This will cause all rules that do not have msvs_cygwin_shell: 1 to run
> using cmd.exe.
> 
> R=iannucci@chromium.org
> BUG=123026
> 
> Review URL: https://codereview.chromium.org/86703002

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237628 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-27 22:05:32 +00:00
scottmg@chromium.org 947fba8213 Default msvs_cygwin_shell to 0
This will cause all rules that do not have msvs_cygwin_shell: 1 to run
using cmd.exe.

R=iannucci@chromium.org
BUG=123026

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237623 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-27 21:27:14 +00:00
jochen@chromium.org 74742e165e Revert 237048 "When building with component=shared_library on li..."
> When building with component=shared_library on linux, add -rdynamic
> 
> This allows for WTF's BACKTRACE() macro to symbolize stacktraces.
> 
> BUG=none
> R=glider@chromium.org
> 
> Review URL: https://codereview.chromium.org/83553002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237060 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-25 12:14:36 +00:00
jochen@chromium.org 47511667c1 When building with component=shared_library on linux, add -rdynamic
This allows for WTF's BACKTRACE() macro to symbolize stacktraces.

BUG=none
R=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237048 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-25 09:17:53 +00:00
spang@chromium.org fac71cc95c Disable glib by default for embedded builds
BUG=318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236866 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-22 23:21:55 +00:00
raphael.kubo.da.costa@intel.com 0f91f91a12 Pass the gold binary to the linker using only absolute paths.
The previous expansion using <(PRODUCT_DIR)/../.. did not work correctly
if one was using a different build directory layout (out-of-source
builds, or some build directory with a different number of
subdirectories).

Solve this by doing the same as the sysroot variables: stop using
relative paths from the build directory and extract absolute paths using
DEPTH.

TEST=./build/gyp_chromium -Goutput_dir=/somewhere/else
R=phajdan.jr@chromium.org,thakis@chromium.org,dpranke@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236822 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-22 20:46:53 +00:00
spang@chromium.org b3aac00fdc Disable udev by default for embedded builds
BUG=318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236672 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-22 01:42:47 +00:00
mostynb@opera.com 8f2c411ac2 Make it possible to disable udev in the content API on linux
This is useful for embedded linux setups, which often don't include udev support.

TEST=Build content_shell on linux with use_udev=0 then run ldd on output binaries to verify libudev is not listed (and is listed if built with use_udev=1 or unspecified)

BUG=318315,318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236204 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-20 08:36:40 +00:00
spang@chromium.org ca44c657e1 Support use_glib==0 on Linux in base
This makes base build on Linux when use_glib is set to 0. The only glib
bits we are currently using in that configuration are g_get_home_dir()
and g_try_malloc().

Use of g_get_home_dir() is not essential. Without glib, we can just rely
on the $HOME environment variable always.

Use of g_try_malloc() is just a way to cause a large memory allocation
from a shared library. We can achieve the same effect using asprintf().

BUG=318315, 318413, 170408

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-20 05:33:46 +00:00
sugoi@chromium.org 67e1fd127d Adding build rules for fuzzer (internal only)
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-19 22:04:11 +00:00
spang@chromium.org 80cbee3d32 ozone: Support building without cairo
This adds a use_cairo gyp variable that removes cairo from the build.
To build skia without cairo, we need the code in
bitmap_platform_device_android.cc.

To make all platforms build the correct files, rename
bitmap_platform_device_linux to bitmap_platform_device_cairo and
rename bitmap_platform_device_android to bitmap_platform_device_skia.
We'll use bitmap_platform_device_skia for Android and for embedded
content shell.

BUG=318315, 318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-19 20:17:16 +00:00
phajdan.jr@chromium.org f31245d71f Linux: fix build with gnome-keyring on Aura.
This is upstreaming a Gentoo Linux patch.

BUG=none
R=erg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-15 22:00:22 +00:00
agable@chromium.org 483d54d769 Disable linux_aura on the main builders.
Currently, browser_tests are running 2x-3x slower on the bots. Our first
dev channel has been very enlightening and got people to file all sorts
of helpful bugs.

BUG=319075,125106,303342,318961
NOTRY=True
R=cmp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235280 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-15 03:20:45 +00:00
thakis@chromium.org ba8bf6ba69 Remove linux coverage scripts.
BUG=318423
TBR=owners

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 19:19:50 +00:00
bauerb@chromium.org 91a1fd2a9a Set ENABLE_MANAGED_USERS #ifdef on Android.
TBR=nyquist@chromium.org,atwilson@chromium.org
BUG=244891

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235155 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 16:15:34 +00:00
agable@chromium.org 7076a0f51e Reland 234478 "Build mac release builds with symbols..."
This CL relands the mac-only portion of 234478, which was reverted in 235042.

R=jochen@chromium.org
BUG=315598

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235061 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 06:22:29 +00:00
agable@chromium.org a884fd031c Revert 234478 "Revert 234272 "Revert 234257 "Build mac and linux..."
This CL increases extract_build times from ~40 seconds to ~400 seconds. We are
not currently equipped to handle this slowdown of build cycle times. Reverting
this until we have a way to do this that won't increase cycle times by 15%.

BUG=315598
TBR=jochen@chromium.org,cmp@chromium.org,dpranke@chromium.org

> Revert 234272 "Revert 234257 "Build mac and linux release builds..."
> 
> > Revert 234257 "Build mac and linux release builds with symbols a..."
> > 
> > NaCL ignores linux_strip_binary...
> > 
> > > Build mac and linux release builds with symbols and don't strip them by default
> > > 
> > > On Mac, we already build with symbols, but strip them.
> > > 
> > > Building with symbols (a) matches what we do for official builds and (b)
> > > makes crashes on release builders more useful.
> > > 
> > > BUG=315598
> > > R=mark@chromium.org, thakis@chromium.org
> > > 
> > > Review URL: https://codereview.chromium.org/66673005
> > 
> > TBR=jochen@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/69493002
> 
> TBR=jochen@chromium.org
> 
> Review URL: https://codereview.chromium.org/66293011

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235042 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 05:30:31 +00:00
spang@chromium.org bae935bcad ozone: Add "embedded" build configuration
This flag merely disables some features by default.

BUG=318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235026 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 02:42:43 +00:00
thakis@chromium.org db7469ad64 ios: Enable -Wunused-functions.
BUG=315884
TBR=net,sql owners

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235014 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-14 01:46:17 +00:00
spang@chromium.org b08945aa3a Make dbus-based wifi data provider optional on linux
The linux wifi data provider adds an external dependency on libdbus.
This prevents building content_browser on linux systems that don't
include it (particularly embedded ones such as chromecast).

Introduce use_dbus gyp variable and remove this dependency when
use_dbus==0.

BUG=318315,318413

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234894 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-13 20:44:52 +00:00
scottmg@chromium.org c926eaea47 Set TargetMachine for libs too
In VS2013, remoting_host_event_logger.lib fails with:

FAILED: E:\b\depot_tools\python_bin\python.exe gyp-win-tool link-wrapper environment.x86 lib.exe /nologo /ignore:4221 /OUT:obj\remoting\remoting_host_event_logger.lib @obj\remoting\remoting_host_event_logger.lib.rsp
LINK : warning LNK4068: /MACHINE not specified; defaulting to X64

obj\remoting\host\remoting_host_event_logger.host_event_logger_win.obj : fatalerror LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

This is because if unspecified, lib.exe chooses the target architecture
based on the first input file. In this lib, the first file (there's only
2) happens to be a .res compiled from a .rc, which doesn't have an
architecture. Because we use the amd64 toolchain, lib decides to guess
that it should use x64. This fails to lib because the other .cc input is
x86.

After adding support for setting the architecture for libs in gyp here
https://codereview.chromium.org/68133006/ this sets it explicitly on our
libs too.

R=cpu@chromium.org
BUG=309197

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234656 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 22:44:39 +00:00
justincohen@chromium.org fdfa593016 Don't warn on missing prop synthesis in non-chromium code for iOS.
Certain internal directories fire many many warnings for
-Wobjc-missing-property-synthesis.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234543 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 17:01:17 +00:00
alextaran@chromium.org 53bdc05cc0 Adds a flag "use_instrumented_libraries" and corresponding target with 2 simple libraries
BUG=313751
R=glider@chromium.org,thakis@chromium.org
TBR=cpu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234498 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 13:41:30 +00:00
jochen@chromium.org a1e81284f8 Revert 234272 "Revert 234257 "Build mac and linux release builds..."
> Revert 234257 "Build mac and linux release builds with symbols a..."
> 
> NaCL ignores linux_strip_binary...
> 
> > Build mac and linux release builds with symbols and don't strip them by default
> > 
> > On Mac, we already build with symbols, but strip them.
> > 
> > Building with symbols (a) matches what we do for official builds and (b)
> > makes crashes on release builders more useful.
> > 
> > BUG=315598
> > R=mark@chromium.org, thakis@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/66673005
> 
> TBR=jochen@chromium.org
> 
> Review URL: https://codereview.chromium.org/69493002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 10:45:29 +00:00
scottmg@chromium.org 1c27492ca6 Add define required for VS2013 ATL to target XP
See linked bug for details.

TBR=cpu@chromium.org
BUG=297971

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 07:13:33 +00:00
thakis@chromium.org e89b5e98fa -Wunused-functions for linux, android, chromeos
BUG=315884
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234407 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-12 05:05:41 +00:00
jochen@chromium.org dc5d0f4922 Revert 234257 "Build mac and linux release builds with symbols a..."
NaCL ignores linux_strip_binary...

> Build mac and linux release builds with symbols and don't strip them by default
> 
> On Mac, we already build with symbols, but strip them.
> 
> Building with symbols (a) matches what we do for official builds and (b)
> makes crashes on release builders more useful.
> 
> BUG=315598
> R=mark@chromium.org, thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/66673005

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234272 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-11 20:29:32 +00:00
jochen@chromium.org 06103289f5 Build mac and linux release builds with symbols and don't strip them by default
On Mac, we already build with symbols, but strip them.

Building with symbols (a) matches what we do for official builds and (b)
makes crashes on release builders more useful.

BUG=315598
R=mark@chromium.org, thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-11 19:25:05 +00:00
mpearson@chromium.org b0897e0a2f Revert 234207 "Set the default ASan options for executables buil..."
Seems to cause two Chrome Memory bots to fail consistently with the error
"Failed cbuildbot failed buildpackages failed report"

See these links:
http://build.chromium.org/p/chromium.memory/builders/Chromium%20OS%20(x86)%20ASAN
http://build.chromium.org/p/chromium.memory/builders/Chromium%20OS%20(amd64)%20ASAN

If those links break, mpearson@ has a copy of the failure output
(too long to paste here).


> Set the default ASan options for executables built with ASan on Linux.
> 
> This CL introduces a module, base/debug/sanitizer_options.cc, which will override
> the defaults for various dynamic tools (only ASan at this moment). For every executable
> built with a dynamic tool this module will be linked into that executable, providing
> weak functions to be called by the tool.
> 
> The existing declaration of __asan_default_options() in chrome/app/chrome_exe_main_gtk.cc
> has been moved into sanitizer_options.cc (now every binary built with GOOGLE_CHROME_BUILD=1
> will have the same options as google-chrome-asan.
> The existing declaration of __asan_default_options() in chrome/nacl/nacl_helper_linux.cc
> has been kept as is, but we had to remove -Wl,-u_sanitizer_options_link_helper to avoid picking sanitizer_options.cc.
> 
> GYP changes for OSX and iOS will be committed separately.
> 
> BUG=302040
> R=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/25687005

TBR=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-11 17:25:33 +00:00
glider@chromium.org 5e492eb20c Set the default ASan options for executables built with ASan on Linux.
This CL introduces a module, base/debug/sanitizer_options.cc, which will override
the defaults for various dynamic tools (only ASan at this moment). For every executable
built with a dynamic tool this module will be linked into that executable, providing
weak functions to be called by the tool.

The existing declaration of __asan_default_options() in chrome/app/chrome_exe_main_gtk.cc
has been moved into sanitizer_options.cc (now every binary built with GOOGLE_CHROME_BUILD=1
will have the same options as google-chrome-asan.
The existing declaration of __asan_default_options() in chrome/nacl/nacl_helper_linux.cc
has been kept as is, but we had to remove -Wl,-u_sanitizer_options_link_helper to avoid picking sanitizer_options.cc.

GYP changes for OSX and iOS will be committed separately.

BUG=302040
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-11 09:42:02 +00:00
erg@chromium.org 8ce0e6a86c linux_aura: Turn aura on on the main linux builders.
This is essentially a revert of r227214. In the interim, we've enabled interactive_ui_tests, switched to openbox on the bots to theoretically fix browser_tests, and have a speculative nacl integration crash fix.

BUG=125106,303342,304554,125106,304555,316716,316919

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234139 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-09 19:25:41 +00:00
thakis@chromium.org 805d006a7e mac: Turn on -Wunused-functions.
BUG=315884
R=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@234081 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-09 04:18:21 +00:00
thakis@chromium.org 3de5fab2ff ios: Remove -Wno-unnamed-type-template-args.
Unnamed type template args are fine in C++11, there's no need for this flag.
Mac removed it a while ago.

BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233922 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-08 16:51:09 +00:00
jochen@chromium.org e621a9fa41 Revert 233887 "Build mac and linux release builds with symbols a..."
First need to figure out sizes step

> Build mac and linux release builds with symbols and don't strip them by default
> 
> On Mac, we already build with symbols, but strip them.
> 
> Building with symbols (a) matches what we do for official builds and (b)
> makes crashes on release builders more useful.
> 
> BUG=315598
> R=erg@chromium.org, thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/64753002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233893 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-08 13:28:16 +00:00
jochen@chromium.org 44e00ef784 Build mac and linux release builds with symbols and don't strip them by default
On Mac, we already build with symbols, but strip them.

Building with symbols (a) matches what we do for official builds and (b)
makes crashes on release builders more useful.

BUG=315598
R=erg@chromium.org, thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233887 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-08 12:31:00 +00:00
sebmarchand@chromium.org fe2fe58d52 Disable incremental linking for the large modules in Debug static_library.
If we don't do this then we get the following error (with chrome_frame_reliability_tests at least):

LINK : fatal error LNK1210: exceeded internal ILK size limit; link with /INCREMENTAL:NO

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233832 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-08 08:55:41 +00:00
spang@chromium.org 6e0c24a6a3 Support removal of DRI platform
All ozone configurations currently build DRI support, and therefore
have a dependency on the libdrm system library. This is not needed
except when ozone_platform_dri is enabled.

This allows us to drop the link to libdrm when it is not needed.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233671 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-07 20:10:44 +00:00
abarth@chromium.org ad87a663de Remove global #define WebKit blink
Now that we've updated all the code from the WebKit namespace to the blink
namespace, we can remove this global #define.

TBR=jamesr@chromium.org
BUG=295096

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233627 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-07 17:01:33 +00:00
abarth@chromium.org ee07cd29bc Begin renaming the WebKit namespace to blink
This CL introduces a global preprocessor macro to rename WebKit to blink. After
this CL lands, we'll update the code to use the blink namespace incrementally.
Once we've converted all the code, we'll remove the preprocessor macro.

R=jamesr@chromium.org, jamesr
BUG=295096

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233284 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-06 17:32:17 +00:00
kiyun@chromium.org d66e785ccc Fix iOS device builds broken by r232181
r232181 changed build/common.gypi to set ARCHS=i386 explicitly for
target_arch==ia32. However, we don't want to set ARCHS=i386 for iOS device
builds (because iOS devices are a different architecture entirely). This CL
arranges to leaved ARCHS untouched for iOS builds, so that Xcode will use its
defaults; this was the behavior before r232181.

The non-intuitive aspect is that target_arch==ia32 for OS=="ios", because
host_arch is set to 'ia32' at line 88 of build/common.gypi for 'OS=="win" or
OS=="mac" or OS=="ios"' and target_arch is set from host_arch at line 117.

With build/common.gypi fixed, we also need to fix
discardable_memory_provider_unittest.cc for iOS device builds, now that it is
being compiled with the correct architecture.

BUG=314712

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-05 19:11:42 +00:00
bengr@chromium.org e84c0ca3cd Added gyp support for fallback data reduction proxy host
This change provides a way to specify a fallback data reduction
proxy in gyp.

BUG=314108

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-04 20:27:29 +00:00
mseaborn@chromium.org 3271ad203d Fix spelling: "supress" -> "suppress"
BUG=165339
TEST=none
TBR=bulach@chromium.org,pkasting@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232557 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-02 02:05:53 +00:00
bungeman@chromium.org 483756fd62 Always use chromium_code variable with target_conditions.
The chromium_code variable is designed to be set by targets.
However, if it is used in a conditions predicate in common.gypi,
it will always be false, since conditions are evaluated early.
target_conditions are evaluated late, after the target has had a
chance to set its own variables.

R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232397 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-01 15:16:30 +00:00
spang@chromium.org 4323b37b79 Implement --ozone-platform flag to select OzonePlatform implementation at runtime
This provides a way to select an ozone implementation to use at runtime. Each
ozone implementation adds its name to the ozone_platforms GYP variable, and we
take care of parsing the flag value and configuring chromium to use that
implementation during initialization.

To support external ports, we generate the list of enabled platforms at
build time. The list is a static array that maps values of the --ozone_platform
flag to a constructor function for an OzonePlatform subclass. At runtime, we
call the constructor for platform specified on the command-line and use it to
provide implementations of the various ozone interfaces (SurfaceFactoryOzone,
EventFactoryOzone).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232301 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-01 05:37:26 +00:00
mark@chromium.org 0b1f2af283 Fix build for xcodebuild from Xcode 5:
- In Xcode 5, ARCHS defaults to x86_64 instead of i386. Use i386 for the
   32-bit Chrome build.
 - In Xcode 5, otool is no longer available in DEVELOPER_BIN_DIR. Run otool
   via xcrun as in r227787.

BUG=280362
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-31 18:40:00 +00:00
spang@chromium.org 304faa92d0 Implement OzonePlatform
This provides a way to select an ozone implementation to use at build time.
It replaces the previous ad-hoc requirement to inject implementations of
ozone interfaces somewhere during initialization, such as by overriding
ContentMainDelegate::PreSandboxStartup(). That requirement made it
difficult for external ozone implementations to build internal targets such
as content_shell because those targets do not initialize the external ozone
implementation without additional patching. Enabling external ports of
chromium is one of the main goals of ozone.

The OzonePlatform code is located at ui/ozone and depends on code in
ui/gfx and ui/events because it must inject implementations into
those components. The ozone platform is initialized from
ui/aura or ui/gl, as those components need the interfaces provided by ozone
in order to function.

There are two in-tree platforms currently: test (image dump) and dri
(libdrm-based direct rendering). The platform is selected by the setting
ozone_platform gyp variable and defaults to "test".

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232170 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-31 18:22:44 +00:00
maruel@chromium.org 163f551776 Use swarming_client instead of swarm_client.
Modify all the references to use src/tools/swarming_client/.

The build scripts already support both.

R=csharp@chromium.org, torne@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232104 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-31 13:34:31 +00:00
sdefresne@chromium.org b51d13828a Enable RLZ on iOS
BUG=309629

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231868 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-30 17:37:21 +00:00
vollick@chromium.org d2e01b4168 Add discardable memory emulation for non-android/mac platforms
Adds support for emulated discardable memory. The memory is managed by a
provider which listens for memory pressure notifications from the platform.

Currently, only android pushes these notifications, but in future patches, we
will apply pressure on other platforms in certain situations (e.g., when a tab
gets backgrounded).

BUG=237681

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231845 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-30 16:33:30 +00:00
justincohen@google.com b7ca9e835e Remove ninja special cases for iOS build configurations.
Gyp now sets -iphoneos architecture, so armv7 switching isn't required in
common.gypi.  This CL also gets rid of ONLY_ACTIVE_ARCH, which requires full
rebuilds when switching devices between armv7, armv7s and arm64 devices.

Also remove the iOS5 arclite link step, which isn't needed in iOS6+.
 
BUG=312300
TEST=ios_rel_device builds

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231658 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 22:31:51 +00:00
sbc@chromium.org 7533be619e Support cross compiling for armhf variant ARM/linux.
armhf (hardware float) is the ubuntu default these 
days so should be used over armel in most cases.
Also, the chromium ARM/linux test hardware is 
running armhf.

This CL does not change the default or remove armel
support. That is left for a future CL.

BUG=308256

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231487 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 02:38:46 +00:00
rmsousa@chromium.org 0c3bfd5a3a Revert 231456 "Remove ninja special cases for iOS build configur..."
This broke the "iOS Device" bot.

> Remove ninja special cases for iOS build configurations.
> 
> Gyp now sets -iphoneos architecture, so armv7 switching isn't required in
> common.gypi.  This CL also gets rid of ONLY_ACTIVE_ARCH, which requires full
> rebuilds when switching devices between armv7, armv7s and arm64 devices.
> 
> Also remove the iOS5 arclite link step, which isn't needed in iOS6+.
>  
> BUG=312300
> Test=ios_rel_device builds
> 
> Review URL: https://codereview.chromium.org/25535004

TBR=justincohen@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231466 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 00:55:17 +00:00
justincohen@google.com d1957850a0 Remove ninja special cases for iOS build configurations.
Gyp now sets -iphoneos architecture, so armv7 switching isn't required in
common.gypi.  This CL also gets rid of ONLY_ACTIVE_ARCH, which requires full
rebuilds when switching devices between armv7, armv7s and arm64 devices.

Also remove the iOS5 arclite link step, which isn't needed in iOS6+.
 
BUG=312300
Test=ios_rel_device builds

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231456 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 00:19:49 +00:00
scottmg@chromium.org 0003327273 Make intsafe.h workaround global
This was coming up in a lot of places, so make it a global include (on
the express toolchain) and remove the individual occurences of the same
pattern.

R=wez@chromium.org
TBR=sky@chromium.org
BUG=308740

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-28 19:30:43 +00:00
glider@chromium.org 4ade242e4c Revert a temporary workaround for issue 310479, which led to TSan v2 slowdown on the bots.
The bots have llvm-symbolizer in PATH now, so it's ok to use -gline-tables-only again.

BUG=310479
TBR=timurrrr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230689 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-24 09:52:54 +00:00
cevans@chromium.org 939ab1c24c Revert 230577 "Perf experiment (to be reverted): use system mall..."
> Perf experiment (to be reverted): use system malloc on Mac.
> 
> BUG=310744
> R=abarth@chromium.org
> TBR=abarth@chromium.org
> 
> Review URL: https://codereview.chromium.org/35423009

TBR=cevans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-24 08:21:33 +00:00
cevans@chromium.org 15449a1291 Perf experiment (to be reverted): use system malloc on Mac.
BUG=310744
R=abarth@chromium.org
TBR=abarth@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230577 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-24 01:00:04 +00:00
glider@chromium.org d092d49163 Pass '-g -O1 -fno-inline -fno-inline-functions' when building with tsan=1
to let ThreadSanitizer print accurate stacks with addr2line.

BUG=310479
TBR=jyasskin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230380 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-23 09:21:02 +00:00
plundblad@chromium.org 5517a2f26b Enable brlapi by default for chromeos builds.
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230152 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-22 17:21:29 +00:00
hajimehoshi@chromium.org 42437f87ba Make CLD2 default on the desktop platforms. We'd like to use CLD2 as of M32.
BUG=240647

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230010 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-22 02:10:00 +00:00
spang@chromium.org d912bb9927 Move evdev events support into EventFactoryDelegateEvdev
And introduce a gyp variable use_ozone_evdev to allow this feature to be
removed from the build. Additionally, the --ozone-events flag is introduced
to select an EventFactoryDelegateOzone implementation to use.

If an embedder or out-of-tree EventFactoryDelegateOzone implementation
calls SetEventFactoryDelegateOzone during initialization, the flag has no
effect.

BUG=none
TEST=Build & run content_shell, ui_unittests with use_ozone=1

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229950 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-21 23:09:48 +00:00
thakis@chromium.org 18245c4b82 android: Enable -Wunused-const-variable.
BUG=307668
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-20 05:25:47 +00:00
jkummerow@chromium.org 663fbdb922 GYP variable v8_optimized_debug should be overridable by GYP_DEFINES
This re-lands r226772. The issue that caused the revert has been fixed on the V8 side.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229634 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-19 22:44:19 +00:00
thakis@chromium.org 793f32bc53 linux and chromeos: Turn on -Wunused-const-variable.
BUG=307668
R=hans@chromium.org
TBR=oshima

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-19 16:20:58 +00:00
tommi@chromium.org be6288c07d Revert 229222 "Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds"
BUG=308898

> Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds
> 
> VS2010 changed the default to 0 meaning weaker checks in our
> release builds.  This commit changes it back again.
> 
> BUG=289691
> 
> Review URL: https://codereview.chromium.org/23464081

TBR=wfh@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229409 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-18 13:58:17 +00:00
thakis@chromium.org 6178c6bb75 mac: Enable -Wunused-const-variable.
BUG=307668
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-18 13:16:57 +00:00
wfh@chromium.org b60f69617c Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds
VS2010 changed the default to 0 meaning weaker checks in our
release builds.  This commit changes it back again.

BUG=289691

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229222 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-17 20:55:26 +00:00
thakis@chromium.org b2d28d51c1 Remove variants block.
No existing gyp generator looks at this. (scons used to, but it hasn't been
in use in over 3 years.)

No behavior change.

BUG=none
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228730 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-15 18:30:06 +00:00
thakis@chromium.org 82724f4553 Revert 227219 "Revert 226920 "Roll Clang 188423:191856.""
This relands the clang roll from r226920. The symbol issue
(http://crbug.com/304846) should be fixed by now, on the crash server side.

> Revert 226920 "Roll Clang 188423:191856."
> 
> Possibly broke crash symbolication on mac.
> 
> > Roll Clang 188423:191856.
> > 
> > Remove libprofile_rt from package.sh, it doesn't exist after LLVM r191835
> > 
> > BUG=290204,303886
> > R=thakis@chromium.org
> > TBR=net owner
> > NOTRY=true
> > 
> > Review URL: https://codereview.chromium.org/25875004
> 
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/26145004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228318 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-12 06:02:42 +00:00
rnk@chromium.org d7aa5e3c5e Revert 215743 "Don't pass /safeseh to the linker when using clan..."
This is no longer needed.  Clang is SEH safe because it doesn't support
SEH and therefore has no SEH handlers to register in .sxdata.  It emits
the @feat.00 symbol to let the linker know that it is SEH safe.

> Don't pass /safeseh to the linker when using clang on Windows
> 
> It does not generate SEH safe code at the moment.
> 
> R=scottmg@chromium.org
> BUG=82385
> 
> Review URL: https://codereview.chromium.org/21910008

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-10 21:23:00 +00:00
bengr@chromium.org 4fa9932145 Added probe to determine if data reduction proxy can be used
Chrome will now probe the URL /connect, which is hosted by the
data reduction proxy, before using the proxy. This CL also
upstreams some of the settings logic for the proxy.

BUG=270958

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227410 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-08 00:49:43 +00:00
zmo@chromium.org 99bfbe460f Remove the use_angle_translator condition.
We retired translator_glsl already, so we always use translator.

This is a revertion of https://codereview.chromium.org/25351004/.

BUG=
TEST=tree
TBR=jamesr

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227372 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-07 22:57:01 +00:00
thakis@chromium.org fd4235c709 Revert 226920 "Roll Clang 188423:191856."
Possibly broke crash symbolication on mac.

> Roll Clang 188423:191856.
> 
> Remove libprofile_rt from package.sh, it doesn't exist after LLVM r191835
> 
> BUG=290204,303886
> R=thakis@chromium.org
> TBR=net owner
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/25875004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-06 02:38:04 +00:00
erg@chromium.org 5efe1fcc46 linux_aura: Revert everything; abort turning linux_aura on.
Spectacular breakages include:

- nacl integration tests constantly crashing.
- browser tests running in a busted environment.
- interactive_ui_tests being weirdly broken despite not running.
- Size regressions

BUG=125106,303342,304554,125106,304555
TBR=cpu@chromium.org,mseaborn@chromium.org,tim@chromiium.org,phajdan.jr@chromium.org,koz@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-05 22:50:02 +00:00
erg@chromium.org 4507a88265 linux_aura: Turn aura on on the builders.
This widens some suppressions from windows to linux, and suppresses some memory errors in third party libraries that we now use.

BUG=125106,303342
R=cpu@chromium.org, mseaborn@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227210 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-05 21:14:52 +00:00
gab@chromium.org f6909d2408 Force use_ash to 0 if use_aura is 0.
Also remove old Windows gyp workaround to enable Ash if use_aura on Windows (as it is now on by default).

BUG=Using use_aura=0 on Windows doesn't compile as it tries to build Ash.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227160 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-05 01:01:32 +00:00
frankf@chromium.org eafc6b6a19 [Android] Enable passing filter string to emma.
This is needed to filter out upstream packages downstream.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227105 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 22:02:44 +00:00
mvanouwerkerk@chromium.org c6086fe3b4 Geolocation: delete GpsLocationProvider and third_party/gpsd/
The GpsLocationProvider is not actually used anywhere, and has most likely bit
rotted after years of no maintenance. It is brittle code written for a
specific version (3.1) of gpsd that is now outdated.

The only Chrome version that had this feature enabled (ChromeOS) makes no use
of it as no hardware was ever shipped that used GPS.

TBR=jam,brettw

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227104 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 22:01:55 +00:00
zmo@chromium.org 6c1b25e2ff Switch to use ANGLE translator instead of translator_glsl target.
BUG=
TEST=tree
R=jamesr@chromium.org, jamesr

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227067 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 20:05:32 +00:00
jochen@chromium.org 6587e01749 Revert 226978 "Revert 226920 "Roll Clang 188423:191856.""
> Revert 226920 "Roll Clang 188423:191856."
> 
> I suspect this caused a 25% sizes regression on Mac: http://build.chromium.org/f/chromium/perf/mac-release/sizes/report.html?history=150&rev=-1&graph=Chromium.app
> 
> > Roll Clang 188423:191856.
> > 
> > Remove libprofile_rt from package.sh, it doesn't exist after LLVM r191835
> > 
> > BUG=290204,303886
> > R=thakis@chromium.org
> > TBR=net owner
> > NOTRY=true
> > 
> > Review URL: https://codereview.chromium.org/25875004
> 
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/25988002

TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226994 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 12:54:37 +00:00
jochen@chromium.org d5fe3e5b91 Revert 226920 "Roll Clang 188423:191856."
I suspect this caused a 25% sizes regression on Mac: http://build.chromium.org/f/chromium/perf/mac-release/sizes/report.html?history=150&rev=-1&graph=Chromium.app

> Roll Clang 188423:191856.
> 
> Remove libprofile_rt from package.sh, it doesn't exist after LLVM r191835
> 
> BUG=290204,303886
> R=thakis@chromium.org
> TBR=net owner
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/25875004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226978 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 09:10:30 +00:00
jamesr@chromium.org 823a7995f2 Remove the ENABLE_GPU #define and enable_gpu gyp variable
It doesn't make any sense to configure chromium without a gpu and (unsurprisingly)
trying to set this variable to false just results in a broken build.

R=piman

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226964 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 05:59:31 +00:00
thakis@chromium.org b47404fba9 Roll Clang 188423:191856.
Remove libprofile_rt from package.sh, it doesn't exist after LLVM r191835

BUG=290204,303886
R=thakis@chromium.org
TBR=net owner
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226920 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 01:11:37 +00:00
zmo@chromium.org 1ecb9a88fa Use translator instead of translator_glsl ANGLE dependency.
At the moment legacy translator_glsl is simply a duplication of translator.

BUG=
TEST=tree

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226903 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 00:02:22 +00:00
dpranke@chromium.org 3c301ab660 Revert "GYP variable v8_optimized_debug should be overridable by GYP_DEFINES"
This reverts r226772; it looks like this broke the default behavior
when the variable was not set in GYP_DEFINES.

TBR=jkummerow@chromium.org, rafaelw@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226843 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-03 20:58:31 +00:00
jkummerow@chromium.org 65a2898fcb GYP variable v8_optimized_debug should be overridable by GYP_DEFINES
Review URL: https://codereview.chromium.org/25430003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226772 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-03 16:35:59 +00:00
rsesek@chromium.org 3a1746c12d Revert 226446 "Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds"
> Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds
> 
> VS2010 changed the default to 0 meaning weaker checks in our
> release builds.  This commit changes it back again.
> 
> BUG=289691
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/23464081

TBR=wfh@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226462 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-02 14:10:18 +00:00
wfh@chromium.org 2cf38c7c27 Change _ITERATOR_DEBUG_LEVEL to 1 on Release builds
VS2010 changed the default to 0 meaning weaker checks in our
release builds.  This commit changes it back again.

BUG=289691
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-02 10:31:22 +00:00
wittman@chromium.org 9cbbabe602 Initial WebUI extension for enhanced bookmarks
This extension will be used for an experimental prototype of enhanced
bookmark styling in Chrome behind the enable_enhanced_bookmarks build
flag. This change duplicates the existing bookmarks WebUI extension as
a basis for future changes.

BUG=299274

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226314 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-01 22:05:23 +00:00
mgiuca@chromium.org ee03cb7a95 Initial stubs for App Launcher on Linux Aura.
Adds AppListServiceLinux which can be successfully created, but won't
show anything as all of the methods are stubs. Affects only the Aura
build for Linux.

BUG=299250

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225936 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-30 08:36:13 +00:00
calamity@chromium.org 48c529b40d Revert 225398 "Fix a threading bug in the brlapi basec braille c..."
Breaks Linux Chromium OS ASAN compile.

> Fix a threading bug in the brlapi basec braille controller
> 
> This CL enables brlapi support by default in builds for chromeos (it's already enabled by default in chromeos itself, so that part is a noop). This revealed a threading bug in the implementation which is also fixed my moving a file_path_watcher from the IO thread to the FILE threadd.
> 
> BUG=178559
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225008
> 
> Review URL: https://codereview.chromium.org/24325002

TBR=plundblad@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225411 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-26 09:17:26 +00:00
plundblad@chromium.org 3d0fef48ce Fix a threading bug in the brlapi basec braille controller
This CL enables brlapi support by default in builds for chromeos (it's already enabled by default in chromeos itself, so that part is a noop). This revealed a threading bug in the implementation which is also fixed my moving a file_path_watcher from the IO thread to the FILE threadd.

BUG=178559

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225398 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-26 08:37:37 +00:00
thakis@chromium.org b31a2edce0 Remove LINK entries in make_global_settings.
LINK isn't looked at by the ninja generator, and since gyp
https://code.google.com/p/gyp/source/detail?r=1721 both make and ninja
default the linker to what's set via CC, which is usually what is desired
anyways.

Since no bots use make anymore, this shouldn't have an observable effect.
Even if the bots were still using make, the default of CC should be make
this an almost-noop.

BUG=none
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225200 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-25 17:27:24 +00:00
xhwang@chromium.org f2d539e59b Revert 225008 "Fix a threading bug in the brlapi basec braille c..."
> Fix a threading bug in the brlapi basec braille controller
> 
> This CL enables brlapi support by default in builds for chromeos (it's already enabled by default in chromeos itself, so that part is a noop). This revealed a threading bug in the implementation which is also fixed my moving a file_path_watcher from the IO thread to the FILE threadd.
> 
> BUG=178559
> 
> Review URL: https://chromiumcodereview.appspot.com/24325002

TBR=plundblad@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225011 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-24 16:55:29 +00:00
plundblad@chromium.org cf8b06b946 Fix a threading bug in the brlapi basec braille controller
This CL enables brlapi support by default in builds for chromeos (it's already enabled by default in chromeos itself, so that part is a noop). This revealed a threading bug in the implementation which is also fixed my moving a file_path_watcher from the IO thread to the FILE threadd.

BUG=178559

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-24 16:44:08 +00:00
alexeypa@chromium.org 117c324b91 Added quotes around 'wix_path%' or 'sas_dll_path%' to handle paths with spaces.
BUG=297009

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@224947 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-24 07:36:19 +00:00
l.gombos@samsung.com 786818fb0b WTF_VECTOR_INITIAL_SIZE properly defaults to 4 in wtf/Vector.h. No need to overrule the WTF_VECTOR_INITIAL_SIZE macro in the global gyp configuration file any more.
BUG=285442

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@224573 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-21 06:08:13 +00:00
hajimehoshi@chromium.org 6f76ebe7ac Enable CLD2 on Windows
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@223811 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-18 07:44:24 +00:00
cevans@chromium.org 49a40c2467 Revert 222370 "Put the Vector size back to 16 whilst I investiga..."
> Put the Vector size back to 16 whilst I investigate perf regressions.
> 
> BUG=286696,286604,285442
> R=isherman@chromium.org
> 
> Review URL: https://codereview.chromium.org/23435004

TBR=cevans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@223571 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-17 09:20:55 +00:00
cpu@chromium.org 874b798954 Because we've been shipping Aura to canary for a while. And because force compositor landed 40 hours ago and things seem ok. See https://codereview.chromium.org/23874016/
This also allows to see perf numbers for Aura. 

This has happened before see for example r204698, r211007 and 214056 as an experiment but this time it might stick.

BUG=259185
TEST=none
TBR=scottmg

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@223293 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-16 00:22:52 +00:00
sadrul@chromium.org 1bfad6b475 x11: Make sure USE_XI2_MT is defined only for use_x11=1.
This fixes win-aura build after r223265.

BUG=291141
TBR=erg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@223268 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-15 00:50:00 +00:00
sadrul@chromium.org 46ff6e1179 x11: Use XI2.2 by default.
BUG=291141
R=erg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@223265 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-14 22:48:02 +00:00
groby@chromium.org db5ff9b1df [OSX] Turn on canvas_skia for OSX
Re-submit of r222192, with fixed tests.

R=asvitkine@chromium.org
BUG=151935

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@223202 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-14 01:32:17 +00:00
cpu@chromium.org e55911635e Revert 222971 "Switch all windows bots to Aura"
> Switch all windows bots to Aura
> 
> This is a reland of https://codereview.chromium.org/23816007/
> See the comments there.
> 
> Hopefully all pesky tests failures have been addressed
> 
> BUG=259185
> TEST=none
> TBR=scottmg
> 
> Review URL: https://codereview.chromium.org/23803010

TBR=cpu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222983 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-13 04:28:01 +00:00
cpu@chromium.org 5d8069290e Switch all windows bots to Aura
This is a reland of https://codereview.chromium.org/23816007/
See the comments there.

Hopefully all pesky tests failures have been addressed

BUG=259185
TEST=none
TBR=scottmg

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222971 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-13 03:01:42 +00:00
mark@chromium.org fe975c3274 Don't use COPY_PHASE_STRIP.
For Mac builds, things that need to strip do it when they build.

BUG=280718

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222961 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-13 02:22:31 +00:00
jochen@chromium.org 394f5e0fdc Define a gyp variable pointing to icu.gyp.
I plan to use this from v8.gyp to avoid <(DEPTH) within v8.

BUG=none
R=marja@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222777 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-12 13:29:41 +00:00
lliabraa@chromium.org 66fe3b8be8 For iOS, don't override VALID_ARCHS in Debug configuration.
When Xcode recognizes a device, it sets the active arch to the arch of
the device. Since the Debug configuration is set to only compile for the
active arch, Xcode was failing to build when an iPhone 5 was connected
because that device uses armv7s which is not in the list of VALID_ARCHS.

This CL uses the default value of VALID_ARCHS for Debug so that Xcode
will build no matter what device is connected.

This CL also moves the arch-twiddling into an OS=="ios" block to make it
clear that the configurations are only needed for iOS.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222625 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-11 20:49:22 +00:00
plundblad@chromium.org 587a14ed22 Implement chrome.brailleDisplayPrivate API for ChromeOS
This implementation uses libbrlapi, part of brltty. It is disabled by default and can be enabled by the use_brlapi gyp define when building.



BUG=178559

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222492 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-11 11:48:22 +00:00
cevans@chromium.org 2e3b1f728f Put the Vector size back to 16 whilst I investigate perf regressions.
BUG=286696,286604,285442
R=isherman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222370 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-10 22:34:55 +00:00
kkania@chromium.org ea75316c87 Revert 222192 "Turn on canvas_skia for OSX"
> Turn on canvas_skia for OSX
> 
> Re-submit of r221930, with fixed include path.
> 
> TBR=asvitkine@chromium.org
> BUG=151935
> 
> Review URL: https://chromiumcodereview.appspot.com/23454018

TBR=groby@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222202 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-10 06:49:09 +00:00
groby@chromium.org 83c617065b Turn on canvas_skia for OSX
Re-submit of r221930, with fixed include path.

TBR=asvitkine@chromium.org
BUG=151935

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222192 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-10 02:52:40 +00:00
thakis@chromium.org dab3e772cf mac&ios: Do not disable CLANG_WARN_CXX0X_EXTENSIONS.
Both Mac and iOS build in C++11 mode by now, and clang won't warn about C++11
extensions when building in C++11 mode.

BUG=none
R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222042 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-09 15:59:05 +00:00
vitalybuka@chromium.org f86e13074f Revert 221936 "Switch all windows bots to use Aura."
breaks XP Tests:
ActivityLogPrerenderTest.TestScriptInjected
FindInPageTest.PrepopulateRespectBlank
KeyboardAccessTest.TestAltMenuKeyboardAccessFocusOmnibox
KeyboardAccessTest.TestMenuKeyboardOpenDismiss

> Switch all windows bots to use Aura.
> 
> Because we've been shipping Aura to canary for a while. And because force compositor landed 40 hours ago and things seem ok. See https://codereview.chromium.org/23874016/
> 
> This also allows to see perf numbers for Aura. 
> 
> This has happened before see for example r204698, r211007 and 214056 as an experiment but this time it might stick.
> 
> BUG=259185
> TEST=none
> TBR=scottmg
> 
> Review URL: https://codereview.chromium.org/23816007

TBR=cpu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221952 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-08 09:01:20 +00:00
cpu@chromium.org 6958035daf Switch all windows bots to use Aura.
Because we've been shipping Aura to canary for a while. And because force compositor landed 40 hours ago and things seem ok. See https://codereview.chromium.org/23874016/

This also allows to see perf numbers for Aura. 

This has happened before see for example r204698, r211007 and 214056 as an experiment but this time it might stick.

BUG=259185
TEST=none
TBR=scottmg

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221936 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-08 00:26:10 +00:00
cpu@chromium.org c640c84bdf Revert 221930 "[OSX] Turn on canvas_skia for OSX"
> [OSX] Turn on canvas_skia for OSX
> 
> BUG=151935
> 
> Review URL: https://chromiumcodereview.appspot.com/23456020

This broke mac compile:

FAILED: clang++ -MMD -MF obj/ui/gfx/ui_unittests.canvas_unittest_mac.o.d -DANGLE_DX11 -DWTF_VECTOR_INITIAL_SIZE=4 -DCHROMIUM_BUILD -DCOMPONENT_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DSKIA_DLL -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DUNIT_TEST -DGTEST_HAS_RTTI=0 -DU_USING_ICU_NAMESPACE=0 -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -I../.. -I../.. -I../../third_party/skia/src/core -I../../skia/config -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/skia/include/utils/mac -I../../testing/gmock/include -I../../testing/gtest/include -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -I../../third_party/libpng -I../../third_party/zlib -Igen/ui/app_locale_settings -Igen/ui/ui_strings -Igen/ui/ui_resources -isysroot /Developer/SDKs/MacOSX10.6.sdk -O0 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof -mmacosx-version-min=10.6 -arch i386 -Wall -Wendif-labels -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing -Wno-char-subscripts -Wno-unused-function -Wno-covered-switch-default -Wstring-conversion -Wno-deprecated-register -std=gnu++11 -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -Xclang -load -Xclang /Volumes/data/b/build/slave/Mac_Builder__dbg_/build/src/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -fcolor-diagnostics -fno-strict-aliasing -fstack-protector-all -fobjc-call-cxx-cdtors  -c ../../ui/gfx/canvas_unittest_mac.mm -o obj/ui/gfx/ui_unittests.canvas_unittest_mac.o
../../ui/gfx/canvas_unittest_mac.mm:12:10: fatal error: 'ui/base/range/range.h' file not found
#include "ui/base/range/range.h"
         ^
1 error generated.
ninja: build stopped: subcommand failed.


TBR=groby@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221934 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-07 23:50:54 +00:00
groby@chromium.org 5e0b7bd96d [OSX] Turn on canvas_skia for OSX
BUG=151935

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221930 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-07 23:26:59 +00:00
erg@chromium.org b2e390275d linux_aura: Use the linux assets for the window caption buttons.
Previously, we were using the windows assets. As is, this is functional,
but will require further patches to get the button spacing correct.

BUG=281788

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221875 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-07 03:26:37 +00:00
hajimehoshi@chromium.org 17f70fc14c Suppression the problems on the build bots: There were two reasons why that CL broke the build tree. One is the size bloating, which was solved by https://codereview.chromium.org/23460018. The other is compiling error on ARM, and this was also solved by updating CLD2 (https://chromiumcodereview.appspot.com/23606017/).
--

Use Finch to compare the performances of CLD1 and CLD2

Add a compile time constant CLD_VERSION, which indicates the version of CLD. If this is not define, Finch test to compare CLD1 and CLD2 is supposed to be used.

By this CL, each platform will have the below status:

Linux:    Use both CLD1 and CLD2 (and use Finch).
Mac OS X: Use both CLD1 and CLD2 (and use Finch).
Windows:  Use only CLD1 once because now CLD2 can't be compiled on Windows. After we can have CLD2 compiled on Windows, we will use CLD2 and Finch asap.
iOS:      Still use only CLD1. (It's because it is hard to use both CLD1 and CLD2 on mobile platform because of the binary size impact.)
Android:  Still use only CLD1. (The same reason as iOS)

So some platforms will have two CLD binaries, but this is temporal in the sense that we intend to use Finch only for Dev and Beta channel. Before releasing the stable Chromium version, we decide which version of CLD is adopted, make another CL to use only one CLD, and send a merge request. (Of course, we hope we will be able to adopt CLD2.)

BUG=240647

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221675 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-06 11:03:06 +00:00
cevans@chromium.org fd24c810f9 Perf experiment: what if Vectors have a default first-append size of 4?
To be rolled into the tree when quiet, and then reverted.

BUG=285442
TBR=abarth@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221618 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-06 07:20:01 +00:00
r.kasibhatla@samsung.com d3cf719256 [chromium]: Annotate StringImpl::createStatic leak for LeakSanitizer.
Changes to enable annotating known leaks in blink so that leak sanitizer doesn't raise alarm.
Removing addition of StringImpl::createStatic from tools/lsan/suppressions.txt
This patch currently just handles Leak Sanitizer only. The changes for Heap Checker would be done in a follow up patch.

BUG=268258
TEST=Running content_unittests with Leak Sanitizer enabled.
Output of Leak Sanitizer before the fix: http://pastebin.com/niDgRNAQ
Output of Leak Sanitizer after the fix: http://pastebin.com/v6hF43Lj

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221586 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-06 05:40:52 +00:00
pneubeck@chromium.org d97f5f0da4 Revert 221380 "Use Finch to compare the performances of CLD1 and..."
Broke
http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=ChromiumOS%20%28daisy%29&number=12452

and maybe
http://build.chromium.org/p/chromium/buildstatus?builder=Linux%20x64&number=55236
http://build.chromium.org/p/chromium.win/buildstatus?builder=Win%20x64%20Builder&number=9603

> Use Finch to compare the performances of CLD1 and CLD2
> 
> Add a compile time constant CLD_VERSION, which indicates the version of CLD. If this is not define, Finch test to compare CLD1 and CLD2 is supposed to be used.
> 
> By this CL, each platform will have the below status:
> 
> Linux:    Use both CLD1 and CLD2 (and use Finch).
> Mac OS X: Use both CLD1 and CLD2 (and use Finch).
> Windows:  Use only CLD1 once because now CLD2 can't be compiled on Windows. After we can have CLD2 compiled on Windows, we will use CLD2 and Finch asap.
> iOS:      Still use only CLD1. (It's because it is hard to use both CLD1 and CLD2 on mobile platform because of the binary size impact.)
> Android:  Still use only CLD1. (The same reason as iOS)
> 
> So some platforms will have two CLD binaries, but this is temporal in the sense that we intend to use Finch only for Dev and Beta channel. Before releasing the stable Chromium version, we decide which version of CLD is adopted, make another CL to use only one CLD, and send a merge request. (Of course, we hope we will be able to adopt CLD2.)
> 
> BUG=240647
> 
> Review URL: https://chromiumcodereview.appspot.com/22867032

TBR=hajimehoshi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-05 11:54:53 +00:00
hajimehoshi@chromium.org d2c6252cd3 Use Finch to compare the performances of CLD1 and CLD2
Add a compile time constant CLD_VERSION, which indicates the version of CLD. If this is not define, Finch test to compare CLD1 and CLD2 is supposed to be used.

By this CL, each platform will have the below status:

Linux:    Use both CLD1 and CLD2 (and use Finch).
Mac OS X: Use both CLD1 and CLD2 (and use Finch).
Windows:  Use only CLD1 once because now CLD2 can't be compiled on Windows. After we can have CLD2 compiled on Windows, we will use CLD2 and Finch asap.
iOS:      Still use only CLD1. (It's because it is hard to use both CLD1 and CLD2 on mobile platform because of the binary size impact.)
Android:  Still use only CLD1. (The same reason as iOS)

So some platforms will have two CLD binaries, but this is temporal in the sense that we intend to use Finch only for Dev and Beta channel. Before releasing the stable Chromium version, we decide which version of CLD is adopted, make another CL to use only one CLD, and send a merge request. (Of course, we hope we will be able to adopt CLD2.)

BUG=240647

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221380 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-05 11:17:03 +00:00
glider@chromium.org c03bc472cf Allow ASan to instrument globals on Mac.
The corresponding upstream bug (https://code.google.com/p/address-sanitizer/issues/detail?id=171)
has been fixed by Bill Wendling in LLVM r187827

BUG=196561
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221178 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-04 12:21:38 +00:00
jeanfrancoisg@chromium.org 875caa95ba Mapped es-419 to es-MX for iOS.
Used a script that:
1/ searches for all files with a "grd" extension that contain "<!-- iOS uses pt for pt-BR -->".
2/ in those files, replaces all occurrences of '.*<output filename="(.*)_es-419.pak" type="(.*)" lang="es-419.*'
with:
    <if expr="is_ios">
      <!-- iOS uses es-MX for es-419 -->
      <output filename="%s_es-MX.pak" type="%s" lang="es-419" />
    </if>
    <if expr="not is_ios">
      <output filename="%s_es-419.pak" type="%s" lang="es-419" />
    </if>

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221038 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-03 22:16:39 +00:00
lliabraa@chromium.org d638b7eddb Fix warning in Xcode about only building the active arch in Debug.
In Xcode, each project has a warning that "Build only for active 
architecture" should be enabled for Debug configuration. This change to 
common.gypi sets the ONLY_ACTIVE_ARCH variable at the project level for 
Debug configurations.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@220960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-03 17:03:13 +00:00
torne@chromium.org 091a421125 Android WebView: re-enable linker warnings where possible.
Re-enable linker warnings being treated as errors when using the system
version of skia, since there are no more warnings in this configuration.
Also, fix the global disabling of linker warnings (introduced to fix mac
builds) to only apply to host targets.

BUG=157326

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@220873 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-02 23:17:22 +00:00
thakis@chromium.org df790d9f98 Mac: Use CLANG_CXX_LANGUAGE_STANDARD instead of OTHER_CPLUSPLUSFLAGS for C++11.
No functionality change now that all bots are on Xcode 4, and it's a bit
shorter and cleaner, and fixes a TODO.

BUG=147515
R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@220729 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-01 01:37:02 +00:00
thestig@chromium.org 9cf7adbfd7 Linux: Remove check for Ubuntu 12.04 for official Chrome builds.
BUG=170262

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@219936 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-28 05:46:42 +00:00
noamsml@chromium.org ac36d08da2 Added image and button to privet notification
Added image to privet notification and button that goes to devices page.

BUG=245385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@219645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-27 00:06:24 +00:00
scherkus@chromium.org 15d96a44ad Fix build/common.gypi to actually set proprietary_codecs when branding=Chrome.
The 'proprietary_codecs%': 0 declaration was overwriting the conditionally-set statement earlier in the file. Instead, move the 0 assignment into the else branch and copy the conditionally-set variable into the outer scope.

I fail at gyp.

BUG=277948
R=acolwell@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@219379 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-23 23:33:41 +00:00
gkanwar@chromium.org 952d5c5a00 Makes GYP changes for EMMA coverage
One piece of the overall java coverage change.
See: https://codereview.chromium.org/20210002/

NOTRY=True
BUG=255644

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218870 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 00:08:31 +00:00
scottmg@chromium.org 7979db11a1 reland 'Set chrome_multiple_dll=1 by default on Windows in static_library'
Previously: https://codereview.chromium.org/22909017/

TBR=jam@chromium.org
BUG=237249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218663 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-21 06:58:22 +00:00
scherkus@chromium.org 8e7b696cfd Define proprietary_codecs=1 when branding==Chrome.
Doing so removes the redundant checks for GOOGLE_CHROME_BUILD when checking USE_PROPRIETARY_CODECS.

BUG=274596

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218545 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-20 20:22:22 +00:00
stuartmorgan@chromium.org dc5bc0a761 Switch to using '-t ios' for grit
grit now supports passing '-t ios', which sets is_ios, and doesn't set
is_macosx (matching the semantics of gyp). All instances of
pp_ifdef('ios') change to is_ios, matching the syntax used by other
platforms.

Because this flips the setting of is_macosx for iOS, most places where
code looked at is_macosx also now look for is_ios. This CL errs on the
side of being behavior-preserving, adding is_ios checks in some places
where they probably aren't needed, to avoid accidental regressions.
In places where it's very obvious it's not needed, it hasn't been
added.

Also adds a missing is_ios to history.html, resolving drift from
not-yet-upstreamed changes.

BUG=227781

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-20 01:01:12 +00:00
avayvod@chromium.org 79804ae089 Submitting https://codereview.chromium.org/23116003/ for Cihat Imamoglu.
Adds PrintingContext implementation stub for Android.

BUG=147070
TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218339 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-19 22:26:25 +00:00
scottmg@chromium.org c0a37c5e87 Revert 218286 "Set chrome_multiple_dll=1 by default on Windows i..."
chrome_frame_net_tests and nacl_integration x86-32 broke.

> Set chrome_multiple_dll=1 by default on Windows in static_library
> 
> TBR=jam@chromium.org
> R=jamesr@chromium.org
> BUG=237249
> 
> Review URL: https://chromiumcodereview.appspot.com/22909017

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218289 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-19 17:08:13 +00:00
scottmg@chromium.org 8a4905ec24 Set chrome_multiple_dll=1 by default on Windows in static_library
TBR=jam@chromium.org
R=jamesr@chromium.org
BUG=237249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218286 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-19 15:15:13 +00:00
scherkus@chromium.org 65d14efb9b Remove defunct enable_openmax variable from build/common.gypi.
Review URL: https://chromiumcodereview.appspot.com/23021011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218137 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-17 01:18:35 +00:00
owenlin@chromium.org 297431a5e3 Add the "mfpmath=sse" compiler flag for ChromeOS devices.
This is to preventng floating-point computations in the 80-bit precision
on x87. Please see more details in:
http://codereview.chromium.org/42340/patch/64/2085

BUG=261358
TEST=Play videos on Parrot

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218068 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 19:54:51 +00:00
scottmg@chromium.org 71defd1b96 Set up content in-process main threads via factory
This code was previously #ifdef'd out based on CHROME_MULTIPLE_DLL. This works
for chrome, but not for test targets which link content_browser. content_browser
needs to not link against child-only targets (as they'll cause linking blink
into the browser dll).

Instead of having utility_process_host_impl, et al. own the in-process
implementation, use a factory to create them that's installed in test code, and
in chrome for supporting --single-process.

At the same time, remove the global CHROME_MULTIPLE_DLL define and localize it
to chrome_exe.gypi because it's too easy to use incorrectly.

TBR=darin
R=piman@chromium.org,jam@chromium.org
BUG=237249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@217968 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 07:45:36 +00:00
maruel@chromium.org c5355bc889 Revert r217535 "Move swarm_client to swarming_client."
The CL itself is fine but the Try Server didn't gather
"got_swarming_client_revision" build property correctly, causing swarm_triggered
to use an improper swarm_client checkout. r217535 can be reapplied once the TS
is fixed. No other issue was observed.

TBR=vadimsh@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@217538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 13:23:29 +00:00
maruel@chromium.org 3df2d32f80 Move swarm_client to swarming_client.
This involves fixing up all the calling side. It now fetched from
a clone of code.google.com/p/swarming.client instead of chrome/trunk/tools/swarm_client.

Always fetch from https://chromium.googlesource.com since it has much higher reliability.

TBR=vadimsh@chromium.org
BUG=
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@217535 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 12:54:40 +00:00
thestig@chromium.org 091e964cd2 Printing: Add a basic printing mode without print preview and cloud print.
BUG=147070
TBR=cimamoglu@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@217025 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-12 17:16:05 +00:00
torne@chromium.org 2752adcb91 Android WebView: support building against system skia.
Hook up the use_system_skia gyp flag to make it possible to try building
against the system version of Skia in the Android WebView.

BUG=
R=djsollen@google.com, mkosiba@chromium.org, robertphillips@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216989 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-12 13:56:43 +00:00
aruslan@chromium.org c2d3f9b509 [rAc Android dialog] Stubs for Autofill dialog integration.
This includes JNI bindings, Java interfaces and necessary glue for the requestAutocomplete dialog.

BUG=157277

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216883 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-10 18:27:05 +00:00
phajdan.jr@chromium.org 4c2ced9ca3 Linux: use sandbox binary alongside chrome.
This removes linux_sandbox_path and instead expects sandbox binary
to be in the same directory as chrome (or CHROME_DEVEL_SANDBOX to be
set).

This will be helpful for SxS support on Linux, where the sandbox path
would be different depending on channel.

This is a resubmit of https://codereview.chromium.org/20197003 with a bug
fix that makes --no-sandbox work properly.

TBR=jln@chromium.org
BUG=38598

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 20:43:37 +00:00
navabi@google.com 45bd690053 Some of the build tools have moved in the SDK (e.g. aapt, aidl) from
sdk/platform-tools/ to sdk/build-tools/<tools-version>/. The tools version is 18.0.1.

BUG=263966

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216612 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 06:48:18 +00:00
dpranke@chromium.org 7c8edd4e9e Compile v8 like "release" by default in debug builds.
This change switches how we compile v8 by default in Debug builds
so that the compiler optimizations are enabled and much of the
still enabled to do some level of dcheck-like assertion checking).

This gives us a 5x speedup over the debug v8 for running the layout
tests, making debug times only 2x slower than release.

R=jamesr@chromium.org, jochen@chromium.org
BUG=254188

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216287 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-07 22:09:06 +00:00
hshi@chromium.org fd1839197c Properly set loopback device ID for system audio capture.
Make sure the MediaStreamDevice has the correct loopback device ID for system
audio capture in MediaCaptureDevicesDispatcher::ProcessScreenCaptureAccessRequest.
Remove the hack in audio_input_renderer_host to override the loopback device ID.

BUG=269626
TBR=dalecurtis@chromium.org, xians@chromium.org
TEST=passes trybots, local testing on Chrome OS confirms device ID is passed to WebRtcLocalAudioTrack ctor.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216271 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-07 21:02:31 +00:00
lliabraa@chromium.org ff739899f3 Change deployment target for iOS to 6.0
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 17:36:11 +00:00
jschuh@chromium.org a8f1c98914 Fix Win64 DirectX redistributables
Adds a gyp variable to simplify WINSDK path strings,
and grabs the x64 files rather than x86.

BUG=268525,267893

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215814 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 06:09:43 +00:00
rnk@chromium.org 046748b999 Don't pass /safeseh to the linker when using clang on Windows
It does not generate SEH safe code at the moment.

R=scottmg@chromium.org
BUG=82385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215743 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 00:49:49 +00:00
phajdan.jr@chromium.org d0b56a3ba5 Linux: remove use_system_mesa bits.
This doesn't seem useful, see https://groups.google.com/a/chromium.org/d/msg/chromium-packagers/amyyjkDj7Cg/cl5up-ABW7oJ

BUG=none
R=piman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215695 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-05 21:59:39 +00:00
phajdan.jr@chromium.org 149205c537 Revert _GLIBCXX_DEBUG for now.
Breaks media_unittests and unit_tests on chromeos.

TBR=thestig

BUG=65151

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215403 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 23:29:48 +00:00
phajdan.jr@chromium.org fead79a8a8 Exclude _GLIBCXX_DEBUG for 32-bit builds.
Otherwise linker runs out of memory.

TBR=thestig

BUG=65151

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215383 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 22:19:23 +00:00
phajdan.jr@chromium.org a167a2b936 Exclude _GLIBCXX_DEBUG for clang.
This fixes build, and it's not obvious what the exact effect
is on clang.

TBR=thestig

BUG=65151

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215373 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 21:46:57 +00:00
phajdan.jr@chromium.org 6d208a748e GTTF: Enable glibcxx debug mode for Debug builds by default.
This will help us catch problems earlier.

BUG=65151
TEST=none
R=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215369 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 21:26:50 +00:00
tonyg@chromium.org 795488269f Revert 215101 "Linux: use sandbox binary alongside chrome."
It breaks the page cycler benchmarks.

BUG=267640

> Linux: use sandbox binary alongside chrome.
> 
> This removes linux_sandbox_path and instead expects sandbox binary
> to be in the same directory as chrome (or CHROME_DEVEL_SANDBOX to be
> set).
> 
> This will be helpful for SxS support on Linux, where the sandbox path
> would be different depending on channel.
> 
> BUG=38598
> R=avi@chromium.org, jln@chromium.org
> 
> Review URL: https://codereview.chromium.org/20197003

TBR=phajdan.jr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215300 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 16:16:48 +00:00
aruslan@chromium.org 2970db0923 Disable interactive autocomplete and remove command line flag for Android
Disabling this feature on beta and stable channels for now. This change will be reverted on trunk after it is cherry-picked to the branch.

BUG=266978

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215235 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 05:17:12 +00:00
phajdan.jr@chromium.org f77f408878 Linux: use sandbox binary alongside chrome.
This removes linux_sandbox_path and instead expects sandbox binary
to be in the same directory as chrome (or CHROME_DEVEL_SANDBOX to be
set).

This will be helpful for SxS support on Linux, where the sandbox path
would be different depending on channel.

BUG=38598
R=avi@chromium.org, jln@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215101 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-01 20:38:19 +00:00
mariakhomenko@chromium.org 5470af9bf3 Creates a flag to enable/disable spellchecker.
Add a flag to remove spell-checking inside form fields on Chrome.
Disable the flag for android -- we cannot interact with the spellchecker,
so it doesn't make sense to have it.

This saves us ~300K memory on startup.

BUG=264837

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214621 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 07:48:53 +00:00
justincohen@google.com a0616ee2e9 Enable HiDPI assets for the WebUI in iOS.
Change common.gypi to pass scale_factors=2x to grit on iOS.

BUG=262913
TEST=WebUI assets show as 2x on iOS.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 05:41:03 +00:00
thakis@chromium.org 47f8c5ba66 clang: Remove -Wno-reserved-user-defined-literal on mac and ios
BUG=263960
TBR=stuartmorgan@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214541 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 03:30:09 +00:00
Yukawa@chromium.org 3c0353800c Embed compatibility manifest into all *.exe files
This CL introduces an automated and centralized way to embed
compatibility manifest into all *.exe files. With this CL,
a potential risk of behavioural inconsistency between
production binaries and unit test binaries is resolved by
enforcing the same compatibility context.

This CL uses 'target_conditions' feature of gyp to inject
manifest settings into each executable target. One tricky
part is that some executables such as setup.exe and
mini_installer.exe require external manifest file instead of
embedded one when component build is enabled. 
See http://crbug.com/127233 for this.

You can override the gyp variable
'win_exe_compatibility_manifest' locally for a given
executable target to embed a custom compatibility manifest.

BUG=260692

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214427 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-30 20:24:30 +00:00
fischman@chromium.org 3d38ecef21 build/common.gypi: revert the change to GCC_STRICT_ALIASING:NO because some bots have a too-old xcode.
In particular, rolling chromium_revision in webrtc from 211877 to 211878 broke
the webrtc mac Release bots:
http://build.chromium.org/p/client.webrtc/builders/Mac64%20Release/builds/296
http://build.chromium.org/p/client.webrtc/builders/Mac32%20Release/builds/312
http://build.chromium.org/p/client.webrtc/builders/Mac%20Asan/builds/304

The breakage did not repro on the webrtc trybots which use ninja (filed
https://code.google.com/p/webrtc/issues/detail?id=2135 to fix the inconsistency)
nor did it repro in an xcode build on my MBP (4.6.3).  My theory is that the
xcode on the bots (e.g. vm674-m3) is too old (4.5.1).

R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214260 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-29 23:35:39 +00:00