Commit graph

157 commits

Author SHA1 Message Date
Luca Stefani
a47c7368d7
build: Add tequila build support
Squashed also with the following changes:

  Author: Luca Stefani <luca020400@lineageos.org>
  Date:   Thu Aug 17 22:22:13 2017 +0200

    core: Include Lineage pathmap

  Change-Id: Ie25dee383cc5bc9bb6390cff2cb2460d526d80b6

  Author: Simon Shields <simon@lineageos.org>
  Date:   Fri Mar 2 12:55:47 2018 +1100

    build: unconditionally use lineage pathmap

    even if we're not building a lineage target, we need to
    use the lineage pathmap to make things like recovery and ril
    happy

  Change-Id: I974c30ad10d4ff5b7805c3df9c22010f1e002bf1

  Author: Luca Stefani <luca.stefani.ge1@gmail.com>
  Date:   Tue Jan 22 15:50:52 2019 +0100

    Don't export BUILD_NUMBER in envsetup

    * The value is meant to be set only before running an /official/ build
    * This allows us to execute consecutive make commands without
      running kati for every invocation

  Change-Id: Ifa94b839f30c7260009c8a3c91c202b50e28022e

  Author: Luca Stefani <luca020400@lineageos.org>
  Date:   Fri Aug 18 10:17:00 2017 +0200

    envsetup: Call fixup_common_out_dir

  Change-Id: I84e16b0df5822cfd8514c46d709109a13c20f86e

  Author: Adrian DC <radian.dc@gmail.com>
  Date:   Sat May 12 11:24:33 2018 +0200

    build: Include LineageOS specific properties in build.prop

     * Our properties were supposed to go to /system/etc/prop.default
        after the following commit:
        "lineage: Move to Google's method of defining system default props"
        Change-Id: I6cb0e28a7599b010b389cc541015a37010a00f4b

     * However if BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED is not true,
        only /default.prop will retain the properties contents of
        ADDITIONAL_DEFAULT_PROPERTIES and PRODUCT_SYSTEM_DEFAULT_PROPERTIES,
        and none of our versioning identification was held in the system

     * Enabling BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED globally would
        break all properties on devices that handle partitions usually
        at the device level rather than the kernel due to mounting races

     * Include the vendor/lineage/config/main.mk entrypoint to be allowed
        to extend ADDITION_BUILD_PROPERTIES as we need to define our releases

  Change-Id: I19918eece0f0dd3ee967db0339b4d09c9a6d540e
  Signed-off-by: Adrian DC <radian.dc@gmail.com>

  Author: Rashed Abdel-Tawab <rashed@linux.com>
  Date:   Thu Sep 5 21:35:38 2019 -0700

    core: Only include Lineage SE policy if repo exists

  Change-Id: If799106d2da6d8c303430e316edff365a22f7c99

  Author: dianlujitao <dianlujitao@lineageos.org>
  Date:   Thu Sep 5 21:56:36 2019 +0800

    product: Exclude AOSP apn list on Lineage build

    Change-Id: I1fd10089421a2e4b57ef565d87ad1f6036bd1898

  Author: Michael Bestas <mkbestas@lineageos.org>
  Date:   Fri Apr 12 02:10:12 2019 +0300

    build: Conditionally include AudioPackage14.mk instead of AllAudio.mk

    * AllAudio.mk doesn't contain latest material files and also
      contains multiple duplicate files. Just copy the latest
      material ones and we'll include the older files in vendor/lineage

    Change-Id: Ic7353216a3f3dc3c51006d951ac932cfd6e5f3b5

  Author: dhacker29 <dhackerdvm@gmail.com>
  Date:   Sat Jun 6 22:22:05 2015 -0400

    Remove LatinIME as it is included per target in vendor/lineage

    Change-Id: Ibce4a244ec0653a7c7798d864047ac667866a1dc

  Author: razorloves <razorloves@gmail.com>
  Date:   Mon Oct 7 05:10:56 2019 -0500

    build: Remove su inclusion

    This stops including su in all lineage userdebug/eng builds.
    Inclusion of su is conditionally handled in /vendor/lineage.

    Change-Id: Ia3ad978146f170a2b260d77afe9eb580d4b4f823

  Author: Michael Bestas <mkbestas@lineageos.org>
  Date:   Sat Nov 7 22:45:12 2020 +0200

    Stop including vendor specific clear_vars.mk

    vendor/lineage/build/core/clear_vars.mk is no-op since 16.0

    Change-Id: I7e159cc9ed5a838c9a04c1a8b7dcf925d83f0e20

