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

10923 Коммитов

Автор SHA1 Сообщение Дата
hzl a4fab917cf Add directory option for JUnit coverage files.
Added runtime option --coverage-dir to let the users decide where to
store coverage.ec.

BUG=608072

Review-Url: https://codereview.chromium.org/1965013008
Cr-Original-Commit-Position: refs/heads/master@{#394470}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e16476a8c069b9646370f75d71cad6cdc9c491e8
2016-05-18 18:11:29 +00:00
krasin 3a019f01a4 Reserve more RAM per Gold process.
The current settings are too agressive even given the fact that
all the bots have 200+ GB RAM, and there's not so many large targets.
OOMs were observed:
https://build.chromium.org/p/chromium.fyi/builders/LTO%20Linux/builds/500

BUG=453195

Review-Url: https://codereview.chromium.org/1989083003
Cr-Original-Commit-Position: refs/heads/master@{#394423}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b1e7d762e134b94196f551667ed31535b701e76e
2016-05-18 15:19:04 +00:00
Gordana.Cmiljanovic df4a2c58e4 MIPS64: Fix MIPS64 related issues in GN files
Sets sysroot and few missing files for MIPS64 Android.

BUG=sysroot is an empty string
TEST=gn gen out-gn/mips64-android --args="is_debug=false target_os=\"android\" target_cpu=\"mips64el\" chrome_public_apk_use_chromium_linker=false"
     ninja -C out-gn/mips64-android system_webview_apk chrome_public_apk

Review-Url: https://codereview.chromium.org/1984303002
Cr-Original-Commit-Position: refs/heads/master@{#394379}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: be0e03709bbdb62d6c8585c2a191502a41ea756f
2016-05-18 10:49:24 +00:00
khasim.mohammed 842fb0e8f5 Revert arm_fpu flags for arm64
Tried to set arm_fpu to "cortex-a57+simd+crypto+fp+crc" for clang

These lines also affect GCC which is used to ship official chrome,
All ARMv8 implementations would support SIMD and FP by default, but
crypto is optional, so the code generated might fail on devices which
do not support crypto also adding cortex-a57 and using on cortex-a53
or vice versa might generate code that is going to be slower.

So we decided to revert this patch.

BUG : http://crbug.com/539781

BUG=539781
R=thakis@chromium.org
TEST=download apk to ARMv8 board and launch

Review-Url: https://codereview.chromium.org/1987733002
Cr-Original-Commit-Position: refs/heads/master@{#394334}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5d3069f38c1bbacbfc9d1ef672ea8c8dc9d12b3f
2016-05-18 04:21:31 +00:00
marcinjb 01ca9403e7 Add an action to create a symbol file for the Blimp engine
This is modeled after what is done for the official Chrome linux build.
As it stands right now, the breakpad symbol file is roughly 300MB and
takes a couple of minutes to run, so the action should only be triggered
if this is an official release.

BUG=597454

Review-Url: https://codereview.chromium.org/1979773002
Cr-Original-Commit-Position: refs/heads/master@{#394191}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 060ef497fef78501475548ec61dbc8c290f02a9b
2016-05-17 19:41:12 +00:00
Robert Sesek 4e1213d2f5 [Mac/GN] Change two ldflags to libs.
BUG=431177
R=mark@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#394181}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 45f4df17be3db78b635f8e745ec9273384b10fe5
2016-05-17 19:09:19 +00:00
jbudorick 8a737cced1 [Android] Make android_ndk_root configurable.
BUG=pdfium:38

Review-Url: https://codereview.chromium.org/1977723002
Cr-Original-Commit-Position: refs/heads/master@{#394135}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 12d4ff12cfb3c6bc3a51d35f91d08d73d8f14e64
2016-05-17 15:48:57 +00:00
sdefresne 00dd1c02cf [GN] Cleanup workaround in build/config/ios/rules.gni.
Remove workaround in build/config/ios/rules.gni now that gn has
been rolled to include support for product_type property.

BUG=597975

Review-Url: https://codereview.chromium.org/1948753002
Cr-Original-Commit-Position: refs/heads/master@{#394116}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 27e8737ee5fbc9cf0b8a2d4a2076cd07030f7096
2016-05-17 14:04:02 +00:00
tsniatowski 50b325baf7 Use clang "--target=x" rather than "-target x" for icecc
Icecc is confused by the two-argument -target form and ends up compiling
everything locally. It works with the equivalent single argument form, so prefer
this in GN compiler configs.

Previously done just for android in https://codereview.chromium.org/1871813003

Review-Url: https://codereview.chromium.org/1977733003
Cr-Original-Commit-Position: refs/heads/master@{#394065}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f167315cf808e4047916cbd07b3d12b5f5a6fdf1
2016-05-17 05:56:52 +00:00
brucedawson 472c097e59 Allow building with VS 2015 Update 3 pre-release
Add toolchain hash for Update 3 pre-release and fix declarations of
delay-load hooks for VS 2015 Update 3. The new toolchain is not used
unless you go "set DEPOT_TOOLS_WIN_TOOLCHAIN_PRERELEASE=1", run
"gclient runhooks", and then regenerate ninja files (if using gn).
Therefore this change is a NOP for the build machines and the code
we ship.

VS 2015 Update 3 changes the delay hook function pointers to be const
because this is important for security. This matches that change.

The new compiler is discussed here:
https://blogs.msdn.microsoft.com/vcblog/2016/05/04/new-code-optimizer/

The version packaged up for this change was installed May 16th.

BUG=440500

Review-Url: https://codereview.chromium.org/1959413002
Cr-Original-Commit-Position: refs/heads/master@{#394031}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a80d80c3e4c086a791b93a07ee089413fa60630d
2016-05-17 02:45:31 +00:00
jbudorick 8186a18548 [Android] Log uncaught Java exceptions when running native tests.
Currently, Java exceptions hit while running native tests -- e.g. on JNI link
failure -- are lost to the logcat. This surfaces them to the test runner's
stdout.

BUG=

Review-Url: https://codereview.chromium.org/1982493002
Cr-Original-Commit-Position: refs/heads/master@{#393921}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6cdb933c8d2c4cadbf842fbb3ceb9cecd0f70920
2016-05-16 21:14:15 +00:00
jbudorick 600754dd9e [Android] Back out UTC changes for pre-M in provision_devices.
This also changes exit codes for two types of device errors.

BUG=612150
TBR=stip@chromium.org

Review-Url: https://codereview.chromium.org/1986443002
Cr-Original-Commit-Position: refs/heads/master@{#393887}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 78e09f919d473d2b5044ca53b990ee6ef650de42
2016-05-16 18:57:25 +00:00
dsinclair fe5cb47eb3 Enable XFA forms in the PDF plugin.
This CL enables the XFA forms functionality in both GYP and GN builds.

BUG=chromium:62400

Review-Url: https://codereview.chromium.org/1950123002
Cr-Original-Commit-Position: refs/heads/master@{#393870}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 08e9434b6f4938517755815da37752b0cd906be7
2016-05-16 18:24:40 +00:00
tikuta 7854acf73f Fix build/mac_toolchain.py for pylint warning.
* Erase unused variable and unused argument.
* Specify exception type.

BUG=

Review-Url: https://codereview.chromium.org/1971663002
Cr-Original-Commit-Position: refs/heads/master@{#393785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1a1610f152f2912df8ed06ce576672b55684b215
2016-05-16 02:30:24 +00:00
dpranke d4fdf55ba8 Make x86 linux use gold by default again after android revert.
The revert of the Android gold change in r393738 also partially
reverted the change to using gold on x86 linux in r393645.

This CL re-lands the x86 linux part.

TBR=mlliu@chromium.org
BUG=590004, 611618,606749
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_compile_dbg_32_ng,linux_chromium_dbg_32_ng

Review-Url: https://codereview.chromium.org/1985503002
Cr-Original-Commit-Position: refs/heads/master@{#393759}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 665f2abb04029e72a8852a2ecb0959031272ff25
2016-05-15 01:26:55 +00:00
mlliu c48c58d18e Revert of 👻 Merge android's use_gold settings with the main use_gold GN arg logic (patchset #2 id:20001 of https://codereview.chromium.org/1972183003/ )
Reason for revert:
causing crash on x86 after the user signs in

https://bugs.chromium.org/p/chromium/issues/detail?id=611668

Original issue's description:
> Merge android's use_gold settings with the main use_gold GN arg logic
>
> This also fixes Android settin -Wl,--icf=all in a different spot.
>
> BUG=606749
>
> Committed: https://crrev.com/0f484bfda36d849c474922639f94eaf12d785d04
> Cr-Commit-Position: refs/heads/master@{#393355}

TBR=dpranke@chromium.org,agrieve@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=606749

Review-Url: https://codereview.chromium.org/1979043002
Cr-Original-Commit-Position: refs/heads/master@{#393738}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e0f86c9c79b888051c81609f496fe7b598dc4e51
2016-05-14 20:27:23 +00:00
jbudorick 93c1eb80b4 [Android] Fix time zone handling when setting the date in provision_devices.
BUG=

Review-Url: https://codereview.chromium.org/1980723002
Cr-Original-Commit-Position: refs/heads/master@{#393695}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 24b85fdac8bd4f4733a9f85f56b1e3b66dda427c
2016-05-14 00:07:31 +00:00
dpranke 6b7dd5e4be Use gold and the bundled binutils on x86 by default
The only reason we were not using gold by default on x86
is that using icf was buggy. However, we think we've updated
to a working version of gold, and so we should now use it.

R=mcgrathr@chromium.org, thakis@chromium.org
BUG=590004
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_compile_dbg_32_ng,linux_chromium_dbg_32_ng

Review-Url: https://codereview.chromium.org/1951133002
Cr-Original-Commit-Position: refs/heads/master@{#393645}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 11668d5556912ae81fa645cea8a5b7bb381407c7
2016-05-13 21:27:47 +00:00
dskiba 62e9b3c66f Allow opting out of thumb mode for ARM builds.
Heap profiler relies on frame pointers to do stack unwinding. ARM builds
are using thumb mode by default, but since frame pointers are broken in thumb
mode for both GCC and LLVM (https://llvm.org/bugs/show_bug.cgi?id=18505), we
need a way to build in arm mode.

This change exposes arm_use_thumb GN variable so that it can be set to false.

BUG=602701

Review-Url: https://codereview.chromium.org/1977533002
Cr-Original-Commit-Position: refs/heads/master@{#393615}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a91d261e9858e3914153f0fc3d0f57a4b126558
2016-05-13 20:35:08 +00:00
kjellander 95ac1ce5e0 Remove passing of --jarjar to jni_generator.py
The flag was removed in https://codereview.chromium.org/1959583003
but the GYP action or GN template were not updated. This only hits
GYP since the GN template has a check before adding the flag.

R=torne@chromium.org

Review-Url: https://codereview.chromium.org/1973253002
Cr-Original-Commit-Position: refs/heads/master@{#393564}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ac9ef746e4c0c207d7b02ddd9db894ae21044636
2016-05-13 17:22:05 +00:00
dpranke 93814d6827 use icf=safe w/ gcc+gold+x86/x64, icf=all w/ gold elsewhere.
This is another attempt to fix which flags we use by default when
linking w/ gold. The interaction of gold + gcc on intel platforms
appears buggy, so we only use icf=safe there; gold + gcc on non-intel
platforms, and gold + clang on intel can use icf=all, as long
as we have the latest binutils.

This change is GN-only, since linux GYP builds are on their last
breaths and it's not worth worrying about x86 flags there.

R=mcgrathr@chromium.org, thakis@chromium.org
BUG=576197

Review-Url: https://codereview.chromium.org/1952353004
Cr-Original-Commit-Position: refs/heads/master@{#393563}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a403dd9d7c3b7d3619da3ef989f4666e1e11cf95
2016-05-13 17:22:04 +00:00
brettw c2772f7ffa Fix some TODOs in the yasm build.
The TODO about a system yasm is not longer necessary. We don't need to support this for Chrome developers. For Linux distros, Pawel has added an overlay to change the behavior.

The TODO about the output names is out-of-date. The new output location matches the names generated by the C compiler in the Chrome build.

Review-Url: https://codereview.chromium.org/1972173003
Cr-Original-Commit-Position: refs/heads/master@{#393544}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 09869628d781a977987b65906856bd259e40dd9e
2016-05-13 16:34:36 +00:00
khasim.mohammed a989c81e52 Build 64bit browser for Android with clang for ARMv8
This series is to

a) Add my name to AUTHORS
I have few patches to submit to fix the chromium 64bit browser
build for ARMv8 with clang.

b) Fix FPCR access for 64bit clang compilation
Compilation fails as the MSR and MRS instructions access
the FPCR register in 32bit mode.

c) Fix Build.gn and config files
To build 64bit browser for Android with clang for ARMv8

BUG : http://crbug.com/539781

Signed-off-by: Bernhard Rosenkränzer <bero@linaro.org>
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@linaro.org>

BUG=539781
R=thakis@chromium.org
TEST=download apk to ARMv8 board and launch

Review-Url: https://codereview.chromium.org/1888763002
Cr-Original-Commit-Position: refs/heads/master@{#393517}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2c5ec51ea564705b02dcb6aeff6a56722cc3890f
2016-05-13 13:49:38 +00:00
tapted 311ac5380e Prepare for building with enable_app_list=0 on Desktop
Created by flipping enable_app_list to '0' everywhere except ChromeOS,
ensuring it passes CQ, then flipping it back.

Mostly just splitting app_list source files out to their own gyp
variables.

This will allow us to test new code needed for previously supported
platforms. The code will be required as soon as enable_app_list is
flipped to 0. E.g. calls to --show-app-list will just show chrome://apps
instead.

Builds upon initial work in https://codereview.chromium.org/1747773002/

BUG=600915
COLLABORATOR=wierichs@google.com

Review-Url: https://codereview.chromium.org/1861233003
Cr-Original-Commit-Position: refs/heads/master@{#393474}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d13e0cdf6fc5fddb580968adb2a5b9c5379a4404
2016-05-13 08:27:56 +00:00
mcgrathr b9f715e76c GN: Build NaCl tests for x64 too on x86 Windows
x86 Windows builds of Chrome run on both x86 Windows and x64 Windows.
On x64 Windows, only x64 NaCl is supported, so those tests are needed too.

BUG=609684
R=bbudge@chromium.org, dpranke@chromium.org, phosek@chromium.org

Review-Url: https://codereview.chromium.org/1976753002
Cr-Original-Commit-Position: refs/heads/master@{#393433}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a03f119d7af32b119fb755abe3d6a661b55548e8
2016-05-13 02:24:25 +00:00
agrieve be888670a0 Merge android's use_gold settings with the main use_gold GN arg logic
This also fixes Android settin -Wl,--icf=all in a different spot.

BUG=606749

Review-Url: https://codereview.chromium.org/1972183003
Cr-Original-Commit-Position: refs/heads/master@{#393355}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0f484bfda36d849c474922639f94eaf12d785d04
2016-05-12 21:14:14 +00:00
agrieve 9025cb001c Fix resource_sizes.py when looking at ChromeModern.apk
Something about ChromeModern.apk triggers a bug in Python's zipfile.
It's been fixed already: https://bugs.python.org/issue14315
So this swaps in the fixed version of the broken function.

BUG=none

Review-Url: https://codereview.chromium.org/1971093003
Cr-Original-Commit-Position: refs/heads/master@{#393336}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 83011ed3cfafa49f86906e470d4e0edf8c1e3dd6
2016-05-12 19:58:24 +00:00
rsesek 6fb8472d07 [Mac/GN][sanitizers] Copy the ASan runtime to the output directory.
This sets it as a data_deps so that any targets depending on the sanitizer
will also pick up the runtime file when being isolated.

Because the ASan runtime uses @loader_path this will not work for bundled
targets, only standalone executables.

BUG=597066,431177
R=aizatsky@chromium.org

Review-Url: https://codereview.chromium.org/1963253002
Cr-Original-Commit-Position: refs/heads/master@{#393335}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 45384fb36763bb34ac3a7395d2dc941754a276ae
2016-05-12 19:47:38 +00:00
dskiba 39b207f5fd Don't omit frame pointers in profiling Android GN builds.
This CL makes sure that frame pointers (used for fast stack unwinding)
are not omitted when enable_profiling is true. There are two changes:

1. Don't add -fomit-frame-pointer flag (Android-specific change).

2. Add -fno-omit-frame-pointer flag even in debug builds. This is needed
   for Android where debug builds are optimized too (-Os).

BUG=602701

Review-Url: https://codereview.chromium.org/1965143003
Cr-Original-Commit-Position: refs/heads/master@{#393320}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 14430a4de781aca8e67f6ec7b8893647d7ee26d9
2016-05-12 19:02:58 +00:00
Pawel Hajdan, Jr e02f33be24 unbundle: add GN files for ffmpeg, libevent, libxslt, snappy, and yasm
BUG=551343
R=brettw@chromium.org, dpranke@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#393207}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 309f027eb2f538f349876aefb4b9d3311dd1199e
2016-05-12 08:21:36 +00:00
jbudorick eeaf948245 [Android] Run process_resources on aapt or sdk jar change.
Previously, we were only processing resources on aapt or sdk jar _path_
change.

This also removes an unrelated debug print statement.

BUG=603138

Review-Url: https://codereview.chromium.org/1967153002
Cr-Original-Commit-Position: refs/heads/master@{#392957}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a211f7633c4dc0f2b1fb1c8a40040e84e9568d47
2016-05-11 17:01:28 +00:00
msarett ace47be95e Remove unused MJPEG define from libjpeg-turbo GN and GYP
libjpeg_turbo.gyp is located in third-party and is updated
by rolling to a recent commit:

414f243 Remove unused MJPEG define from libjpeg-turbo GYP file
  414f2433e6634942b9ceea9450bdc21dcc5520cf
by Noel Gordon

BUG=608347

Review-Url: https://codereview.chromium.org/1961933002
Cr-Original-Commit-Position: refs/heads/master@{#392934}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 50a66e887857dc4117e64f5150c0bafc5097279e
2016-05-11 15:50:34 +00:00
sdefresne ef80d791fd [GN] New template convert_plist to convert a plist file to another format.
Add a new target convert_plist to invoke "plutil -convert" only on a
given plist file. This is used as iOS needs to convert all plist to
binary in bundle, including plist that are not Info.plist files.

Fix ios_info_plist and info_plist templates to also forward "visibility"
from the invoker.

BUG=459705

Review-Url: https://codereview.chromium.org/1964393002
Cr-Original-Commit-Position: refs/heads/master@{#392924}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7f441707e74fd96a04ecdd0c97f1f66d83e7bf5d
2016-05-11 14:52:31 +00:00
jbudorick 059132b97e Revert of Add directory option for JUnit coverage files. (patchset #7 id:120001 of https://codereview.chromium.org/1957023002/ )
Reason for revert:
Seemingly breaks incremental builds.

Original issue's description:
> Add directory option for JUnit coverage files.
>
> Added runtime option --coverage-dir to let the users decide where to store
> coverage.ec.
>
> BUG=608072
>
> Committed: https://crrev.com/de08f6f711ebd74fe493584e0694bcce51693318
> Cr-Commit-Position: refs/heads/master@{#392727}

TBR=mikecase@chromium.org,hzl@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=608072

Review-Url: https://codereview.chromium.org/1973503002
Cr-Original-Commit-Position: refs/heads/master@{#392908}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0b730799f2f2f2d9d07b75f3fadd2ed387336a02
2016-05-11 13:14:57 +00:00
altimin 78d6e00bf0 [headless] Use embedded icu data for headless.
R=alexclarke@chromium.org,skyostil@chromium.org
BUG=610673

Review-Url: https://codereview.chromium.org/1964893002
Cr-Original-Commit-Position: refs/heads/master@{#392900}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c29ab96bddc5a4e964a66cb5ed7872771db8ff59
2016-05-11 12:16:44 +00:00
jochen 0e1afd1a3c Use the v8 shell instead of d8 to compile jstests
BUG=609107
R=machenbach@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/1953233002
Cr-Original-Commit-Position: refs/heads/master@{#392891}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 11513aa0e64b7be852f123c7f3dedc9be50b78ff
2016-05-11 10:01:17 +00:00
phajdan.jr 590078caaf unbundle: add GN files for flac, harfbuzz-ng, and libwebp
BUG=551343

Review-Url: https://codereview.chromium.org/1964003002
Cr-Original-Commit-Position: refs/heads/master@{#392879}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9feb890d9d9d48beac0f0fd88c3eed18ebe56e6d
2016-05-11 08:36:07 +00:00
rnephew 14fc8b6da6 [Android] Set permissions when clearing app state in test runner platform mode.
BUG=609226

Review-Url: https://codereview.chromium.org/1952813002
Cr-Original-Commit-Position: refs/heads/master@{#392871}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7b6552417873165924fd7f62cc428fe5e6b12dc1
2016-05-11 07:23:49 +00:00
jbudorick 3c875b5c73 [Android] Tweak timeout for listing gtests.
Investigating failure in net_unittests on the lollipop low-end tester
on chromium.android.

BUG=
TBR=mikecase@chromium.org

Review-Url: https://codereview.chromium.org/1970663002
Cr-Original-Commit-Position: refs/heads/master@{#392844}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5efa9bfc4d00ec831180052e99bbc845877f3821
2016-05-11 04:04:21 +00:00
rsesek 1b63b7ad54 [Mac/GN] Set up the component build.
This adds the required framework to libs[] wherever they are required (most
of the changes in this CL). It also enables the component build optimization
of creating a non-bundled dylib to roll up all the sources and dependencies.
The framework then links that, which allows the build to not copy the bundled
library if any sources change. This is based on the technique implemented
https://codereview.chromium.org/11420019/.

BUG=431177
R=thakis@chromium.org,brettw@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/1961473003
Cr-Original-Commit-Position: refs/heads/master@{#392823}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 02aa51cf444626f4781824c17178376c0459ad83
2016-05-11 02:14:57 +00:00
justincohen 18ca271336 Set toolchain directory in gyp_chromium.
Since the bots run gyp_chromium seperately from runhooks, the hermetic mac
toolchain environment variables need to be set in this script as well.

BUG=474373

Review-Url: https://codereview.chromium.org/1970623002
Cr-Original-Commit-Position: refs/heads/master@{#392822}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 588af0bb9a83d6441c00858ca5ae74a919706e74
2016-05-11 02:12:26 +00:00
yolandyan b532bace3e Change provision_devices.py to disable verity for remove webview on M
BUG=

Review-Url: https://codereview.chromium.org/1960363002
Cr-Original-Commit-Position: refs/heads/master@{#392796}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 161d167a91621178a83bff8febea1a849c7fda14
2016-05-11 00:54:04 +00:00
hzl f2be3fbd30 Add directory option for JUnit coverage files.
Added runtime option --coverage-dir to let the users decide where to store
coverage.ec.

BUG=608072

Review-Url: https://codereview.chromium.org/1957023002
Cr-Original-Commit-Position: refs/heads/master@{#392727}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de08f6f711ebd74fe493584e0694bcce51693318
2016-05-10 21:38:22 +00:00
thakis 7a5f493ee4 win toolchain: Always use ; for all env vars except PATH, even on non-Windows.
lld-link expects LIB to be ;-separated even on non-Windows.  Hopefully
it'll eventually use a flag for system lib dirs instead of looking at env vars,
but for now it looks at env vars.

(clang-cl also expects INCLUDE to be ;-separated, but it already uses
-imsvc instead of the INCLUDE env var to find system include dirs.)

BUG=495204

Review-Url: https://codereview.chromium.org/1970443002
Cr-Original-Commit-Position: refs/heads/master@{#392676}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b61345c8939bfc9e23f9a2442e681b54566120ca
2016-05-10 19:17:57 +00:00
thakis e1c31ce436 clang/gn/win: Stop running the compiler through `ninja -t msvc -e environment.foo`
The compiler only needs the INCLUDE environment var, and those contents
can just be passed via flags. clang-cl's -imsvc flag adds include directories
as-if they're from INCLUDE (i.e. they're in the right place in the directory
search order, and they're treated as system headers that don't emit warnings).

In 64-bit builds, this would also work for MSVC, but MSVC happily warns about
questionable code in system headers if enough warnings are turned on, so we would
just use /I there (and make sure the flags are early on the compile command so
that these directories are searched at the same time as they would be with INCLUDE).

However, in 32-bit builds, MSVC needs PATH to contain both the 32-bit and the 64-bit
bin directories to load dlls.  Since invoking the compiler so differently for 32-bit
and 64-bit is strange, only do this simplification for clang-cl for now.

goma doesn't yet know the -imsvc flag flag, so this is blocked on goma learning
about this clang-cl flag (https://b//28179421).

Build time impact:
64-bit debug builds symbol_level=1, building some binary ("gn")

before:
clang-cl: 34.9s, 35.1s, 35.1s
cl: 26.3s, 26.1s, 27.6s

after:
clang-cl: 33.8s, 33.7s, 34s
cl: 27s, 34.5s, 26.7s

So no discernible build perf difference, but fewer processes
and less reliance on these environment files seems like a good
change anyhow.

It also helps with a potential cross-compile of chrome/win, since
ninja's -t msvc only exists in ninja/win.

BUG=588831

Review-Url: https://codereview.chromium.org/1724533002
Cr-Original-Commit-Position: refs/heads/master@{#392624}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8435ab74b05929d290a11808a0a94ea7536531d7
2016-05-10 16:37:20 +00:00
agrieve 6fb26a2a74 Strip R.class in android_prebuilt()
Some Android libraries have started including R.class in their jar
files, so they need to be stripped before dexing.

BUG=585576

Review-Url: https://codereview.chromium.org/1952153002
Cr-Original-Commit-Position: refs/heads/master@{#392620}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd2adf0e9718ec28f46dde4c09e379c9df82065e
2016-05-10 15:58:25 +00:00
justincohen 143dcc2b1b Only accept the hermetic toolchain license if newer.
Accepting an older license will break newer toolchains.  Check if a bot's
last agreed to toolchain is newer.  If it's older, accept the hermetic toolchain.

BUG=

Review-Url: https://codereview.chromium.org/1956073003
Cr-Original-Commit-Position: refs/heads/master@{#392356}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 10dc9038e9e0e42efa7a53c4f6857a6749ceea0b
2016-05-09 17:50:08 +00:00
sdefresne abe88c75c9 [GN/iOS/Mac] Decouple copy_bundle_data from gyp mac_tool.py.
Add a new script to copy data into an iOS/Mac bundle based on the gyp
script (but removing extra work that is not required as it is done in
previous steps).

BUG=297668

Review-Url: https://codereview.chromium.org/1946203002
Cr-Original-Commit-Position: refs/heads/master@{#392332}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 62321627a76f6990ce912fc24fd5d1c6d0ab7c74
2016-05-09 16:32:56 +00:00
robert.nagy e3d87b1421 Match the linux build configuration on openbsd and freebsd.
R=jochen@chromium.org, thakis@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/1919283007
Cr-Original-Commit-Position: refs/heads/master@{#392252}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 72302149f2839e4522d7fafbb7477882b156b297
2016-05-07 09:44:39 +00:00
saiarcot895 b81f2a05b5 Add SSE2/MMX build flags when building on an x86 host. This is necessary
because some files use SSE2 extensions, which may not be available on
all x86 CPUs.

BUG=607938
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/1952043003
Cr-Original-Commit-Position: refs/heads/master@{#392206}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bfb9e9ef5c13843e22a74a7bced0d48b6f42c112
2016-05-06 23:44:47 +00:00