Commit graph

33333 commits

Author SHA1 Message Date
Clay Murphy
7261bca1cf Merge "Update droiddoc templates for build/make move" am: f8d8458edd am: 69c640cb2b -s ours am: 9c2064634b
am: 1463103b0d

Change-Id: I10805e548cd9bb885f596bdcdf4549c5205f1eac
2016-10-12 19:28:53 +00:00
Dan Willemsen
da411fc766 Merge "Update droiddoc templates for build/make move" into nyc-dev-plus-aosp am: 75e3c0aedf
am: 5f3b889f19

Change-Id: I6b0b015f31b910f47209ff399abe45552e8e9856
2016-10-12 19:28:38 +00:00
Dan Willemsen
d95f90b7fa Update droiddoc templates for build/make move am: 0f40bafa96
am: a62ff78df4

Change-Id: Ide8cff8175defb1df783ae0f2b8091eceb9b195e
2016-10-12 19:28:24 +00:00
Clay Murphy
1463103b0d Merge "Update droiddoc templates for build/make move" am: f8d8458edd am: 69c640cb2b -s ours
am: 9c2064634b

Change-Id: I650ab11b316e88e71ee610eeac8c855aaa5c8a84
2016-10-12 19:22:13 +00:00
Dan Willemsen
5f3b889f19 Merge "Update droiddoc templates for build/make move" into nyc-dev-plus-aosp
am: 75e3c0aedf

Change-Id: Ic3db5168184b31f244fafdd9f05eda463879d2c9
2016-10-12 19:21:53 +00:00
Dan Willemsen
a62ff78df4 Update droiddoc templates for build/make move
am: 0f40bafa96

Change-Id: I74f5c5bb84c5a748ea38e6c8015dce8ecc269aaa
2016-10-12 19:21:52 +00:00
Clay Murphy
9c2064634b Merge "Update droiddoc templates for build/make move" am: f8d8458edd
am: 69c640cb2b  -s ours

Change-Id: I99ce073a3f20b221f6072f63144545d0b00abc1b
2016-10-12 19:15:25 +00:00
Dan Willemsen
75e3c0aedf Merge "Update droiddoc templates for build/make move" into nyc-dev-plus-aosp 2016-10-12 19:11:19 +00:00
Andreas Gampe
d9a8c65ac0 Merge "Build: add preloaded-classes and compiled-classes dependency" am: a0d201bd9a am: bc166c799d am: b47c19599c
am: 7581601b31

Change-Id: Ia21f659163f41f45678dab30187d9ab356ea61cb
2016-10-12 19:01:23 +00:00
Andreas Gampe
7581601b31 Merge "Build: add preloaded-classes and compiled-classes dependency" am: a0d201bd9a am: bc166c799d
am: b47c19599c

Change-Id: Ia82f7ccac2a8df505e2199baf62de5e1556a35ca
2016-10-12 18:54:22 +00:00
Andreas Gampe
b47c19599c Merge "Build: add preloaded-classes and compiled-classes dependency" am: a0d201bd9a
am: bc166c799d

Change-Id: I38dc9783c694c82593e7056707a09e520a789aeb
2016-10-12 18:47:52 +00:00
Clay Murphy
69c640cb2b Merge "Update droiddoc templates for build/make move"
am: f8d8458edd

Change-Id: I5b803a789b8695f5f5b8776e634c13c290c91c71
2016-10-12 18:41:35 +00:00
Andreas Gampe
bc166c799d Merge "Build: add preloaded-classes and compiled-classes dependency"
am: a0d201bd9a

Change-Id: I28bee3466ab8710ada8d5e6068cdda9fdb1dc3d1
2016-10-12 18:41:22 +00:00
Clay Murphy
f8d8458edd Merge "Update droiddoc templates for build/make move" 2016-10-12 18:34:23 +00:00
Treehugger Robot
a0d201bd9a Merge "Build: add preloaded-classes and compiled-classes dependency" 2016-10-12 18:30:11 +00:00
Dan Willemsen
0f40bafa96 Update droiddoc templates for build/make move
Since build/ was moved to build/make/, the droiddoc templates now need
another ../ to reach the android root.

Test: m online-sac-docs
Change-Id: I2393f6c791df9b67ccafb4eb047fd8ccc52481cb
2016-10-12 10:35:53 -07:00
Chih-Hung Hsieh
541c280f64 Merge "Better pattern matching and dump of warning messages." am: 6949e7ecba am: 1a876e215b am: fbb1b890fa
am: 71155edd09

Change-Id: I9a7deffadcd83a042ef1c634450d5dcd8c3ce08d
2016-10-12 17:05:59 +00:00
Chih-Hung Hsieh
f97b719032 Merge "Normalize warning source file path to relative path." am: eb2f711528 am: d4b0a20c01 am: b4a26ee48f
am: ae1a5c973b

