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

1988 Коммитов

Автор SHA1 Сообщение Дата
bratell@opera.com 29b227f288 gyp performance: don't invoke python to check dir existance
We spend a few tenths of a second every gyp invocation starting
the dir_exists.py program. Seems a bit unnecessary.

BUG=362075
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264316 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 21:52:49 +00:00
thakis@chromium.org a75551bba6 win: When use_goma=1, favor fastbuild=1 over win_z7=1.
BUG=332697
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264304 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 21:11:46 +00:00
bratell@opera.com e2d16495b0 gyp performance: Add a DoMain version of build/compiler_version
No need to start a full python interpreter for compiler_version.py. This saves about 0.6 CPU seconds.

BUG=362075
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 20:59:15 +00:00
earthdok@chromium.org b20f5bea19 Move instrumented-libraries-related settings out of common.gypi.
Instead, apply them as direct_dependent_settings to dependents of the
instrumented_libraries target. This is functionally equivalent, but reduces code
duplication, improves locality and also allows us to disable the use of
instrumented libraries on a target-by-target basis.

BUG=313751
TBR=glider@chromium.org
TEST=MSan
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264281 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 19:23:26 +00:00
spang@chromium.org c1bf9d5d73 ozone: evdev: Add libgestures bindings for touchpad & mouse support
The gestures library converts kernel input events into gestures. This
currently happens inside X11 in the xf86-input-cmt driver, but without
X11 we have to do use it from EventFactoryEvdev

BUG=351168

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264273 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 19:04:30 +00:00
sbc@chromium.org c1567b7c8e Split linux_use_gold_binary into linux_use_bundled_gold and linux_use_bundled_binutils.
linux_use_bundled_binutils adds the binutils to cflags.
linux_use_bundled_gold adds it to the ldflags.  The former
does not work when cross compiling to ARM as the other
binutils do not currently support ARM.  This was causing the
ARM cross compile (for which we do want use the bundled
gold) to break.

I think the word "bundled" works better than "binary" since
it distinguishes from the system gold (which is also a binary).

