Commit graph

12 commits

Author SHA1 Message Date
Will McVicker
05b997b4f0 ANDROID: build: update ABI definitions
Update these defines to be inclusive:
* KMI_WHITELIST -> KMI_SYMBOL_LIST
* ADDITIONAL_KMI_WHITELISTS -> ADDITIONAL_KMI_SYMBOL_LISTS
* KMI_WHITELIST_STRICT_MODE -> KMI_SYMBOL_LIST_STRICT_MODE

Change-Id: Ie247fb7a1ef9ff27c06003ab0861fc9a790b10c6
Signed-off-by: Will McVicker <willmcvicker@google.com>
Bug: 161912438
2020-07-28 17:39:44 +00:00
Greg Kroah-Hartman
c579764ff6 ANDROID: GKI: move abi files to android/
It's good to move the abi files out of the root kernel directory, so
move them to android/ to make it obvious these are add-on things, not
anything that is upstream.

Bug: 155573384
Cc: Matthias Maennich <maennich@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I9f6c2269a1c4e8e4233971adc805cb7584d455f9
2020-07-07 09:36:54 +02:00
Greg Kroah-Hartman
18aada792e ANDROID: GKI: drop unneeded "_whitelist" off of symbol filenames
No need for "_whitelist" to be on the abi symbol files, it's just a
list of abi symbols we are going to support.

Bug: 160578303
Cc: Matthias Maennich <maennich@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0e4c449550f41ff364a09a2987e877a62b986be7
2020-07-07 09:35:38 +02:00
Quentin Perret
4b1ee0c027 ANDROID: build.config.gki.aarch64: Enable WHITELIST_STRICT_MODE
This will ensure we get a build-time error if the whitelist does not
match the KMI resulting from a build. This indicates that some
whitelisted symbols are not actually exported, or that we export
non-whitelisted symbols. This is non-desirable either way.

Bug: 151133259
Bug: 149980028
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: Ifaa1ae8a15f09f3791ed4487920d7751062fa210
2020-05-07 08:12:23 +00:00
Matthias Maennich
c9a157ba3f ANDROID: Add ABI Whitelist for qcom
This adds a ABI whitelist definition for qcom SoCs and updates the ABI
representation accordingly.

Leaf changes summary: 1451 artifacts changed
Changed leaf types summary: 1 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1450 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

Bug: 150481249
Change-Id: I45c9dd1a6b6a7bd373a8e6c295ad66a8f21531e1
Signed-off-by: Matthias Maennich <maennich@google.com>
2020-02-28 23:45:43 +00:00
Quentin Perret
0a4f75c3ce ANDROID: build.config.gki.aarch64: enable symbol trimming
Bug: 148277666
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: Ic705f000188b3677b929e3c0428cc6b97782c045
2020-02-28 10:52:40 +00:00
Matthias Maennich
cddc2eb575 ANDROID: ABI/Whitelist: update for Cuttlefish
This adds a whitelist for the symbols used by the cuttlefish device and
updates the ABI representation accordingly.

These are the steps:

1) Perform a clean device build (Cuttlefish):

  $ BUILD_CONFIG=common/build.config.cuttlefish.aarch64 build/build.sh

2) Extract the ABI whitelist for this device

  $ build/abi/extract_symbols out/android-4.19/dist/ --whitelist common/abi_gki_aarch64_cuttlefish_whitelist

3) Add the whitelist to the list of ADDITIONAL_KMI_WHITELISTS

4) Update the ABI representation for the GKI

  $ BUILD_CONFIG=common/build.config.gki.aarch64 build/build_abi.sh --update

Bug: 147894960
Change-Id: I433b200dd5b79bf9ee9adeea1db7b66c571f6539
Signed-off-by: Matthias Maennich <maennich@google.com>
2020-02-12 11:11:16 +00:00
Matthias Maennich
71f21b22ae ANDROID: add initial ABI whitelist for android-4.19
Bug: 145692847
Change-Id: I52e4b9b6bc025a86eb4f75bc7643a69b1e5c0d93
Signed-off-by: Matthias Maennich <maennich@google.com>
2019-12-18 12:44:33 +00:00
Matthias Maennich
f04f84fdeb ANDROID: refactor build.config files to remove duplication
The build.config.* files largely contain duplicate information by their
nature. Reorganize them reduce duplication and to allow adding new
configurations without copying the definitions again.

Bug: 140224784
Change-Id: I6a3810a125b0ed48591690ca33bb5c02be58218a
Signed-off-by: Matthias Maennich <maennich@google.com>
2019-10-22 18:27:12 -07:00
Ram Muthiah
9d58151e31 ANDROID: Move from clang r353983c to r365631c
Bug: 139440459
Test: BUILD_CONFIG=common/build.config.gki.x86_64 build/build.sh
Test: BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
Change-Id: I7ee5d9a687843c09bbc5edb591d3337bd5bfbcbc
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2019-10-22 01:08:00 +00:00
Ram Muthiah
d8837b8695 Adding GKI Ramdisk to gki config
Test: Treehugger
Bug: 132629930
Change-Id: I3773d828cea4ab0ea8cfaef8a533a5ae925f037c
Signed-of-by: Ram Muthiah <rammuthiah@google.com>
2019-08-14 18:17:18 +00:00
Tri Vo
95444f4abd ANDROID: add GKI artifacts
In preparation of 4.19-gki-dev branch deprecation

Bug: 138132040
Test: BUILD_CONFIG=common/build.config.gki.aarch64  build/build_abi.sh
Test: BUILD_CONFIG=common/build.config.cuttlefish.x86_64  build/build.sh
Change-Id: I05311ff05b1904240263204835084c6a5e375cd2
Signed-off-by: Tri Vo <trong@google.com>
2019-07-31 10:57:50 -07:00