OSDN Git Service

android-x86/build.git
7 years agoSplit apart frameworks/compile into sub-projects.
Stephen Hines [Tue, 18 Oct 2016 01:08:34 +0000 (01:08 +0000)]
Split apart frameworks/compile into sub-projects.
am: d0aec89d43

Change-Id: I52500c1d216dfc26628835c87fb81d1bf5393c62

7 years agoMerge "Fix bug preventing multi-module native coverage."
Ryan Campbell [Tue, 18 Oct 2016 00:49:03 +0000 (00:49 +0000)]
Merge "Fix bug preventing multi-module native coverage."
am: 3372ce615a

Change-Id: I2ae9aa039b6fe5d375b514a9a5fb9cb2697bca55

7 years agoMerge "Fix bug preventing multi-module native coverage."
Treehugger Robot [Tue, 18 Oct 2016 00:43:09 +0000 (00:43 +0000)]
Merge "Fix bug preventing multi-module native coverage."

7 years agoMerge "Add a dist goal for the NDK."
Dan Albert [Mon, 17 Oct 2016 23:09:26 +0000 (23:09 +0000)]
Merge "Add a dist goal for the NDK."
am: e5d1926c61

Change-Id: I469216eb13da6061854a48f28d3fb3fcea4a0068

7 years agoMerge "Add a dist goal for the NDK."
Treehugger Robot [Mon, 17 Oct 2016 22:59:16 +0000 (22:59 +0000)]
Merge "Add a dist goal for the NDK."

7 years agoFix bug preventing multi-module native coverage.
Ryan Campbell [Mon, 17 Oct 2016 22:43:21 +0000 (15:43 -0700)]
Fix bug preventing multi-module native coverage.

Fix a whitespace bug causing coverage to be enabled on all modules
whenever more than one module is specified. This is caused by
comparing whitespace to the empty string, which are not equal. Fix
by stripping the output to check for path matches.

Test: tested using local build with coverage enabled on NFC, lights
Change-Id: I61a775cfd135f94ea1e1ee9fdbed3c64c5bb1a2e

7 years agoSplit apart frameworks/compile into sub-projects.
Stephen Hines [Mon, 17 Oct 2016 22:39:53 +0000 (15:39 -0700)]
Split apart frameworks/compile into sub-projects.

These projects are all used by RenderScript, but it would be good to
differentiate warnings for each.

Change-Id: I983279d590630175a36075b01e8eec9100c07d26
Test: Ran warn.py

7 years agoMerge "zipalign missing header"
Mark Salyzyn [Mon, 17 Oct 2016 21:56:52 +0000 (21:56 +0000)]
Merge "zipalign missing header"
am: 94180579f7

Change-Id: I4643aebbb73a5d9103de48147d5a4a25c2db6ca4

7 years agoMerge "zipalign missing header"
Treehugger Robot [Mon, 17 Oct 2016 21:47:17 +0000 (21:47 +0000)]
Merge "zipalign missing header"

7 years agozipalign missing header
Mark Salyzyn [Mon, 17 Oct 2016 17:20:33 +0000 (10:20 -0700)]
zipalign missing header

Remove assumptions about header side effects

Test: compile
Bug: 30465923
Change-Id: I117567b0f99814b9d9a955b39c56f43f7972cf62

7 years agoMerge "Add more patterns for a finer project warning list."
Chih-hung Hsieh [Sat, 15 Oct 2016 01:44:04 +0000 (01:44 +0000)]
Merge "Add more patterns for a finer project warning list."
am: 8ef4397c22

Change-Id: I5e377a80abc1953455b9b8a1840f579b7f133475

7 years agoMerge "Add more patterns for a finer project warning list."
Chih-hung Hsieh [Sat, 15 Oct 2016 01:36:59 +0000 (01:36 +0000)]
Merge "Add more patterns for a finer project warning list."

7 years agoMerge "build: tools: Add json collection of installed files with hashes."
Sasha Levitskiy [Sat, 15 Oct 2016 01:13:22 +0000 (01:13 +0000)]
Merge "build: tools: Add json collection of installed files with hashes."
am: fe77369b50

Change-Id: Ib3e9c8dead0a6fdbb0f93690da66e2a8e1ea0f39

7 years agoMerge "build: tools: Add json collection of installed files with hashes."
Treehugger Robot [Sat, 15 Oct 2016 01:04:37 +0000 (01:04 +0000)]
Merge "build: tools: Add json collection of installed files with hashes."