BUG=363661
TEST=linux_arm_cross_compile trybot

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264165 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 09:50:23 +00:00
glider@chromium.org b862ed749d Set the default ASan options for executables built with ASan on Linux.
This is a copy of https://codereview.chromium.org/201153007 and https://codereview.chromium.org/213113002
updated to the current trunk with more descriptive comments in sanitizer_options.cc and the additional
legacy_pthread_cond=1 option for the Linux Official builds (legacy_pthread_cond is to be deprecated,
thus we don't enable it on the bots).

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.

The default options target is deliberately disabled on 32-bit Chromium OS builds,
where one of the host binaries (mksnapshot.ia32) is 32-bit despite host_arch==x86_64.

GYP changes for OSX and iOS will be committed separately.

TBR=thakis@chromium.org,mseaborn@chromium.org
BUG=302040

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263941 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-15 18:39:20 +00:00
scottmg@chromium.org 9d5e527e1d Make resource repacker work on Windows
Add pragma compatible with cl, and make parser less strict
about the stuff around whitelisted_resource_NNNN.

R=aurimas@chromium.org,thakis@chromium.org
BUG=338759

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263820 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-15 12:51:25 +00:00
fischman@chromium.org bab8a24059 Revert 263625 "Set the default ASan options for executables buil..."
Reason for revert: broke all 3 Linux ASan LSan Tests bots:
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/1338
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%282%29/builds/1563
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%283%29/builds/1796

> Set the default ASan options for executables built with ASan on Linux.
> 
> This is a copy of https://codereview.chromium.org/201153007 and https://codereview.chromium.org/213113002
> updated to the current trunk with more descriptive comments in sanitizer_options.cc and the additional
> legacy_pthread_cond=1 option for the Linux builds.
> 
> 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.
> 
> The default options target is deliberately disabled on 32-bit Chromium OS builds, where one of the host binaries (mksnapshot.ia32) is 32-bit despite host_arch==x86_64.
> 
> GYP changes for OSX and iOS will be committed separately.
> 
> BUG=302040,341805
> TBR=thakis@chromium.org,mseaborn@chromium.org
> 
> Review URL: https://codereview.chromium.org/230263003

TBR=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263634 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-14 15:54:11 +00:00
glider@chromium.org 537168811a Set the default ASan options for executables built with ASan on Linux.
This is a copy of https://codereview.chromium.org/201153007 and https://codereview.chromium.org/213113002
updated to the current trunk with more descriptive comments in sanitizer_options.cc and the additional
legacy_pthread_cond=1 option for the Linux builds.

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.

The default options target is deliberately disabled on 32-bit Chromium OS builds, where one of the host binaries (mksnapshot.ia32) is 32-bit despite host_arch==x86_64.

GYP changes for OSX and iOS will be committed separately.

BUG=302040,341805
TBR=thakis@chromium.org,mseaborn@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263625 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-14 13:56:35 +00:00
mithro@mithis.com 28cb074e95 Remove the no-longer needed src/third_party/gold.
BUG=352046,362119

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-13 17:34:23 +00:00
thakis@chromium.org 027640ed54 Remove a few dead MSVS_VERSION checks.
We only support 2013.

TBR=robertshield@chromium.org
BUG=340358

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263460 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-12 03:07:46 +00:00
mithro@mithis.com ace937ffb6 Use -fuse-ld=gold when supported to select gold.
Allow usage of gold on gcc 4.8 systems such as debian.

BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263189 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-11 08:05:11 +00:00
mithro@mithis.com e51c9d1479 Make sure binutils values are always defined.
BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262981 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-10 14:01:57 +00:00
rmcilroy@chromium.org cf395c6c38 [Android]: Update Arm64 and x86_64 build targets to use the experimental ndk.
BUG=354405,346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262969 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-10 13:42:46 +00:00
sdefresne@chromium.org 847cb52797 Fix the condition to disable the warning when building with Xcode
The warning -Wshorten-64-to-32 is automatically enabled by Xcode 5.1
when building for 64-bit architecture. Disable when the generator is
Xcode, not ninja.

BUG=359107

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262805 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-09 20:53:00 +00:00
mithro@mithis.com 43a91bc2f6 When "linux_use_gold_binary" is set, we now use gold from third_party/binutils rather than third_party/gold (allowing us to remove third_party/gold dependency).
As third_party/binutils is 2.24, this also satisfies the binutils version requirements for Debug Fission. Thus, when building with clang on Ubuntu Precise it should now be enabled. This should cause a significant speedup in linking for most chrome developers on Linux.

Requires;
 * https://codereview.chromium.org/209853003/ - Adding binutils as a DEPS to allow DebugFission on Ubuntu Precise when compiling with clang.

BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262794 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-09 20:20:45 +00:00
glider@chromium.org 04e22ee71d Use instrumented libc++ by default in TSan builds.
BUG=318770
TBR=earthdok@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262558 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-08 23:56:09 +00:00
phajdan.jr@chromium.org 7767ff5c09 Make it possible to disable fatal linker warnings
This came up in Gentoo Linux bug https://bugs.gentoo.org/show_bug.cgi?id=506268

Fatal linker warnings were originally introduced in https://codereview.chromium.org/196943020

BUG=352985
R=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262093 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-07 08:17:25 +00:00
scottmg@chromium.org defa0952ae Revert 262031 "When "linux_use_gold_binary" is set, we now use g..."
Suspected of causing:

http://build.chromium.org/p/chromium.linux/builders/Linux%20Builder%20(dbg)/builds/71338/steps/compile/logs/stdio

[13474/21627] CXX obj/cc/animation/cc_unittests.scrollbar_animation_controller_linear_fade_unittest.o
FAILED: cd ../../remoting; python ../tools/gypv8sh.py ../out/Debug/d8 ../chrome/third_party/mock4js/mock4js.js ../third_party/accessibility-audit/axs_testing.js ../chrome/test/data/webui/test_api.js ../chrome/test/base/js2gtest.js unit "webapp/all_js_load.gtestjs" "chrome/webapp/all_js_load.gtestjs" "../out/Debug/obj/remoting/remoting_unittests.gen/chrome/webapp/all_js_load-gen.cc" "../out/Debug/test_data/chrome/webapp/all_js_load.gtestjs"
../out/Debug/d8: error while loading shared libraries: libicui18n.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "../tools/gypv8sh.py", line 55, in <module>
    sys.exit(main())
  File "../tools/gypv8sh.py", line 44, in main
    subprocess.check_call(cmd, stdin=subprocess.PIPE, stdout=f)
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../out/Debug/d8', '-e', 'arguments=["../chrome/test/base/js2gtest.js", "webapp/all_js_load.gtestjs", "chrome/webapp/all_js_load.gtestjs", "../out/Debug/obj/remoting/remoting_unittests.gen/chrome/webapp/all_js_load-gen.cc", "unit"]', '../chrome/third_party/mock4js/mock4js.js', '../third_party/accessibility-audit/axs_testing.js', '../chrome/test/data/webui/test_api.js', '../chrome/test/base/js2gtest.js']' returned non-zero exit status 127
FAILED: cd ../../remoting; python ../tools/gypv8sh.py ../out/Debug/d8 ../chrome/third_party/mock4js/mock4js.js ../third_party/accessibility-audit/axs_testing.js ../chrome/test/data/webui/test_api.js ../chrome/test/base/js2gtest.js unit "webapp/browser_globals.gtestjs" "chrome/webapp/browser_globals.gtestjs" "../out/Debug/obj/remoting/remoting_unittests.gen/chrome/webapp/browser_globals-gen.cc" "../out/Debug/test_data/chrome/webapp/browser_globals.gtestjs"
../out/Debug/d8: error while loading shared libraries: libicui18n.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "../tools/gypv8sh.py", line 55, in <module>
    sys.exit(main())
  File "../tools/gypv8sh.py", line 44, in main
    subprocess.check_call(cmd, stdin=subprocess.PIPE, stdout=f)
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../out/Debug/d8', '-e', 'arguments=["../chrome/test/base/js2gtest.js", "webapp/browser_globals.gtestjs", "chrome/webapp/browser_globals.gtestjs", "../out/Debug/obj/remoting/remoting_unittests.gen/chrome/webapp/browser_globals-gen.cc", "unit"]', '../chrome/third_party/mock4js/mock4js.js', '../third_party/accessibility-audit/axs_testing.js', '../chrome/test/data/webui/test_api.js', '../chrome/test/base/js2gtest.js']' returned non-zero exit status 127
FAILED: cd ../../remoting; python ../tools/gypv8sh.py ../out/Debug/d8 ../chrome/third_party/mock4js/mock4js.js ../third_party/accessibility-audit/axs_testing.js ../chrome/test/data/webui/test_api.js ../chrome/test/base/js2gtest.js unit "webapp/format_iq.gtestjs" "chrome/webapp/format_iq.gtestjs" "../out/Debug/obj/remoting/remoting_unittests.gen/chrome/webapp/format_iq-gen.cc" "../out/Debug/test_data/chrome/webapp/format_iq.gtestjs"
../out/Debug/d8: error while loading shared libraries: libicui18n.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "../tools/gypv8sh.py", line 55, in <module>
    sys.exit(main())
  File "../tools/gypv8sh.py", line 44, in main
    subprocess.check_call(cmd, stdin=subprocess.PIPE, stdout=f)
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../out/Debug/d8', '-e', 'arguments=["../chrome/test/base/js2gtest.js", "webapp/format_iq.gtestjs", "chrome/webapp/format_iq.gtestjs", "../out/Debug/obj/remoting/remoting_unittests.gen/chrome/webapp/format_iq-gen.cc", "unit"]', '../chrome/third_party/mock4js/mock4js.js', '../third_party/accessibility-audit/axs_testing.js', '../chrome/test/data/webui/test_api.js', '../chrome/test/base/js2gtest.js']' returned non-zero exit status 127
ninja: build stopped: subcommand failed.

> When "linux_use_gold_binary" is set, we now use gold from third_party/binutils rather than third_party/gold (allowing us to remove third_party/gold dependency).
> 
> As third_party/binutils is 2.24, this also satisfies the binutils version requirements for Debug Fission. Thus, when building with clang on Ubuntu Precise it should now be enabled. This should cause a significant speedup in linking for most chrome developers on Linux.
> 
> Requires;
>  * https://codereview.chromium.org/209853003/ - Adding binutils as a DEPS to allow DebugFission on Ubuntu Precise when compiling with clang.
> 
> BUG=352046
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261778
> 
> Review URL: https://codereview.chromium.org/196573022

TBR=mithro@mithis.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262036 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-05 20:53:01 +00:00
sky@chromium.org 6d0851cc94 Removes use_mojo
Now that we've sorted out the build issues on all platforms it can be
removed.

BUG=353602
TEST=none
R=jam@chromium.org
TBR=tsepez@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262032 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-05 20:14:17 +00:00
mithro@mithis.com b5dc309f82 When "linux_use_gold_binary" is set, we now use gold from third_party/binutils rather than third_party/gold (allowing us to remove third_party/gold dependency).
As third_party/binutils is 2.24, this also satisfies the binutils version requirements for Debug Fission. Thus, when building with clang on Ubuntu Precise it should now be enabled. This should cause a significant speedup in linking for most chrome developers on Linux.

Requires;
 * https://codereview.chromium.org/209853003/ - Adding binutils as a DEPS to allow DebugFission on Ubuntu Precise when compiling with clang.

BUG=352046

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262031 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-05 20:13:43 +00:00
thakis@chromium.org 0405ae2803 Revert "Turn on clang by default on linux."
We don't have 32bit clang binaries, but several 32bit builders.
(And since clang now needs a c++11 compiler newer than gcc4.6 to
compile, we can't tell these bots to just build clang themselves
either.)

BUG=360311

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262030 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-05 20:06:28 +00:00
thakis@chromium.org 50d16afd11 Turn on clang by default on linux.
This is mostly to collect performance and size data for now. Unless things
look really good, I'm going to revert this by end-of-day sunday.

BUG=360311
TBR=awong@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262025 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-05 18:27:00 +00:00
thestig@chromium.org 64549c3607 Linux: Do not pass --reduce-memory-overheads to the linker on CrOS.
BUG=360082
TBR=vapier@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261943 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-05 00:46:14 +00:00
tommycli@chromium.org 7c3d69adb8 Revert of Reapply "Media Galleries API Metadata: Image metadata" (https://codereview.chromium.org/216443005/)
Reason for revert:
Breaking Mac 10.6 release testers. (no idea why, but it is)

Original issue's description:
> Reapply "Media Galleries API Metadata: Image metadata"
> 
> Original patch (also PS1) https://codereview.chromium.org/191583002
> 
> CQ can't catch the breakages of this patch.
> 
> TBR=
> BUG=318450
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261864

TBR=ccameron@chromium.org,thestig@chromium.org,grt@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=318450

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261895 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 22:02:00 +00:00
jochen@chromium.org 6cba4298d8 [gin] Add a v8::Platform implementation to allow for v8 posting tasks
This currently has no effect unless concurrent sweeping and job based
sweeping is turned on in v8.

BUG=v8:3015
R=abarth@chromium.org,dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261872 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 21:09:16 +00:00
tommycli@chromium.org 6c689ed770 Reapply "Media Galleries API Metadata: Image metadata"
Original patch (also PS1) https://codereview.chromium.org/191583002

CQ can't catch the breakages of this patch.

TBR=
BUG=318450

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261864 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 20:58:57 +00:00
jam@chromium.org dfff974b0a Remove the remaining automation-based tests.
BUG=316203
R=avi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261839 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 19:30:43 +00:00
scottmg@chromium.org b3a4c0c69e Revert 261778 "When "linux_use_gold_binary" is set, we now use g..."
Broke ASAN builders: e.g. http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%2BLSan%20Builder/builds/2502/steps/runhooks/logs/stdio

 
________ running '/usr/bin/python src/build/gyp_chromium' in '/b/build/slave/Linux_ASan_LSan_Builder/build'
Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /b/build/slave/Linux_ASan_LSan_Builder/build
Updating projects from gyp files...
/bin/sh: 1: clang++: not found
compiler_version.py failed to execute: clang++ -Xassembler --version -x assembler -c /dev/null
Command 'clang++ -Xassembler --version -x assembler -c /dev/null' returned non-zero exit status 127
gyp: Call to 'python ../build/compiler_version.py assembler' returned exit status 1.
program finished with exit code 2
elapsedTime=6.794917


> When "linux_use_gold_binary" is set, we now use gold from third_party/binutils rather than third_party/gold (allowing us to remove third_party/gold dependency).
> 
> As third_party/binutils is 2.24, this also satisfies the binutils version requirements for Debug Fission. Thus, when building with clang on Ubuntu Precise it should now be enabled. This should cause a significant speedup in linking for most chrome developers on Linux.
> 
> Requires;
>  * https://codereview.chromium.org/209853003/ - Adding binutils as a DEPS to allow DebugFission on Ubuntu Precise when compiling with clang.
> 
> BUG=352046
> 
> Review URL: https://codereview.chromium.org/196573022

TBR=mithro@mithis.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261782 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 17:01:08 +00:00
mithro@mithis.com 23cedee2a2 When "linux_use_gold_binary" is set, we now use gold from third_party/binutils rather than third_party/gold (allowing us to remove third_party/gold dependency).
As third_party/binutils is 2.24, this also satisfies the binutils version requirements for Debug Fission. Thus, when building with clang on Ubuntu Precise it should now be enabled. This should cause a significant speedup in linking for most chrome developers on Linux.

Requires;
 * https://codereview.chromium.org/209853003/ - Adding binutils as a DEPS to allow DebugFission on Ubuntu Precise when compiling with clang.

BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261778 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 16:29:47 +00:00
thestig@chromium.org 3195054d6d Linux: Add yet another workaround to keep 32-bit linkers from going OOM. (try 2)
BUG=358546
TBR=mmoss@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261701 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 08:05:25 +00:00
thestig@chromium.org 355e854f40 Revert 261632 "Linux: Add yet another workaround to keep 32-bit ..."
> Linux: Add yet another workaround to keep 32-bit linkers from going OOM.
> 
> BUG=358546
> 
> Review URL: https://codereview.chromium.org/224753002

TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261637 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 02:58:39 +00:00
thestig@chromium.org 5ea22285a1 Linux: Add yet another workaround to keep 32-bit linkers from going OOM.
BUG=358546

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261632 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 02:10:52 +00:00
sky@chromium.org 9f3dfdb6fb Replace RULE_INPUT_PATH with RULE_INPUT_DIRNAME/RULE_INPUT_ROOT.mojom
This is necessitated by the webview build, which does not use ninja
and does not support RULE_INPUT_PATH.

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261621 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 01:10:46 +00:00
aurimas@chromium.org 2e2ecdd08b Add whitelist support for grit repack steps.
-Adds new repack_options variables
-Updates pragma to output numeric_id instead of resource_id
-Updates find_used_resources.py to filter for numeric_id

To use the existing system you need to do following steps:
1. Remove out directory (we need to do a clean build)
2. Append " enable_resource_whitelist_generation=1" to GYP_DEFINES
3. Run gyp
4. Build your target (e.g. chrome_shell_apk) saving output to a file
   (e.g. build.txt)
5. cat build.txt | tools/resources/find_used_resources.py > whitelist.txt
6. Append " repack_options='--whitelist /path/to/whitelist.txt'"
7. Run gyp
8. Build your target again.
9. ???
10. Profit!!!

BUG=338759

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261611 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 00:52:22 +00:00
sky@chromium.org 5b04600b4b Turns on use_mojo for android
BUG=none
TEST=none
R=darin@chromium.org, jam@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261519 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-03 20:39:32 +00:00
sdefresne@chromium.org 93145a8db4 Disable -Wshorten-64-to-32 when building with Xcode for arm64
The protobuf code is not 64-bit clean and Xcode automatically enable the
-Wshorten-64-to-32 warning when compiling for arm64 so explicitly disable
it to allow compilation to succeed, as the warning is quite pedantic here
(likelihood of a buffer larger than INT_MAX characters is quite low).

BUG=359107

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261258 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-03 01:49:49 +00:00
davemoore@chromium.org 506c4ff0c7 Enable use_mojo on mac
BUG=
R=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261202 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-02 22:27:39 +00:00
thakis@chromium.org 35ea01d621 roll clang 202555:204777
BUG=357890
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261042 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-02 03:37:33 +00:00
ccameron@chromium.org 0c37f15e06 Revert 260917 "Media Galleries API Metadata: Image metadata"
> Media Galleries API Metadata: Image metadata
> 
> Enables libexif and uses it to parse some image tags into the GetMetadata call.
> 
> BUG=318450
> 
> Review URL: https://codereview.chromium.org/191583002

TBR=tommycli@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260931 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-01 19:51:04 +00:00
michaelbai@chromium.org a6cc0b9f21 Revert "Revert r253110: "Enable webrtc for webview.""
This reverts commit 809b76d5243988fa3ad3ad4dfda94d23246b1daf.

BUG=357016

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260921 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-01 19:22:44 +00:00
tommycli@chromium.org 83937cf5df Media Galleries API Metadata: Image metadata
Enables libexif and uses it to parse some image tags into the GetMetadata call.

BUG=318450

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-01 19:13:39 +00:00
sky@chromium.org 6c9d860b82 Turns on use_mojo for chromeos
BUG=none
TEST=none
R=darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260761 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-01 02:52:13 +00:00
gunsch@chromium.org 0a6b39f3e3 Adds GYP variable to enable MPEG2TS stream parsing.
BUG=357668

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260740 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-01 01:50:29 +00:00
eugenis@chromium.org 2a4150131a Do not add -g0 with "clang=1 asan=1".
clang=1 adds -g0 which overrides -gline-tables-only added by asan=1.
This change removes -g0 if asan=1 or msan=1 or tsan=1.

BUG=358126

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260536 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-31 13:30:18 +00:00
rtoy@google.com 66cbc87d77 Enable WebAudio by default for Android/x86.
about:flags now has a disable WebAudio flag on Android for x86, just like for
arm, as expected. I manually tested that the flag does disable WebAudio.

I verified that on desktop (linux), there is no disable (or enable)
flag, as expected. (Desktop always has WebAudio enabled, and there is
no flag to disable it.)

BUG=353809

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260429 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-30 16:50:47 +00:00
jochen@chromium.org 5b1cc00380 Use the system harfbuzz library on chrome os
BUG=353127
R=jshin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260202 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 18:18:20 +00:00
davemoore@chromium.org f2b158f83d Revert 260175 "Fixup mojo dylibs to support mojo in content"
sky is about to check something in that will interact poorly with this
and it'll be easier to apply the necessary changes after that.

> Fixup mojo dylibs to support mojo in content
> 
> Second try after revert of
> https://codereview.chromium.org/211503005/
> 
> The isolates failed because libmojo_system.dylib wasn't getting copied.
> 
> BUG=
> TBR=mark@chromium.org
> 
> Review URL: https://codereview.chromium.org/217003003

TBR=davemoore@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 17:19:30 +00:00
davemoore@chromium.org a0a90b7b70 Fixup mojo dylibs to support mojo in content
Second try after revert of
https://codereview.chromium.org/211503005/

The isolates failed because libmojo_system.dylib wasn't getting copied.

BUG=
TBR=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260175 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 17:05:31 +00:00
haavardm@opera.com 0f77e0bb0f Introduce USE_OPENSSL_CERTS for certificate handling.
See discussion at chromium issue 338885.

When USE_OPENSSL_CERTS is defined, X509::OSCertHandle is now
typedef'ed to struct X509*. 
 
When USE_OPENSSL is defined, USE_OPENSSL_CERTS will now be
defined for linux and Android, while being off for Mac and 
Windows. This allows OpenSSL to be used while leaving
certificate handling to the OS.
 
OpenSSL cert verifying code will only be used on Linux.

This patch does not change any default behavior.

Bug=none
Test=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260152 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 16:20:32 +00:00
mukai@chromium.org c33e2361f8 Revert 259561 "Set the default ASan options for executables buil..."
> Set the default ASan options for executables built with ASan on Linux.
> 
> This is a copy of https://codereview.chromium.org/25687005/ updated for the current trunk
> with the link_dependency attribute speculatively added to base/base.gyp:sanitizer_options
> to avoid potential dependency cycles.
> 
> 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
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/201153007

TBR=glider@chromium.org
BUG=357093

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 00:09:43 +00:00
bajones@chromium.org c63b6d128d Revert 259788 "Fixup mojo dylibs"
Broke Mac GPU bots. content_gl_tests began failing with:

dyld: Library not loaded: @loader_path/libmojo_system.dylib
  Referenced from: /tmp/run_tha_testiM3m5a/out/Release/content_gl_tests
  Reason: image not found

> Fixup mojo dylibs
> 
> BUG=
> R=mark@chromium.org
> 
> Review URL: https://codereview.chromium.org/211503005

TBR=davemoore@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259908 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 16:32:34 +00:00
andrewhayden@chromium.org b35943627a Make it possible to read CLD data from a file.
Note that this change DOES NOT "opt-in" any platform at this time, it merely
makes it possible to read the CLD data in from a file if cld_version=2 and
cld_dynamic=1. Subsequent changes will be required for platforms to "opt-in"
to using this approach; e.g., each platform will have to generate their data
file and package it appropriately before turning this feature on in compile
flags.

IMPORTANT: Can't be enabled on on Android until the SIGBUS in CLD is fixed:
https://code.google.com/p/cld2/issues/detail?id=11

BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259900 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 16:16:03 +00:00
dmikurube@chromium.org 7edeccf6b4 Use use_allocator instead of android_use_tcmalloc to switch the allocator.
See https://crrev.com/177353002 and the bug for the details.

BUG=345554

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259894 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 16:05:44 +00:00
chrisha@google.com e6e4c7e285 Use SYZYASAN instead of ADDRESS_SANITIZER.
We've seen different failure related to the fact that we use the same flag without providing the same API and functionality.

BUG=
TBR=jamesr

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259855 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 15:08:04 +00:00
davemoore@chromium.org d923f3c349 Fixup mojo dylibs
BUG=
R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259788 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-27 05:24:24 +00:00
jochen@chromium.org 17ac412f09 Use the system provided harfbuzz on chromeos
It's part of the pango library we use already, so by using it, we avoid
a link time collission.

However, if you build just the browser on linux on ubuntu 12, we don't
have such an up to date pango available, so we need to be a bit smart
about whether or not to use the system harfbuzz.

This also allows for treating linker warnings as errors on chromeos

BUG=353127
R=jshin@chromium.org, thakis@chromium.org

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 19:10:02 +00:00
sky@chromium.org 0f65aff570 Adds plumbing to pass WebUI mojo::Handle from browser to renderer
See the test for details on how it'll all work out in practice.

BUG=none
TEST=none
R=darin@chromium.org, tsepez@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259605 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 16:45:02 +00:00
glider@chromium.org 37ff3e885d Set the default ASan options for executables built with ASan on Linux.
This is a copy of https://codereview.chromium.org/25687005/ updated for the current trunk
with the link_dependency attribute speculatively added to base/base.gyp:sanitizer_options
to avoid potential dependency cycles.

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
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259561 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 12:52:33 +00:00
jochen@chromium.org 6f636927a8 Revert of Use the system provided harfbuzz on chromeos (https://codereview.chromium.org/203163003/)
Reason for revert:
chromeos doesn't have hb-icu.h

Original issue's description:
> Use the system provided harfbuzz on chromeos
> 
> It's part of the pango library we use already, so by using it, we avoid
> a link time collission.
> 
> However, if you build just the browser on linux on ubuntu 12, we don't
> have such an up to date pango available, so we need to be a bit smart
> about whether or not to use the system harfbuzz.
> 
> This also allows for treating linker warnings as errors on chromeos
> 
> BUG=353127
> R=jshin@chromium.org, thakis@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259423
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259530

TBR=jshin@chromium.org,thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=353127

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 09:31:31 +00:00
jochen@chromium.org d95f05fff1 Use the system provided harfbuzz on chromeos
It's part of the pango library we use already, so by using it, we avoid
a link time collission.

However, if you build just the browser on linux on ubuntu 12, we don't
have such an up to date pango available, so we need to be a bit smart
about whether or not to use the system harfbuzz.

This also allows for treating linker warnings as errors on chromeos

BUG=353127
R=jshin@chromium.org, thakis@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259530 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 08:05:28 +00:00
erikchen@chromium.org 39d7d82d43 Revert of Use the system provided harfbuzz on chromeos (https://codereview.chromium.org/203163003/)
Reason for revert:
Revert as speculative cause for build failure.

http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28daisy%29/builds/17405/steps/Report/logs/stdio

Original issue's description:
> Use the system provided harfbuzz on chromeos
> 
> It's part of the pango library we use already, so by using it, we avoid
> a link time collission.
> 
> However, if you build just the browser on linux on ubuntu 12, we don't
> have such an up to date pango available, so we need to be a bit smart
> about whether or not to use the system harfbuzz.
> 
> This also allows for treating linker warnings as errors on chromeos
> 
> BUG=353127
> R=jshin@chromium.org,thakis@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259423

TBR=jshin@chromium.org,thakis@chromium.org,jochen@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=353127

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 01:49:58 +00:00
jochen@chromium.org a3e651e42b Use the system provided harfbuzz on chromeos
It's part of the pango library we use already, so by using it, we avoid
a link time collission.

However, if you build just the browser on linux on ubuntu 12, we don't
have such an up to date pango available, so we need to be a bit smart
about whether or not to use the system harfbuzz.

This also allows for treating linker warnings as errors on chromeos

BUG=353127
R=jshin@chromium.org,thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259423 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 00:47:20 +00:00
thakis@chromium.org 88eb7b2c96 clang roll 198389:202554 revolutions
First try: https://codereview.chromium.org/195623002
Second try: https://codereview.chromium.org/211213004

Difference from "second try" is passing --enable-libedit=no to
configure, to not depend on libedit.3.dylib (which doesn't exist on
OS X 10.6), see diff from patch set 1 to 2.

The linux package wasn't rebuilt, so it's configured without that flag.
That shouldn't cause issues hopefully.

BUG=351479, 287029, 341352, 333968, 335325
R=hans@chromium.org
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259411 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 00:14:35 +00:00
thakis@chromium.org a046e5aab7 Revert 259371 "clang roll 198389:202554 reloaded"
Even though the libc++ dependency is gone, clang still depends on
/usr/lib/libedit.3.dylib suddently, which doesn't exist on 10.6. Backing out
while I investigate...

> clang roll 198389:202554 reloaded
> 
> The first try is at https://codereview.chromium.org/195623002/ . Patch set 1
> is identical to that CL, patch set 2 has what changed.
> 
> The big change is that clang/mac is built in gnu++98 mode and doesn't link
> to libc++, to buy us time until the next roll for upgrading our bots to 10.7.
> This includes blink plugin changes up to r256229 (inclusive).
> 
> BUG=351479, 287029, 341352, 333968, 335325
> R=hans@chromium.org
> TBR=hans@chromium.org
> 
> Review URL: https://codereview.chromium.org/211213004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 22:56:20 +00:00
thakis@chromium.org ac2f493c45 clang roll 198389:202554 reloaded
The first try is at https://codereview.chromium.org/195623002/ . Patch set 1
is identical to that CL, patch set 2 has what changed.

The big change is that clang/mac is built in gnu++98 mode and doesn't link
to libc++, to buy us time until the next roll for upgrading our bots to 10.7.
This includes blink plugin changes up to r256229 (inclusive).

BUG=351479, 287029, 341352, 333968, 335325
R=hans@chromium.org
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 22:42:36 +00:00
rmcilroy@chromium.org a79ec8edc6 [Android] Fix arm64 abi after Android rename
BUG=354405

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259140 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-25 04:01:00 +00:00
yang.gu@intel.com 84e23bb030 Add support of x64 to generate .mk files
Now you may generate x64 .mk files with command:
./android_webview/tools/gyp_webview linux-x86_64

BUG=346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258872 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 04:07:34 +00:00
dbeam@chromium.org 8753fdb163 Revert 258763 "Adds plumbing to pass WebUI mojo::Handle from bro..."
Broke compile on Linux Builder (dbg):
FAILED: /b/build/goma/gomacc c++ -MMD -MF obj/content/gen/mojo/common/mojo/content_common_mojo_bindings.render_process.mojom.o.d -DCONTENT_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCOMPONENT_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_MOJO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DUSE_UDEV -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 -DCLD_VERSION=2 -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 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DUSE_NSS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -I../.. -Igen -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -msse2 -mfpmath=sse -mmmx -m32 -O0 -g -funwind-tables -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare  -c gen/mojo/common/mojo/render_process.mojom.cc -o obj/content/gen/mojo/common/mojo/content_common_mojo_bindings.render_process.mojom.o
gen/mojo/common/mojo/render_process.mojom.cc:10:54: fatalerror: content/common/mojo/render_process.mojom.h: No such file or directory
compilation terminated.

> Adds plumbing to pass WebUI mojo::Handle from browser to renderer
> 
> See the test for details on how it'll all work out in practice.
> 
> BUG=none
> TEST=none
> R=darin@chromium.org
> 
> Review URL: https://codereview.chromium.org/206923002

TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258769 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-22 03:59:42 +00:00
sky@chromium.org 92f08ed470 Adds plumbing to pass WebUI mojo::Handle from browser to renderer
See the test for details on how it'll all work out in practice.

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258763 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-22 03:25:24 +00:00
glider@chromium.org 57600e5cb1 Disable the globals instrumentation under asan==1, not asan_coverage==1.
BUG=352073
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258636 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 18:51:17 +00:00
feng@chromium.org 35a6d219f5 [Android] Workaround of an android platform bug.
On some Android devices (e.g., Sony Xperia), package manager may
fail to extract native libraries when updating Chrome.

The change tries alleviate the situation by:
1) name libchrome with version number;
2) when failed to load library, try to extract native libraies
   and load them.

BUG=311644

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 12:39:56 +00:00
noamsml@chromium.org ecdda002f6 Enable devices page UI on MacOSX
Changes:

1. Consolidate the logic of "ENABLE_MDNS or OS_MACOSX" into a single C++/grit/ninja define called "enable_service_discovery"
2. Move a bunch of files from being conditioned on enable_mdns to being conditioned on enable_service_discovery.
3. Create a separate, simplified PrivetHTTPAsynchronousFactory that synchronously returns a PrivetHTTPClient for the mDNS host and port
without resolving, since on OSX mDNS resolution is baked into the operating system.

BUG=352811

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258480 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-21 00:58:56 +00:00
sky@chromium.org ee386fdb73 Turns on use_mojo=1 for linux.
BUG=353602
TEST=none
R=csharp@chromium.org, mmoss@google.com, thestig@chromium.org, mmoss@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258411 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 21:16:57 +00:00
rmcilroy@chromium.org e1f50e9a4d Enable Arm64 target arch in gyp build config
Initial support to get us started.  There is a lot more work to do before we can compile for arm64.

BUG=354405

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258363 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 18:35:49 +00:00
torne@chromium.org 1e6789aed1 Revert 258278 "Use ICU data file on Android WebView."
> Use ICU data file on Android WebView.
> 
> The Android WebView uses the system ICU on target anyway, so this only
> affects the host build of ICU used to build the host V8. This means the
> flag is now enabled on all platforms by default and no longer needs to
> be conditional.
> 
> BUG=
> 
> Review URL: https://codereview.chromium.org/204783003

TBR=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258354 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 18:20:00 +00:00
sky@chromium.org 01de219884 Turns on use_mojo=1 for windows.
BUG=353602
TEST=none
R=bradnelson@chromium.org, csharp@chromium.org, grt@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258288 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 14:49:41 +00:00
torne@chromium.org 9b9002b0b1 Use ICU data file on Android WebView.
The Android WebView uses the system ICU on target anyway, so this only
affects the host build of ICU used to build the host V8. This means the
flag is now enabled on all platforms by default and no longer needs to
be conditional.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258278 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 14:35:08 +00:00
sky@chromium.org c86206b41f Revert 258062 "Turns on use_mojo=1 for linux."
> Turns on use_mojo=1 for linux.
> 
> BUG=353602
> TEST=none
> R=csharp@chromium.org, mmoss@google.com, thestig@chromium.org, mmoss@chromium.org
> 
> Review URL: https://codereview.chromium.org/203963003

TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 22:34:00 +00:00
sky@chromium.org c82b18fc3d Turns on use_mojo=1 for linux.
BUG=353602
TEST=none
R=csharp@chromium.org, mmoss@google.com, thestig@chromium.org, mmoss@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258062 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 19:39:02 +00:00
wittman@chromium.org fd38b4a5a7 Remove enhanced bookmarks extension
Experimentation around bookmark styling in Chrome is being conducted
in a separate extension, so this in-tree component extension is no
longer needed.

This reverts r226314.

BUG=311282
R=estade@chromium.org, kalman@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 16:51:58 +00:00
sebmarchand@chromium.org f1f48f9eb5 Put the syzygy targets behind a 'syzygy_optimize' flag.
R=chrisha@chromium.org, pkasting@chromium.org

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 15:25:54 +00:00
pneubeck@chromium.org 42452d82b5 Revert of Enable extended debugging symbols to including macro expansion. (https://codereview.chromium.org/198363002/)
Reason for revert:
Might be the cause for memory exhaustion during compilation on the Linux dbg build bot:

http://build.chromium.org/p/chromium.linux/buildstatus?builder=Linux%20Builder%20%28dbg%29%2832%29&number=21991

Original issue's description:
> Adding -g3 to get macro expansion support. (Default is -g2.)
> Adding -gdwarf-4 for macro expansion support.
> 
>  * gcc 4.6 outputs DWARF-2 by default
>  * gcc 4.7 outputs DWARF-4 by default
>  * clang <3.4 outputs DWARF-3 by default
>  * clang >3.4 outputs DWARF-4 by default
> 
> From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> > -g3
> >  Level 3 includes extra information, such as all the macro
> >  definitions present in the program. Some debuggers support macro
> >  expansion when you use -g3.
> >
> > -gdwarf-4
> >  Produce debugging information in DWARF format (if that is
> >  supported). The value of version may be either 2, 3 or 4; the
> >  default version for most targets is 4.  Note that with DWARF
> >  Version 2, some ports require and always use some non-conflicting
> >  DWARF 3 extensions in the unwind tables.
> >
> >  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
> >  maximum benefit.
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257944

TBR=stuartmorgan@chromium.org,erg@chromium.org,mark@chromium.org,mmoss@chromium.org,thestig@chromium.org,mmoss@google.com,mithro@mithis.com
NOTREECHECKS=true
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 13:53:16 +00:00
pneubeck@chromium.org 966517c82c Revert of Moving binutils version extraction so it works with clang. (https://codereview.chromium.org/199333007/)
Reason for revert:
Seems to break runhooks on several bots, like:
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%2BLSan%20Builder/builds/1188

Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /b/build/slave/Linux_ASan_LSan_Builder/build
Updating projects from gyp files...
/bin/sh: 1: clang++: not found
compiler_version.py failed to execute: clang++ -Xassembler --version -x assembler -c /dev/null
Command 'clang++ -Xassembler --version -x assembler -c /dev/null' returned non-zero exit status 127
gyp: Call to 'python ../build/compiler_version.py assembler' returned exit status 1.

Original issue's description:
> Moving binutils version extraction so it works with clang.
> 
> BUG=352046
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257943

TBR=thestig@chromium.org,thakis@chromium.org,mithro@mithis.com
NOTREECHECKS=true
NOTRY=true
BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 13:09:01 +00:00
andrewhayden@chromium.org 717e9df6cd Add a switch to control which CLD2 tables are used at build time.
Mobile platforms have traditionally opted for smaller binaries. These options allow mobile
platforms some flexibility in trading language detection accuracy for binary size.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:10:59 +00:00
mithro@mithis.com b05026fa67 Adding -g3 to get macro expansion support. (Default is -g2.)
Adding -gdwarf-4 for macro expansion support.

 * gcc 4.6 outputs DWARF-2 by default
 * gcc 4.7 outputs DWARF-4 by default
 * clang <3.4 outputs DWARF-3 by default
 * clang >3.4 outputs DWARF-4 by default

From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> -g3
>  Level 3 includes extra information, such as all the macro
>  definitions present in the program. Some debuggers support macro
>  expansion when you use -g3.
>
> -gdwarf-4
>  Produce debugging information in DWARF format (if that is
>  supported). The value of version may be either 2, 3 or 4; the
>  default version for most targets is 4.  Note that with DWARF
>  Version 2, some ports require and always use some non-conflicting
>  DWARF 3 extensions in the unwind tables.
>
>  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
>  maximum benefit.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257944 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:07:41 +00:00
mithro@mithis.com 40db6db80d Moving binutils version extraction so it works with clang.
BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257943 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 12:01:51 +00:00
mithro@mithis.com daf1b98c82 GCC didn't officially add -gsplit-dwarf until version 4.8
I tested with gcc 4.8 and then believed the internet when it said 4.7 had support. Someone was wrong on the internet, inconceivable!

Confirmed not supported on 4.7 via GCC release notes at
http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Debugging-Options.html#Debugging-Options

Confirmed supported on 4.8 via GCC release notes at
http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Debugging-Options.html#Debugging-Options

Issue reported by sigbjornf@opera.com

BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257861 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-19 06:05:45 +00:00
bajones@chromium.org 391d9d392e Removing Chrome Gamepad transition cruft (Take 2)
"Don't break the build this time" edition.

BUG=344556
TBR=eseidel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 18:09:23 +00:00
sky@chromium.org c5254ee808 Adds the ability for the renderer to create the mojo channel
This is initiated and owned by RenderProcessHost. I've added a
method to RenderProcessHostImpl to create the channel. No one is
calling it yet, that will come after this.

RenderProcessHostImpl::CreateMojoChannel initiates the connection and
sends an IPC message to the renderer. The renderer than creates its
end of the connection.

End to end test will come once I've added all the pieces.

BUG=none
TEST=none
R=darin@chromium.org, tsepez@chromium.org, viettrungluu@chromium.org

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

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257691 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 18:03:05 +00:00
zhenyu.liang@intel.com a09598469d Enable Android x64 build
BUG=346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257683 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 17:43:48 +00:00
thakis@chromium.org 82f66f34fa Revert 257618 "roll clang 198389:202554"
A bunch of mac builder bots are still on 10.6 (http://crbug.com/353529)          

> roll clang 198389:202554
> 
> This change contains several big changes, many of the caused by upstream
> llvm enabling c++11 in their codebase and thus having higher minimum
> requirements for their toolchain and runtime environment:
> 
> * clang on OS X now requires libc++, which means it'll only run on OS X 10.7+,
>   so change the deployment target from 10.5 to 10.7 (we were planning on
>   requiring 10.8 or 10.9, see bug 335325, but since several people are waiting
>   on a new clang, let's go to 10.7 only for now and do more as a follow-up)
> * On OS X, the compiler is only usable with libc++ if libc++ is checked out
>   and `make install` is run, so do that for the phase 1 compiler.
>   (Chrome doesn't use libc++ yet, so we don't do that for the bootstrapped
>   compiler.)
> * clang on linux now needs libstdc++ 4.7+ which isn't present on precise.
>   So we now include a newer libstdc++ in the compiler bundle (meaning
>   this clang should still run on precise).
> * clang is broken for android at r202554. To unblock oilpan, merge three
>   later changes into this roll, llvm r202793, r203601, and r203635
> 
> Regular, less tricky clang roll stuff:
> * Disable the new warning -Wabsolute-value for now (crbug.com/351479
>   for turning it on)
> * Disable -Wno-tautological-pointer-compare for libxml where it now
>   fires.
> * Since this bundles a new version of the oilpan plugin, bump its suffix to _3
> * Change plugin code to track upstream api change
> * Remove plugin flag check-url-directory as that's now always on
> 
> Due to the c++11 stuff, it's likely that this change will get reverted a few times.
> 
> BUG=351479, 287029,341352,333968,335325
> TBR=hans@chromium.org
> 
> Review URL: https://codereview.chromium.org/195623002

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257620 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 11:57:13 +00:00
thakis@chromium.org 17e657dcc7 roll clang 198389:202554
This change contains several big changes, many of the caused by upstream
llvm enabling c++11 in their codebase and thus having higher minimum
requirements for their toolchain and runtime environment:

* clang on OS X now requires libc++, which means it'll only run on OS X 10.7+,
  so change the deployment target from 10.5 to 10.7 (we were planning on
  requiring 10.8 or 10.9, see bug 335325, but since several people are waiting
  on a new clang, let's go to 10.7 only for now and do more as a follow-up)
* On OS X, the compiler is only usable with libc++ if libc++ is checked out
  and `make install` is run, so do that for the phase 1 compiler.
  (Chrome doesn't use libc++ yet, so we don't do that for the bootstrapped
  compiler.)
* clang on linux now needs libstdc++ 4.7+ which isn't present on precise.
  So we now include a newer libstdc++ in the compiler bundle (meaning
  this clang should still run on precise).
* clang is broken for android at r202554. To unblock oilpan, merge three
  later changes into this roll, llvm r202793, r203601, and r203635

Regular, less tricky clang roll stuff:
* Disable the new warning -Wabsolute-value for now (crbug.com/351479
  for turning it on)
* Disable -Wno-tautological-pointer-compare for libxml where it now
  fires.
* Since this bundles a new version of the oilpan plugin, bump its suffix to _3
* Change plugin code to track upstream api change
* Remove plugin flag check-url-directory as that's now always on

Due to the c++11 stuff, it's likely that this change will get reverted a few times.

BUG=351479, 287029,341352,333968,335325
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257618 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 10:53:25 +00:00
bajones@chromium.org d942560bf1 Revert of Removing Chrome Gamepad transition cruft (https://codereview.chromium.org/202043003/)
Reason for revert:
Forgot to roll WebKit deps.

Original issue's description:
> Removing Chrome Gamepad transition cruft
> 
> BUG=344556
> TBR=eseidel@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257454

TBR=eseidel@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=344556

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257460 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 17:18:53 +00:00
bajones@chromium.org 91057f440e Removing Chrome Gamepad transition cruft
BUG=344556
TBR=eseidel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:56:54 +00:00
jochen@chromium.org ee603348ad Fixing gyp syntax
TBR=thakis@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257444 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:28:53 +00:00
jochen@chromium.org 2c25922338 Disable treating linker warnings as errors on all of chromeos
BUG=353127
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257441 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 16:19:01 +00:00
torne@chromium.org 532006cdc0 Revert r253110: "Enable webrtc for webview."
Temporarily disable webrtc on WebView again due to Mac host build
incompatibility in libvpx.

BUG=316499
R=benm@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 15:21:23 +00:00
mithro@mithis.com a1d6a7d906 This change helps with two significant problems with Chrome debug
builds,
 * Slow link times.
 * Slow gdb startup times.

Lots more detailed information at http://gcc.gnu.org/wiki/DebugFission

Overall, this improves linking speed of debug Chrome builds on Linux
by ~12% and speeds up gdb by around 30%.

This requires a objcopy with --extract-dwo object (binutils newer then
2.22.52.0.4 // 2.23). Ubuntu Precise only comes with 2.23

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257424 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 14:11:21 +00:00
jochen@chromium.org 9b84a91416 Treat linker warnings as errors on all POSIX platforms
BUG=352985

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257419 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-17 13:42:13 +00:00
sebmarchand@chromium.org 91d2a90b17 Add PGO targets to Chrome.
This allows to do a PGO optimized build of Chrome with the following commands:
python build\gyp_chromium -Dchrome_pgo_phase=1
ninja -C out\Release chrome
run with '--no-sandbox' + pgosweep
python build\gyp_chromium -Dchrome_pgo_phase=2
ninja -C out\Release chrome


----- Approach that didn't worked -----

(see comment #13 to know why this didn't work)

Instead of having the following gyp dependency chain (for a regular build), here '->' means 'depends on': 

'chrome'->|'chrome_main_dll'
----------|'chrome_child_dll'

we know have the following one (when chrome_pgo==1):
'chrome'->|'chrome_main_dll' |->'chrome_pgo_optimize'->|'chrome_main_dll_pgi'
----------|'chrome_child_dll'|-------------------------|'chrome_child_dll_pgi'


The '*_pgi' target correspond to the instrumented dll, the name of the DLLs produced by target will be terminated by '_pgi'.

During the 'chrome_pgo_optimize' step the instrumented DLLs will be renamed (the '_pgi' suffix will be removed) and Chrome will be run against a set of profile test cases, pgosweep.exe will also be invoked to collect the instrumentation data.

Then the main targets ('chrome_main_dll' and 'chrome_child_dll') will be linked with the flag /LTCG:PGOPTIMIZE, this will produce the optimized DLLs.
--------------------------------------------

R=scottmg@chromium.org

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257133 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 16:48:30 +00:00
glider@chromium.org 2c2f9c91b8 Actually link with instrumented libraries when building with tsan=1 and use_instrumented_libraries=1
BUG=313751
TBR=earthdok@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 12:34:20 +00:00
rohitrao@chromium.org b9aef2e976 Remove outdated comment from common.gypi.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 05:53:34 +00:00
rohitrao@chromium.org 482980481a Update common.gypi to set clang=1 for all iOS builds.
All iOS builds now use clang, regardless of which gyp generator is used, so
change common.gypi to reflect that.

NOTRY=True
BUG=352167

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256923 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-13 20:46:01 +00:00
glider@chromium.org b7da9c174b Disable ASan instrumentation for globals on Mac to work around issue 352073
BUG=352073
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256799 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-13 10:55:07 +00:00
rohitrao@chromium.org c42c6b246b Adds -Wno-deprecated-register to the build settings for iOS.
Xcode 5.1 ships with a clang that deprecates the register keyword by default.
This warning flag is needed in order to compile for iOS with Xcode 5.1.

However, the old version of Xcode (5.0) does not understand this flag.  In order
to temporarily support compiling on both versions of Xcode, this CL also adds
-Wno-unknown-warning-option to suppress errors about unknown compiler flags.
This flag will be removed as soon as all of the bots have been updated with
Xcode 5.1, within a week.

BUG=255186,337611
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256592 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 19:06:57 +00:00
sergeyu@chromium.org 2d2e515192 Build src/crypto for PNaCl
The new crypto_nacl target builds crypto for PNaCl.

BUG=276739

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256485 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 09:34:10 +00:00
scherkus@chromium.org 457ebb2272 Require SSE2 for all 32-bit Linux builds and remove disable_sse2 option.
Previously, only 32-bit Google Chrome Linux was being built with x87 floating point math, which led to bugs caused by 80-to-{32,64}-bit rounding errors that weren't caught on the main Chromium builders. UMA data tells us there are ~0 Google Chrome Linux users without SSE2, making a strong case to require SSE2 across the board and align the Google Chrome build closer to the Chromium build.

As for disable_sse2 option, it was added in r45777 but it's unclear if anyone is using it outside of some other GYP code that flips it to 1 for ARM and MIPS architectures. Instead replace the few instances that don't support SSE2 with specific checks for the target architecture and remove the option entirely.

BUG=348761
R=jamesr@chromium.org
TBR=cpu

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256366 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-12 00:31:30 +00:00
wangxianzhu@chromium.org b7c591400d Let DCHECK in non-official-release build be opt-in with dcheck_always_on=1 only
- Remove DCHECK in non-official-release build by default
- Gyp variable dcheck_always_on=1 (existing) forces to enable DCHECK
  in release build
- Remove flag --enable-dcheck

Other effects/notes:
- Now allow "buildtype=Official dcheck_always_on=1" (which will
  enable DCHECK in official build) combination.
- Gyp variable logging_like_official_build no longer has an effect
- Leave DCHECK_IS_ON() unchanged. May deal with it in a later change
  if needed.

This won't affect bots which use dcheck_always_on=1.

BUG=350462
TEST=LoggingTest.Dcheck
R=thakis@chromium.org
TBR=darin,sehr (command line changes in components/nacl and mojo)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255987 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-10 18:23:38 +00:00
jshin@chromium.org 23344105c5 Enable icu_use_data_file_flag on Android
0. Roll icu to r249466 to copy Android-specific icudtl.dat
1. Turn it in build/common.gypi by default except for android webview build. Move it inside L2 var dict and pull it up to the top level var dict to make 'Google Chrome' build on Android happy. 
2. Add an entry for icudtl.dat to chrome/chrome_android_paks.gypi so that
it's copied to assets directory for Chrome and related targets. 
3. Extract icudtl.dat from the asset and copy to DIR_ANDROID_APP_DATA and make it world-readable so that child processes (sandboxed with uid) can read it. 
4. Add icudtl.dat to MANDATORY_PAKS list in various Android build targets 

Google Chrome has #4 but in a separate CL ( https://chrome-internal-review.googlesource.com/#/c/155554/ ). That CL will land before this CL. 

This also depends on a Blink change https://codereview.chromium.org/183013006/ 

TBR=avi@chromium.org
BUG=72633
TEST=base_unittests:*Convers*, net_unittests:*IDN*, browser tests on all platforms.
TEST=On Android, 1. Layout tests 
2. build/android/test_runner.py gtest -s webkit_unit_tests 
--gtest_filter=WebFrameTest.SelectRange*

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255762 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-08 12:02:26 +00:00
aurimas@chromium.org e7050faf90 Add a new gyp flag to enable resource whitelist generation.
BUG=338759
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-07 22:36:32 +00:00
senorblanco@chromium.org fdfc647636 Pre-emptively add an (unused) #define for record-time filter scaling.
This will be used in Blink to protect the old implementation of hiDPI
filter scaling. Once CC has been taught how to apply hiDPI to filters,
the Blink implementation will be switched off at the same time by
removing this #define.

BUG=281516

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255580 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-07 11:26:59 +00:00
stuartmorgan@chromium.org b267864408 Sync iOS DEPS overrides with downstream
The list has drifted over time during merges; this re-aligns with the
current state.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-06 22:46:45 +00:00
ananta@chromium.org f5b609387b Ensure that the chrome_200_percent.pak file is copied over to the destination folder on Windows.
This will enable the installer on Windows to install the 200 percent assets.

BUG=349607
R=cpu@chromium.org, sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255448 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-06 22:10:49 +00:00
justincohen@chromium.org 2452f5e55e Bring back -fstack-protector-all on iOS.
This flag used to cause a crash on startup. As of Xcode 5 this doesn't
appear to happen anymore.

BUG=341484
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255263 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-06 05:41:36 +00:00
dmikurube@chromium.org ff9e90924a Add use_allocator instead of linux_use_tcmalloc to switch the allocator.
This change is to add a new build option 'use_allocator' which will
replace 'linux_use_tcmalloc' in the future. It doesn't change the
behavior immediately. The migration plan is as follows:

1) (this change)
... Add 'use_allocator' and set its default to "see_use_tcmalloc".
... Change allocator conditions to check use_allocator firstly.
... Use linux_use_tcmalloc if use_allocator=="see_use_tcmalloc".
... NO IMPACT without specifying use_allocator explicitly.
2) Change Blink to accept use_allocator. http://crrev.com/177053003/
3) Change gyp to accept use_allocator. http://crrev.com/178643004/
4) PSA the transition period to chromium-dev@.
5) (after the PSA-ed transition period)
... Make 'use_allocator' to "tcmalloc" or "none" (it depends) by default.
... Remove all linux_use_tcmalloc.
... Assert in gyp_chromium to check if linux_use_tcmalloc is not specified.

At the point of this change (1), linux_use_tcmalloc is still used by default
because 'use_allocator%': "see_use_tcmalloc".

As written in http://crbug.com/345554, linux_use_tcmalloc would
be confusing to have more options about allocators. We plan to:
A) enable gperftools' heap-profiler with non-tcmalloc allocator,
B) add a new memory allocator instead of tcmalloc.

BUG=345554, 339604, 341349
R=agl@chromium.org, brettw@chromium.org, dgarrett@chromium.org, jam@chromium.org, jamesr@chromium.org, joi@chromium.org, miket@chromium.org, nick@chromium.org, rsleevi@chromium.org, scherkus@chromium.org, sergeyu@chromium.org, shess@chromium.org, sievers@chromium.org, sky@chromium.org, vitalybuka@chromium.org, willchan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255129 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-05 20:07:26 +00:00
caitkp@chromium.org 8086f7802c Only add chrome_redirects as a dependency of base.dll in component builds.
This will cover most of the CreateFile calls and save us from death by
circular gyp dependencies.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@254231 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-28 21:15:18 +00:00
pkasting@chromium.org 7c000e597c Revert 253938 "Enable icu_use_data_file_flag on Android"
May have caused crashes on Android layout test bots.

> Enable icu_use_data_file_flag on Android
> 
> 0. Roll icu to r249466 to copy Android-specific icudtl.dat
> 1. Turn it in build/common.gypi by default except for android webview build. Move it inside L2 var dict and pull it up to the top level var dict to make 'Google Chrome' build on Android happy. 
> 2. Add an entry for icudtl.dat to chrome/chrome_android_paks.gypi so that
> it's copied to assets directory for Chrome and related targets. 
> 3. Extract icudtl.dat from the asset and copy to DIR_ANDROID_APP_DATA and make it world-readable so that child processes (sandboxed with uid) can read it. 
> 4. Add icudtl.dat to MANDATORY_PAKS list in various Android build targets 
> 
> Google Chrome has #4 but in a separate CL ( https://chrome-internal-review.googlesource.com/#/c/155554/ ). That CL will land before this CL. 
> 
> TBR=avi@chromium.org
> BUG=72633
> TEST=base_unittests:*Convers*, net_unittests:*IDN*, browser tests on all platforms.
> 
> Review URL: https://codereview.chromium.org/156333002

TBR=jshin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@254020 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-28 02:19:54 +00:00
jshin@chromium.org f17b894918 Enable icu_use_data_file_flag on Android
0. Roll icu to r249466 to copy Android-specific icudtl.dat
1. Turn it in build/common.gypi by default except for android webview build. Move it inside L2 var dict and pull it up to the top level var dict to make 'Google Chrome' build on Android happy. 
2. Add an entry for icudtl.dat to chrome/chrome_android_paks.gypi so that
it's copied to assets directory for Chrome and related targets. 
3. Extract icudtl.dat from the asset and copy to DIR_ANDROID_APP_DATA and make it world-readable so that child processes (sandboxed with uid) can read it. 
4. Add icudtl.dat to MANDATORY_PAKS list in various Android build targets 

Google Chrome has #4 but in a separate CL ( https://chrome-internal-review.googlesource.com/#/c/155554/ ). That CL will land before this CL. 

TBR=avi@chromium.org
BUG=72633
TEST=base_unittests:*Convers*, net_unittests:*IDN*, browser tests on all platforms.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253938 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-27 22:08:57 +00:00
sdefresne@chromium.org c9e992e2c5 Remove hack disabling goma when building using Xcode clang
The last version of goma (54) no longer mistake clang for gcc when it
is accessed using the cc symlink in the path.

BUG=315114

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253881 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-27 18:46:26 +00:00
bajones@chromium.org 8f40db1271 Updating Gamepad API to match latest spec
BUG=344556

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253623 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-26 23:28:28 +00:00
gab@chromium.org 12c8b1f28d Always embed manifests, even in component builds!
This is finally possible following the conjunction of scottmg's work on embedding manifests as resources post-link and mine/caitkp's work on the version assembly manifest and its compatibility with the component build installer :)!

BUG=276953, 346843, 127233
TEST=
A) Installer still works in component builds
B) Self-destruct now works in component builds
C) Incremental linking still works for chrome_dll/unit_tests/browser_tests.