Change-Id: Iab8b2ef8b644a7bea10bfd28b99d9e69539b1357
2024-10-24 19:25:10 +02:00
Dan Willemsen
9767223dc5 Fix up recovery_text_res
First, make it safer for incremental builds. We used to just be
depending on the bootable/recovery/tools/recovery_l10n/res dir as a
dependency, but that would only trigger a rebuild if a direct child
file/directory was added or removed (so essentially, when a translation
was addded or removed). If a translation was updated, it wouldn't
re-trigger recovery_text_res.

So instead of depending on the directory, depend on the results from
running `find` to list all of the contents in that directory.

Next, move it out of PACKAGING. `m installclean`, which runs in between
incremental builds on our build servers, deletes the obj/PACKAGING
directory. So when recovery_text_res used that directory, we were having
to rebuild it on every incremental build, which isn't optimal when it
takes nearly 90s to build.

So with:
 $ lunch aosp_coral-eng
 $ m bootimage
 $ m installclean
 $ m bootimage

The second `m bootimage` went from executing 666 actions in 93s to
executing 658 actions in 6s.

Finally, remove the last uses of $(call include-path-for,recovery),
since they were all in this file (and they weren't using it for include
paths...). We'd like to remove all of these and switch them to header
libraries or other use cases, but in this case, it's just shorter to use
the real path.

Test: treehugger
Test: m bootimage;
      touch bootable/recovery/tools/recovery_l10n/res/values/strings.xml
      m bootimage
Test: m bootimage; m installclean; m bootimage

Change-Id: I005592e49443aab45ed039a2f0c63f7a69035565
2020-05-27 19:37:03 -07:00
Steven Moreland
c0ee08020a Merge "Remove JNI_H_INCLUDE from make." am: cc96704ad2 am: 2d05df376d am: f88b6bd7d8
am: 07d26d46d0

Change-Id: I09cf9fa8fc080ec486d801fb143e5782e16f4fc4
2017-07-19 01:51:33 +00:00
Steven Moreland
07d26d46d0 Merge "Remove JNI_H_INCLUDE from make." am: cc96704ad2 am: 2d05df376d
am: f88b6bd7d8

Change-Id: Idd3421a6e4c23186fe689f57bd252a7276b84799
2017-07-19 01:46:32 +00:00
Steven Moreland
2d05df376d Merge "Remove JNI_H_INCLUDE from make."
am: cc96704ad2

Change-Id: I91ff6ba31fb53960f00398777f1f213dbcda10a8
2017-07-19 01:40:32 +00:00
Steven Moreland
5d3b159bfb Remove JNI_H_INCLUDE from make.
It's now specified and exported from Soong.

Bug: 63762847
Test: make libraries find their headers

Change-Id: Ica5afe7465d90230628f3a924e929df38d25cdd9
2017-07-18 14:44:21 -07:00
Robert Quattlebaum
ea7956e2da Support for android.net.lowpan in frameworks/base
Bug: b/33073713
(cherry picked from commit b2cbafe06e)

Change-Id: I9ddb52a14d2a2fffb2b8dc924ceb277f9076b19a
2017-06-20 11:01:37 +09:00
Robert Quattlebaum
22b005354f Merge "Revert "Support for android.net.lowpan and LoWPAN Service"" 2017-06-06 21:10:52 +00:00
Robert Quattlebaum
350911d726 Revert "Support for android.net.lowpan and LoWPAN Service"
This reverts commit b2cbafe06e.