Change-Id: Ie54d9f1599df0929316e45ec01aec835754a951d
2016-10-12 17:05:46 +00:00
Chih-Hung Hsieh
71155edd09 Merge "Better pattern matching and dump of warning messages." am: 6949e7ecba am: 1a876e215b
am: fbb1b890fa

Change-Id: Icaff358e282166c635c3ac2edd3297547c32cf6d
2016-10-12 16:59:33 +00:00
Chih-Hung Hsieh
ae1a5c973b Merge "Normalize warning source file path to relative path." am: eb2f711528 am: d4b0a20c01
am: b4a26ee48f

Change-Id: I9fa7bdf12f86f65259409a1dc0735ab455ea6320
2016-10-12 16:59:19 +00:00
Chih-Hung Hsieh
fbb1b890fa Merge "Better pattern matching and dump of warning messages." am: 6949e7ecba
am: 1a876e215b

Change-Id: Ieeb9fe468a12aeb532f35ede9879f3968441709d
2016-10-12 16:52:01 +00:00
Chih-Hung Hsieh
b4a26ee48f Merge "Normalize warning source file path to relative path." am: eb2f711528
am: d4b0a20c01

Change-Id: I16d7425b3a933596c06ee7acdf396b0b2b37a483
2016-10-12 16:51:46 +00:00
Chih-Hung Hsieh
1a876e215b Merge "Better pattern matching and dump of warning messages."
am: 6949e7ecba

Change-Id: Ib643d3e03eb22ec4929054d4ab8542dd62b8963b
2016-10-12 16:44:57 +00:00
Chih-Hung Hsieh
d4b0a20c01 Merge "Normalize warning source file path to relative path."
am: eb2f711528

Change-Id: I8d86fc1c82c65387b50bba8374fce8ecbb98a80b
2016-10-12 16:44:44 +00:00
Andreas Gampe
da6ddc4086 Build: add preloaded-classes and compiled-classes dependency
Make the ART boot image compilation rule depend on the files
influencing the layout and contents of the image. Required for
incremental builds.

Bug: 32107291
Test: m
Test: echo "android.util.MutableChar" >> frameworks/base/compiled-classes-phone && m
Test: rm frameworks/base/compiled-classes-phone && m
Change-Id: I7b7438672460d8d9d2c8b08b8e7c3cbde8d07a1a
2016-10-12 09:35:39 -07:00
Treehugger Robot
6949e7ecba Merge "Better pattern matching and dump of warning messages." 2016-10-12 16:35:34 +00:00
Treehugger Robot
eb2f711528 Merge "Normalize warning source file path to relative path." 2016-10-12 16:34:05 +00:00
Dan Willemsen
82be5468c3 Update droiddoc templates for build/make move
Since build/ was moved to build/make/, the droiddoc templates now need
another ../ to reach the android root.

Test: m online-sac-docs
Change-Id: I2393f6c791df9b67ccafb4eb047fd8ccc52481cb
2016-10-12 00:10:33 -07:00
Jeff Sharkey
2b1776cd04 Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd am: a35fba1954 am: 7f5ac24eec
am: 3f391240d5

Change-Id: I2fc6a644e0dbc90ace58470b468be4e994531eeb
2016-10-12 01:41:23 +00:00
Jeff Sharkey
3f391240d5 Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd am: a35fba1954
am: 7f5ac24eec

Change-Id: Ia038eb10af41c7403a04e9e5411700cd86079640
2016-10-12 01:35:52 +00:00
Jeff Sharkey
7f5ac24eec Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd
am: a35fba1954

Change-Id: Id89be8d1c14a7d93c1946d7c3ec096fc9b20e231
2016-10-12 01:29:22 +00:00
Jeff Sharkey
a35fba1954 Merge "PRODUCT_PACKAGES: add to tune2fs."
am: 4337794acd

Change-Id: I156f1cb5ccd377785f77399e005bcfab10b5c3b3
2016-10-12 01:23:22 +00:00
Jeff Sharkey
4337794acd Merge "PRODUCT_PACKAGES: add to tune2fs." 2016-10-12 01:16:33 +00:00
Chih-Hung Hsieh
bab0488828 Add -Werror to compile warning free projects.
* Add -Werror if LOCAL_PATH is in the WARNING_DISALLOWED project list,
  or not in the WARNING_ALLOWED project list.

Test: Build for major targets.
Change-Id: I12235ee1ca1c1837530693699e705e1955275565
2016-10-11 15:38:39 -07:00
Chih-Hung Hsieh
5722f9247b Better pattern matching and dump of warning messages.
* Warning messages must start with source file path.
  This will reject lines containing only 'warning:'
  but not a source file path prefix.