R=robertshield@chromium.org, scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-26 19:09:47 +00:00
sdefresne@chromium.org a322085f8e Add a new configuration 'Profile' when building for iOS
When running Instruments, it is better to use a Release build, but
with a dSYM file. So introduce a new configuration 'Profile' based
on 'Release' that also generates a dSYM file.

This uses a separate configuration because Instruments needs a
real dSYM file, and generating it with dsymutil is slow. Moreover,
it is not possible to build a dSYM file from the Release build, and
profiling a Debug build is not really representative of real usage.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253444 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-26 14:32:58 +00:00
michaelbai@chromium.org e2dfcd7887 Enable webrtc for webview.
BUG=316499

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-25 10:00:49 +00:00
scottmg@chromium.org 0d70a9ac76 Revert 252837 "trial run of vs2013 with iterator debugging off t..."
> trial run of vs2013 with iterator debugging off to see if browser_tests are timing-related
> 
> BUG=
> 
> Review URL: https://codereview.chromium.org/165693005

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252844 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-23 07:19:55 +00:00
scottmg@chromium.org e39449f467 trial run of vs2013 with iterator debugging off to see if browser_tests are timing-related
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-23 04:30:43 +00:00
hans@chromium.org 1278e14d0f Start landing build support for Clang-style ASan on Windows
If this breaks your SyzyASan build, make sure you're passing syzyasan=1
in GYP_DEFINES instead of asan=1. I have updated all affected buildbots
I know about.