Change-Id: Ib78a2ff1878900508db2d3dad0704182b75e9330
2017-06-06 21:03:23 +00:00
TreeHugger Robot
3f2be14109 Merge "Support for android.net.lowpan and LoWPAN Service" 2017-06-06 20:25:55 +00:00
Courtney Goeltzenleuchter
dd35495a77 Move include in prep of Android.bp support
Test: make
Change-Id: I1d1a240b2557db3d9d0a0b2227f84eff09f8d4ca
2017-05-05 16:40:40 -06:00
Robert Quattlebaum
b2cbafe06e Support for android.net.lowpan and LoWPAN Service
Change-Id: I92b066797b474981655917202cd7a8476f63ead8
Bug: b/33073713
2017-05-02 18:06:24 +00:00
Alan Viverette
abe580d9dc Move framework-specific portions of pathmap to frameworks/base
Test: make docs && make
Change-Id: I3bc3330609808176243e1fe0af6db4cbe71c4a29
2017-03-03 16:18:29 +00:00
Alan Viverette
0da362dc66 Update pathmap.mk for renderscript support library migration
Bug: 30255901
Change-Id: I213baaf4c76a7e5b8d20168624b74eb61582d215
(cherry picked from commit 49f03349c8)
2016-12-22 23:06:58 +00:00
Tomasz Mikolajewski
37308e374a Merge "Revert "Merge "Add documents-archive to SDK, docs builds" into nyc-dev am: 88b0d6a63d am: 88c45e1415 am: dfb9f231ac"" 2016-10-25 03:37:20 +00:00
Tomasz Mikolajewski
2b09bc8177 Revert "Merge "Add documents-archive to SDK, docs builds" into nyc-dev am: 88b0d6a63d am: 88c45e1415 am: dfb9f231ac"
This support library is removed from O.

This reverts commit 51b338808b.

Change-Id: Iffb1bc6f8eaa7ccce53a7ded9c32163a468dc30e
2016-10-14 03:50:48 +00:00
Alan Viverette
adb1ed34f8 Add transition support library to docs path to fix build am: 9c535433df am: ec58ebb4ee
am: c33fe0838d

Change-Id: I4e27adc8e0ed30e1c0705a57bc7f7919fb11022d
2016-09-14 02:56:44 +00:00
Alan Viverette
c33fe0838d Add transition support library to docs path to fix build am: 9c535433df
am: ec58ebb4ee

Change-Id: I88faba8d91efcd113244c3984ddb7a4ce59968ab
2016-09-13 02:27:19 +00:00
Dan Willemsen
15346d5e2d Merge "Remove speex from the pathmap" am: fbfff3129e am: 7da7001c18 am: 50e79ad9ce
am: 73da86ee11

Change-Id: Id2e6e6d5e9aee416d43794c0f0634b1f51fbe14d
2016-09-13 00:51:24 +00:00
Dan Willemsen
73da86ee11 Merge "Remove speex from the pathmap" am: fbfff3129e am: 7da7001c18
am: 50e79ad9ce

Change-Id: I79f1ad4aedd657fbaf66e2f9e64dd4c7e9231006
2016-09-13 00:21:35 +00:00
Dan Willemsen
208d3c2461 Remove speex from the pathmap
libspeexresampler uses LOCAL_EXPORT_C_INCLUDE_DIRS to export this path
to all of its users already.