7 years agoAdd a dist goal for the NDK.
Dan Albert [Fri, 14 Oct 2016 20:23:06 +0000 (13:23 -0700)]
Add a dist goal for the NDK.

Test: make sdk dist
Bug: None
Change-Id: I07dfc73e3cea5afebcf5ed10cf860eb3f33cbff6

7 years agobuild: tools: Add json collection of installed files with hashes.
Sasha Levitskiy [Tue, 11 Oct 2016 05:48:10 +0000 (22:48 -0700)]
build: tools: Add json collection of installed files with hashes.

Adds installed-files.json in addition to installed-files.txt
Further sorts the file list to be ordered within the same size bucket.

Test: manual, cross-checked checksums with sha256sum utility
      checked build outputs.

Bug: 19988819
Merged-in: Ifb632eb4df65ec48645c8f93e36bae44ccc52ba8
Change-Id: Ifb632eb4df65ec48645c8f93e36bae44ccc52ba8
Signed-off-by: Sasha Levitskiy <sanek@google.com>
7 years agoAdd more patterns for a finer project warning list.
Chih-Hung Hsieh [Fri, 14 Oct 2016 19:27:17 +0000 (12:27 -0700)]
Add more patterns for a finer project warning list.

Bug: 31377083
Test: run warn.py --byproject build.log
Change-Id: I3cad8e24bc97a84f067a162ff728e30fde3c7197

7 years agoMerge changes Ie3d82cfa,I2f808896,I587f400d am: 3b54b69205 am: 120a2cfada
Alex Deymo [Fri, 14 Oct 2016 03:32:50 +0000 (03:32 +0000)]
Merge changes Ie3d82cfa,I2f808896,I587f400d am: 3b54b69205 am: 120a2cfada
am: d4ba5301e7

Change-Id: I7629e64127ad05cb7636e2ca65e6939888703272

7 years agofat16copy: Fix allocation logic when extending directories. am: a1c977735b am: a507800e5f
Alex Deymo [Fri, 14 Oct 2016 03:32:45 +0000 (03:32 +0000)]
fat16copy: Fix allocation logic when extending directories. am: a1c977735b am: a507800e5f
am: 0931a41ea5

Change-Id: Iaad5cd91d5f09da7996c791ed55515c3d633c9ae

7 years agofat16copy: Sort new directory entries. am: 567c5d0f95 am: cf24e4b85f
Alex Deymo [Fri, 14 Oct 2016 03:32:40 +0000 (03:32 +0000)]
fat16copy: Sort new directory entries. am: 567c5d0f95 am: cf24e4b85f
am: 3c6bf619ac

Change-Id: I689251be77849cb3ae1cdfa595d4ff3111f59ab5

7 years agoMake fat16copy.py add . and .. entries to directories am: df71efe378 am: 8cf11d1423
Casey Dahlin [Fri, 14 Oct 2016 03:32:34 +0000 (03:32 +0000)]
Make fat16copy.py add . and .. entries to directories am: df71efe378 am: 8cf11d1423
am: 70e24e55b3

Change-Id: Ib3b8a5e1145451ea52158a1ca23a62902f2794d4

7 years agoMerge changes Ie3d82cfa,I2f808896,I587f400d am: 3b54b69205
Alex Deymo [Fri, 14 Oct 2016 03:27:19 +0000 (03:27 +0000)]
Merge changes Ie3d82cfa,I2f808896,I587f400d am: 3b54b69205
am: 120a2cfada

Change-Id: I28970793e3aa1dd79e0862c3dbe34e8539f70e08

7 years agofat16copy: Fix allocation logic when extending directories. am: a1c977735b
Alex Deymo [Fri, 14 Oct 2016 03:27:14 +0000 (03:27 +0000)]
fat16copy: Fix allocation logic when extending directories. am: a1c977735b
am: a507800e5f

Change-Id: Ida8f372a1656ff0b4059c8b2d5629ea1b479c9fc

7 years agofat16copy: Sort new directory entries. am: 567c5d0f95
Alex Deymo [Fri, 14 Oct 2016 03:27:09 +0000 (03:27 +0000)]
fat16copy: Sort new directory entries. am: 567c5d0f95
am: cf24e4b85f

Change-Id: I109b9e0d9f9e3bf6851b575a3b9576282b851c0a