BUG=82385
R=thakis@chromium.org, timurrrr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252707 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-22 00:27:11 +00:00
ycheo@chromium.org b8d31d21dc Enable the embedded L1/EME support in WebView.
- Add ExternalVideoSurfaceContainer which handles the external surface for the hole punching in WebView.
- Refactor the callbacks of ContentViewClient on the hole-punching to make them have the single purpose per each function.

BUG=329447

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252571 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-21 16:08:20 +00:00
thakis@chromium.org 007dfc2325 android envsetup: Stop honoring --target-arch parameter.
Most people don't use this parameter and get arm binaries. This is
still the default, so this change shouldn't affect most people.

Folks should instead pass -Dtarget_arch to gyp. (Or, soon, envsetup will stop
clobbering GYP_DEFINES, then you can just add target_arch to your GYP_DEFINES.)
Note that in gyp land, 'mips' is called 'mipsel' and 'x86' is called 'ia32'.
'arm' stays 'arm'.

So for example, instead of running

  . build/android/envsetup.sh --target-arch=mips
  android_gyp

you'd run

  . build/android/envsetup.sh
  android_gyp -Dtarget_arch=mipsel

I updated the bots I was able to find to pass the -D flag in addition to
--target-arch. After this CL here is in, I'll update the bots to stop passing
--target-arch, and then I'll make --target-arch a hard error in this script for
a while, to make sure nobody still uses it.

