Commit Graph

37084 Commits

Author SHA1 Message Date
George Burgess IV 37f6f8181f Merge "make: add __clang_analyzer__ to clang-tidy" am: 57273013cf am: c352502062
am: 9b802e745d

Change-Id: I8432d19ee7d65e2aa4ffb99ada989a57d8bb15c8
2017-05-10 04:59:02 +00:00
George Burgess IV 9b802e745d Merge "make: add __clang_analyzer__ to clang-tidy" am: 57273013cf
am: c352502062

Change-Id: I33bf49999f64af520090dada1b4759d5bc073f66
2017-05-10 04:53:58 +00:00
George Burgess IV c352502062 Merge "make: add __clang_analyzer__ to clang-tidy"
am: 57273013cf

Change-Id: Iea1d4ded4dc9e2d5d461358cf5c6cff6dcb68bfd
2017-05-10 04:48:31 +00:00
Treehugger Robot 57273013cf Merge "make: add __clang_analyzer__ to clang-tidy" 2017-05-10 04:34:42 +00:00
Dan Willemsen 0d1967d571 Merge changes Id0d167e6,I290a02b0 am: 90573e75a8 am: 9efa174836
am: a4d4cf335c

Change-Id: Ia59d32b0d533c4d37ac6f8950fbfb179c34b5db3
2017-05-10 02:52:21 +00:00
Dan Willemsen a4d4cf335c Merge changes Id0d167e6,I290a02b0 am: 90573e75a8
am: 9efa174836

Change-Id: I2dc62da1b90c68a0ae53333f063e3684619e9cbf
2017-05-10 02:46:50 +00:00
Dan Willemsen 9efa174836 Merge changes Id0d167e6,I290a02b0
am: 90573e75a8

Change-Id: I352aa1d12fdf76b41b8fb9e7341707d7fbeec764
2017-05-10 02:36:20 +00:00
Treehugger Robot 90573e75a8 Merge changes Id0d167e6,I290a02b0
* changes:
  Clean LOCAL_RESOURCE_DIR paths
  Implement clean-path
2017-05-10 02:22:17 +00:00
Vishwath Mohan c20272d7ac Merge "Selectively add _asan flavor suffix." am: e5143608df am: faea53a89b
am: 8b4eaf5562

Change-Id: I9cf0694a66452109a56c693747e9e864af93b594
2017-05-10 00:25:06 +00:00
Vishwath Mohan 8b4eaf5562 Merge "Selectively add _asan flavor suffix." am: e5143608df
am: faea53a89b

Change-Id: I15293b3a98a54592027afd87f6b880a66ec340a3
2017-05-10 00:20:01 +00:00
Vishwath Mohan faea53a89b Merge "Selectively add _asan flavor suffix."
am: e5143608df

Change-Id: I1db40b92af1e23ea84bc2ec0876e6521c79f8836
2017-05-10 00:15:08 +00:00
Treehugger Robot e5143608df Merge "Selectively add _asan flavor suffix." 2017-05-09 23:52:24 +00:00
Jeff Sharkey 1d4ee77843 Have doclava emit meaningful stack traces.
am: cada716b78

Change-Id: I2e13b7632e942763bb7a23c7e1f75c28bf602dae
2017-05-09 23:08:42 +00:00
Jeff Sharkey cada716b78 Have doclava emit meaningful stack traces.
This flag enables stack traces when invoking doclava, which were
otherwise being truncated to simply be the exception name, which was
useless for debugging things.

Test: make -j32 online-system-api-sdk-docs
Bug: 38164929
Change-Id: Ie281e2b2ed988bb6d587af33256fcdee1450fc79
2017-05-09 11:44:33 -06:00
Vishwath Mohan 9ebc278f91 Selectively add _asan flavor suffix.
This CL ensures that the _asan suffix is added to the build flavor
only when it doesn't already contain _asan (or _asan_coverage). This
correctly prevents it from appending an extra _asan to ASAN lunch
configs that already include it in the flavor, while allowing
sanitized targets for generic configs to behave as they used to.

Bug: 38145756
Test: _asan is correctly appended only for lunch configs that don't
already specify it in the build flavor.

Change-Id: Ia7d9356f717b97d1c64e3237ca31cc507f27734f
2017-05-09 09:54:49 -07:00
Nicolas Geoffray cbd21b105c Merge "Pass --force-determinism to prebuilts." am: a65a41dcdb am: 5ebe0370bd
am: c120d8aa13

Change-Id: I6c23bc160c4d95335ee191efae13ee876eba06d0
2017-05-08 09:41:21 +00:00
Nicolas Geoffray c120d8aa13 Merge "Pass --force-determinism to prebuilts." am: a65a41dcdb
am: 5ebe0370bd

Change-Id: I1bfa10a47babf096e56d879fa847285f1fda0200
2017-05-08 09:37:19 +00:00
Nicolas Geoffray 5ebe0370bd Merge "Pass --force-determinism to prebuilts."
am: a65a41dcdb

