Commit Graph

43543 Commits

Author SHA1 Message Date
Treehugger Robot
dc6e822374 Merge "NO_STANDARD_LIBRARIES := true blocks ALL resource libraries" 2018-02-16 03:35:28 +00:00
Calin Juravle
92fc421d24 Merge "Record the compilation reson in oat files for prebuilts" am: 87774191b3
am: 1697a9b6f0

Change-Id: Id4f91219fd5f3778bc32210f16ba9278fdd42388
2018-02-16 03:27:05 +00:00
Calin Juravle
1697a9b6f0 Merge "Record the compilation reson in oat files for prebuilts"
am: 87774191b3

Change-Id: I64aa5a5ec80982ea485b49edcdb066ae5eb2e2c1
2018-02-16 03:12:44 +00:00
Treehugger Robot
87774191b3 Merge "Record the compilation reson in oat files for prebuilts" 2018-02-16 02:28:31 +00:00
Dan Willemsen
6dc4621afc Add Docker instructions for older branches
If you've upgraded away from Ubuntu 14.04 Trusty, you may find that
older branches (or certain code) doesn't build anymore. These
instructions can form a starting point to build these older branches
within Docker.

Bug: 72993575
Test: Follow instructions, build marshmallow-dev
Test: Follow instructions, build lollipop-mr1-dev
Change-Id: If4047b1bb5324d75a9d0947cb5280ff1cabccb6a
2018-02-15 18:17:46 -08:00
Andreas Gampe
b24f0a1071 Merge "Build: Move LOCAL_ERROR_PRONE_FLAGS" am: 304be2ec74 am: 024e08192e
am: 9b54ee8bf3

Change-Id: I1382d90ffb4f8fc4f91c09a80139ed9c47a8638b
2018-02-16 01:44:58 +00:00
Mathieu Chartier
e8fb7cf87b Add a product property for changing the default compiler filter
Add product property for changing default compiler filter:
PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER

Bug: 70934104
Test: Specify PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER in a device.mk

Change-Id: I264631fc3813ef44d43b802b4cd9a8e92098183e
2018-02-15 17:44:37 -08:00
Andreas Gampe
9b54ee8bf3 Merge "Build: Move LOCAL_ERROR_PRONE_FLAGS" am: 304be2ec74
am: 024e08192e

Change-Id: I0f416bcecebbb0364345a4025dd8b3fef8617e28
2018-02-16 01:31:20 +00:00
Andreas Gampe
024e08192e Merge "Build: Move LOCAL_ERROR_PRONE_FLAGS"
am: 304be2ec74

Change-Id: I2b2fc2526670faae72a821b0b480ac5fe45ef744
2018-02-16 01:17:36 +00:00
Chih-Hung Hsieh
acc684b07d Merge "Remove core/clang/versions.mk and scan-build wrapper" am: b9a66a6250 am: bfc856a64e
am: 7f3bea5982

Change-Id: I5946a803690d77243721b342d5b35a87728a6111
2018-02-16 01:11:14 +00:00
Chih-Hung Hsieh
7f3bea5982 Merge "Remove core/clang/versions.mk and scan-build wrapper" am: b9a66a6250
am: bfc856a64e

Change-Id: Ia2c17b54af6966565db2de49db61499ce48b9aa2
2018-02-16 01:04:46 +00:00
Treehugger Robot
304be2ec74 Merge "Build: Move LOCAL_ERROR_PRONE_FLAGS" 2018-02-16 01:04:45 +00:00
Chih-Hung Hsieh
bfc856a64e Merge "Remove core/clang/versions.mk and scan-build wrapper"
am: b9a66a6250

Change-Id: I9072ba68b9bdfc1ba9ad8b0f95a2556d267194f1
2018-02-16 00:57:34 +00:00
Adam Lesinski
6b6283a042 NO_STANDARD_LIBRARIES := true blocks ALL resource libraries
LOCAL_RES_LIBRARIES and LOCAL_APK_LIBRARIES should still be honored.

Test: make CtsDevicePrereleaseSdkApp
Change-Id: I3360d0fe2f7e2f3038e48f41905923a72609ceec
2018-02-15 16:53:18 -08:00
Nan Zhang
cf9d50302a Export Make config vars to Soong to support Droiddoc
export Android.mk config vars to Soong, and export stubs.jar to Make
after compiling Droiddoc from Soong.

Bug: b/70351683
Test: Convert libcore docs Android.mk to Soong manually.

Change-Id: I749b4b3e1e50abce8a757130987c18d7135a3859
2018-02-15 16:10:21 -08:00
Calin Juravle
55f149263c Record the compilation reson in oat files for prebuilts
Test: build
Bug: 73102540
Change-Id: Ia2ba0670f36b3eeb481bc7b2ae44a1c89777bfc1
2018-02-15 16:00:15 -08:00
Treehugger Robot
b9a66a6250 Merge "Remove core/clang/versions.mk and scan-build wrapper" 2018-02-15 23:56:36 +00:00
Andreas Gampe
21a1c6d03f Build: Move LOCAL_ERROR_PRONE_FLAGS
Move application of module flags to host_java_library_common.mk
so that dalvik host builds can also have flags.