7 years agoMake fat16copy.py add . and .. entries to directories am: df71efe378
Casey Dahlin [Fri, 14 Oct 2016 03:27:04 +0000 (03:27 +0000)]
Make fat16copy.py add . and .. entries to directories am: df71efe378
am: 8cf11d1423

Change-Id: I6f2dd99f66ffafffca7161cc578cc08f7c798078

7 years agoMerge changes Ie3d82cfa,I2f808896,I587f400d
Alex Deymo [Fri, 14 Oct 2016 03:24:15 +0000 (03:24 +0000)]
Merge changes Ie3d82cfa,I2f808896,I587f400d
am: 3b54b69205

Change-Id: Ie2c9e112a993b0bd8acca84f88cdeaba0c798440

7 years agofat16copy: Fix allocation logic when extending directories.
Alex Deymo [Fri, 14 Oct 2016 03:24:14 +0000 (03:24 +0000)]
fat16copy: Fix allocation logic when extending directories.
am: a1c977735b

Change-Id: I5bc6da73f2c5f9dfb9b9e9cf34b77481d45ab911

7 years agofat16copy: Sort new directory entries.
Alex Deymo [Fri, 14 Oct 2016 03:24:09 +0000 (03:24 +0000)]
fat16copy: Sort new directory entries.
am: 567c5d0f95

Change-Id: I2d7bc7b3e7ed5e0ddf940d490de439ff591c9817

7 years agoMake fat16copy.py add . and .. entries to directories
Casey Dahlin [Fri, 14 Oct 2016 03:24:04 +0000 (03:24 +0000)]
Make fat16copy.py add . and .. entries to directories
am: df71efe378

Change-Id: Idc2516c8a29d62589f355e8bdbbaade170a5cdb5

7 years agoMerge changes Ie3d82cfa,I2f808896,I587f400d
Alex Deymo [Fri, 14 Oct 2016 03:19:55 +0000 (03:19 +0000)]
Merge changes Ie3d82cfa,I2f808896,I587f400d

* changes:
  fat16copy: Fix allocation logic when extending directories.
  fat16copy: Sort new directory entries.
  Make fat16copy.py add . and .. entries to directories

7 years agoMerge "Generate SHA-1 build ID for host-generated *.oat files (2/2)." am: 5ccc874ba1...
David Srbecky [Thu, 13 Oct 2016 13:16:41 +0000 (13:16 +0000)]
Merge "Generate SHA-1 build ID for host-generated *.oat files (2/2)." am: 5ccc874ba1 am: 53502853b0
am: eeabe6cfbf

Change-Id: Ie9034b118f21c42ad631f6d06d7e29afa8ac8bff

7 years agoMerge "Generate SHA-1 build ID for host-generated *.oat files (2/2)." am: 5ccc874ba1
David Srbecky [Thu, 13 Oct 2016 13:09:40 +0000 (13:09 +0000)]
Merge "Generate SHA-1 build ID for host-generated *.oat files (2/2)." am: 5ccc874ba1
am: 53502853b0

Change-Id: Ifacc968933106ee99db51f25ca197772859a7a41

7 years agoMerge "Generate SHA-1 build ID for host-generated *.oat files (2/2)."
David Srbecky [Thu, 13 Oct 2016 13:02:40 +0000 (13:02 +0000)]
Merge "Generate SHA-1 build ID for host-generated *.oat files (2/2)."
am: 5ccc874ba1

Change-Id: I4814a46b548db7e8f851745f3b637f7a8c91f652

7 years agoMerge "Generate SHA-1 build ID for host-generated *.oat files (2/2)."
David Srbecky [Thu, 13 Oct 2016 12:52:31 +0000 (12:52 +0000)]
Merge "Generate SHA-1 build ID for host-generated *.oat files (2/2)."

7 years agoMerge "Add -Werror to compile warning free projects." am: 355e96774b am: 05388b7618
Chih-hung Hsieh [Thu, 13 Oct 2016 01:06:18 +0000 (01:06 +0000)]
Merge "Add -Werror to compile warning free projects." am: 355e96774b am: 05388b7618
am: 9f82feb9e6

Change-Id: I2738360c847b6181756b46801d90d26de04933b0

7 years agoMerge "Add -Werror to compile warning free projects." am: 355e96774b
Chih-hung Hsieh [Thu, 13 Oct 2016 00:59:46 +0000 (00:59 +0000)]
Merge "Add -Werror to compile warning free projects." am: 355e96774b
am: 05388b7618

