Commit graph

37018 commits

Author SHA1 Message Date
Treehugger Robot
0f56f197fa Merge "Allow PRODUCT_FULL_TREBLE_OVERRIDE to be false." 2017-05-02 16:45:36 +00:00
Yang Ni
dfffda92e0 Merge "Do not package res unless RS target API < 21" into oc-dev
am: 671fc06b02

Change-Id: I06bd5247095b5960610eee2d44a82cab83198067
2017-05-02 16:26:35 +00:00
Yang Ni
671fc06b02 Merge "Do not package res unless RS target API < 21" into oc-dev 2017-05-02 16:11:40 +00:00
Nicolas Geoffray
7db948f787 Merge "Use 'quicken' instead of 'interpret-only'." am: c30a14020d am: efccb14386
am: 796248606e

Change-Id: I9c340846b44eed66d69a23d1dfac498c940901a8
2017-05-02 10:50:09 +00:00
Nicolas Geoffray
796248606e Merge "Use 'quicken' instead of 'interpret-only'." am: c30a14020d
am: efccb14386

Change-Id: Ic9ce814a86dc178fa8e4e7b9be12b9424fdd22b8
2017-05-02 10:48:09 +00:00
Nicolas Geoffray
efccb14386 Merge "Use 'quicken' instead of 'interpret-only'."
am: c30a14020d

Change-Id: I8ac8965601c1488bf6c044d6f3eb0c1c06b90197
2017-05-02 10:45:40 +00:00
Treehugger Robot
c30a14020d Merge "Use 'quicken' instead of 'interpret-only'." 2017-05-02 10:40:56 +00:00
Yifan Hong
c22e2140b4 Add compatibility check for system_manifest/compatibility_matrix.xml
am: c9ad35ce39

Change-Id: I29e4ff30ee5b5062d2c30088451a61c0abd90abd
2017-05-02 07:42:47 +00:00
Yifan Hong
d9842ea1c9 Add device/fwk compatibility matrices to device.
am: b5cbe22b84

Change-Id: I739579f918fe233e153a6ef1dbce77f5863dd808
2017-05-02 07:42:41 +00:00
Yifan Hong
c9ad35ce39 Add compatibility check for system_manifest/compatibility_matrix.xml
Add compatibility check against device vintf schemas
when framework schemas are built.