Change-Id: Ia8bc6073bbf4872a94ea31a3ffd0e4f0e6dd898d
2017-05-08 09:34:19 +00:00
Nicolas Geoffray a65a41dcdb Merge "Pass --force-determinism to prebuilts." 2017-05-08 09:29:55 +00:00
Dan Willemsen fa7ecfb752 Clean LOCAL_RESOURCE_DIR paths
With LOCAL_USE_AAPT2, resource directories like a/b/../res cause
problems, since ninja will canonicalize the path before creating the
intermediate resource directory, so it creates <intermediates>/a/res
while we give AAPT2 <intermediates>/a/b/../res, which fails to open.

Bug: 37716307
Test: Switch LOCAL_USE_AAPT2:=true for TelecommUnitTests, mma
Test: lunch aosp_marlin-userdebug; m -j
Change-Id: Id0d167e68185a119390e7b7e3c344895e77ca0e3
2017-05-05 20:50:54 -07:00
Dan Willemsen 5ec6bbc3d5 Implement clean-path
We shouldn't give non-clean paths to tools -- if a/b/../file was
specified, we can simplify that path to a/file, and not need to create
a/b just to make the path name work.

The testcases come from golang's filepath.Clean tests, this should be
compatible with that implementation.

Bug: 37716307
Test: TEST_MAKE_clean_path=true m -j blueprint_tools
Change-Id: I290a02b0a1e4a7c2b9255bca3c881589b521c402
2017-05-05 20:50:47 -07:00
Colin Cross e3940b50f4 Merge "Export OVERRIDE_RS_DRIVER to soong" am: 52d6a0d4cb am: 193f1ed30c
am: 1e4058d6f4

Change-Id: I47d9da0e5597f4daabbd313fc2ffceae6e237834
2017-05-06 01:29:04 +00:00
Colin Cross 1e4058d6f4 Merge "Export OVERRIDE_RS_DRIVER to soong" am: 52d6a0d4cb
am: 193f1ed30c

Change-Id: I1aaaa6ee0c0564348bc333c6e379441b82eecedd
2017-05-06 01:27:00 +00:00
Colin Cross 193f1ed30c Merge "Export OVERRIDE_RS_DRIVER to soong"
am: 52d6a0d4cb

Change-Id: Ia884226f2373a7efaa8e80289859850540af488f
2017-05-06 01:24:59 +00:00
Treehugger Robot 52d6a0d4cb Merge "Export OVERRIDE_RS_DRIVER to soong" 2017-05-06 01:19:44 +00:00
Tao Bao f5b5e5c378 Merge "releasetools: Add a verbose parameter to common.Run()." am: a149a83e24 am: 7d887baf42
am: 9464b0722d

Change-Id: I9f8aa72e347cbf744318242220b245e3a3ee308d
2017-05-05 23:21:57 +00:00
Tao Bao 9464b0722d Merge "releasetools: Add a verbose parameter to common.Run()." am: a149a83e24
am: 7d887baf42

Change-Id: I00d3fc2ca4f54f9cd3680a091a7d8f0843a8d4b7
2017-05-05 22:52:51 +00:00
Tao Bao 7d887baf42 Merge "releasetools: Add a verbose parameter to common.Run()."
am: a149a83e24

Change-Id: I81c80a0865186b3c56acfc81ef20c7dd19fe9e5e
2017-05-05 22:46:21 +00:00
Tao Bao a149a83e24 Merge "releasetools: Add a verbose parameter to common.Run()." 2017-05-05 22:29:52 +00:00
Colin Cross 7932f9bc5d Export OVERRIDE_RS_DRIVER to soong
Test: examine RS cflags
Change-Id: I0c1cc54f3f7f860895322d2825c7168c93a84ef5
2017-05-05 15:22:33 -07:00
TreeHugger Robot cdc11710df Merge "Remove redundant dependencies" into oc-dev-plus-aosp 2017-05-05 18:21:47 +00:00
Thierry Strudel fe9f539929 Merge "core/Makefile: add AVBTOOL deps to boot.img for BOARD_AVB_ENABLE" am: e3f07c2adb am: c10b033077
am: 21e6dba8fa

Change-Id: I3828790ad83e2eb3a3c97430bde5791875a13787
2017-05-04 22:43:12 +00:00
Thierry Strudel 21e6dba8fa Merge "core/Makefile: add AVBTOOL deps to boot.img for BOARD_AVB_ENABLE" am: e3f07c2adb
am: c10b033077

Change-Id: I8726d4f35bf9bc5272c01ee6cc2cf332df8ebfad
2017-05-04 22:39:42 +00:00
Thierry Strudel c10b033077 Merge "core/Makefile: add AVBTOOL deps to boot.img for BOARD_AVB_ENABLE"
am: e3f07c2adb