Change-Id: Ib4613feea14a0edf06f5395b1646a0c148a7a792

7 years agoMerge "Add -Werror to compile warning free projects."
Chih-hung Hsieh [Thu, 13 Oct 2016 00:53:15 +0000 (00:53 +0000)]
Merge "Add -Werror to compile warning free projects."
am: 355e96774b

Change-Id: I316018711e079ebce0b5ea19360caa60b762b89d

7 years agoMerge "Add -Werror to compile warning free projects."
Chih-hung Hsieh [Thu, 13 Oct 2016 00:42:01 +0000 (00:42 +0000)]
Merge "Add -Werror to compile warning free projects."

7 years agoMerge "Update droiddoc templates for build/make move" am: f8d8458edd am: 69c640cb2b...
Clay Murphy [Wed, 12 Oct 2016 19:22:13 +0000 (19:22 +0000)]
Merge "Update droiddoc templates for build/make move" am: f8d8458edd am: 69c640cb2b  -s ours
am: 9c2064634b

Change-Id: I650ab11b316e88e71ee610eeac8c855aaa5c8a84

7 years agoMerge "Update droiddoc templates for build/make move" into nyc-dev-plus-aosp
Dan Willemsen [Wed, 12 Oct 2016 19:21:53 +0000 (19:21 +0000)]
Merge "Update droiddoc templates for build/make move" into nyc-dev-plus-aosp
am: 75e3c0aedf

Change-Id: Ic3db5168184b31f244fafdd9f05eda463879d2c9

7 years agoUpdate droiddoc templates for build/make move
Dan Willemsen [Wed, 12 Oct 2016 19:21:52 +0000 (19:21 +0000)]
Update droiddoc templates for build/make move
am: 0f40bafa96

Change-Id: I74f5c5bb84c5a748ea38e6c8015dce8ecc269aaa

7 years agoMerge "Update droiddoc templates for build/make move" am: f8d8458edd
Clay Murphy [Wed, 12 Oct 2016 19:15:25 +0000 (19:15 +0000)]
Merge "Update droiddoc templates for build/make move" am: f8d8458edd
am: 69c640cb2b  -s ours

Change-Id: I99ce073a3f20b221f6072f63144545d0b00abc1b

7 years agoMerge "Update droiddoc templates for build/make move" into nyc-dev-plus-aosp
Dan Willemsen [Wed, 12 Oct 2016 19:11:19 +0000 (19:11 +0000)]
Merge "Update droiddoc templates for build/make move" into nyc-dev-plus-aosp

7 years agoMerge "Build: add preloaded-classes and compiled-classes dependency" am: a0d201bd9a...
Andreas Gampe [Wed, 12 Oct 2016 18:54:22 +0000 (18:54 +0000)]
Merge "Build: add preloaded-classes and compiled-classes dependency" am: a0d201bd9a am: bc166c799d
am: b47c19599c

Change-Id: Ia82f7ccac2a8df505e2199baf62de5e1556a35ca

7 years agoMerge "Build: add preloaded-classes and compiled-classes dependency" am: a0d201bd9a
Andreas Gampe [Wed, 12 Oct 2016 18:47:52 +0000 (18:47 +0000)]
Merge "Build: add preloaded-classes and compiled-classes dependency" am: a0d201bd9a
am: bc166c799d

Change-Id: I38dc9783c694c82593e7056707a09e520a789aeb

7 years agoMerge "Update droiddoc templates for build/make move"
Clay Murphy [Wed, 12 Oct 2016 18:41:35 +0000 (18:41 +0000)]
Merge "Update droiddoc templates for build/make move"
am: f8d8458edd

Change-Id: I5b803a789b8695f5f5b8776e634c13c290c91c71

7 years agoMerge "Build: add preloaded-classes and compiled-classes dependency"
Andreas Gampe [Wed, 12 Oct 2016 18:41:22 +0000 (18:41 +0000)]
Merge "Build: add preloaded-classes and compiled-classes dependency"
am: a0d201bd9a

Change-Id: I28bee3466ab8710ada8d5e6068cdda9fdb1dc3d1

7 years agoMerge "Update droiddoc templates for build/make move"
Clay Murphy [Wed, 12 Oct 2016 18:34:23 +0000 (18:34 +0000)]
Merge "Update droiddoc templates for build/make move"

