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

372 Коммитов

Автор SHA1 Сообщение Дата
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
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 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
jbudorick fb3afa9b08 [Android] Fix emma.jar path used by java binaries.
BUG=604900
TBR=agrieve@chromium.org,hzl@chromium.org

Review-Url: https://codereview.chromium.org/1954893002
Cr-Original-Commit-Position: refs/heads/master@{#391946}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 636ff120efe392e623527a09fb0326401f3cc9aa
2016-05-05 23:27:18 +00:00
brettw 07e0992560 Address some TODO(GYP)s in the GN build.
Some were obsolete, some I implemented in this patch. Some I left as-is if they applied to Mac or iOS.

A few items are TODOs for when transition is complete. I changed these to "TODO(GYP_GONE)"

This patch only addresses ~25% of the build.
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review-Url: https://codereview.chromium.org/1953523002
Cr-Original-Commit-Position: refs/heads/master@{#391943}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f9427f9e3edb7be9bd540bb35b3d3156c08c3df6
2016-05-05 23:20:10 +00:00
yfriedman 95e8f254bb Remove references to 'chrome_build_id'
These were an artifact of meeting licensing requirements in order
to find build artifacts for a deployed chrome.
As of https://codereview.chromium.org/1948503002/ the
code will be entirely open-source so this is unnecessary.
BUG=607207

Review-Url: https://codereview.chromium.org/1940153003
Cr-Original-Commit-Position: refs/heads/master@{#391535}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b4327b53bcdda11fabf73e5c1d791bcfeac98b2
2016-05-04 16:37:32 +00:00
yfriedman 12f3638ceb Upstream targets for building native libraries for chrome/monochrome.
These no longer contain private sources so can be build upstream.
Lots of clean-up and unification remains but this is the first
step to building these targets upstream.
BUG=607207

Review-Url: https://codereview.chromium.org/1948503002
Cr-Original-Commit-Position: refs/heads/master@{#391501}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 561f24772cc36822699e90e7ee3842f7c301b0cb
2016-05-04 14:11:51 +00:00
brettw 41661dd32f GN: forward_variables_from shouldn't clobber vars.
The documentation for forward_variables_from specifies that it will give an error if the variable already exists in the target scope. But this was not implemented. Instead, the value would be silently overwritten.

This change implements the error, and fixes the times this happens in the Linux and Android builds.

Review-Url: https://codereview.chromium.org/1943583002
Cr-Original-Commit-Position: refs/heads/master@{#391136}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0785c950dce7221b10c21e911795e181076b90db
2016-05-03 01:09:10 +00:00
agrieve 6a1c47f9e3 Fix Android arm64 executables not linking in component builds
BUG=none

Review-Url: https://codereview.chromium.org/1934853002
Cr-Original-Commit-Position: refs/heads/master@{#391119}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e9c92506df89b97f9cd0e7f027d178784224e7f0
2016-05-03 00:36:25 +00:00
agrieve 00003eb10d GN: Make instrumentation tests declare their runtime_deps
TBR=vadimsh
BUG=589318

Review-Url: https://codereview.chromium.org/1925013002
Cr-Original-Commit-Position: refs/heads/master@{#390482}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e98a8fbe91dc81f05799389edaca003e29f78d70
2016-04-28 21:10:12 +00:00
agrieve faf907fb75 Don't run android_lint() on targets that have only generated files.
Most notably - foo_apk__java targets.

BUG=none

Review-Url: https://codereview.chromium.org/1926803002
Cr-Original-Commit-Position: refs/heads/master@{#390178}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 24e6283f45ba82deef8011b4b013d63b9c8bc40c
2016-04-27 20:53:51 +00:00
agrieve 328c0ca9ed Make sure Android GN instrumentation test targets expose a _run alias
Required by recipes for GYP compatibility.

BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#390082}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7819534cfb29bb8d80c61668cde8341ffaca3ab3
2016-04-27 15:31:07 +00:00
hzl ab0a34c8bc Enable emma code coverage for JUnit testcases.
After setting emma_coverage as true, and then run JUnit testcases, code
coverage information will be stored in coverage.ec. In order to read
coverage.ec file, you will need to find the corresponding <name>.em file
in out-gn/Debug and then merge the .em and .ec file into a txt or html.

BUG=604900

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

Cr-Original-Commit-Position: refs/heads/master@{#389902}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 071f7c486154a89e15c8b796a8bd0f64573a7096
2016-04-26 21:48:20 +00:00
slan 192ced616b jinja_template should forward "deps" to the underlying action.
Internal Chromecast jinja_template targets need to depend on targets
which generate parameters for the template. Forward "deps" to the
underlying action in order to enforce these dependencies correctly.

BUG= b/28381705

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

Cr-Original-Commit-Position: refs/heads/master@{#389623}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e83bcc73e7f0339971d97a553f7ef29d3a95c2dc
2016-04-26 00:07:10 +00:00
agrieve 3e60b55923 Reland #2 of Generate Android .isolate files used for test()s
Contains fix for ui_base_tests not having data set correctly for android.

TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,apacible@chromium.org
NOTRY=true
BUG=589318
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#389470}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e41ae190dadf81f1561c8cdfd8b308b213817210
2016-04-25 14:14:34 +00:00
agrieve 441c440b71 Revert of Generate Android .isolate files used for test()s (patchset #3 id:200001 of https://codereview.chromium.org/1914573002/ )
Reason for revert:
Broke ui_base_unittests
https://uberchromegw.corp.google.com/i/chromium.linux/builders/Android%20GN/builds/33923/steps/ui_base_unittests/logs/stdio

Original issue's description:
> Reland of Generate Android .isolate files used for test()s
>
> Now uses gen.runtime rather than gen to be included by
> builder/tester configurations.
>
> TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,agrieve@chromium.org
> NOTRY=true
> BUG=589318

TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,apacible@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#389167}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eb5809b120c5ffd941d8f43fa651588fc2af551a
2016-04-22 18:17:04 +00:00
agrieve 35723a0875 Reland of Generate Android .isolate files used for test()s
Now uses gen.runtime rather than gen to be included by
builder/tester configurations.

TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,agrieve@chromium.org
NOTRY=true
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#389148}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5d205baf70287fec693da0166aa7aa8051b5985e
2016-04-22 17:14:44 +00:00
apacible 8818c3bfc1 Revert of Generate Android .isolate files used for test()s (patchset #4 id:60001 of https://codereview.chromium.org/1904823003/ )
Reason for revert:
WebKit Android (Nexus 4) blink_heap_unittests failing:

https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28Nexus4%29/builds/45633

https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28Nexus4%29/builds/45633/steps/blink_heap_unittests/logs/stdio

Original issue's description:
> Generate Android .isolate files used for test()s
>
> Tests use write_runtime_deps to have GN write out all runtime_deps, then
> use a new script "generate_isolate.py" to filter the files and create a
> .isolate.
>
> TBR=vollick
> BUG=589318
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,agrieve@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#389134}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7aba779e901e0901b98a425193f7b829ba29fa1d
2016-04-22 16:33:40 +00:00
agrieve b2ccfb2b84 GN(android) Don't run find.py on build/android/ant/empty/res
Shaves ~250ms off of gn gen.

BUG=484854

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

Cr-Original-Commit-Position: refs/heads/master@{#389107}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f59c773ff52a2a9c0f4a89f5d309c5dce5542aed
2016-04-22 15:10:18 +00:00
agrieve 7b6cac068b Generate Android .isolate files used for test()s
Tests use write_runtime_deps to have GN write out all runtime_deps, then
use a new script "generate_isolate.py" to filter the files and create a
.isolate.

TBR=vollick
BUG=589318
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#389105}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 964da0f3923afb10a52dfe81484d7f3dcb18bad6
2016-04-22 14:58:38 +00:00
hzl 5947ff5bd6 Made --filter-string optional for emma_coverage.
If we set emma_coverage as true, and do not set --filter-string in
args.gn, build will fail because --filter-string is mandatory. In this
cl, I am making --filter-string optional for emma_coverage.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#388413}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a18734145371ec315fb356119e63fb3c0661437
2016-04-20 02:57:27 +00:00
agrieve fafdfbf6b8 Make create_native_executable_dist() mark its dir as data
Should fix breakpad_unittests on GN swarming bot.

BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#388301}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ea3e8c1bada12e5ec3a168561076a94f2513d895
2016-04-19 20:44:29 +00:00
agrieve 321eff88e1 Make the Android test apks depend on their run_ scripts
The dependency should actually be the other way around, but
for compatibility with GYP, it has to go this way.

BUG=599919

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

Cr-Original-Commit-Position: refs/heads/master@{#388126}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b355ad15304acb0a769d76bd634cb5167e62e96f
2016-04-19 03:47:27 +00:00
michaelbai 798b172f15 Refactor gule/BUILD.gn to make merging easy.
The code in the glue directory should be easy to merge from
downstream to upstream, or vice versa.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#387980}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 145f47e8b39e505c8663d73115efb9636256ab3f
2016-04-18 19:17:10 +00:00
agrieve 2c758a2c66 Make Android Lint use interface jars
Speeds it up a bit, and makes linting not run when classpath interface
is not changed.

BUG=604273

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

Cr-Original-Commit-Position: refs/heads/master@{#387945}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 80d741694a3e11f06c21c289121da41f11436809
2016-04-18 17:49:46 +00:00
agrieve cacb1789de Allow Android test wrapper scripts to specify their timeouts in GN/GYP
The aim here is to make local runs use the same timeout as bots.

BUG=599919

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

Cr-Original-Commit-Position: refs/heads/master@{#386696}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3ac557f0d4da0c7fff4b554413bc784c1c63a260
2016-04-12 15:53:07 +00:00
agrieve 727d0e9313 Stop including android lint results in runtime_deps
BUG=593416

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

Cr-Original-Commit-Position: refs/heads/master@{#386679}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b7e031dd50a0381dc25d5c487b8631f886bf079
2016-04-12 14:24:30 +00:00
tsniatowski 13a3732841 Use clang "--target=x" on android to help icecc
Icecc is confused by the two-argument "-target x" form, and decides to compile
everything locally. --target=x makes it happy.

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

Cr-Original-Commit-Position: refs/heads/master@{#386419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e4199397e4c6f32cf6a561e33581d59b5a7a0e9e
2016-04-11 18:26:51 +00:00
mlopatkin 5adfde60fa Properly set up classpath for Android Lint (and fix its stderr filter)
Lint's stderr filter actually was dropping all output of the tool
instead of just single 'Picking up _JAVA_OPTIONS' line. Fixing this
revealed a lot of internal lint errors.

Most of them were CRC errors from interface JARs, so I switched back to
use normal JARs.

Others were internal errors of InvalidPackageName check which was trying
to check Android SDK classes, because these classes were added to
classpath as a jar. It turns out that Lint treats SDK jar differently but
only if it is properly specified. The only way to tell Lint which SDK
jar to use is to create project.properties file (like in old Ant-based
build). So lint.py now accepts SDK version as a command-line argument
and creates dummy project.properties in temporary folder.

BUG=599052

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

Cr-Original-Commit-Position: refs/heads/master@{#386188}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ef5e20f9fe84651ca03fb53ed15910121cedfc0a
2016-04-08 20:28:07 +00:00
agrieve e69c40825c Ensure wrapper scripts are marked as runtime_deps.
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#385828}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 186e41912ca83cb820a2ebf4521457bbfc30d542
2016-04-07 19:14:38 +00:00
tsniatowski a9012310bf Add android_libcpp_lib_dir gn arg
Port android_libcpp_libs_dir from gyp, where it was possible to override
this directory. Allows using a custom libc++ easily.

BUG=359249

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

Cr-Original-Commit-Position: refs/heads/master@{#385679}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 81f01675f95fdf819d374b36234765d7dcb228ab
2016-04-07 06:29:34 +00:00
agrieve d3f0af3c28 Enable support-annotations and android framework lint checks
annotations such as: @IntDef, @MainThread, etc
warnings such as: HandlerLeak, MissingSuperCall, ValidFragment

Problem was that we were not passing lint the classpath.

This change is GN-only since GYP lint warnings fail the build.
Will follow-up with a GYP change once warnings are fixed.

BUG=599052

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

Cr-Original-Commit-Position: refs/heads/master@{#385373}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eb3dd1ad7c04c091faf285aa2f78da0b7cec7a76
2016-04-06 03:14:22 +00:00
agrieve 70d1cc62bb Pass build scripts .interface.jar directly rather than --use-ijars
Also removes logic to create .jar manifests, which was unused.

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#385095}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7aa96bc34a83f1310644658b56f73122dae11452
2016-04-05 03:05:29 +00:00
agrieve 1590c4ca9e Reland 2 of GN: Make breakpad_unittests & sandbox_linux_unittests use test()
This simplifies build rules for native tests, and allows us to get rid
of ${target}_deps targets (once recipes are updated).

This change fixes the generated wrapper scripts, which didn't work.

TBR=jbudorick
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#385084}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 62ab0028a0165eecd60568783531d1ad3d031a26
2016-04-05 02:04:44 +00:00
agrieve 2eba868520 Revert of GN: Make breakpad_unittests & sandbox_linux_unittests use test() (patchset #2 id:200001 of https://codereview.chromium.org/1854733003/ )
Reason for revert:
Still breaking bots:

crbug.com/600342

Original issue's description:
> Reland of GN: Make breakpad_unittests & sandbox_linux_unittests use test()
>
> Reason for revert:
> Now doesn't use obj/ directory
>
> This simplifies build rules for native tests, and allows us to get rid
> of ${target}_deps targets (once recipes are updated).
>
> This change fixes the generated wrapper scripts, which didn't work.
>
> TBR=jorgelo
> BUG=589318
>
> Committed: https://crrev.com/66605a610bce190e818ebfc73913a126c025ffb3
> Cr-Commit-Position: refs/heads/master@{#384658}

TBR=mark@chromium.org,dpranke@chromium.org,jorgelo@chromium.org,jbudorick@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#384949}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e30b022bb758a10e9ecea81d5433bd1e046ccac4
2016-04-04 17:59:31 +00:00
agrieve 58e4671379 Reland of GN: Make breakpad_unittests & sandbox_linux_unittests use test()
Reason for revert:
Now doesn't use obj/ directory

This simplifies build rules for native tests, and allows us to get rid
of ${target}_deps targets (once recipes are updated).

This change fixes the generated wrapper scripts, which didn't work.

TBR=jorgelo
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#384658}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 66605a610bce190e818ebfc73913a126c025ffb3
2016-04-01 19:20:06 +00:00
agrieve e2af76c258 Fix typo in comment: target_out_dir/bin -> root_build_dir/bin
BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#384622}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d65044d6a22eefedfd1cae64877f7c4cd1b5b437
2016-04-01 17:43:58 +00:00
jbudorick fc0931b5f4 Revert of 🍬 GN: Make breakpad_unittests & sandbox_linux_unittests use test() (patchset #8 id:140001 of https://codereview.chromium.org/1841193002/ )
Reason for revert:
breaks both suites on GN, e.g. https://build.chromium.org/p/chromium.android/builders/Lollipop%20Phone%20Tester

Original issue's description:
> GN: Make breakpad_unittests & sandbox_linux_unittests use test()
>
> This simplifies build rules for native tests, and allows us to get rid
> of ${target}_deps targets (once recipes are updated).
>
> This change fixes the generated wrapper scripts, which didn't work.
>
> BUG=589318
>
> Committed: https://crrev.com/638c8c12c9cd5086d4ba8704852cb1167e7b4ae9
> Cr-Commit-Position: refs/heads/master@{#384348}

TBR=mark@chromium.org,dpranke@chromium.org,jorgelo@chromium.org,agrieve@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#384571}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cb514fa85364e415c7ce4f6a8365e78a00fe7dfb
2016-04-01 13:37:59 +00:00
mikecase 90d3957daf Fix errorprone javac path for GN.
BUG=598708

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

Cr-Original-Commit-Position: refs/heads/master@{#384423}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0004417d4afcda9eb26321b778009357ba5ca2b5
2016-03-31 22:47:20 +00:00
agrieve a5cf06e37a GN: Make breakpad_unittests & sandbox_linux_unittests use test()
This simplifies build rules for native tests, and allows us to get rid
of ${target}_deps targets (once recipes are updated).

This change fixes the generated wrapper scripts, which didn't work.

BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#384348}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 638c8c12c9cd5086d4ba8704852cb1167e7b4ae9
2016-03-31 18:53:57 +00:00
agrieve 2f8a3b1f4d Revert of 🍮 GN: Allow android lint to fail builds (patchset #1 id:1 of https://codereview.chromium.org/1848713002/ )
Reason for revert:
Some warnings actually do exist, but bots didn't catch it because lint wasn't being re-run.

Original issue's description:
> GN: Allow android lint to fail builds
>
> This was enabled for GYP in June, but got missed for GN
>
> https://codereview.chromium.org/1190103002
>
> BUG=none
>
> Committed: https://crrev.com/6c2b9752863847c6d1c4db39e5531fe335349afe
> Cr-Commit-Position: refs/heads/master@{#384290}

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

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

Cr-Original-Commit-Position: refs/heads/master@{#384318}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d3ec1468d934cae4e83a3324f8172b0d5339c590
2016-03-31 17:32:30 +00:00
agrieve 71857331e0 GN: Allow android lint to fail builds
This was enabled for GYP in June, but got missed for GN

https://codereview.chromium.org/1190103002

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#384290}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6c2b9752863847c6d1c4db39e5531fe335349afe
2016-03-31 15:54:31 +00:00
jbudorick 707eb9bf7a [cronet] Add an isolate file for cronet_test_instrumentation_apk.
These files are used by QuicTestServer & PkpTest. They're currently handled
as a special case in //build/android/pylib/instrumentation/setup.py that I'd
like to get rid of.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#383232}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e18e7a6d2e1971e9b50b0ca3fe1fc9f17b264193
2016-03-25 03:09:41 +00:00
agrieve d18bb8f9e6 Remove support for DEPRECATED_java_in_dir
BUG=484854

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

Cr-Original-Commit-Position: refs/heads/master@{#383002}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5cb6ce43b7cb7d64d170d91a165910563537d10c
2016-03-24 01:17:58 +00:00
michaelbai 08483e2b15 Support packaging secondary abi native libraries in APK.
BUG=594807

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

Cr-Original-Commit-Position: refs/heads/master@{#382917}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b6fa1bb99d858a511761e8625e2436846c88b440
2016-03-23 20:37:31 +00:00
agrieve cbe2e78872 Reland of Android: Run lint using a cache in the output directory (fix-up)
No longer trying to guess name of cached .bin file.

Previous commit forgot to set --cache-dir for GN.

BUG=583661,597251

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

Cr-Original-Commit-Position: refs/heads/master@{#382871}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 070509bda8b8b74d8963907bd5f79909da043c34
2016-03-23 17:27:52 +00:00
aberent 3d3b7edacc Revert of 🌈 Android: Run lint using a cache in the output directory (fix-up) (patchset #2 id:20001 of https://codereview.chromium.org/1824093002/ )
Reason for revert:
Breaks on Android 64bit unpublished builders

BUG=597251

Original issue's description:
> Android: Run lint using a cache in the output directory (fix-up)
>
> Previous commit forgot to set --cache-dir for GN.
>
> BUG=583661
>
> Committed: https://crrev.com/99748af41ad073389f3f38274a024a830585609c
> Cr-Commit-Position: refs/heads/master@{#382699}

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

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

Cr-Original-Commit-Position: refs/heads/master@{#382838}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 62cc80409b326670a7faafb3db806451fa6cc812
2016-03-23 12:57:36 +00:00
agrieve 2e65d7381c Android: Run lint using a cache in the output directory (fix-up)
Previous commit forgot to set --cache-dir for GN.

BUG=583661

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

Cr-Original-Commit-Position: refs/heads/master@{#382699}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 99748af41ad073389f3f38274a024a830585609c
2016-03-22 22:05:20 +00:00
jbudorick 75acdc80f9 [Android] Run lint using a cache in the output directory.
BUG=583661

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

Cr-Original-Commit-Position: refs/heads/master@{#382306}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c2b563ca5489aaf7579a4b9f389533b7af336187
2016-03-21 16:44:33 +00:00
mnaganov d8ad0cae8b Add a variable indicating the target as Android M or later.
The system linker in Android M and later unpacks packed relocations
directly. This means that we can unconditionally enable relocation
packing for any APK that is explicitly designed to only run on such
Android releases, irrespective of whether or not the chromium or
other customized linker is used.

Invoker indicates this by setting requires_sdk_api_level_23 to true.

BUG=579610

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

Cr-Original-Commit-Position: refs/heads/master@{#381246}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 18d74636c85eb974ef00883f54cb06381ea123f6
2016-03-15 17:45:03 +00:00