Change-Id: I37752bb4bf34bc0126128b152e3e699f6da6d163
2017-05-04 22:37:11 +00:00
Treehugger Robot e3f07c2adb Merge "core/Makefile: add AVBTOOL deps to boot.img for BOARD_AVB_ENABLE" 2017-05-04 22:31:22 +00:00
Steven Moreland 2b0022809d Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I2f13ad8151deff77850c4e18f6c84e2e55ba52d3
(cherry picked from commit c96c1de869)
2017-05-04 21:55:43 +00:00
TreeHugger Robot fb2454a3fb Merge "Remove redundant dependencies" into oc-dev-plus-aosp 2017-05-04 21:11:32 +00:00
Thierry Strudel d7bd1f216f core/Makefile: add AVBTOOL deps to boot.img for BOARD_AVB_ENABLE
Bug: 37960599
Test: 'make bootimage' works when BOARD_AVB_ENABLE is true
Change-Id: I02c2fa16c9df988fbe1e1d6cd13a62278fedea45
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-04 14:00:50 -07:00
Yifan Hong debfef462e Merge "Only checks compatibility for VINTF XMLs when PRODUCT_FULL_TREBLE" into oc-dev
am: e3dc10aba7

Change-Id: I41f15f258ff3be5310b3e4580b40257dcba442aa
2017-05-04 19:19:29 +00:00
TreeHugger Robot e3dc10aba7 Merge "Only checks compatibility for VINTF XMLs when PRODUCT_FULL_TREBLE" into oc-dev 2017-05-04 19:14:10 +00:00
Tao Bao 39451582c4 releasetools: Add a verbose parameter to common.Run().
Caller can optionally specify the verbose flag which overrides
OPTIONS.verbose. The command line won't be outputed with verbose=False.
This is useful for cases that a) those command lines are less useful
(but will spam the output otherwise); b) sensitive info is part of the
invocation.

'verbose=False' will be consumed by common.Run() only, instead of being
passed to subprocess.Popen().

Test: ota_from_target_files.py on a block based OTA.
Change-Id: I7d5b4094d756a60f84f89c6a965e7ccc68e435f8
2017-05-04 11:18:56 -07:00
Steven Moreland 0caf69d72d Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I69f280c36533ce13d5f3b3f2b2eb8d969982cb50
(cherry picked from commit b586105307)
2017-05-04 15:24:51 +00:00
Nicolas Geoffray 124313d2e1 Merge "Remove obsolete pm.dexopt properties." into oc-dev
am: 64abb10c60

Change-Id: I660f7b85efc77e7cabe3fabf84cc9416b2e8c0b6
2017-05-04 10:53:22 +00:00
TreeHugger Robot 64abb10c60 Merge "Remove obsolete pm.dexopt properties." into oc-dev 2017-05-04 10:47:05 +00:00
Andreas Gampe 0d32327f3e Merge changes Idf48f45f,Id2a72fe7,If83e1df2 am: 2be7eb9161 am: 42ecd83de6
am: 6e43153ffd

Change-Id: I83e62e023e922a5283b0c70aaa403241bdeeae83
2017-05-04 04:56:59 +00:00
Andreas Gampe 6e43153ffd Merge changes Idf48f45f,Id2a72fe7,If83e1df2 am: 2be7eb9161
am: 42ecd83de6

Change-Id: I18add815f97c66b12b7e604112287fed5a18278c
2017-05-04 04:54:00 +00:00
Andreas Gampe 42ecd83de6 Merge changes Idf48f45f,Id2a72fe7,If83e1df2
am: 2be7eb9161

Change-Id: Ie5836fda3e432aacea66c1b63cb3a87fac439068
2017-05-04 04:51:01 +00:00
Treehugger Robot 2be7eb9161 Merge changes Idf48f45f,Id2a72fe7,If83e1df2
* changes:
  Build: Disable leak sanitizer for ijar
  Build: Disable leak sanitizer for llvm-rs-cc
  Build: Disable leak sanitizer for aapt
2017-05-04 04:47:04 +00:00
George Burgess IV 5ab07d4f14 make: add __clang_analyzer__ to clang-tidy
We have code that acts slightly differently when the static analyzer is
running, so that it can produce more accurate diagnostics (e.g. less
false positives). It uses __clang_analyzer__ to detect the static
analyzer.

When the static analyzer is run via clang-tidy, __clang_analyzer__
doesn't get defined.

Bug: None
Test: WITH_TIDY=1 m. clang-tidy now acts as expected in code made for
the static analyzer

Change-Id: Ib2a815c0bd67553af465b64207bb480fb52cfaf8
2017-05-03 18:10:47 -07:00
Ian Pedowitz f94c2ef58b Merge "Revert "O is API 26."" into oc-dev
am: 6f93dd52b2

Change-Id: I0a1678c8f4060df7fe07c57f062bc446cdeebdcf
2017-05-04 00:16:51 +00:00