7 years agoMerge "Build: add preloaded-classes and compiled-classes dependency"
Treehugger Robot [Wed, 12 Oct 2016 18:30:11 +0000 (18:30 +0000)]
Merge "Build: add preloaded-classes and compiled-classes dependency"

7 years agoUpdate droiddoc templates for build/make move
Dan Willemsen [Wed, 12 Oct 2016 07:10:33 +0000 (00:10 -0700)]
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

7 years agoMerge "Better pattern matching and dump of warning messages." am: 6949e7ecba am:...
Chih-Hung Hsieh [Wed, 12 Oct 2016 16:59:33 +0000 (16:59 +0000)]
Merge "Better pattern matching and dump of warning messages." am: 6949e7ecba am: 1a876e215b
am: fbb1b890fa

Change-Id: Icaff358e282166c635c3ac2edd3297547c32cf6d

7 years agoMerge "Normalize warning source file path to relative path." am: eb2f711528 am: d4b0a...
Chih-Hung Hsieh [Wed, 12 Oct 2016 16:59:19 +0000 (16:59 +0000)]
Merge "Normalize warning source file path to relative path." am: eb2f711528 am: d4b0a20c01
am: b4a26ee48f

Change-Id: I9fa7bdf12f86f65259409a1dc0735ab455ea6320

7 years agoMerge "Better pattern matching and dump of warning messages." am: 6949e7ecba
Chih-Hung Hsieh [Wed, 12 Oct 2016 16:52:01 +0000 (16:52 +0000)]
Merge "Better pattern matching and dump of warning messages." am: 6949e7ecba
am: 1a876e215b

Change-Id: Ieeb9fe468a12aeb532f35ede9879f3968441709d

7 years agoMerge "Normalize warning source file path to relative path." am: eb2f711528
Chih-Hung Hsieh [Wed, 12 Oct 2016 16:51:46 +0000 (16:51 +0000)]
Merge "Normalize warning source file path to relative path." am: eb2f711528
am: d4b0a20c01

Change-Id: I16d7425b3a933596c06ee7acdf396b0b2b37a483

7 years agoMerge "Better pattern matching and dump of warning messages."
Chih-Hung Hsieh [Wed, 12 Oct 2016 16:44:57 +0000 (16:44 +0000)]
Merge "Better pattern matching and dump of warning messages."
am: 6949e7ecba

Change-Id: Ib643d3e03eb22ec4929054d4ab8542dd62b8963b

7 years agoMerge "Normalize warning source file path to relative path."
Chih-Hung Hsieh [Wed, 12 Oct 2016 16:44:44 +0000 (16:44 +0000)]
Merge "Normalize warning source file path to relative path."
am: eb2f711528

Change-Id: I8d86fc1c82c65387b50bba8374fce8ecbb98a80b

7 years agoBuild: add preloaded-classes and compiled-classes dependency
Andreas Gampe [Wed, 12 Oct 2016 16:35:39 +0000 (09:35 -0700)]
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

7 years agoMerge "Better pattern matching and dump of warning messages."
Treehugger Robot [Wed, 12 Oct 2016 16:35:34 +0000 (16:35 +0000)]
Merge "Better pattern matching and dump of warning messages."

7 years agoMerge "Normalize warning source file path to relative path."
Treehugger Robot [Wed, 12 Oct 2016 16:34:05 +0000 (16:34 +0000)]
Merge "Normalize warning source file path to relative path."

7 years agoUpdate droiddoc templates for build/make move
Dan Willemsen [Wed, 12 Oct 2016 07:10:33 +0000 (00:10 -0700)]
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

7 years agoMerge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd am: a35fba1954
Jeff Sharkey [Wed, 12 Oct 2016 01:35:52 +0000 (01:35 +0000)]
Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd am: a35fba1954
am: 7f5ac24eec

Change-Id: Ia038eb10af41c7403a04e9e5411700cd86079640

7 years agoMerge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd
Jeff Sharkey [Wed, 12 Oct 2016 01:29:22 +0000 (01:29 +0000)]
Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd
am: a35fba1954

Change-Id: Id89be8d1c14a7d93c1946d7c3ec096fc9b20e231

7 years agoMerge "PRODUCT_PACKAGES: add to tune2fs."
Jeff Sharkey [Wed, 12 Oct 2016 01:23:22 +0000 (01:23 +0000)]
Merge "PRODUCT_PACKAGES: add to tune2fs."
am: 4337794acd