Bug: 72451126
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Idbf43afd886536cc7ea674aa4487da3c22987850
2018-02-15 15:02:15 -08:00
Nan Zhang
f1cbc5dbf1 Merge "Remove BUILD_DATETIME from Make." am: 4babe39d0f am: 03bca8c4a8
am: 649f5b3c9a

Change-Id: Iaf6c6240dce29da37b2b4dd30abbc7326a5464be
2018-02-15 22:59:46 +00:00
Nan Zhang
649f5b3c9a Merge "Remove BUILD_DATETIME from Make." am: 4babe39d0f
am: 03bca8c4a8

Change-Id: I3f8e13a53dbd3217f3ae15b9512d3bb917695df1
2018-02-15 22:53:02 +00:00
Nan Zhang
03bca8c4a8 Merge "Remove BUILD_DATETIME from Make."
am: 4babe39d0f

Change-Id: I80fb427641584deddc8bce4975aa3965a431705f
2018-02-15 22:46:31 +00:00
Treehugger Robot
4babe39d0f Merge "Remove BUILD_DATETIME from Make." 2018-02-15 22:30:49 +00:00
Chih-Hung Hsieh
7ed0db8d1d Remove core/clang/versions.mk and scan-build wrapper
* Use the definitions of ClangDefaultBase and ClangDefaultVersion
  in build/soong/cc/config/global.go.
* scan-build is too old;
  replaced by better clang-tidy's -clang-analyzer-* checks.
* WITH_STATIC_ANALYZER is still effective
  to invoke ccc-analyzer or c++-analyzer.

Test: make checkbuild
Change-Id: Ifd159dd28e529d5d3c9807f5e391911365da8cdb
2018-02-15 13:38:50 -08:00
Alan Viverette
fa0184fae9 Allow projects to define their own globally-available variables
Bug: 73178261
Test: make checkbuild
Change-Id: I53ee0f1d3ec072e19f4893cca44e16ef672fabfe
2018-02-15 15:02:53 -05:00
Gil O'Neil
f8256a570a Merge "Added SimAppDialog to the list of core packages" 2018-02-15 18:58:41 +00:00
Meng Wang
177a3fe782 Merge "AOSP telephony uses device/sample APN XML" am: bd48f84f17 am: e818f98bc0
am: dd888010d3

Change-Id: I75f09ad7f5f89df3a1fdb66fa4071565e277e8ee
2018-02-15 18:21:07 +00:00
Meng Wang
dd888010d3 Merge "AOSP telephony uses device/sample APN XML" am: bd48f84f17
am: e818f98bc0

Change-Id: I90c508b3605c7a92cf0abb5a7a4b6daf21610e77
2018-02-15 18:13:03 +00:00
Meng Wang
e818f98bc0 Merge "AOSP telephony uses device/sample APN XML"
am: bd48f84f17

Change-Id: If122321d98cb3cc2c86946cd028febf4cbac0687
2018-02-15 18:06:40 +00:00
Meng Wang
bd48f84f17 Merge "AOSP telephony uses device/sample APN XML" 2018-02-15 17:37:57 +00:00
bohu
b654f33a0f Merge "emulator: grant fingerprint hal data permission" am: b2cc4ddafd am: 96fecf5b08
am: 58a877d853

Change-Id: Ie510c648c6e85c497f32879a9cc4c07bc1a85b20
2018-02-15 17:02:27 +00:00
bohu
58a877d853 Merge "emulator: grant fingerprint hal data permission" am: b2cc4ddafd
am: 96fecf5b08

Change-Id: If1bc358d6a761146ec86af0ccf84613b2fff325d
2018-02-15 16:54:57 +00:00
bohu
96fecf5b08 Merge "emulator: grant fingerprint hal data permission"
am: b2cc4ddafd

Change-Id: I89cbaaf66d1c765ac2d9794ec1e6ad7fa44fc578
2018-02-15 16:47:23 +00:00
Treehugger Robot
b2cc4ddafd Merge "emulator: grant fingerprint hal data permission" 2018-02-15 16:34:36 +00:00
Meng Wang
5151c6c2b8 AOSP telephony uses device/sample APN XML
Bug: 73091197
Test: make - /system/etc/apns-conf.xml same as
      device/sample/etc/apns-full-conf.xml

Change-Id: I5e9651066e7a5d4de31d846daf3fe3120476b89f
2018-02-15 05:54:52 +00:00
bohu
72fa12db3c emulator: grant fingerprint hal data permission
Test: build sdk_gphone_x86-userdebug
launch emulator, enroll fingerprint, close emulator
relaunch emulator, check previously enrolled fingerprint still work