BUG=330631,34476
R=torne@chromium.org
TBR=yfriedman

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@252034 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-19 18:20:22 +00:00
erg@chromium.org 5303a17597 linux_aura: Default use_gnome_keyring% to on when use_aura=1.
BUG=342106

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251992 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-19 08:12:29 +00:00
thakis@chromium.org e5a418237c android envsetup: Use gyp defines instead of env vars for sdk root and sdk tools.
If ANDROID_SDK_ROOT is set, it's still added to the path for now, but it's
no longer passed to gyp. If you want to set a custom sdk root, call gyp like
"build/gyp_chromium -Dandroid_sdk_root=path".

If ANDROID_SDK_ROOT is not set, it's still getting exported with a default
value that's identical to the default value of gyp's android_sdk_root variable.

ANDROID_SDK_TOOLS and ANDROID_SDK_BUILD_TOOLS_VERSION are now
completely ignored. Set the android_sdk_tools or android_sdk_build_tools_version
gyp defines instead if you need to change either. If they are not set,
envsetup no longer sets them.

(Dependent on an internal that changes a bot to set these gyp defines in
addition to the env vars.)

BUG=330631
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-19 00:52:52 +00:00
glider@chromium.org f5d354b4a8 Disable source fortification under Clang on Linux.
Right now source fortification isn't supported by Clang (http://llvm.org/bugs/show_bug.cgi?id=16821)
It may also prevent the sanitizer tools from catching some bugs.