Test: build with lunch marlin (that has manifest.xml)
Test: build with mini_emulator_arm64 (that doesn't have manfiest.xml)

Bug: 37321309

Change-Id: I87db152754d0185938bcef0c4395f477b8fd269b
2017-05-01 22:29:16 -07:00
Yifan Hong
b5cbe22b84 Add device/fwk compatibility matrices to device.
Also renamed matrix.xml to compatibility_matrix.xml.

Test: make and ensure vendor/compatibility_matrix.xml is there.
Test: adb shell vintf (see matrices, compatible = true)

Bug: 37321309
Change-Id: I4ebbedf47a576a50a42df53b72e507ed31ef2e56
2017-05-01 21:49:18 -07:00
Yang Ni
6b68da0625 Do not package res unless RS target API < 21
Bug: 37626838

Since Lollipop, RS generated bitcode is embedded as strings in
generated Java files, and no longer needed in the resources.
This CL makes packaging resources conditional on RS target API, and
not do so unless it is below 21.

Test: mm in frameworks/rs/tests/java_api/Refocus, ImageProcessing2, and
      ImageProcessing_jb
Change-Id: I79a90ed4b96cb78b22a64a35b539d9d67351f4c4
(cherry picked from commit e2c0901918)
2017-05-01 20:07:45 -07:00
Colin Cross
d1c7f53aa4 Merge "Install sqlite3 on userdebug builds" am: 5821266790 am: 1ddf97bafb
am: f7365b6137

Change-Id: I1292f19401ba3a65fedff3a75eea72bcc8ad53bc
2017-05-02 02:49:09 +00:00
Colin Cross
f7365b6137 Merge "Install sqlite3 on userdebug builds" am: 5821266790
am: 1ddf97bafb

Change-Id: I07908ce9c327fcbd4768446ede1b532b348e0897
2017-05-02 02:46:39 +00:00
Colin Cross
1ddf97bafb Merge "Install sqlite3 on userdebug builds"
am: 5821266790

Change-Id: I2c4cc02676809a98f184fdb3dd1358cd448245e6
2017-05-02 02:44:39 +00:00
Treehugger Robot
5821266790 Merge "Install sqlite3 on userdebug builds" 2017-05-02 02:36:58 +00:00
Steven Moreland
3a0afa7f57 Allow PRODUCT_FULL_TREBLE_OVERRIDE to be false.
Devices which are not Android phones may want to set
PRODUCT_FULL_TREBLE_OVERRIDE (and therefore
PRODUCT_FULL_TREBLE) to false.

Test: confirm expected values when putting in expected values of:
  PRODUCT_FULL_TREBLE_OVERRIDE
  PRODUCT_SHIPPING_API_LEVEL
Fixes: 37869308

Change-Id: If5a383210ea282a3a274e5eba0d32ef6cfebafd0
2017-05-01 18:11:35 -07:00
Jaekyun Seok
0ab9794fed Merge "Split vendor license notices into vendor partition" am: 9607ace215 am: e81fffa866
am: d89886846b

Change-Id: I04ce4e37295ff382c3f60352a48830f4ef17ace6
2017-05-01 23:20:58 +00:00
Jaekyun Seok
d89886846b Merge "Split vendor license notices into vendor partition" am: 9607ace215
am: e81fffa866

Change-Id: If5d496d890545146357b0dd2fec11e6e67fcbf38
2017-05-01 23:17:37 +00:00
Jaekyun Seok
e81fffa866 Merge "Split vendor license notices into vendor partition"
am: 9607ace215

Change-Id: I12bd431c18dc12dbe0ce56ae1728a0272aaeba76
2017-05-01 23:15:47 +00:00
Treehugger Robot
9607ace215 Merge "Split vendor license notices into vendor partition" 2017-05-01 23:08:19 +00:00
Jaekyun Seok
9e7eab53c1 Split vendor license notices into vendor partition
Xml files will be generated instead of html files, and then Settings
will generate html file on runtime from xml files of partitions.

Test: build succeeded and tested on sailfish
Bug: 37099941
Merged-In: Id7899381a537b1947cbb6164ed2b4a98492334af
Change-Id: Id7899381a537b1947cbb6164ed2b4a98492334af
(cherry picked from commit 3b7560bf88)
2017-05-01 22:07:50 +00:00
Yang Ni
e2c0901918 Do not package res unless RS target API < 21
Bug: 37626838

Since Lollipop, RS generated bitcode is embedded as strings in
generated Java files, and no longer needed in the resources.
This CL makes packaging resources conditional on RS target API, and
not do so unless it is below 21.

Test: mm in frameworks/rs/tests/java_api/Refocus, ImageProcessing2, and
      ImageProcessing_jb
Change-Id: I79a90ed4b96cb78b22a64a35b539d9d67351f4c4
2017-05-01 21:41:14 +00:00
Colin Cross
9418749c48 Install sqlite3 on userdebug builds
sqlite3 had LOCAL_MODULE_TAGS := debug, which was not passed
through when converting to soong.  We prefer PRODUCT_PACKAGES_DEBUG
instead, so add it there.

Bug: 37627999
Test: sqlite3 is in installed-files.txt
Change-Id: Idb8b3aea7b7482109aa4ed3ac0016bd84dd23f22
2017-05-01 21:39:40 +00:00
Jaekyun Seok
035a49f301 Split vendor license notices into vendor partition
am: 3b7560bf88

Change-Id: Ib2926d1b97a5bdc9ef59738bd9e993487da0730d
2017-05-01 21:26:51 +00:00
Colin Cross
9eff830fa2 Make javac checkbuilds match jack
Building all java to dex is very slow.  Make javac checkbuilds act
like jack checkbuilds and only build to class files for unused
modules, and add a java-dex target that can be used to build
everything to dex.

Test: m -j checkbuild
Change-Id: Idcf9c9e0223b9dd88aaa53beb0cb50a230034b0f
2017-04-28 13:39:16 -07:00
Colin Cross
b17f285169 Support LOCAL_JACK_ENABLED := javac_frontend
Allow working around Jack bugs by using javac to compile *.java
to class files, and then pass through Jack for desugaring,
proguarding, and dexing.

Also make ANDROID_COMPILE_WITH_JACK=false override LOCAL_JACK_ENABLED.

Bug: 37483961
Test: m -j checkbuild
Test: Add LOCAL_JACK_ENABLED := javac_frontend to a target
Change-Id: I2189055aac9deccc36b8eab8e949796dddadf7a1
2017-04-28 13:39:12 -07:00
Nicolas Geoffray
2004b8ae28 Merge "Make the default preopt 'interpret-only'." am: 078aafc590 am: 21715c25af
am: 3e55bc8795

Change-Id: I910b63a9b843e83cb303620af5aa5ac426d0ae1e
2017-04-28 12:15:02 +00:00
Nicolas Geoffray
3e55bc8795 Merge "Make the default preopt 'interpret-only'." am: 078aafc590
am: 21715c25af

Change-Id: I811fbf23e5101e5197e9711bd8648c52e8dda9e1
2017-04-28 12:12:30 +00:00
Nicolas Geoffray
21715c25af Merge "Make the default preopt 'interpret-only'."
am: 078aafc590

Change-Id: Ie0451fabf2220390e0c85e8720399a6ebed06e4f
2017-04-28 12:10:01 +00:00
Nicolas Geoffray
eb3d2f2e75 Use 'quicken' instead of 'interpret-only'.
bug: 34715556
Test: build
Change-Id: Id4518e80598b7baee64e92f7ff4ed600f8cdee5b
2017-04-28 13:04:38 +01:00
Nicolas Geoffray
078aafc590 Merge "Make the default preopt 'interpret-only'." 2017-04-28 12:03:18 +00:00
Nicolas Geoffray
6e2fcabd51 Merge "Don't preopt system server apps in system_other." am: f53ebefae3 am: bd0518ab55
am: cf6d9f23bf

Change-Id: Ia47b3ce11e3f0c69a2e03aae4a493b614ce3da21
2017-04-28 11:55:29 +00:00
Nicolas Geoffray
cf6d9f23bf Merge "Don't preopt system server apps in system_other." am: f53ebefae3
am: bd0518ab55

Change-Id: I4b4386071028792e24b7af123e6a729172245d92
2017-04-28 11:52:59 +00:00
Nicolas Geoffray
bd0518ab55 Merge "Don't preopt system server apps in system_other."
am: f53ebefae3

Change-Id: I09f7b0e690871271349073edab59250721eb88e0
2017-04-28 11:50:28 +00:00
Nicolas Geoffray
24f54693f9 Make the default preopt 'interpret-only'.
bug:33799337
bug:36534079

Test: m -j32 bullhead/angler/marlin/sailfish

(cherry picked from commit e0848c8b7f)

Change-Id: I6d71bdca1d7b7afab8150a0b19a0e2235832d5e0
2017-04-28 12:46:34 +01:00
Nicolas Geoffray
0581d8f12d Merge "Introduce a whitelist for core apps used by system server." am: 679727afeb am: 3293557187
am: 2a678b0f02  -s ours

Change-Id: I1ffd7a84eb0e5be9259538042c0680b54ab7c29a
2017-04-28 11:45:31 +00:00
Nicolas Geoffray
f53ebefae3 Merge "Don't preopt system server apps in system_other." 2017-04-28 11:45:15 +00:00
Nicolas Geoffray
2a678b0f02 Merge "Introduce a whitelist for core apps used by system server." am: 679727afeb
am: 3293557187

Change-Id: Iba143d70f5900d9ae6e4fb8205fc3a538e4a8283
2017-04-28 11:40:58 +00:00
Nicolas Geoffray
3293557187 Merge "Introduce a whitelist for core apps used by system server."
am: 679727afeb

Change-Id: I631f5c67a09d5dc466f6200392ca3528589e16ad
2017-04-28 11:38:29 +00:00
Nicolas Geoffray
cdd4343bb2 Don't preopt system server apps in system_other.
bug:36532541
bug:33799337

Test: m -j32 && find out/target -name \*.odex

(cherry picked from commit a2c6c0b11e)

Change-Id: Ic4396bb6c543af1c05f56030495caafb245ea304
2017-04-28 12:34:53 +01:00
Nicolas Geoffray
679727afeb Merge "Introduce a whitelist for core apps used by system server." 2017-04-28 11:32:52 +00:00
Nicolas Geoffray
b08ada1daa Introduce a whitelist for core apps used by system server.
And by default 'speed' compile those apps at build time.

bug:33799337
Test: m -j32

(cherry picked from commit 9af483488a)

Change-Id: I66f1c675369fccc03b6529c08cb030264d15ba1c
2017-04-28 10:38:41 +01:00
Jaekyun Seok
3b7560bf88 Split vendor license notices into vendor partition
Xml files will be generated instead of html files, and then Settings
will generate html file on runtime from xml files of partitions.

Test: build succeeded and tested on sailfish
Bug: 37099941
Change-Id: Id7899381a537b1947cbb6164ed2b4a98492334af
2017-04-28 16:29:17 +09:00
Yueyao Zhu
28112f2bdd Merge "Makefile: support build and avb signing of dtbo img" am: 1a752acc89 am: 143b2be93e
am: 14fef78797

Change-Id: If8c047e8377c090fd739fdbdc5e80204b74bb1ce
2017-04-28 02:17:50 +00:00
Yueyao Zhu
14fef78797 Merge "Makefile: support build and avb signing of dtbo img" am: 1a752acc89
am: 143b2be93e

Change-Id: I58b393610a9f5cf3a241b325b9ce5afa3ddac962
2017-04-28 02:14:49 +00:00
Yueyao Zhu
143b2be93e Merge "Makefile: support build and avb signing of dtbo img"
am: 1a752acc89

Change-Id: I9b3fbff10331e4cd01aa43d22641b60b0f2f4374
2017-04-28 02:12:18 +00:00
Treehugger Robot
1a752acc89 Merge "Makefile: support build and avb signing of dtbo img" 2017-04-28 02:03:43 +00:00
Chih-Hung Hsieh
ee0ffb596b Merge "Get Android TOP from build.log file." am: 72a662a282 am: 5bc24ca63a
am: a463931292

Change-Id: Ibd67280ffe97bf5ab3ea988f862331a145681da5
2017-04-27 23:00:21 +00:00
Chih-Hung Hsieh
a463931292 Merge "Get Android TOP from build.log file." am: 72a662a282
am: 5bc24ca63a

Change-Id: I5712b3d21d8ce5447883b0c70e0352794de8f4a2
2017-04-27 22:52:35 +00:00