Commit Graph

37084 Commits

Author SHA1 Message Date
Yang Ni 9aff695ab8 Merge "Do not package res unless RS target API < 21" 2017-05-02 19:29:33 +00:00
Colin Cross ea60db9a83 Pass TARGET_USES_HWC2 to soong as device_uses_hwc2
TARGET_USES_HWC2 is going away, but propagate it to soong for now
to unblock converting dependency chains that end in libhwui.

Test: soong tests
Change-Id: Ie436548a60a08a487b1d85ff55706b824b297833
2017-05-02 11:18:40 -07:00
Colin Cross 761d673df4 Merge "Support LOCAL_JACK_ENABLED := javac_frontend" am: 64ed2f2478 am: d6a3273faa
am: eb2457b89e

Change-Id: I98104d161dcc709a764cb86750d3217538863fdb
2017-05-02 18:15:12 +00:00
Colin Cross eb2457b89e Merge "Support LOCAL_JACK_ENABLED := javac_frontend" am: 64ed2f2478
am: d6a3273faa

Change-Id: I8b902ff0ec388e86dd347b5aa0017b100580c618
2017-05-02 18:12:40 +00:00
Colin Cross d6a3273faa Merge "Support LOCAL_JACK_ENABLED := javac_frontend"
am: 64ed2f2478

Change-Id: I0cf84e3f17b01b348eb6b0a1aa8fb453b07fd799
2017-05-02 18:10:10 +00:00
Colin Cross 64ed2f2478 Merge "Support LOCAL_JACK_ENABLED := javac_frontend" 2017-05-02 18:05:36 +00:00
Michael Wright 06fc7e023b O is API 26.
Bug: 37480230
Test: Build, run.
Change-Id: I2f0e7fecf38d224c20d18cff856c45a7a3e624ad
2017-05-02 18:31:53 +01:00
Steven Moreland 9a1ba2e8b1 Merge "Allow PRODUCT_FULL_TREBLE_OVERRIDE to be false." am: 0f56f197fa am: 05e43e6005
am: 28a13d0d9e

Change-Id: I72ed2d7ebbd7077d2377b4f0aa44ee8b0203cf56
2017-05-02 16:57:06 +00:00
Steven Moreland 28a13d0d9e Merge "Allow PRODUCT_FULL_TREBLE_OVERRIDE to be false." am: 0f56f197fa
am: 05e43e6005

Change-Id: I4976f161116cd3b890971a3e0c9efd2f08065e60
2017-05-02 16:55:05 +00:00
Steven Moreland 05e43e6005 Merge "Allow PRODUCT_FULL_TREBLE_OVERRIDE to be false."
am: 0f56f197fa

Change-Id: Ib62676222012092e2de1736d1004ae68647ead9f
2017-05-02 16:52:34 +00:00
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 10030bced5 Update build files to new compiler filters.
bug:34715556
Test: build and boot aosp bullhead

(cherry picked from commit 0576b5f24e)

Change-Id: I75586e2eaa40480470115c89cf1c049313850fe9
2017-05-02 12:36:40 +01:00
Nicolas Geoffray b391568e22 Use 'quicken' instead of 'interpret-only'.
bug: 34715556
Test: build

(cherry picked from commit eb3d2f2e75)

Change-Id: I159332c7cc3f7ea0e4b3371883dda8e4aab6b158
2017-05-02 12:32:52 +01: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
Andreas Gampe 48d9a5c80b Build: Disable leak sanitizer for ijar
Temporary workaround.

Bug: 37756495
Test: ASAN_OPTIONS= SANITIZE_HOST=address mm
Change-Id: Idf48f45f0c33fc57af29574c8591a532144d4623
2017-04-28 10:36:12 -07:00
Andreas Gampe 83c5c474b8 Build: Disable leak sanitizer for llvm-rs-cc
Temporary workaround. Disable leak detection and container
overflow.

Bug: 37755219
Test: ASAN_OPTIONS= SANITIZE_HOST=address m
Change-Id: Id2a72fe7170123f8652f96a0fed29d03f99ae03b
2017-04-28 10:36:12 -07:00
Andreas Gampe c5bb0d736e Build: Disable leak sanitizer for aapt
Temporary workaround.

Bug: 37750224
Test: SANITIZE_HOST=address m
Change-Id: If83e1df25890717d18b841fa65635427ba2ee36a
2017-04-28 10:36:12 -07:00
Nicolas Geoffray a5bb180a89 Pass --force-determinism to prebuilts.
bug: b/37442966
Test: build
Change-Id: I231803874f6f2a7245a4ef03d50a271d3c29fc9f
2017-04-28 15:01:22 +01: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