BUG=162783,341809
R=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251868 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-18 22:54:44 +00:00
caitkp@chromium.org 61fc7ae520 Hook up redirects for component builds
BUG=334379

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-18 20:27:03 +00:00
rsleevi@chromium.org 3ff1296302 Remove use_system_nspr build flag. It's not "officially" supported
BUG=none
R=wtc@chromium.org, phajdan.jr@chromium.org
TBR=willchan

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251527 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-15 05:05:48 +00:00
hans@chromium.org 501732566c Make SyzyAsan depend on 'syzyasan' GYP flag instead of 'asan==1 and OS=="win"'
We're bringing the regular Clang-based ASan to Windows and will put it behind
asan==1 like on all other platforms.

BUG=343960

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251518 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-15 04:49:18 +00:00
thakis@chromium.org 3e3ae4cdf8 android envsetup: Stop exporting (and honoring) ANDROID_SDK_VERSION.
If someone wants to use a custom android sdk version, they now need to set
the android_sdk_version gyp define instead of this env var.

(Depends on one internal change to an internal bot that currently sets the
env var: https://chrome-internal-review.googlesource.com/154255)

BUG=330631

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251354 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 16:59:48 +00:00
glider@chromium.org 43f7a49bbc Introduce the chroot_cmd flag that contains the command line prefix for running in a chrooted environment.
Right now when supplying a 32-bit sysroot via the 'sysroot' GYP flag on a 64-bit host arch,
pkg-config (and pkg-config-wrapper) fail to generate the correct 32-bit paths within that sysroot.
The solution is to chroot into that directory and run pkg-config from there.
This is intended to work with schroot scripts like 'precise32' generated when running build/install-chroot.sh

BUG=324207
R=piman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251353 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 16:58:45 +00:00
joi@chromium.org 03acc7a293 Add GYP flag to optionally enable the Hangout Services extension in
any build (not just Chrome-branded builds).

BUG=343567

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251350 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 16:40:34 +00:00
thestig@chromium.org fe35db0b5f Remove enable_touch_ui variable from build/common.gypi. No longer used.
Review URL: https://codereview.chromium.org/165803003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251321 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 15:07:41 +00:00
jshin@chromium.org 07c72f7e24 Revert of Revert of Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163173003/)
Reason for revert:
The original CL (https://src.chromium.org/viewvc/chrome?view=rev&revision=251213 )  was reverted (and reverted twice more) because VMtest on chromeos-{x86,amd64} failed to find icudtl.dat. It turned out that my Chrome OS side change (chromeos-chrome.ebuild) was not picked up by build bots until several hours after landing of that CL. 

It's now picked up [1] and VMtest (on chromeos_x86 bot) finally passed with the original CL still in. 

So, I'm re-landing the original CL by reverting.  


[1] See LGKMSync section at http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/19858

Original issue's description:
> Revert of Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/164333003/)
> 
> Reason for revert:
> CrOS-side change (chromeos-chrome.ebuild) may not be used by a buildbot.  
> 
> ./1_autotest_tests/results-27-experimental_login_OwnershipNotRetaken/login_OwnershipNotRetaken/sysinfo/var/log/ui/ui.LATEST still has 
> 
> [0214/002103:FATAL:content_main_runner.cc(735)] Check failed: base::i18n::InitializeICU()
> 
> Original issue's description:
> > Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/165593002/)
> > 
> > Reason for revert:
> > https://chromium-review.googlesource.com/#/c/185937/ just got landed and this CL can go in now. 
> > 
> > Original issue's description:
> > > Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163793004/)
> > > 
> > > Reason for revert:
> > > https://chromium-review.googlesource.com/#/c/185937/ has to go in first. 
> > > 
> > > 
> > > Original issue's description:
> > > > Turn on icu_use_data_file_flag on CrOS
> > > > 
> > > > See also https://chromium-review.googlesource.com/#/c/185937/
> > > > 
> > > > The switch has to be turned on in two places (chromeos-chrome.ebuild and
> > > > build/common.gypi). One or the other can get landed separately, though.
> > > > 
> > > > BUG=72633
> > > > TEST=net_unittests:*IDN* and base_unittests:*String*
> > > > TBR=mark
> > > > 
> > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251213
> > > 
> > > TBR=mark@chromium.org
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=72633
> > > 
> > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251214
> > 
> > TBR=mark@chromium.org
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=72633
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251220
> 
> TBR=mark@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=72633
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251276