Change-Id: I156f1cb5ccd377785f77399e005bcfab10b5c3b3

7 years agoMerge "PRODUCT_PACKAGES: add to tune2fs."
Jeff Sharkey [Wed, 12 Oct 2016 01:16:33 +0000 (01:16 +0000)]
Merge "PRODUCT_PACKAGES: add to tune2fs."

7 years agoAdd -Werror to compile warning free projects.
Chih-Hung Hsieh [Tue, 11 Oct 2016 22:38:39 +0000 (15:38 -0700)]
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

7 years agoBetter pattern matching and dump of warning messages.
Chih-Hung Hsieh [Tue, 11 Oct 2016 22:33:19 +0000 (15:33 -0700)]
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

7 years agoNormalize warning source file path to relative path.
Chih-Hung Hsieh [Tue, 11 Oct 2016 22:30:26 +0000 (15:30 -0700)]
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

7 years agoMerge "Fix a nullness warning." am: b37e81d3cd am: 10b5a9d3f6
Yunlian Jiang [Tue, 11 Oct 2016 19:48:01 +0000 (19:48 +0000)]
Merge "Fix a nullness warning." am: b37e81d3cd am: 10b5a9d3f6
am: ea4f981031

Change-Id: Ie1fd127b89e6bc37514b05051708e69f37ae95f9

7 years agoMerge "Fix a nullness warning." am: b37e81d3cd
Yunlian Jiang [Tue, 11 Oct 2016 19:42:01 +0000 (19:42 +0000)]
Merge "Fix a nullness warning." am: b37e81d3cd
am: 10b5a9d3f6

Change-Id: I07c3a7c4f8b08b3b9c0a90a6b72cae70efcf9f4e

7 years agoMerge "Fix a nullness warning."
Yunlian Jiang [Tue, 11 Oct 2016 19:35:31 +0000 (19:35 +0000)]
Merge "Fix a nullness warning."
am: b37e81d3cd

Change-Id: I0393f42a1d2a0e73e0c29a0e0047479f49982788

7 years agoMerge "Fix a nullness warning."
Treehugger Robot [Tue, 11 Oct 2016 19:29:36 +0000 (19:29 +0000)]
Merge "Fix a nullness warning."

7 years agoMerge "Fix an uninitialized value warning." am: f943e138d7 am: d7a0b25d66
Yunlian Jiang [Tue, 11 Oct 2016 03:05:28 +0000 (03:05 +0000)]
Merge "Fix an uninitialized value warning." am: f943e138d7 am: d7a0b25d66
am: 570063f82d

Change-Id: Iefbe15d4bb48b9e92df1a2223cccec0a32000452

7 years agoMerge "Fix an uninitialized value warning." am: f943e138d7
Yunlian Jiang [Tue, 11 Oct 2016 02:59:59 +0000 (02:59 +0000)]
Merge "Fix an uninitialized value warning." am: f943e138d7
am: d7a0b25d66

Change-Id: I0f19e57829765e7d070cad4370d808a3a23d46ad

7 years agoMerge "Fix an uninitialized value warning."
Yunlian Jiang [Tue, 11 Oct 2016 02:53:58 +0000 (02:53 +0000)]
Merge "Fix an uninitialized value warning."
am: f943e138d7

Change-Id: I9c3a911998740998608690ce885d2826a710b3d4

7 years agoMerge "Fix an uninitialized value warning."
Treehugger Robot [Tue, 11 Oct 2016 02:43:46 +0000 (02:43 +0000)]
Merge "Fix an uninitialized value warning."

7 years agoFix an uninitialized value warning.
Yunlian Jiang [Wed, 5 Oct 2016 17:58:37 +0000 (10:58 -0700)]
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

7 years agoFix samples metadata concat. am: 8d565ed204 am: bafc0b1baf am: 20e91f4e7a
Dirk Dougherty [Sat, 8 Oct 2016 02:40:32 +0000 (02:40 +0000)]
Fix samples metadata concat. am: 8d565ed204 am: bafc0b1baf am: 20e91f4e7a
am: 3dc35a0148

Change-Id: I1dcbc4eadda8cf03bbad1c4278efdd6dad0c6eaf