* Escape both backslash and quotation marks in the
  dump of strings to JavaScript string literals.

Bug: 32060052
Test: run through build.log files
Change-Id: Ib064768b1ba2954f974604ea054f7a6d2ad15ae7
2016-10-11 15:33:19 -07:00
Chih-Hung Hsieh
a45c5c1cf9 Normalize warning source file path to relative path.
Remove Android root directory path from long
absolute source file path.

Test: run warn.py with build.log
Bug: 32059187
Change-Id: Ib630cebd8c56a9fef443139ca502d97e59c7b42e
2016-10-11 15:30:26 -07:00
Yunlian Jiang
3b83ef934e Merge "Fix a nullness warning." am: b37e81d3cd am: 10b5a9d3f6 am: ea4f981031
am: b087e00ba0

Change-Id: I767582963592c8790aeda4e9b0cab5e06ba944ae
2016-10-11 19:54:32 +00:00
Yunlian Jiang
b087e00ba0 Merge "Fix a nullness warning." am: b37e81d3cd am: 10b5a9d3f6
am: ea4f981031

Change-Id: Ie1fd127b89e6bc37514b05051708e69f37ae95f9
2016-10-11 19:48:01 +00:00
Yunlian Jiang
ea4f981031 Merge "Fix a nullness warning." am: b37e81d3cd
am: 10b5a9d3f6

Change-Id: I07c3a7c4f8b08b3b9c0a90a6b72cae70efcf9f4e
2016-10-11 19:42:01 +00:00
Yunlian Jiang
10b5a9d3f6 Merge "Fix a nullness warning."
am: b37e81d3cd

Change-Id: I0393f42a1d2a0e73e0c29a0e0047479f49982788
2016-10-11 19:35:31 +00:00
Treehugger Robot
b37e81d3cd Merge "Fix a nullness warning." 2016-10-11 19:29:37 +00:00
Yunlian Jiang
be6124e7ce Merge "Fix an uninitialized value warning." am: f943e138d7 am: d7a0b25d66 am: 570063f82d
am: 4fdd8f156d

Change-Id: I042c6951378b125336eb0899d4e73dc11c75d5a4
2016-10-11 03:10:59 +00:00
Yunlian Jiang
4fdd8f156d Merge "Fix an uninitialized value warning." am: f943e138d7 am: d7a0b25d66
am: 570063f82d

Change-Id: Iefbe15d4bb48b9e92df1a2223cccec0a32000452
2016-10-11 03:05:28 +00:00
Yunlian Jiang
570063f82d Merge "Fix an uninitialized value warning." am: f943e138d7
am: d7a0b25d66

Change-Id: I0f19e57829765e7d070cad4370d808a3a23d46ad
2016-10-11 02:59:59 +00:00
Yunlian Jiang
d7a0b25d66 Merge "Fix an uninitialized value warning."
am: f943e138d7

Change-Id: I9c3a911998740998608690ce885d2826a710b3d4
2016-10-11 02:53:58 +00:00
Treehugger Robot
f943e138d7 Merge "Fix an uninitialized value warning." 2016-10-11 02:43:47 +00:00
Yunlian Jiang
221c1c027a Fix an uninitialized value warning.
Warning from the static analyzer:

build/tools/zipalign/ZipFile.cpp:503:5: warning: Function call argument
is an uninitialized value
pEntry->setDataInfo(uncompressedLen, endPosn - startPosn, crc,

Specifically, it's referencing `crc`, which would be uninitialized if we
hit either of these two error cases, since we'd return `NO_ERROR`.

Note that the warning is still there, but that's only because the static
analyzer can't see the asserts. If we #undef NDEBUG in the file, then
the warning disappears.

Bug: none
Test: With NDEBUG undefined, the warning is gone.
Change-Id: Iaed66127746c38add2c842ab027f2e1982d0e2fd
2016-10-10 17:31:06 -07:00
Dirk Dougherty
9ec762c15a Fix samples metadata concat. am: 8d565ed204 am: bafc0b1baf am: 20e91f4e7a am: 3dc35a0148
am: 6905131b1c

Change-Id: I1a4b27eb5b03a1e679ad566144ce2d4bcc907b04
2016-10-08 02:54:05 +00:00
Dirk Dougherty
09f49d4d57 Fix samples metadata concat. am: 8d565ed204 am: 22fe7409a4
am: 7f56225968

Change-Id: I39ad662b38562d65aa58ab733c6a6f20b2921e80
2016-10-08 02:40:34 +00:00
Dirk Dougherty
6905131b1c Fix samples metadata concat. am: 8d565ed204 am: bafc0b1baf am: 20e91f4e7a
am: 3dc35a0148

Change-Id: I1dcbc4eadda8cf03bbad1c4278efdd6dad0c6eaf
2016-10-08 02:40:32 +00:00