OSDN Git Service

Support image classes filtering in image writer
authorMathieu Chartier <mathieuc@google.com>
Fri, 19 Feb 2016 21:42:48 +0000 (13:42 -0800)
committerMathieu Chartier <mathieuc@google.com>
Fri, 19 Feb 2016 22:47:33 +0000 (14:47 -0800)
commit7fccc2de5a7ea1bb8241d50869a2a4e44b35767f
tree29b7ac63b168e8693917628c3780b20692e670b2
parenta6e1c126299586932ecd3c1133a55a6f8e1107fc
Support image classes filtering in image writer

New logic prunes classes that have any dependency on a non-image
class. This enables creating smaller images with class profiling.
Code is from class profiling CL.

Added a CHECK for guarding against creating an app boot image with
existing boot image(s).

Bug: 22858531

Change-Id: Id5f38c8122e67141b851d0f41b68d2ffd07280d0
compiler/image_writer.cc
compiler/image_writer.h