7 years agoFix samples metadata concat. am: 8d565ed204 am: bafc0b1baf
Dirk Dougherty [Sat, 8 Oct 2016 02:35:33 +0000 (02:35 +0000)]
Fix samples metadata concat. am: 8d565ed204 am: bafc0b1baf
am: 20e91f4e7a

Change-Id: I7e77f030b6dc45da3b22459bbd5871ff42285ba8

7 years agoFix samples metadata concat. am: 8d565ed204
Dirk Dougherty [Sat, 8 Oct 2016 02:31:32 +0000 (02:31 +0000)]
Fix samples metadata concat. am: 8d565ed204
am: 22fe7409a4

Change-Id: I08418dfb23d225fa73ed21cb0704b69c2c8d0028

7 years agoFix samples metadata concat. am: 8d565ed204
Dirk Dougherty [Sat, 8 Oct 2016 02:31:32 +0000 (02:31 +0000)]
Fix samples metadata concat. am: 8d565ed204
am: bafc0b1baf

Change-Id: I21dadb32eeb771aae9c188372d0da1cf4ea16126

7 years agoFix samples metadata concat.
Dirk Dougherty [Sat, 8 Oct 2016 02:27:02 +0000 (02:27 +0000)]
Fix samples metadata concat.
am: 8d565ed204

Change-Id: Ic1a7d62fb278022518154f9c8fe3394df620670c

7 years agoFix samples metadata concat.
Dirk Dougherty [Sat, 8 Oct 2016 02:27:01 +0000 (02:27 +0000)]
Fix samples metadata concat.
am: 8d565ed204

Change-Id: I02cf4c7c04ac691b71ef48a6e584c8f2b224a6ff

7 years agoresolve merge conflicts of aa126ab to nyc-mr1-dev-plus-aosp
David Zeuthen [Fri, 7 Oct 2016 20:27:34 +0000 (16:27 -0400)]
resolve merge conflicts of aa126ab to nyc-mr1-dev-plus-aosp

Change-Id: I6e45dff4fcc873a91b6067a04f9fa4e801a1f4c2

7 years agoMerge "Make AVB work when BOARD_USES_RECOVERY_AS_BOOT is set to true." am: 01bd1d34db
David Zeuthen [Fri, 7 Oct 2016 19:54:30 +0000 (19:54 +0000)]
Merge "Make AVB work when BOARD_USES_RECOVERY_AS_BOOT is set to true." am: 01bd1d34db
am: ec6fe8065e

Change-Id: I48f5fd6fd8c1334679117d735a1a28a76e0edf3c

7 years agoMerge "Make AVB work when BOARD_USES_RECOVERY_AS_BOOT is set to true."
David Zeuthen [Fri, 7 Oct 2016 19:50:31 +0000 (19:50 +0000)]
Merge "Make AVB work when BOARD_USES_RECOVERY_AS_BOOT is set to true."
am: 01bd1d34db

Change-Id: I38f97817667bb0ddcfa4d4142ded36d8e75940f6

7 years agoMerge "Make AVB work when BOARD_USES_RECOVERY_AS_BOOT is set to true."
Treehugger Robot [Fri, 7 Oct 2016 19:44:37 +0000 (19:44 +0000)]
Merge "Make AVB work when BOARD_USES_RECOVERY_AS_BOOT is set to true."

7 years agoFix samples metadata concat.
Dirk Dougherty [Fri, 7 Oct 2016 19:12:50 +0000 (12:12 -0700)]
Fix samples metadata concat.

Change-Id: Ie9b616818995b3066d0e65ea1aa30077ed9d82ce

7 years agoMerge "remove use of CTS_TESTCASES_OUT" am: 24dd78a2d7 am: b5e2ecab4d
Guang Zhu [Fri, 7 Oct 2016 01:24:48 +0000 (01:24 +0000)]
Merge "remove use of CTS_TESTCASES_OUT" am: 24dd78a2d7 am: b5e2ecab4d
am: 30858857a0

Change-Id: Ib5f060e87d8319968795e00bf6259d2ec1690629

7 years agoMerge "remove use of CTS_TESTCASES_OUT" am: 24dd78a2d7
Guang Zhu [Fri, 7 Oct 2016 01:21:17 +0000 (01:21 +0000)]
Merge "remove use of CTS_TESTCASES_OUT" am: 24dd78a2d7
am: b5e2ecab4d

Change-Id: If73c4c104565d588266afde173bd7191a4580b11

