Commit Graph

27064 Commits

Author SHA1 Message Date
Evgenii Stepanov
5bd91e69f7 Merge "Pass USE_SAFESTACK to Soong."
am: 00bccf54d4

* commit '00bccf54d4b3847cf54f6507c8fa29eabf26f2e7':
  Pass USE_SAFESTACK to Soong.

Change-Id: I9258135b2debee97b21de27232a7530780a63f5d
2016-05-13 22:33:47 +00:00
Evgenii Stepanov
00bccf54d4 Merge "Pass USE_SAFESTACK to Soong." 2016-05-13 22:24:52 +00:00
Evgenii Stepanov
7f13ab998a Pass USE_SAFESTACK to Soong.
Change-Id: I51a94da0942aa1a1e003c134a30e8da82e1270b8
2016-05-13 14:40:58 -07:00
Ian Rogers
f87e3bb296 Merge "Make Error Prone warnings in sync with Error Prone documenation."
am: 86c3b72d9c

* commit '86c3b72d9c9cb46acd7b8339dc3ce0a2f869fb2f':
  Make Error Prone warnings in sync with Error Prone documenation.

Change-Id: I78b111feb108096a9b38c798dd4ee666a6852797
2016-05-13 18:21:57 +00:00
Ian Rogers
86c3b72d9c Merge "Make Error Prone warnings in sync with Error Prone documenation." 2016-05-13 18:19:18 +00:00
Mohamad Ayyash
09bb85af92 Merge "Use fs_config files for mksquashfs"
am: 4730facd73

* commit '4730facd7399ead0d753d7b588001faf6469e041':
  Use fs_config files for mksquashfs

Change-Id: I3c7c7c618e18598cda56f153d9ac8a988ef85510
2016-05-13 18:16:05 +00:00
Treehugger Robot
4730facd73 Merge "Use fs_config files for mksquashfs" 2016-05-13 18:13:22 +00:00
Ian Rogers
6e52003b54 Make Error Prone warnings in sync with Error Prone documenation.
Use summary information from annotation within Error Prone to auto-generate
the warnings list.

Bug: 28681096
Change-Id: Ib3a5f734bd229726fcd7332eaa9e0e1bd1200c25
2016-05-13 10:18:18 -07:00
Shinichiro Hamaji
505f1eaaa9 Merge "Follow symlinks when using find for assets"
am: 4c4c06016b

* commit '4c4c06016bfe62fde1aaf2fff33d6f6c55f78b89':
  Follow symlinks when using find for assets

Change-Id: I62fc48be86bbbac6e0d2f09e398a4922fe21668a
2016-05-13 05:24:35 +00:00
Shinichiro Hamaji
4c4c06016b Merge "Follow symlinks when using find for assets" 2016-05-13 05:20:05 +00:00
Mohamad Ayyash
465acf8631 Use fs_config files for mksquashfs
BUG: 27467028
Change-Id: I7648030ad4b31d70a5d439e9552fd2cbfe288b74
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
BUG: 28704419
2016-05-12 18:44:48 -07:00
Dan Willemsen
bcbba61a25 Merge "Read Soong-exported configuration"
am: c7b610a67e

* commit 'c7b610a67ebff333cede41d5f336165485c9ae5d':
  Read Soong-exported configuration

Change-Id: I0890077c980e0e9d863809bc02fbb8e2f5aa8018
2016-05-13 01:40:48 +00:00
Dan Willemsen
c7b610a67e Merge "Read Soong-exported configuration" 2016-05-13 01:36:28 +00:00
Dan Willemsen
f8c5eac739 Merge "Use product-specific Soong outputs"
am: f100d01dd5

* commit 'f100d01dd5dde712a19bd75f8f6895b21641bd62':
  Use product-specific Soong outputs

Change-Id: I530778730be7424be3d3fbe88fd65fc70d2a0d12
2016-05-12 20:43:47 +00:00
Dan Willemsen
8b999ac63d Read Soong-exported configuration
This is to ensure that Make and Soong agree on configuration variables
like TARGET_GLOBAL_CFLAGS. Only a few variables are actually checked
currently until we make more actually the same.

Bug: 23566674
Change-Id: Ibede43d933ede4d470e182f9490ea6ec4ef52fbc
2016-05-12 13:36:33 -07:00
Dan Willemsen
f100d01dd5 Merge "Use product-specific Soong outputs" 2016-05-12 20:33:05 +00:00
Alex Klyubin
2c7da1d5c7 Merge "Offer an ApkSignerEngine implementation."
am: 6975f03fd8

* commit '6975f03fd8b65c294a08ebc40be7da871e9e74d7':
  Offer an ApkSignerEngine implementation.

