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

1807 Коммитов

Автор SHA1 Сообщение Дата
anton@chromium.org 578d7181db For x64 set android_ndk_lib to /usr/lib64.
The latest version of the NDK experimental crtend in this location.
Andrew Hsieh confirms this is correct for multilib NDK.

BUG=346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266789 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-29 08:54:16 +00:00
thestig@chromium.org d820c66191 Linux: Switch 32-bit official builds to use the bundled 64-bit linker.
It is assumed that even though the buildbots have 32-bit userland,
they also have a 64-bit kernel and a 64-bit libc installed.

BUG=366523

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266729 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-29 01:22:10 +00:00
kjellander@chromium.org 49bbc8fc15 Add GYP variable for disabling sanitizer_options.
In https://codereview.chromium.org/238123003 an import
of base.gyp is introduced in build/common.gypi. This
makes GYP fail for some client projects using the Chromium
build toolchain. By adding a condition variable for this
part, it is possible to avoid this include by setting
use_sanitizer_options=0.

NOTRY=True
BUG=302040
TEST=passing runhooks on a variety of trybots.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266514 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-28 12:11:15 +00:00
glider@chromium.org dbd25cd946 Replace the internal '-mllvm -tsan-blacklist' flag with the user-visible -fsanitize-blacklist.
NOTRY=true
TBR=earthdok@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266312 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-26 00:49:32 +00:00
rmcilroy@chromium.org 1fb5649dcc [Android]: Roll android_tools deps to update ndk_experimental to r9e-rc3.
Pulls in change: https://gerrit.chromium.org/gerrit/#/c/69860/

Also update the arm64 build to use gcc 4.9 from the new ndk.

BUG=354405, 346626
R=bulach@chromium.org, navabi@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265898 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-24 10:15:33 +00:00
dongseong.hwang@intel.com d736e8fea1 Fix unresolved shared library dependency on binutils 2.23.
It fixes unresolved dependency as follows:
> ldd content_shell
        ...
	libsql.so => not found
	libbase_i18n.so => not found
        ...

Some binutils 2.23 releases may or may not have new dtags enabled,
but they are all compatible with --disable-new-dtags,
because the new dynamic tags are not created by default.
https://sourceware.org/binutils/docs-2.23/ld/Options.html#index-g_t_002d_002ddisable_002dnew_002ddtags-267

BUG=352046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265880 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-24 08:24:51 +00:00
fdegans@chromium.org 6bb24afc91 Fixed host_gcc_version for Android.
BUG=360082

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265753 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-23 22:14:01 +00:00
spang@chromium.org e3cabf9dc4 ozone: Always remove glib
TBR=sadrul
TEST=build with chromeos=1 use_ozone=1
BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265689 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-23 18:28:51 +00:00
primiano@chromium.org 9879b8fb0d [Android] Remove global --gc-sections ldflag from Debug targets.
After some major cleanup, all but very few Android targets (i.e.
chrome_shell_apk and chrome_unittests_apk) have stopped depending
on the linker GC section to build succesfully.
This change removes the global --gc-section arg from all Debug targets
in order to prevent future regressions.

BUG=159847
TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265678 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-23 17:39:35 +00:00
thestig@chromium.org 6edf293f5a Linux: Detect host g++ version as well as target g++ version.
BUG=360082

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265572 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-23 08:20:16 +00:00
primiano@chromium.org 62fc0a7737 Remove dependency on --gc-sections for most Android debug targets.
Android targets shouldn't rely (at least on Debug) on the linker GC.
This CL refactors gyp files to fix target dependencies
(some of them wrong for components builds due to the .so
split).
The only targets left, at this point, are chrome_shell
and content_browsertests (will take more work).

BUG=159847

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-22 22:08:20 +00:00
thestig@chromium.org e500ff2732 Cleanup: Simplify enable_plugin gyp flag and remove an obsolete TODO.
Review URL: https://codereview.chromium.org/242303003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265211 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-22 08:29:14 +00:00
erg@chromium.org bcc779d6d0 Remove all uses of toolkit_use_gtk in the gyp files.
BUG=297026
R=ben@chromium.org, brettw@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264609 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-17 19:20:23 +00:00
jamescook@chromium.org 25f4632982 Revert accidental dartium code push
This reverts r264517 to r264538 from terry@google.com

BUG=none
TEST=none
NOTRY=true
NOTREECHECKS=true
TBR=terry@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264545 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-17 16:50:56 +00:00
terry@google.com 39e4f2589c This fixes debugging chrome apps from the dart editor.
R=devoncarew@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264528 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-17 15:55:21 +00:00
terry@google.com 41b7686ab0 merged 1908
git-svn-id: http://src.chromium.org/svn/trunk/src/build@264526 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-17 15:55:16 +00:00
terry@google.com d7e3439c60 Branching for 1847 @251904
git-svn-id: http://src.chromium.org/svn/trunk/src/build@264525 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-17 15:55:13 +00:00
terry@google.com 7df597c670 This fixes debugging chrome apps from the dart editor.
R=devoncarew@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264518 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-17 15:55:01 +00:00
thestig@chromium.org 0d710cafc3 Delete unused python_ver gyp variable after PyAuto removal.
BUG=224072

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264442 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-17 06:05:59 +00:00
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