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

11257 Коммитов

Автор SHA1 Сообщение Дата
jbudorick 7a22e20685 [Android] Prepare the test runner for @RetryOnFailure.
BUG=619055

Review-Url: https://codereview.chromium.org/2099323002
Cr-Original-Commit-Position: refs/heads/master@{#404774}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ec256fa7e036723529be5dbe631bbb9045b0ed97
2016-07-12 03:19:24 +00:00
apatole 3cd1ead017 Reland "Add support for installing ARM64 sysroot"
Fixed license and copyright script errors with earlier change by
whitelisting newly introduced folder
build/linux/debian_jessie_arm64-sysroot.

This change modifies install-sysroot.py to add support for
installing ARM64 sysroot. also upadted jessie arm64 package list.

BUG=613452
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2136993002
Cr-Original-Commit-Position: refs/heads/master@{#404719}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 82242c1833949a8a5ae9708b4c5af65585f23b71
2016-07-11 20:14:11 +00:00
sebmarchand ffd63e26f2 Move the Syzygy scripts out of //chrome/
Also move the syzygy_optimize and syzygy_asan GN templates to //build/win/syzygy so they can be reused in //content (without adding a dependency with //chrome).

BUG=619086

Committed: https://crrev.com/71a43cab53042f33d77fe8eebe8c2463a92f9758
Review-Url: https://codereview.chromium.org/2126673002
Cr-Original-Commit-Position: refs/heads/master@{#404672}
Cr-Original-Original-Commit-Position: refs/heads/master@{#404503}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3e9548c2068ea978a3ad882e6394cf3493b81dab
2016-07-11 16:34:38 +00:00
peconn 1721ff747a Reland of move android_support_annotations target. (patchset #1 id:1 of https://codereview.chromium.org/2132033002/ )
Reason for revert:
Attempting to fix cronet build issues.

Original issue's description:
> Revert of Remove android_support_annotations target. (patchset #2 id:20001 of https://codereview.chromium.org/2137433002/ )
>
> Reason for revert:
> Broke the tree
>
> Original issue's description:
> > Remove android_support_annotations target.
> >
> > android-support-annotations.jar and android-support-v13.jar both define android.support.annotations. Since we use both, this can produce errors building when we try to use android.support.annotations in a new target (eg com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes).
> >
> > android-support-annotations.jar contains a subset of android-support-v13.jar, so I am removing it and updating all dependencies to point to the latter.
> >
> > BUG=623012
> >
> > Committed: https://crrev.com/dd8383aa3af51d5c067e445c1390dc9eadc6a220
> > Cr-Commit-Position: refs/heads/master@{#404371}
>
> TBR=jochen@chromium.org,bauerb@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=623012
>
> Committed: https://crrev.com/2ccd50c3c7f17e770e511096af7d62e36f13135e
> Cr-Commit-Position: refs/heads/master@{#404390}

TBR=jochen@chromium.org,bauerb@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=623012

Review-Url: https://codereview.chromium.org/2140543002
Cr-Original-Commit-Position: refs/heads/master@{#404656}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3196a901443858f34e9c765f32a83eed978a9393
2016-07-11 14:46:42 +00:00
sdefresne f656385049 [iOS] Remove conversion of .strings to binary1 by copy_bundle_data tool.
All .strings files that need to be in binary1 format are now
converted by using the "bundle_data_strings" template so the
conversion can be remove from "copy_bundle_data" tool.

BUG=625578

Review-Url: https://codereview.chromium.org/2130813002
Cr-Original-Commit-Position: refs/heads/master@{#404621}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f52c49dc18851aaf7ca4f3a78b5312350193f5ba
2016-07-11 09:28:31 +00:00
sebmarchand 766297ee7f Revert of Move the Syzygy scripts out of //chrome/ (patchset #5 id:80001 of https://codereview.chromium.org/2126673002/ )
Reason for revert:
It's breaking the Gyp Official build and I can't fix this right now.

BUG=626828

Original issue's description:
> Move the Syzygy scripts out of //chrome/
>
> Also move the syzygy_optimize and syzygy_asan GN templates to //build/win/syzygy so they can be reused in //content (without adding a dependency with //chrome).
>
> BUG=619086
>
> Committed: https://crrev.com/71a43cab53042f33d77fe8eebe8c2463a92f9758
> Cr-Commit-Position: refs/heads/master@{#404503}

TBR=chrisha@chromium.org,dpranke@chromium.org,gab@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=619086

Review-Url: https://codereview.chromium.org/2129333002
Cr-Original-Commit-Position: refs/heads/master@{#404530}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6318d34b911380a6ebb3f1c8787024ba3e3400eb
2016-07-08 23:27:54 +00:00
jbudorick 570c93a1fa [Android] Revise SIGTERM and unknown test result handling.
Currently, the test runner only takes action on SIGTERM on test execution
threads and only stops at the end of a test shard. In some cases, this isn't
fast enough. This CL makes the main thread drop test execution.

This CL also tweaks the handling of test results to better handle UNKNOWNs.

BUG=

Review-Url: https://codereview.chromium.org/2134523002
Cr-Original-Commit-Position: refs/heads/master@{#404507}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6c04fde85a18fc3bc8498f9735b984beaf8209c7
2016-07-08 22:17:22 +00:00
sebmarchand f6072cc8b8 Move the Syzygy scripts out of //chrome/
Also move the syzygy_optimize and syzygy_asan GN templates to //build/win/syzygy so they can be reused in //content (without adding a dependency with //chrome).

BUG=619086

Review-Url: https://codereview.chromium.org/2126673002
Cr-Original-Commit-Position: refs/heads/master@{#404503}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71a43cab53042f33d77fe8eebe8c2463a92f9758
2016-07-08 22:04:52 +00:00
jbudorick bca21eb479 Revert of Add support for installing ARM64 sysroot (patchset #1 id:1 of https://codereview.chromium.org/2078293002/ )
Reason for revert:
https://bugs.chromium.org/p/chromium/issues/detail?id=626784

Original issue's description:
> Add support for installing ARM64 sysroot
>
> This change modifies install-sysroot.py to add support for
> installing ARM64 sysroot. Also update the jessie arm64 package list.
>
> BUG=613452
>
> Committed: https://crrev.com/ad891a49ee7aeff1a42559c0a059cb51f053e1fb
> Cr-Commit-Position: refs/heads/master@{#404323}

TBR=thestig@chromium.org,mmoss@chromium.org,thakis@chromium.org,apatole@nvidia.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=613452

Review-Url: https://codereview.chromium.org/2132153002
Cr-Original-Commit-Position: refs/heads/master@{#404490}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ab2caa6f55eb30e614afce9f1b2a7cfa244eb173
2016-07-08 21:22:00 +00:00
jbudorick dc350d1b34 [Android] Remove the --test_data option from the test runner.
All suites now use isolate files that are either generated from gn
data / data_deps or checked in to chromium.

BUG=

Review-Url: https://codereview.chromium.org/2131083003
Cr-Original-Commit-Position: refs/heads/master@{#404488}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e17088df1d6f3cab29c0c817d7f71def8a84841e
2016-07-08 21:17:01 +00:00
smaier 0bba977e5c Added deobfuscation script for ProGuarded stacktraces
BUG=625704

Review-Url: https://codereview.chromium.org/2126353002
Cr-Original-Commit-Position: refs/heads/master@{#404476}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1a09539d6fb37c06bc73ce348f6f7ea85ddacfa4
2016-07-08 20:15:57 +00:00
marshall b7b13b8d74 Mac: Use unique output path for compile_xibs template in GN
BUG=623237
R=rsesek@chromium.org

Review-Url: https://codereview.chromium.org/2130793003
Cr-Original-Commit-Position: refs/heads/master@{#404416}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b273ced692cd454d1d2b9b6ff8ac9bf97754ce2
2016-07-08 16:52:01 +00:00
thakis 6b931d126f clang/win: It's ok to pass /GS to clang-cl now.
We used to not pass /GS since clang-cl used to not implement buffer security
checks and would warn about this flag being ignored.  Now clang-cl implements
some form of buffer security checking and no longer warns on /GS, so that's
no longer necessary. This reverts the gyp bits of
https://codereview.chromium.org/1828543003/

/GS is also on by default, and as of https://codereview.chromium.org/1957523005
it's no longer explicitly passed in gn builds -- so no .gn files need to be
changed.

Since /GS is on by default, this CL doesn't change behavior.

BUG=598767

Review-Url: https://codereview.chromium.org/2129213002
Cr-Original-Commit-Position: refs/heads/master@{#404413}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc683aecb8e88d03139477b8eba81aeb1e3c2e9c
2016-07-08 16:49:12 +00:00
bpastene 4330d60e44 Log what devices were read from the target devices file.
BUG=626471

Review-Url: https://codereview.chromium.org/2119413005
Cr-Original-Commit-Position: refs/heads/master@{#404406}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 659c74fb047a15ff300bbe2be1da7bb6f2132c73
2016-07-08 16:42:35 +00:00
michaelbai 200e25b433 Don't pack gdbserver if page_align_shared_libraries is set.
This will make monochrome debug version works

BUG=596994

Review-Url: https://codereview.chromium.org/2127703007
Cr-Original-Commit-Position: refs/heads/master@{#404398}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 15c6b22b66f44df7d0528957b1206169a54d05a5
2016-07-08 15:51:41 +00:00
peconn 2a7702dcfe Revert of Remove android_support_annotations target. (patchset #2 id:20001 of https://codereview.chromium.org/2137433002/ )
Reason for revert:
Broke the tree

Original issue's description:
> Remove android_support_annotations target.
>
> android-support-annotations.jar and android-support-v13.jar both define android.support.annotations. Since we use both, this can produce errors building when we try to use android.support.annotations in a new target (eg com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes).
>
> android-support-annotations.jar contains a subset of android-support-v13.jar, so I am removing it and updating all dependencies to point to the latter.
>
> BUG=623012
>
> Committed: https://crrev.com/dd8383aa3af51d5c067e445c1390dc9eadc6a220
> Cr-Commit-Position: refs/heads/master@{#404371}

TBR=jochen@chromium.org,bauerb@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=623012

Review-Url: https://codereview.chromium.org/2132033002
Cr-Original-Commit-Position: refs/heads/master@{#404390}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2ccd50c3c7f17e770e511096af7d62e36f13135e
2016-07-08 15:11:35 +00:00
peconn 50fbf02ed9 Remove android_support_annotations target.
android-support-annotations.jar and android-support-v13.jar both define android.support.annotations. Since we use both, this can produce errors building when we try to use android.support.annotations in a new target (eg com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes).

android-support-annotations.jar contains a subset of android-support-v13.jar, so I am removing it and updating all dependencies to point to the latter.

BUG=623012

Review-Url: https://codereview.chromium.org/2137433002
Cr-Original-Commit-Position: refs/heads/master@{#404371}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd8383aa3af51d5c067e445c1390dc9eadc6a220
2016-07-08 14:25:44 +00:00
apatole f074f1862c Add support for installing ARM64 sysroot
This change modifies install-sysroot.py to add support for
installing ARM64 sysroot. Also update the jessie arm64 package list.

BUG=613452

Review-Url: https://codereview.chromium.org/2078293002
Cr-Original-Commit-Position: refs/heads/master@{#404323}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad891a49ee7aeff1a42559c0a059cb51f053e1fb
2016-07-08 09:36:07 +00:00
davidben 4be5548b0a Roll src/third_party/boringssl/src 3cab5572b..95c6956
https://boringssl.googlesource.com/boringssl/+log/3cab5572b1fcf5a8f6018529dc30dc8d21b2a4bd..95c69563dc5422c3b3cd3a0bf435944a7530a12d

This also updates the Net.SSLServerKeyExchangeHash histogram to use the full
signature algorithm value, in preparation for TLS 1.3 which treats the two as
one unit.

It also trims gn_migration.gypi since boringssl_unittests pulls in all those
smaller targets anyway and gets updated automatically as the set of BoringSSL
tests changes.

BUG=none

Review-Url: https://codereview.chromium.org/2108153003
Cr-Original-Commit-Position: refs/heads/master@{#404310}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0653c8d1980d98cbf099a9c4306412ba59b721bb
2016-07-08 02:19:13 +00:00
skobes 33e7353963 Fix handling of absent flags file in adb_command_line.py.
This broke in http://crrev.com/2044413002.

BUG=626453

Review-Url: https://codereview.chromium.org/2132813002
Cr-Original-Commit-Position: refs/heads/master@{#404282}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3d86ed8b58e1320c9bc8d200a225bfc06241f823
2016-07-08 00:52:04 +00:00
tzik a51dcaf164 Enable gold multi-threaded link
BUG=161942

Review-Url: https://codereview.chromium.org/2120233002
Cr-Original-Commit-Position: refs/heads/master@{#404208}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ce25823016da06a8f947efba77eaba23c7cec7a1
2016-07-07 19:23:42 +00:00
agrieve 29522db278 Add missing dep when emma_coverage=true
Broken by https://codereview.chromium.org/2109293003

BUG=620034,626179

Review-Url: https://codereview.chromium.org/2131453002
Cr-Original-Commit-Position: refs/heads/master@{#404148}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 49df176be50454d0c8ca6c37ec0ccfb29223f19d
2016-07-07 13:48:39 +00:00
sdefresne 22eb4933c4 Convert .strings to binary before declaring bundle_data.
Add a template "bundle_data_strings" to convert a .strings file to
binary1 property list format and declare it in a bundle_data target
(similar to "bundle_data_xib" template).

This is added in preparation of removing the automatic conversion
of .strings file to binary1 format by the "copy_bundle_data" tool
in build/toolchain/mac/BUILD.gn. There are no client upstream yet.

BUG=625578

Review-Url: https://codereview.chromium.org/2130743002
Cr-Original-Commit-Position: refs/heads/master@{#404142}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 02416e8ab9a11f44eba47d269cd0aa5fb843895b
2016-07-07 13:06:14 +00:00
Paweł Hajdan, Jr de71a8b7f2 unbundle: fix build with system zlib
BUG=551343
R=jochen@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#404122}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d0a0a04ffe6776528c8669bd4bc3f04ca6cf41b9
2016-07-07 10:54:26 +00:00
agrieve 40643789f6 Reland of Make Android .build_configs aware of prebuilts and java sources
This information will be necessary for generating gradle projects for
Android Studio.

Reason for reland:
javac and emma GN templates list .java files as inputs again.

TBR=wnwen@chromium.org
BUG=620034

Review-Url: https://codereview.chromium.org/2127013002
Cr-Original-Commit-Position: refs/heads/master@{#404069}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a28a718e3bb30195a185279d09e9765538fac5e2
2016-07-07 04:02:21 +00:00
agrieve a70cb2a809 Fix missing build dep when alternative_locale_resource_dep is used
Broken by https://codereview.chromium.org/2109293003

BUG=620034,626179

Review-Url: https://codereview.chromium.org/2125083002
Cr-Original-Commit-Position: refs/heads/master@{#404053}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9101cda61c99a2e36033d46cf8c52d5c476b83f8
2016-07-07 03:01:26 +00:00
antz 6d9becf753 Clean up GN args for chromecast
BUG=None

Review-Url: https://codereview.chromium.org/2102903003
Cr-Original-Commit-Position: refs/heads/master@{#404007}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1110ea9acc1aa86fa92a2ca0b2871e07a18582a6
2016-07-07 00:28:38 +00:00
sriramsr 0dfa3ed48a Disable udev from Engine builds
udev support in Linux is used to get plug & play notification when an USB device
is plugged in. This is something that is unlikely to be used in Blimp Engine. So
disabling the code from Blimp Engine build.

BUG=625277

Review-Url: https://codereview.chromium.org/2112383003
Cr-Original-Commit-Position: refs/heads/master@{#403983}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a2c19e55cf5e0e87f2b99232182c1be0a94be9f1
2016-07-06 23:44:06 +00:00
kraynov 33eb2df78a Plugin support for protobuf compiler (protoc) targets.
Until now the protobuf generator targets in the build files
did hard-code the unconditional generation of C++ and python
stubs. There are two new upcoming use cases, that are,
bit.ly/TracingV2 (see BUG) and gRPC, where we need to generate
C++ stubs using a custom protoc plugin.
This CL introduces the plumbing necessary to the GYP/GN
build files to be able to pass an arbitrary plugin to
the protoc invocation. See crrev.com/2083373002 as an example of
how this will be used in upcoming CLs.

BUG=622680

Review-Url: https://codereview.chromium.org/2082693002
Cr-Original-Commit-Position: refs/heads/master@{#403981}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b241e6e5fa05e90eaa4199d4bc497869e3cf08e1
2016-07-06 23:41:42 +00:00
brettw 3972ff7f07 Remove mac condition for component target types.
The limitation that static libraries can't be used in various targets on Mac has been lifted. Now components can unconditionally be static libraries on non-component builds.

BUG=618797

Review-Url: https://codereview.chromium.org/2111683002
Cr-Original-Commit-Position: refs/heads/master@{#403974}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b8adea3236abf4f866ea1265e279d5520b8a9fd0
2016-07-06 23:30:33 +00:00
agrieve 836d1f71cc Add a GN assert preventing android templates in non-default toolchain
Android templates have never been tested in non-default toolchains, and
should never be necessary since java is not toolchain-dependent.

BUG=none

Review-Url: https://codereview.chromium.org/2121833002
Cr-Original-Commit-Position: refs/heads/master@{#403963}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 09d787e26cac78497700f700c31361099bf9071a
2016-07-06 22:39:41 +00:00
jbudorick 6f3d1b7ab9 [Android] Fix support for multiple instances of value annotation filters.
BUG=626028

Review-Url: https://codereview.chromium.org/2124043002
Cr-Original-Commit-Position: refs/heads/master@{#403942}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5960d5df6acd8c48ddfefec2dba2b6db94954628
2016-07-06 19:44:08 +00:00
agrieve bf9f41ed86 Revert of Make Android .build_configs aware of prebuilts and java sources (patchset #2 id:20001 of https://codereview.chromium.org/2124663002/ )
Reason for revert:
Breaks ninja noticing when .java files change.

Original issue's description:
> Make Android .build_configs aware of prebuilts and java sources
>
> This information will be necessary for generating gradle projects for
> Android Studio.
>
> BUG=620034
>
> Committed: https://crrev.com/2bb3a690dc221b8a5dac4c4d99055e69ffe712b8
> Cr-Commit-Position: refs/heads/master@{#403822}

TBR=wnwen@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=620034

Review-Url: https://codereview.chromium.org/2126003002
Cr-Original-Commit-Position: refs/heads/master@{#403939}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 333d257e513ae47c7f4d09895079a6dc6822ec62
2016-07-06 19:30:07 +00:00
thakis 93b4ff4e3f Make sure use_xcode_clang is only used in iOS builds.
BUG=none

Review-Url: https://codereview.chromium.org/2129603002
Cr-Original-Commit-Position: refs/heads/master@{#403935}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7b4b8e2a497c943c4e4e3daad85660849e942b30
2016-07-06 18:35:50 +00:00
agrieve a0b95815c4 Fix java_cpp_template srcjars having .d files and extra path component
Directories within srcjars are supposed to reflect java package names.
The extra path component was making Android Studio unhappy.

BUG=620034

Review-Url: https://codereview.chromium.org/2123003002
Cr-Original-Commit-Position: refs/heads/master@{#403897}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a6e90c933afa77aae92cab39edc89db34cd7455e
2016-07-06 13:43:49 +00:00
agrieve b0d7c1e69e Make Android .build_configs aware of prebuilts and java sources
This information will be necessary for generating gradle projects for
Android Studio.

BUG=620034

Review-Url: https://codereview.chromium.org/2124663002
Cr-Original-Commit-Position: refs/heads/master@{#403822}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2bb3a690dc221b8a5dac4c4d99055e69ffe712b8
2016-07-05 20:16:11 +00:00
agrieve 223e1154bf Provide AndroidManifest.xml to chrome_java to fix UnusedResources warnings
BUG=621770

Review-Url: https://codereview.chromium.org/2113233002
Cr-Original-Commit-Position: refs/heads/master@{#403818}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3528705e8b93d3a070f1d31e2dd355db1c33f52c
2016-07-05 19:50:13 +00:00
agrieve ad837d94e1 Add JinjaProcessor to jinja_template.py to be used by other scripts
Namely, I intend to use this to genererate build.gradle files.

BUG=620034

Review-Url: https://codereview.chromium.org/2121883002
Cr-Original-Commit-Position: refs/heads/master@{#403809}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 16c469908fb03e82f2011128dbc485234439e911
2016-07-05 18:40:32 +00:00
Pawel Hajdan, Jr 039bc276a3 unbundle: add GN files for libpng, libvpx, and re2
BUG=551343
R=jochen@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#403785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f499ac9faf8d6919045f8e6c2c46b2e9d452f714
2016-07-05 16:01:52 +00:00
benwells 088c9e1e82 Remove unused function from base/process
GetAppOutputRestricted is not used anywhere.

BUG=88502

Review-Url: https://codereview.chromium.org/2118583004
Cr-Original-Commit-Position: refs/heads/master@{#403743}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 52162de75f5577f49f11c00ecc706a2b3b52e3c8
2016-07-05 05:42:40 +00:00
agrieve 536d6fe8a0 Have .apk targets copy .mapping file to apks/ directory
This will make them available on builder/tester configurations (they are
within gen/ at the moment). It will also make their location more
obvious for archiving / de-obfuscating purposes.

BUG=none

Review-Url: https://codereview.chromium.org/2117153002
Cr-Original-Commit-Position: refs/heads/master@{#403705}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 19b7958ad4e0214898e8033c1ee908364ab20fb7
2016-07-04 18:38:58 +00:00
sdefresne dbb7de042a Implement "copy_bundle_data" tool without using a python script.
When building Chrome on iOS there are 60000+ copy_bundle_data steps,
so using a python script is slow. Instead re-implement the logic in
pure shell and using hard-links when possible.

Improve the build time of a clobber build by 4.6x (measured on a
Mac Pro using goma with a reduction from 32m24.498s to 7m1.310s
according to "time").

Commands used to time the build:

  $ gn clean out/gn-Debug-iphoneos
  $ time ninja -j 1000 -C out/gn-Debug-iphoneos All_iOS

BUG=621030

Review-Url: https://codereview.chromium.org/2106353004
Cr-Original-Commit-Position: refs/heads/master@{#403696}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d5e358f61f3d6257062cdc6a6ec6a76104273ca7
2016-07-04 16:59:30 +00:00
agrieve b2fcc97df6 Rework Android resource linting to exclude third_party
The existing assumption in the code (that the existense of package name
within android_resource() rules determines whether they should be
linted) turned out to be false.

The new logic does not look at package names, but instead collects all
reference resources, and then excludes any of them that were already
linted by another android_library().

BUG=621774

Review-Url: https://codereview.chromium.org/2113943002
Cr-Original-Commit-Position: refs/heads/master@{#403687}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a12be529fb88039cc3090a83c4fbaaf04e13b144
2016-07-04 15:41:52 +00:00
smaier f17e6358d7 Calculating DexCache size in method_count.py
This is based on
https://cs.corp.google.com/piper///depot/google3/java/com/google/devrel/gmscore/tools/apk/dex/tools/DexCacheSize.java

BUG=None

Review-Url: https://codereview.chromium.org/2110963003
Cr-Original-Commit-Position: refs/heads/master@{#403683}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a019505754ffdccbadaafb17a75a2e321650ae8f
2016-07-04 15:26:02 +00:00
pcc 133a21f90f Enable whole-program vtable opt when CFI is enabled.
Following the roll to clang r273760, the compiler can now support
both of these features simultaneously.

Discussion thread for CFI: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/pbJqt6ccMII/7iJC2oklCAAJ

BUG=464797,580389
R=thakis@chromium.org,krasin@chromium.org

Review-Url: https://codereview.chromium.org/2106313002
Cr-Original-Commit-Position: refs/heads/master@{#403599}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4811641ea017bef631852cc0ac1aa8f7ac85385d
2016-07-02 03:20:27 +00:00
mikecase 76d9f8b4fc [Android] Use PACKAGE_INFO constant from catapult/
The PACKAGE_INFO constant is duplicated between Chromium and
catapult. Grabbing the PACKAGE_INFO from catapult so we only need
to maintain 1 copy.

This needs to be landed after https://codereview.chromium.org/2080883002
which updates the constants in catapult.

BUG=

Review-Url: https://codereview.chromium.org/2086623002
Cr-Original-Commit-Position: refs/heads/master@{#403534}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d41bc3a91a482737e6fe59d85b644ae471566d4c
2016-07-01 21:24:00 +00:00
mikecase d33472928c Added initial classes for WebView Ui Test App.
BUG=

Review-Url: https://codereview.chromium.org/1828093002
Cr-Original-Commit-Position: refs/heads/master@{#403522}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cb1b506e334b580a229861eb1d2c497c6f6d8b72
2016-07-01 20:56:47 +00:00
brucedawson 80847e41e5 Shrink chrome_elf.dll by switching source_sets to static_library
Investigation of why official chrome_elf.dll builds were 86,016 bytes
larger on gn than gyp showed that encryption functions such as
aesni_cbc_encrypt were being pulled in. Deleting the implementations
of these functions from the .asm file caused no errors which proved that
the functions weren't being referenced, they just weren't being
discarded. Changing the yasm_assemble template to use static_library
fixed that and made the file sizes identical.

Comparison of the dia2dump -p output after that change showed there were
still two extra symbols in the gn builds:
  class breakpad::CrashKeysWin * breakpad::CrashKeysWin::keeper_
  __aullrem(__aullrem)

keeper_ is a global variable - those are harder to discard, even with
/Gw - but making its source file part of a static_library fixed it.

link /verbose showed that __aullrem is pulled in by an object file that
is then discarded but I decided that following that trail wasn't worth
it. The file sizes are identical and dumpbin /headers shows that the
.text sections virtual size is just 96 bytes larger in the gn case.

Additional changes of source set to static_library may address the
remaining diffs, but they are not large enough to matter.

TL;DR The linker tries to discard unreferenced symbols but it is not
perfect at doing it, even with /Gw and /Gy. Assembly functions may be
difficult also. Use source_set with care.

BUG=624274

Review-Url: https://codereview.chromium.org/2114783002
Cr-Original-Commit-Position: refs/heads/master@{#403480}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0ab90cb1edf8f08f1fa5d2551aa21cac225163cf
2016-07-01 17:57:31 +00:00
oth 6c58c920f1 [gin] Unify snapshot loading on Windows and other platforms.
Removes extra v8 snapshot and natives validation on Windows. All platforms
have the same validation henceforth.

BUG=501799

Review-Url: https://codereview.chromium.org/2103903002
Cr-Original-Commit-Position: refs/heads/master@{#403430}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 10b5a96b363a6ff23176d27a2e7fb1bba300f089
2016-07-01 09:50:11 +00:00
agrieve 7f2a14e4cb Suppress lint warnings for policy resources
They are unused because they are used by magic.
They are missing translations to save file size
(see http://crbug.com/450548)

BUG=621771

Review-Url: https://codereview.chromium.org/2102183003
Cr-Original-Commit-Position: refs/heads/master@{#403401}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d7e9b95f80ab96881ca7ecb5f6621536aad2743a
2016-07-01 03:44:44 +00:00