TBR=mark@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 10:22:00 +00:00
jshin@chromium.org 1ac37aff19 Revert of Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/164333003/)
Reason for revert:
CrOS-side change (chromeos-chrome.ebuild) may not be used by a buildbot.  

./1_autotest_tests/results-27-experimental_login_OwnershipNotRetaken/login_OwnershipNotRetaken/sysinfo/var/log/ui/ui.LATEST still has 

[0214/002103:FATAL:content_main_runner.cc(735)] Check failed: base::i18n::InitializeICU()

Original issue's description:
> Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/165593002/)
> 
> Reason for revert:
> https://chromium-review.googlesource.com/#/c/185937/ just got landed and this CL can go in now. 
> 
> Original issue's description:
> > Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163793004/)
> > 
> > Reason for revert:
> > https://chromium-review.googlesource.com/#/c/185937/ has to go in first. 
> > 
> > 
> > Original issue's description:
> > > Turn on icu_use_data_file_flag on CrOS
> > > 
> > > See also https://chromium-review.googlesource.com/#/c/185937/
> > > 
> > > The switch has to be turned on in two places (chromeos-chrome.ebuild and
> > > build/common.gypi). One or the other can get landed separately, though.
> > > 
> > > BUG=72633
> > > TEST=net_unittests:*IDN* and base_unittests:*String*
> > > TBR=mark
> > > 
> > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251213
> > 
> > TBR=mark@chromium.org
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=72633
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251214
> 
> TBR=mark@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=72633
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251220

TBR=mark@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251276 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 08:50:53 +00:00
jshin@chromium.org 29da8a956e Revert of Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/165593002/)
Reason for revert:
https://chromium-review.googlesource.com/#/c/185937/ just got landed and this CL can go in now. 

Original issue's description:
> Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163793004/)
> 
> Reason for revert:
> https://chromium-review.googlesource.com/#/c/185937/ has to go in first. 
> 
> 
> Original issue's description:
> > Turn on icu_use_data_file_flag on CrOS
> > 
> > See also https://chromium-review.googlesource.com/#/c/185937/
> > 
> > The switch has to be turned on in two places (chromeos-chrome.ebuild and
> > build/common.gypi). One or the other can get landed separately, though.
> > 
> > BUG=72633
> > TEST=net_unittests:*IDN* and base_unittests:*String*
> > TBR=mark
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251213
> 
> TBR=mark@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=72633
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251214