Change-Id: I27552509368f08cc6a7aa52b0e9efc5ae952469d
2018-02-14 15:37:31 -08:00
Tao Bao
fc7e0e06b6 releasetools: Add unittest for common.GetSparseImage().
Add construct_sparse_image() to test_utils.py, which is a util function
to create sparse images. The new tests also partially cover the recent
changes that add 'incomplete' and 'uses_shard_blocks' tags.

Test: python -m unittest test_common
Change-Id: Ia15f5c4ad12423691216ebbad2c28f95c8427d7e
2018-02-14 15:12:52 -08:00
Colin Cross
e7bbfb145f Merge "Disable duplicates warnings when merging jars" am: 2a519d5a9b am: 87eba4a9ba
am: 51b559abfa

Change-Id: Idd0ab1653340dcba6dd37fa80168cffcb66eb452
2018-02-14 21:43:37 +00:00
Nan Zhang
975f41ed34 Remove BUILD_DATETIME from Make.
Soong_UI will handle build timestamp and export date file to Make.

Test: m -j32
Bug: b/70351683
Change-Id: Ibe4ceb1b224c5e8f3e1a8a59cfee89217765a901
2018-02-14 13:30:53 -08:00
Colin Cross
51b559abfa Merge "Disable duplicates warnings when merging jars" am: 2a519d5a9b
am: 87eba4a9ba

Change-Id: Ibdb4a36ff11824d5712a2f6744e0463b35f809a4
2018-02-14 21:16:25 +00:00
Colin Cross
87eba4a9ba Merge "Disable duplicates warnings when merging jars"
am: 2a519d5a9b

Change-Id: I3d450f1bfb0833c8a86729a331f209dc2e59a795
2018-02-14 21:11:15 +00:00
Treehugger Robot
2a519d5a9b Merge "Disable duplicates warnings when merging jars" 2018-02-14 20:52:30 +00:00
Colin Cross
da5338d647 Merge "Revert "Remove art targets from PARSE_TIME_MAKE_GOALS"" am: eefc171d1f am: 1acf954411
am: dc8086745d

Change-Id: Ia0e236748488f8acfc4dde6de052a3f70c23c019
2018-02-14 19:40:15 +00:00
Colin Cross
dc8086745d Merge "Revert "Remove art targets from PARSE_TIME_MAKE_GOALS"" am: eefc171d1f
am: 1acf954411

Change-Id: Ia19752d48e23ab246eecb7be692273a2661a9805
2018-02-14 19:34:13 +00:00
Colin Cross
1acf954411 Merge "Revert "Remove art targets from PARSE_TIME_MAKE_GOALS""
am: eefc171d1f

Change-Id: I9d46343d8bdba4b59eb723cf7015757c95b3bf96
2018-02-14 19:27:55 +00:00
Colin Cross
484a712453 Revert "Revert "Remove art targets from PARSE_TIME_MAKE_GOALS""
This reverts commit 6bd8e28571.

Change-Id: I486be40cd76b504bd8641cebd91248fe93f2e5a0
2018-02-14 19:25:24 +00:00
Colin Cross
eefc171d1f Merge "Revert "Remove art targets from PARSE_TIME_MAKE_GOALS"" 2018-02-14 19:14:17 +00:00
Colin Cross
6bd8e28571 Revert "Remove art targets from PARSE_TIME_MAKE_GOALS"
This reverts commit 86a596c711.

Reason for revert: Broke aosp_x86_64-eng checkbuild

Change-Id: Ib13b967ee56efdf3053ef1a292a07c1b82972588
2018-02-14 19:13:04 +00:00
Adam Seaton
5966ef774e Merge changes from topics "am-3c619e2a-1f4e-47aa-8753-e1a28443a34e", "am-9f861bb0-3c66-4edc-8d28-54a30e085c78" into oc-dev am: db07ca24cd am: 73acc9e68a am: cf071d11f7
am: 2853edda26

Change-Id: I14d0a8a8927bc7c2266da820d70494a799d706b1
2018-02-14 19:11:58 +00:00
Adam Seaton
2853edda26 Merge changes from topics "am-3c619e2a-1f4e-47aa-8753-e1a28443a34e", "am-9f861bb0-3c66-4edc-8d28-54a30e085c78" into oc-dev am: db07ca24cd am: 73acc9e68a
am: cf071d11f7

Change-Id: I08f5096d9852a62948ffe71b8438b3433f7e9454
2018-02-14 19:07:18 +00:00
Adam Seaton
cf071d11f7 Merge changes from topics "am-3c619e2a-1f4e-47aa-8753-e1a28443a34e", "am-9f861bb0-3c66-4edc-8d28-54a30e085c78" into oc-dev am: db07ca24cd
am: 73acc9e68a

Change-Id: If83dbff09b778e82911f9f090a88f58bf9a28c6e
2018-02-14 19:02:13 +00:00