Test: m libaudiopreprocessing libaudioutils
Change-Id: I682303142840d6f0f02c990de8e713620840bbda
2016-09-12 16:16:50 -07:00
Alan Viverette
9c535433df Add transition support library to docs path to fix build
Change-Id: I277df6af728aea4aaa5b10605cf2a6a44c2a246f
2016-09-09 16:39:18 -04:00
Alan Viverette
49f03349c8 Update pathmap.mk for renderscript support library migration
Bug: 30255901
Change-Id: I213baaf4c76a7e5b8d20168624b74eb61582d215
2016-07-26 13:06:37 -04:00
Kirill Grouchnikov
3f06eba6ea Rename the source of core-utils module to core-utils
Change-Id: Ia2db5386ca0048ed70a310a9b13e074d2fedd0a7
(cherry picked from commit 73b833b6a5d9b03c460ec61c5d781c032d6dbe1f)
2016-07-18 21:16:54 +00:00
Alan Viverette
d2fc8094b1 Update pathmap.mk for refactored support library
Fix build following fast-forward of support library branch.

Change-Id: Ib9701b6f31f5b4a18067380875b145d990a07dd3
2016-07-02 19:40:37 -04:00
Alan Viverette
51b338808b Merge "Add documents-archive to SDK, docs builds" into nyc-dev am: 88b0d6a63d am: 88c45e1415
am: dfb9f231ac

* commit 'dfb9f231ac7206b40b2964ef9a9654c029dde816':
  Add documents-archive to SDK, docs builds

Change-Id: I7243a4d2c1e527410287897f918b64aa5e7061ec
2016-05-19 20:07:35 +00:00
Alan Viverette
88b0d6a63d Merge "Add documents-archive to SDK, docs builds" into nyc-dev 2016-05-19 19:39:11 +00:00
Kirill Grouchnikov
20f2219fa7 Make SDK build happy for the combined v4 binary
Change-Id: I9b87e3144c715e265471935a46eafd99fe73185c
2016-05-17 12:43:44 -04:00
Alan Viverette
b192368acc Merge "Add missing support library projects to pathmap" into mnc-ub-dev am: 5b30101722 am: c608284d22 am: 71e10084fd
am: 12f16c7e24

* commit '12f16c7e246eb25e2fd4234210105afd392b747e':
  Add missing support library projects to pathmap

Change-Id: Ifd260e02ebca2cae170574b8b229e734beb0241b
2016-05-16 15:17:55 +00:00
Alan Viverette
c608284d22 Merge "Add missing support library projects to pathmap" into mnc-ub-dev
am: 5b30101722

* commit '5b3010172211583034d1cf5eac41583dae79d77a':
  Add missing support library projects to pathmap

Change-Id: Ia5c43c59bd4ff26a2d1069f38205ee7a5de2181b
2016-05-16 15:01:38 +00:00
Alan Viverette
e5368fa373 Add documents-archive to SDK, docs builds
Bug: 28762753
Change-Id: I169adfb3124aac92cb3b96966667a2f8b4b78472
2016-05-13 14:17:33 -04:00
Alan Viverette
55e80ef5c4 Add missing support library projects to pathmap
Bug: 28716910
Change-Id: I8eab2d638b72d591e157958b7b043431263f4409
2016-05-13 14:15:25 -04:00
Kirill Grouchnikov
e3f0f70f65 Extracting fragments and widgets into their own modules.
Also rename core to core-utils.

Change-Id: I1d50b4000f1e038f481940e4d0ff4d0daa1cb14c
2016-05-11 18:55:09 -07:00
Kirill Grouchnikov
b5a3bfb3e0 Extracting MediaCompat classes into a new module
Change-Id: Ic5526a2587ddaf489ea3748151471d04c92b5c9c
2016-05-10 09:24:36 -07:00
Kirill Grouchnikov
ea3373bea0 First split of support-v4 into two modules
Documentation at go/supportlib-2016

Change-Id: I1f92e58748a8269e6891504dc21d7d6a146ba5b9
2016-05-02 14:13:11 -04:00
Yigit Boyar
5b97d086e9 Fix data binding source paths
Bug: 26581427