TBR=mark@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251220 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 01:19:34 +00:00
jshin@chromium.org 72b76937eb Revert of Turn on icu_use_data_file_flag on CrOS (https://codereview.chromium.org/163793004/)
Reason for revert:
https://chromium-review.googlesource.com/#/c/185937/ has to go in first. 


Original issue's description:
> Turn on icu_use_data_file_flag on CrOS
> 
> See also https://chromium-review.googlesource.com/#/c/185937/
> 
> The switch has to be turned on in two places (chromeos-chrome.ebuild and
> build/common.gypi). One or the other can get landed separately, though.
> 
> BUG=72633
> TEST=net_unittests:*IDN* and base_unittests:*String*
> TBR=mark
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251213

TBR=mark@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 00:58:48 +00:00
jshin@chromium.org 0a03ae107f Turn on icu_use_data_file_flag on CrOS
See also https://chromium-review.googlesource.com/#/c/185937/

The switch has to be turned on in two places (chromeos-chrome.ebuild and
build/common.gypi). One or the other can get landed separately, though.

BUG=72633
TEST=net_unittests:*IDN* and base_unittests:*String*
TBR=mark

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251213 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 00:48:12 +00:00
thakis@chromium.org 00d6c27f28 android envsetup: Remove --host-os flag.
Clients should set the host_os gyp variable instead. (As far as I can tell,
this flag was added for the webview build, and this CL updates gyp_webview
to use the gyp define instead. I haven't found other clients.)

Since several gyp targets check the value of host_os in a
target_conditions block and most of the build/common.gypi variables
aren't available during target_conditions processing time, use the same
trick that chromium_code uses to make host_os available at target_conditions
time.

BUG=330631
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251138 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-13 21:48:25 +00:00
asvitkine@chromium.org 0daf59a33e Revert 251003 "Revert 250830 "Exclude notification strings for b..."
> Revert 250830 "Exclude notification strings for builds that dont..."
> 
> > Exclude notification strings for builds that dont use it.
> > 
> > BUG=326023
> > 
> > Review URL: https://codereview.chromium.org/160113002
> 
> Broke win64 sync tests, e.g. output:
> 
> c:\b\build\slave\cr-win-rel-x64\build\src\chrome\browser\sync\test\integration\sync_test.cc(707): error: Value of: UTF16ToASCII(browser()->tab_strip_model()->GetActiveWebContents()-> GetTitle())
>   Actual: ""
> Expected: "Notifications enabled"
> 
> TBR=aurimas@chromium.org
> 
> Review URL: https://codereview.chromium.org/163713002

Reverting the revert, since this wasn't responsible for the failures.

TBR=asvitkine@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-13 20:14:13 +00:00
sdefresne@chromium.org 0ba9a9f3a7 Add support for sub-architecture when building for iOS
Since iOS 7, the iPhone 5s, the iPad Air and the iPad Mini Retina
supports 64-bits binaries. This requires building a fat binary with
support for both armv7 and arm64 (and optionally armv7s).

In an effort to prepare building such a fat binary for Chrome on
iOS, introduce a "target_subarch" variable that control the variant
we want to build (32-bit only, 64-bit only -- mainly for debugging,
fat binary).

This require introducing way to use the clang compiler shipped with
Xcode, as the clang compiler shipped with Chromium code does not
support "arm64" architecture yet (Apple has not yet opensource the
implementation).

BUG=341453, 314720
R=mark@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251083 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-13 18:17:35 +00:00
asvitkine@chromium.org a5e4e68d15 Revert 250830 "Exclude notification strings for builds that dont..."
> Exclude notification strings for builds that dont use it.
> 
> BUG=326023
> 
> Review URL: https://codereview.chromium.org/160113002

Broke win64 sync tests, e.g. output:

c:\b\build\slave\cr-win-rel-x64\build\src\chrome\browser\sync\test\integration\sync_test.cc(707): error: Value of: UTF16ToASCII(browser()->tab_strip_model()->GetActiveWebContents()-> GetTitle())
  Actual: ""
Expected: "Notifications enabled"

TBR=aurimas@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251003 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-13 14:54:45 +00:00
aurimas@chromium.org a5aed47a24 Exclude notification strings for builds that dont use it.
BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250830 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-12 23:18:03 +00:00
mkosiba@chromium.org 4418261943 [android_webview] Suppress warning for Android build.
This suppresses a warning in the Android build configuration.

BUG=None
TEST=compile
NOTRY=true
R=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250726 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-12 16:06:56 +00:00
hans@chromium.org 67c7ddf7a1 Set -fmsc-version for the Windows Clang build
It's important that -fmsc-version matches the version of VS that we're
falling back to. In practive, this should always be 2013 these days.

BUG=82385
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250511 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 21:22:00 +00:00
hans@chromium.org 42fa32da4a Suppress some more warnings for Clang Windows builds
BUG=82385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250278 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 02:05:13 +00:00
kjellander@chromium.org 4054b9e0e2 Add libpeerconnection.{so,dll} to browser_tests.isolate
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-10 21:14:46 +00:00
grt@chromium.org 6a07832f63 Set MinimumRequiredVersion for XP support on x86 builds.
BUG=297971
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249318 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-06 09:49:21 +00:00
aurimas@chromium.org 88430b5333 Exclude IDS_CERT strings that are not used on Android.
BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249089 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 19:56:25 +00:00
jshin@chromium.org 0cb2504f2b Prepare to enable icu_use_data_file_flag on CrOS
1. Enabling icu_use_data_file_flag led to a crash because GetStringUTF8 (that relies on ICU to determine whether the current UI language is RTL) is called before InitializeICU is called. Instead of using GetStringUTF8, get the string directly from the resource bundle because there's no need to adjust the string for the RTL locale in this particular case. 

2. update chromite to a revision that copies icudtl.dat when icu_use_data_file_flag is on. 

The switch (icu_use_data_file) will be flipped in a follow-up CL (either in build/common.gypi or chromeos-chrome ebuild file or both as necessary). 

BUG=72633
TEST=cros_{amd,x86,amd64} pass all the tests. No actual change with this CL.


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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 10:22:11 +00:00
scottmg@chromium.org c31efe5bdc Remove build references to third_party/cygwin
There's test running dependencies in blink and buildbot,
so the directory/DEPS can't be removed right now. For the
time being, remove the build related entries.

R=maruel@chromium.org, thakis@chromium.org
BUG=123026
TEST=remove from DEPS and .DEPS.git, delete HKCU\Software\Cygnus Solutions\... and build successfully.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-04 23:00:37 +00:00
scottmg@chromium.org 3719dcde20 Support Express for 2013 automatic toolchain
Pick up setting for Express 2013 to get WDK_DIR set (required
for ATL with Express).

Add additional "or 2013e" to build/common.gypi, but exclude
unneeded workaround for intsafe.h.

R=dpranke@chromium.org
BUG=323300, 340358

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248747 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-04 17:50:01 +00:00
thakis@chromium.org cbd4e06bee android envsetup: Don't set mips_arch_variant.
Instead of the slightly rube-goldbergian approach of giving mips_arch_variant
the default value mips32r2 in common.gypi and then always overriding this with
mips32r1 in envsetup, just set mips_arch_variant to mips32r1 by default and
don't set it in envsetup.

I checked that the generated ninja file for base is identical before and after
this change, and that the mips flags change as expected when manually setting
mips_arch_variant to mips32r2. No behavior change.

BUG=330631
TBR=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248409 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-02 16:10:28 +00:00
caitkp@chromium.org 9070f8392f Revert of Enable icu_use_data_file_flag on CrOS (https://codereview.chromium.org/135963010/)
Reason for revert:
This is breaking the Chrome OS bots on the waterfall:

http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=ChromiumOS%20%28x86%29&number=19593
http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=ChromiumOS%20%28amd64%29&number=13965


From discussion on chromium-dev:

Looking at /var/log/messages for one of the failing tests, Chrome is exiting with SIGABRT over and over, and ui.LATEST has the following over and over:
[0201/085858:FATAL:content_main_runner.cc(735)] Check failed: base::i18n::InitializeICU(). 

Original issue's description:
> Enable icu_use_data_file_flag on CrOS
> 
> 1. Enable icu_use_data_file_flag on CrOS
> 
> 2. Doing #1 led to a crash because GetStringUTF8 (that relies on ICU to determine whether the current UI language is RTL) is called before InitializeICU is called. Instead of using GetStringUTF8, get the string directly from the resource bundle because there's no need to adjust the string for the RTL locale in this particular case. 
> 
> Note to perf-sheriff : The size of chrome binary will be 10M smaller because the ICU data is now in a separate file (icudtl.dat) whose size is about 10M. 
> 
> BUG=72633
> TEST=ui_base_unittests
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248325

TBR=tony@chromium.org,vapier@chromium.org,mark@chromium.org,nkostylev@chromium.org,jshin@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248374 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-02 04:11:13 +00:00
jshin@chromium.org 44061cc150 Enable icu_use_data_file_flag on CrOS
1. Enable icu_use_data_file_flag on CrOS

2. Doing #1 led to a crash because GetStringUTF8 (that relies on ICU to determine whether the current UI language is RTL) is called before InitializeICU is called. Instead of using GetStringUTF8, get the string directly from the resource bundle because there's no need to adjust the string for the RTL locale in this particular case. 

Note to perf-sheriff : The size of chrome binary will be 10M smaller because the ICU data is now in a separate file (icudtl.dat) whose size is about 10M. 

BUG=72633
TEST=ui_base_unittests

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248325 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-01 01:44:45 +00:00
phajdan.jr@chromium.org e42f6ca6fd Make gyp autodetection of host_arch work for 64-bit kernel and 32-bit userland
Before it would get confused and detect above situation as 64-bit, leading to build
failures. So far we've used explicit target_arch in buildbot configuration
as a workaround, but with recipes for simplicity it'd be better
if no such workaround was needed.

BUG=none
R=maruel@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-31 17:23:56 +00:00
thakis@chromium.org a5fc6550d7 android/clang: Don't add path to gold shim to PATH, use -B instead.
No intended behavior change.

BUG=330631
R=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248080 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-31 00:04:22 +00:00
aurimas@chromium.org 172abd09be Exclude Task Manager strings when enable_task_manager==0.
BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247933 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-30 11:04:29 +00:00
fdegans@chromium.org 35d88113f8 Removed mtune for Android build.
mtune was set to cortex-a8, which is a Nexus S-generation CPU.
Removing it allows for small speed improvements (~1%) for
warm page load times on top10 mobile sites on more recent devices.
Data: https://docs.google.com/spreadsheet/ccc?key=0Ao-xIDuezqMNdDc5OWpxbkk4NFJ0SF9Iemt0Tlg3RFE&usp=sharing
And it has virtually no effect on binary size.
BUG=334271

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247882 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-30 07:53:42 +00:00
hans@chromium.org 07907a3211 common.gypi: When clang=1 on Windows, set CC to clang-cl
(See https://code.google.com/p/gyp/source/detail?r=1846 for
how GYP deals with this.)

BUG=82385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247586 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-29 01:59:21 +00:00
jshin@chromium.org e0d288fdc7 Use icudat*.dat file on Mac
1. Set icu_use_data_file_flag to 1 in common.gypi
2. Add icudatl.dat to the resournce bundle list in
chrome_dll_bundle.gypi and content_shell.gypi
3. Move ICU_UTIL_DATA_IMPL to base.gyp

This CL has to be landed after
https://codereview.chromium.org/111723007/ is landed and rolled in. 
(done in https://codereview.chromium.org/118313004/ )

Note to perf-sheriff: This CL adds ~10MB to the resource bundle while cutting down the same amount from the Chrome executable/binary.  

BUG=72633
TEST=All the Mac builds (static, shared) go through and tests (e.g.
layout tests, base_unittests --gtest_filter=*String*, net_unittests
--gtest_filter=*IDN*) loading the ICU data pass.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247404 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-28 06:00:04 +00:00
aurimas@chromium.org d5c03bdb4a Exclude print_preview resources for platforms that don't use it
Only enable_printing==1 uses print_preview and all of its resources.
enable_printing==2 and enable_printing==0 do not need them.

BUG=326023

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247291 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-27 21:07:50 +00:00
jshin@chromium.org 24cc033e7d Use the icu data file on Linux (but not on CrOS)
Set icu_use_data_file_flag to 1 for POSIX (other than Mac/iOS/Android).

Mac and Android will be handled in a separate CL.

This has to wait until https://codereview.chromium.org/111723007/ is rolled in.
(done by https://codereview.chromium.org/118313004/ )

BUG=72633
TEST=All linux builds go through and all tests pass and there's no perf (start-up etc) regression.

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

R=mark@chromium.org, mmoss@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247045 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-25 00:58:56 +00:00
ronghuawu@chromium.org 9c91fda9d1 Revert 246678 "Use the icu data file on Linux (but not on CrOS)"
"Failed sizes" - http://build.chromium.org/p/chromium/builders/Linux

> Use the icu data file on Linux (but not on CrOS)
> 
> Set icu_use_data_file_flag to 1 for POSIX (other than Mac/iOS/Android). 
> 
> Mac and Android will be handled in a separate CL. 
> 
> This has to wait until https://codereview.chromium.org/111723007/ is rolled in. 
> (done by https://codereview.chromium.org/118313004/ )
> 
> BUG=72633
> TEST=All linux builds go through and all tests pass and there's no perf (start-up etc) regression.
> 
> Review URL: https://codereview.chromium.org/102413007

TBR=jshin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246952 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-24 20:25:13 +00:00
hans@chromium.org cf1d2c1c59 Start massaging the GYP files for building with clang on Windows
BUG=82385
TBR=cpu

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246874 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-24 13:26:35 +00:00
thakis@chromium.org 39a2338132 win: Remove msbuild_toolset, and msvs-specific ProgramDatabaseFile.
Since we're now on ninja, they don't have an effect.

BUG=none
R=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246783 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-24 04:36:23 +00:00
jshin@chromium.org 2a82402f9e Enable icu_use_data_file on Windows
Set icu_use_data_file_flag to 1 on Windows in common.gypi and make the dependency on icudata conditional on 'icu_use_data_file_flag != 0' in common.gypi, base.gyp and net.gyp

Add icudtl.dat to the Windows build/archive/install file lists.

Load icudtl.dat from DIR_MODULE instead of DIR_EXE on Windows. (to fix bug 337116)


This also requires a change in third_party/icu/icu.gyp
( https://codereview.chromium.org/111723007/ ), which was rolled in by https://codereview.chromium.org/118313004/

BUG=72633,337116
TEST=All windows builds work fine and there's no perf regression (start-up etc). Chrome installed via mini_installer runs fine (no issue with icu data file).

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246751 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-24 01:00:41 +00:00
thakis@chromium.org 67845a0884 android: Stop adding toolchain dir to PATH.
This seems mostly no longer necessary (at least I can build all targets
in an open-source chrome/android build without problems). I'm guessing
that https://codereview.chromium.org/9693042 made this obsolete.

It was only needed for `as` with clang; pass -B to clang instead
for now (until we switch to clang's integrated assembler).

BUG=330631,124610
R=torne@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246714 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 23:16:35 +00:00
jshin@chromium.org e5a9786ccf Use the icu data file on Linux (but not on CrOS)
Set icu_use_data_file_flag to 1 for POSIX (other than Mac/iOS/Android). 

Mac and Android will be handled in a separate CL. 

This has to wait until https://codereview.chromium.org/111723007/ is rolled in. 
(done by https://codereview.chromium.org/118313004/ )

BUG=72633
TEST=All linux builds go through and all tests pass and there's no perf (start-up etc) regression.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246678 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 20:38:52 +00:00
jshin@chromium.org 7e185d448a Revert of Enable icu_use_data_file on Windows (https://codereview.chromium.org/99473012/)
Reason for revert:
mini_installer somehow does not install icudtl.dat in the top product directory (alongside chrome.exe) leading to a failure in InitializeICU(). 

icudtl.dat is listed in both mini_installer.gypi and FILES.cfg for windows.


Original issue's description:
> Enable icu_use_data_file on Windows
> 
> 
> Set icu_use_data_file_flag to 1 on Windows in common.gypi and make the dependency on icudata conditional on 'icu_use_data_file_flag != 0' in common.gypi, base.gyp and net.gyp
> 
> This also requires a change in third_party/icu/icu.gyp
> ( https://codereview.chromium.org/111723007/ ), which was rolled in by https://codereview.chromium.org/118313004/
> 
> BUG=72633
> TEST=All windows builds work fine and there's no perf regression (start-up etc).
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246387

TBR=mark@chromium.org,scottmg@chromium.org,laforge@chromium.org,maruel@chromium.org,grt@chromium.org,wtc@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=72633

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246632 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 17:43:48 +00:00
eugenis@chromium.org 5b68711365 Pass -marm when building with ASan for Android/ARM.
Frame pointers are broken in Thumb mode.
The same reason as in 'profiling' condition several lines above.
FTR, http://llvm.org/bugs/show_bug.cgi?id=18505

BUG=325685

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246568 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 11:07:53 +00:00
kochi@google.com b4b9cfcc04 Revert 246313 "Use an alternate mechanism for CreateFile calls i..."
This caused reading profile error on Windows8 platform.

> 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

TBR=caitkp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246541 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-23 08:57:54 +00:00
joaodasilva@chromium.org 6ed366439f Build with configuration_policy enabled on iOS by default.
This will start covering the policy iOS build on the main waterfall. The code
in chrome/browser/policy is still disabled on that platform by default, but
the policy component and its unittests will be built.

This change also enables one policy on iOS, otherwise some parts of the build
break.

BUG=275292

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246422 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 21:48:03 +00:00
jshin@chromium.org 1f10c9aefa Enable icu_use_data_file on Windows
Set icu_use_data_file_flag to 1 on Windows in common.gypi and make the dependency on icudata conditional on 'icu_use_data_file_flag != 0' in common.gypi, base.gyp and net.gyp

This also requires a change in third_party/icu/icu.gyp
( https://codereview.chromium.org/111723007/ ), which was rolled in by https://codereview.chromium.org/118313004/

BUG=72633
TEST=All windows builds work fine and there's no perf regression (start-up etc).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 19:18:43 +00:00
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