Change-Id: I7ab04e1e9699219bb5204c2b656b47583a399e31
2016-05-12 18:45:58 +00:00
Alex Klyubin
6975f03fd8 Merge "Offer an ApkSignerEngine implementation." 2016-05-12 18:43:08 +00:00
Alex Klyubin
e305f45f00 Offer an ApkSignerEngine implementation.
This adds an implementation of ApkSignerEngine to the apksigner-core
library.

Bug: 27461702
Change-Id: I5f977b98555ca507a0dfcd3e92eecb9758aa8370
2016-05-12 10:56:06 -07:00
Shinichiro Hamaji
d8f9f7d873 Follow symlinks when using find for assets
This should have been done in
https://android-review.googlesource.com/#/c/43901/

Bug: 27954979
Change-Id: I663b5e87e0d844d37a59e404219ff5e7e364df74
2016-05-12 18:17:02 +09:00
Shinichiro Hamaji
eac63ed087 Merge "Correct some dependencies around zip packages"
am: b6f2c8fac8

* commit 'b6f2c8fac8246ed7e6a1d25bf9cc0e658504813a':
  Correct some dependencies around zip packages

Change-Id: I59e2597e955e69a35edbd0fa13bb1eb4d076b456
2016-05-12 02:20:36 +00:00
Shinichiro Hamaji
b6f2c8fac8 Merge "Correct some dependencies around zip packages" 2016-05-12 02:06:42 +00:00
Wei Wang
a22d0a88ba Merge "Include BRILLO_VENDOR_PARTITIONS in target zip generation"
am: 648ea82b04

* commit '648ea82b048a83dfcc68aa3419523502b3a1485f':
  Include BRILLO_VENDOR_PARTITIONS in target zip generation

Change-Id: I9aa55d82d8121b66dd853cf434b2a68b4dbbab68
2016-05-11 21:57:08 +00:00
Chih-Hung Hsieh
16af95b4a5 Merge "Add misc-macro-parentheses to default tidy checks."
am: a55b7ec4c3

* commit 'a55b7ec4c38f5de172d51e805215505196c7702d':
  Add misc-macro-parentheses to default tidy checks.

Change-Id: I2e93d50500ee3c6746aa805f0f6b268c07687c7f
2016-05-11 21:57:03 +00:00
Treehugger Robot
648ea82b04 Merge "Include BRILLO_VENDOR_PARTITIONS in target zip generation" 2016-05-11 21:49:56 +00:00
Treehugger Robot
a55b7ec4c3 Merge "Add misc-macro-parentheses to default tidy checks." 2016-05-11 21:44:21 +00:00
Chih-Hung Hsieh
e1ea9434c1 Add misc-macro-parentheses to default tidy checks.
* Disable this check in external projects.

Bug: 28705665
Change-Id: Ia44a15765fd637dae36b5e0f2b59ee4280b139c9
2016-05-11 13:43:11 -07:00
Chih-Hung Hsieh
a2c8976011 Merge "Fix misc-macro-parentheses warnings."
am: bc0ab6d133

* commit 'bc0ab6d1337802a52d2ba07897d58085f128857d':
  Fix misc-macro-parentheses warnings.

Change-Id: I3b3d4d2cdcc9e26bdf8cf6cb8586f333421a2a81
2016-05-11 20:39:19 +00:00
Chih-hung Hsieh
bc0ab6d133 Merge "Fix misc-macro-parentheses warnings." 2016-05-11 20:30:47 +00:00
Wei Wang
2e735ca34e Include BRILLO_VENDOR_PARTITIONS in target zip generation
This change will enable the target zip to include partition defined in
BRILLO_VENDOR_PARTITIONS. This is necessary for OTA to support
partitions other than boot and system in ab_partitions.txt.

The target zip will include images in BRILLO_VENDOR_PARTITIONS if
defined, under VENDOR_IMAGES/ with path kept. Also any vendor partitions
defined in AB_OTA_PARTITIONS will be copied to IMAGES/ in the target zip.

BUG: 28623063
Change-Id: Ic479048dfb8ac506acf827865e784fcb0432a1d5
2016-05-11 12:26:04 -07:00
Ian Rogers
086e70d0c9 Merge "Add code search links to warnings."
am: adf2141b66

* commit 'adf2141b665ed2329c5f417acbaba56adb8d2240':
  Add code search links to warnings.

Change-Id: I249d561788480a2cb0cb532a00cb95bd478fbe2a
2016-05-11 19:16:31 +00:00
Ian Rogers
adf2141b66 Merge "Add code search links to warnings." 2016-05-11 19:07:36 +00:00
Chih-Hung Hsieh
f536e7ba34 Fix misc-macro-parentheses warnings.
Add parentheses around macro arguments used beside binary operators.

Bug: 28705665
Change-Id: I8594b9463e2389a46d6e0235757b93de065cd007
2016-05-11 11:55:33 -07:00
Shinichiro Hamaji
ee2d21195c Correct some dependencies around zip packages
Add scripts which creates these packages to their dependencies.
$(SYMBOLS_ZIP) contains symbol info of the updater binary so
it should depend on it.