7 years agoMerge "Use ASAN prebuilts if SANITIZE_HOST includes address" am: daba887656 am: 3a14d...
Dan Willemsen [Fri, 7 Oct 2016 01:21:07 +0000 (01:21 +0000)]
Merge "Use ASAN prebuilts if SANITIZE_HOST includes address" am: daba887656 am: 3a14d45f83
am: b4cfe8c7f9

Change-Id: Ie4ef75194162b8b0aa3efc4dd3b8f6a883115116

7 years agoMerge "remove use of CTS_TESTCASES_OUT"
Guang Zhu [Fri, 7 Oct 2016 01:18:11 +0000 (01:18 +0000)]
Merge "remove use of CTS_TESTCASES_OUT"
am: 24dd78a2d7

Change-Id: If15ad7d5f255f77bdf619d75bee393d6c661cc90

7 years agoMerge "Use ASAN prebuilts if SANITIZE_HOST includes address" am: daba887656
Dan Willemsen [Fri, 7 Oct 2016 01:17:37 +0000 (01:17 +0000)]
Merge "Use ASAN prebuilts if SANITIZE_HOST includes address" am: daba887656
am: 3a14d45f83

Change-Id: I2ca851e21aac95df1a214c358b20efb7845d3a35

7 years agoMerge "remove use of CTS_TESTCASES_OUT"
Guang Zhu [Fri, 7 Oct 2016 01:15:16 +0000 (01:15 +0000)]
Merge "remove use of CTS_TESTCASES_OUT"

7 years agoMerge "Use ASAN prebuilts if SANITIZE_HOST includes address"
Dan Willemsen [Fri, 7 Oct 2016 01:14:07 +0000 (01:14 +0000)]
Merge "Use ASAN prebuilts if SANITIZE_HOST includes address"
am: daba887656

Change-Id: If861bf6ab96f4cab777be5d39d75b151791be42c

7 years agoMerge "Use ASAN prebuilts if SANITIZE_HOST includes address"
Treehugger Robot [Fri, 7 Oct 2016 01:08:06 +0000 (01:08 +0000)]
Merge "Use ASAN prebuilts if SANITIZE_HOST includes address"

7 years agoremove use of CTS_TESTCASES_OUT
Guang Zhu [Tue, 4 Oct 2016 23:43:40 +0000 (16:43 -0700)]
remove use of CTS_TESTCASES_OUT

Bug: 31788743
Test: $ make cts dist
      # check contents of generated package and API coverage
      # report
      $ make checkbuild

Merged-In: Ieec069bafbcc6df5a5b3b06befb4a3a5678a06fd
Change-Id: Ieec069bafbcc6df5a5b3b06befb4a3a5678a06fd
(cherry picked from commit f8f0880b3b8fb6a80ed766068d5f1714625b8960)

7 years agoMerge "Replace product variable stashing with .KATI_READONLY" am: 157ad04cfc am:...
Dan Willemsen [Thu, 6 Oct 2016 23:53:30 +0000 (23:53 +0000)]
Merge "Replace product variable stashing with .KATI_READONLY" am: 157ad04cfc am: 9d2208441c
am: 34d8c31258

Change-Id: Idc49bb5ad4890c368762cd73ac34e995b2633d1d

7 years agoMerge "Replace product variable stashing with .KATI_READONLY" am: 157ad04cfc
Dan Willemsen [Thu, 6 Oct 2016 23:50:01 +0000 (23:50 +0000)]
Merge "Replace product variable stashing with .KATI_READONLY" am: 157ad04cfc
am: 9d2208441c

Change-Id: Id3734b7f7c983405c2ae00595d9d9a951adb9468

7 years agoMerge "Replace product variable stashing with .KATI_READONLY"
Dan Willemsen [Thu, 6 Oct 2016 23:46:30 +0000 (23:46 +0000)]
Merge "Replace product variable stashing with .KATI_READONLY"
am: 157ad04cfc

Change-Id: I0672cfab4bb7a87cecead3b168080aac208cf5eb

7 years agoMerge "Support multiple arch for coverage packaging." am: 56b5030eac am: 2882b0aff1
Ryan Campbell [Thu, 6 Oct 2016 23:42:59 +0000 (23:42 +0000)]
Merge "Support multiple arch for coverage packaging." am: 56b5030eac am: 2882b0aff1
am: 248a9768c7

Change-Id: I12526870d123ccb34d65d63899268d843734b87d