OSDN Git Service

Apply PGO for all modules in hwui
authorPirama Arumuga Nainar <pirama@google.com>
Fri, 17 Nov 2017 06:40:00 +0000 (22:40 -0800)
committerPirama Arumuga Nainar <pirama@google.com>
Fri, 17 Nov 2017 18:31:48 +0000 (10:31 -0800)
commit0dfd4be9ae2a4bd049c964591b90b611aaa4023f
treeaeced6abf2933e251fd5a7dfdc97e89471ef3245
parent58180b0282f20e569e3c66b573ec94464a06f19b
Apply PGO for all modules in hwui

Bug: http://b/65598278

Since hwui source files get statically linked into hwuimicro and
hwuimacro, we need to enable PGO for them (to instrument and collect
profiles).  For consistency, apply PGO to all hwui modules (including
the unit tests) so we test the actual build configuration for libhwui.

For now, we don't use any profile so this CL affects the build only when
instrumentation is turned on using 'ANDROID_PGO_INSTRUMENT=hwui'.

Test: Build with ANDROID_PGO_INSTRUMENT=hwui, run hwuimacro and
hwuimicro and verify profile generation

Change-Id: I9d35953d544e0ccc180eb164ff53466239194c0f
libs/hwui/Android.bp