Change-Id: If8acc01fa610663248fa894ac04b3268bc77f739
2016-01-20 12:20:10 +00:00
Elliott Hughes
b101f73be9 am 43bbbf8a: Merge "Remove more of the pathmap."
* commit '43bbbf8a15cfc03ce99d0b6a49992b25cf51fc39':
  Remove more of the pathmap.
2015-09-24 21:59:58 +00:00
Elliott Hughes
09c255dbd1 Remove more of the pathmap.
I've fixed libpagemap to export its headers, the only user of the
libnativehelper entry was in this file anyway, and no one was using
the libhost entry.

Change-Id: Id0d1773e55c0114ccc56cefd783689193a6204f9
2015-09-24 09:02:19 -07:00
Chris Banes
0fd694f360 am 743938fb: Merge "Make sure only AppCompat (not it\'s tests) are in the docs" into mnc-dev
* commit '743938fb0d4f56d7d009486fb90891eab9b50897':
  Make sure only AppCompat (not it's tests) are in the docs
2015-08-13 17:36:54 +00:00
Chris Banes
b916a5bcbc Make sure only AppCompat (not it's tests) are in the docs
BUG: 23169683

Change-Id: I6ab3b8c89eba17920f1265021c7960819e4371ab
2015-08-13 10:42:02 +01:00
Yusuf Ozuysal
d513d14c8f am 736463f8: Merge "Add support-customtabs to the doc build." into mnc-dev
* commit '736463f86cbe4a5d6b1b9333ee0eab4f9ebd5a70':
  Add support-customtabs to the doc build.
2015-08-07 00:21:19 +00:00
Benoit Lize
0e14dcc000 Add support-customtabs to the doc build.
b/22795013

Change-Id: I1363e5136ca15ea3089040d59de528c877fb53df
2015-07-31 17:36:37 +02:00
Tony Mantler
8e25a77e08 am 5915e57d: Merge "Add support preference libraries to docs build" into mnc-dev
* commit '5915e57db504914c02d36e8f8cc18767c40f9c2d':
  Add support preference libraries to docs build
2015-07-30 20:04:04 +00:00
Tony Mantler
c8b469aec5 Add support preference libraries to docs build
b/22795957

Change-Id: Ia8e02fd7726102f524a16f2f84e9c2bdd4d37f8f
2015-07-30 11:22:24 -07:00
George Mount
9510ba65ea am 087243dd: Merge "Add data binding to built javadoc." into mnc-dev
* commit '087243ddcb61b602f4d4eb03022844021a659fda':
  Add data binding to built javadoc.
2015-07-16 14:29:38 +00:00
George Mount
5349e7dd6b Add data binding to built javadoc.
Bug 22175560

Change-Id: I979bcac5131270c679b6f1867c3211096696a86a
2015-07-13 16:44:44 -07:00
Elliott Hughes
ab944482b8 am 9ba0796e: am 60dda9c4: Merge "Remove mkbootimg from the pathmap."
* commit '9ba0796e37f38b40eb2182c2d277a2b272169342':
  Remove mkbootimg from the pathmap.
2015-07-08 23:41:35 +00:00
Elliott Hughes
3d949bbabc Remove mkbootimg from the pathmap.
It's only ever referred to directly. (Should probably move to
system/core/include, but that's orthogonal to this change.)

Change-Id: I353afff031a29206aaa5a0991fe0ccb39e4731e2
2015-07-08 16:05:17 -07:00
Elliott Hughes
b6e9ed6f2b am a78f5557: am 8f548f35: Merge "Remove pathmap.mk entries for libc."
* commit 'a78f5557709ec7a2b9b1bf598b0b401a5b50e6ef':
  Remove pathmap.mk entries for libc.
2015-07-08 21:49:40 +00:00
Elliott Hughes
b248bf85ae Remove pathmap.mk entries for libc.
Change-Id: I9f4ce70696dd7df5922b3c80501fac9c7d4b7149
2015-07-08 14:10:23 -07:00