Bug: 27954979
Change-Id: If78746ec843dd57fe5fdda3ed504a12bb298ea1d
2016-05-12 02:07:56 +09:00
Wei Wang
b1963b65a4 Merge "Revert "Include vendor partitions in target zip generation""
am: 7ff7c2d870

* commit '7ff7c2d8709bf1f8fa6e6d8350dcea63f1a9b3e8':
  Revert "Include vendor partitions in target zip generation"

Change-Id: I76559ad1211a38eecd7b15ec1a4b5ca5bd3f6914
2016-05-11 15:18:42 +00:00
Tao Bao
7ff7c2d870 Merge "Revert "Include vendor partitions in target zip generation"" 2016-05-11 15:11:57 +00:00
Wei Wang
05e6f679e6 Revert "Include vendor partitions in target zip generation"
This reverts commit 421fe44ae8.

Change-Id: Id45781de73735783bc7dfb6fc2838957578d00d3
2016-05-11 14:49:50 +00:00
Dan Willemsen
57aa920ddb Use product-specific Soong outputs
This way, when switching between two products, we don't need to re-run
kati.

Change-Id: I0a8b3b49f1b76d9e120ea93bb5d2aa06cd189679
2016-05-11 00:40:43 -07:00
Ian Rogers
f382973250 Add code search links to warnings.
Add argument parsing using the argparse library.
Make HTML easier to read by adding a \n after each table row.

Change-Id: I6b745fc60afb96fb51e5f69df7d607b5fb8da0e5
2016-05-10 22:36:38 -07:00
Wei Wang
eb06b4d3b3 Merge "Include vendor partitions in target zip generation"
am: bb05fd768c

* commit 'bb05fd768c49273a6cdf49eb2889c608b36ba41d':
  Include vendor partitions in target zip generation

Change-Id: Ib46cc59880ae1b30f97c98b8d2abbefcd0851a7e
2016-05-11 02:24:24 +00:00
Treehugger Robot
bb05fd768c Merge "Include vendor partitions in target zip generation" 2016-05-11 02:18:58 +00:00
Dan Willemsen
f51e73d8bf Merge "Add a 32-bit x86_64 arch variant"
am: 19b7692496

* commit '19b76924969de45f77334a5e7d86b22362a8d845':
  Add a 32-bit x86_64 arch variant

Change-Id: Ia2d708a0d2159d39cafbbf9589e2c4d296e3ffb1
2016-05-11 00:46:42 +00:00
Dan Willemsen
19b7692496 Merge "Add a 32-bit x86_64 arch variant" 2016-05-11 00:35:59 +00:00
Dan Willemsen
180d60a086 Merge "Do not apply -Wl,--fix-cortex-a8 to Cortex-A9"
am: 3027e5fca9

* commit '3027e5fca982bc64e66366a2cbe965238536a395':
  Do not apply -Wl,--fix-cortex-a8 to Cortex-A9

Change-Id: I14eaefd54c3beebe3fe8c948fe22dce5de2c42f5
2016-05-10 23:39:55 +00:00
Treehugger Robot
3027e5fca9 Merge "Do not apply -Wl,--fix-cortex-a8 to Cortex-A9" 2016-05-10 23:34:01 +00:00
Dan Willemsen
9826900aea Do not apply -Wl,--fix-cortex-a8 to Cortex-A9
Change-Id: I11d380163423cb4aa0fee60ecbaa1e38fa5143a1
2016-05-10 15:36:58 -07:00
Ian Rogers
02c316e982 Merge "Add error prone patterns to warn.py"
am: 620cbb1652

* commit '620cbb165243f764435cea8ba57786c6c627c600':
  Add error prone patterns to warn.py

Change-Id: I0aebf407151acf8389eb0947895a3c0d2d53c189
2016-05-10 22:11:37 +00:00
Ian Rogers
620cbb1652 Merge "Add error prone patterns to warn.py" 2016-05-10 22:03:23 +00:00
Dan Willemsen
04aa521eca Add a 32-bit x86_64 arch variant
The current 32-bit configuration for generic x86_64 targets inherits some
variables (SSE4 support) from the 64-bit configuration, and overrides
the make variables used for other configurations (SSSE3). Ideally, these
would be using different variables, but until then, unify the
configuration for x86_64 targets so that everything is consistent.

Bug: 28694691
Change-Id: I47e67299d4c632e7491d7e73dc0fc6480ef08006
2016-05-10 14:15:41 -07:00
Ian Rogers
32bb9bd03a Add error prone patterns to warn.py
Bug: 28681096

(cherry picked from commit df79adacab)
Change-Id: I06ac0ed4593b03cea0a8163ca85e393ff1358855
2016-05-10 13:54:36 -07:00