OSDN Git Service
Jaap Jan Meijer [Mon, 17 Oct 2016 15:25:35 +0000 (17:25 +0200)]
Merge remote-tracking branch 'cm/cm-14.0' into cm-14.0-x86
Simon Shields [Fri, 7 Oct 2016 06:18:33 +0000 (17:18 +1100)]
ninja: increase maximum suffix length
HFS+ and ext4 both support filenames up to 255 characters in length.
It should be ok to allow longer suffixes. This fixes mmp in places with
long paths (where otherwise the build system defaults to using md5sum
for the suffix)
Change-Id: I93e39875470417ce1b0febe7a9e0da37b56b5b00
Luis Vidal [Wed, 13 Jul 2016 22:16:08 +0000 (15:16 -0700)]
Add LOCAL_AIDL_FLAGS
Allow modules to define custom AIDL flags
Change-Id: I5609e6eb0a10d441cea2556179c8496293116dcf
Jaap Jan Meijer [Wed, 5 Oct 2016 23:17:05 +0000 (01:17 +0200)]
Merge remote-tracking branch 'cm/cm-14.0' into cm-14.0-x86
Conflicts:
core/build_id.mk
Chih-Wei Huang [Wed, 5 Oct 2016 15:33:42 +0000 (23:33 +0800)]
Merge tag 'android-7.0.0_r7' into nougat-x86
Android 7.0.0 Release 7 (NRD91D)
Quang Ngô [Sun, 25 Sep 2016 03:08:49 +0000 (10:08 +0700)]
We want Browser
See: https://git.io/viAru
Change-Id: I6f68e3e5cb09a8b64a8869396bb43c76e9bc181b
SteadyQuad [Tue, 4 Oct 2016 09:36:18 +0000 (11:36 +0200)]
Show complete command with args when ComputePatch fails
When Difference.ComputePatch() failed for some reason, only
the first part of the failed command was show with the error,
not all arguments.
old (simplified):
WARNING: failure running ['imgdiff', '-b', '/tmp/recovery-resource.dat']:
new:
WARNING: failure running ['imgdiff', '-b', '/tmp/recovery-resource.dat',
'/tmp/tmpSsy_kf', '/tmp/tmpOMCXSn', '/tmp/tmpA3FtZw']:
Change-Id: Id8b498df3ed7934815430e4b4c2651ef4aa781c6
Steve Kondik [Tue, 4 Oct 2016 20:21:37 +0000 (13:21 -0700)]
Merge tag 'android-7.0.0_r14' of https://android.googlesource.com/platform/build into cm-14.0
Android 7.0.0 Release 14 (NBD90Z)
Change-Id: I647131e98e0214aeb1d8087aeb7f6b095452b703
Dan Pasanen [Wed, 21 Sep 2016 13:31:42 +0000 (08:31 -0500)]
ninja: use host's ninja if it exists
* For whatever reason mainline ninja improves my build significantly
* Allow users to bust out of using whatever binary is provided with the
build system and use their own copy if they have it installed
Change-Id: I14dbb7b9d8a028d1b0f16e136a8310584df329be
Zhao Wei Liew [Mon, 8 Aug 2016 23:24:10 +0000 (07:24 +0800)]
build: Allow both OpenJDK and OracleJDK by default
Some users would like to build with Oracle JDK on Linux,
while others would like to build with OpenJDK on Darwin.
CM should build fine with either configuration, so drop
the OpenJDK checks to allow both of them.
Change-Id: I64d7887c2fab4dd301b07d7df0d19f28e97d80ab
Michael Bestas [Thu, 25 Aug 2016 21:37:02 +0000 (00:37 +0300)]
Move CM build additions to vendor/cm/build
Change-Id: I39d3e711a6beab47e3284919a9a4fef15b0f40b9
Anthony King [Sun, 8 Feb 2015 03:19:03 +0000 (21:19 -0600)]
build: use the system's ccache by default
* ccache gets updated semi-frequently and some builders would like
to be able to take advantage of new features without having to
rely on the prebuilt version getting updated
* If a build system has ccache installed already, use that version
instead of the prebuilt
Change-Id: I8988c8a25fab3694d84633f957c2b92ce84cf69e
Alexander Martinz [Thu, 15 Sep 2016 17:26:49 +0000 (19:26 +0200)]
support macOS sdk 10.12
Change-Id: Ief6c7141303f8f431d95d330b87293d67bcc1386
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
Keith Mok [Fri, 16 Sep 2016 21:30:19 +0000 (14:30 -0700)]
Revert "envsetup: Always look up JAVA_HOME path"
This breaks, if we have both jdk7 and jdk8 installed on same machine.
This reverts commit
9d59c59ae8e620abd26c4c18f120bdccf3d7bfa8
Change-Id: Id0482d130d5306e797adfeeaeb2efbd1e25aa3ee
Dark Eyes [Wed, 9 Mar 2016 03:05:10 +0000 (22:05 -0500)]
envsetup: Always look up JAVA_HOME path
Change-Id: I8b0641eb107cd095079bb17f92e99730f532fda7
Brandon McAnsh [Thu, 1 Sep 2016 04:22:53 +0000 (21:22 -0700)]
Revert "main: Use date -d on OSX"
Operation not permitted using -d
Needs to be looked into
This reverts commit
b4bf8caf60c2d61b1dc41d635b68081e57a77d55.
Change-Id: I54799e64d31ee6204523e3c51f2fb28ef10a3281
Dan Pasanen [Mon, 29 Aug 2016 13:37:10 +0000 (08:37 -0500)]
kernel: default to gcc 4.9; auto-set prefix based on TARGET_ARCH
GCC 4.8 doesn't exist anymore in N.
Change-Id: I5c83e7de97b75ece9a1306cb20b058d9fd30e288
Steve Kondik [Tue, 13 Sep 2016 16:20:44 +0000 (09:20 -0700)]
Merge tag 'android-7.0.0_r6' of https://android.googlesource.com/platform/build into cm-14.0
Android 7.0.0 release 6
Change-Id: I1a346a5a04c5cd61dd1d0f01c1d80927f39fb8f3
gitbuildkicker [Mon, 12 Sep 2016 21:12:27 +0000 (14:12 -0700)]
NBD90Z
gitbuildkicker [Mon, 12 Sep 2016 20:09:10 +0000 (13:09 -0700)]
NBD90Y
Ricardo Cerqueira [Sun, 11 Sep 2016 22:58:34 +0000 (23:58 +0100)]
qcom: Fix media pathmap for AOSP variant
The makefile now lives at the top and does platform selection
Change-Id: I79255f8b98542f6298a74947fc91eeffca523e81
Adrian DC [Thu, 8 Sep 2016 16:25:02 +0000 (18:25 +0200)]
build: repopick: Support squashed commits for Change-Id detection
* Commits are identified by their last Change-Id,
but the parser only considers the first one found
* Reverse the list to find the last Change-Id
and avoid multiple repopick attempts on the same commit
Change-Id: Ie0204245a47799f8ead21148e0b4e9356cf271eb
Adrian DC [Thu, 8 Sep 2016 15:11:11 +0000 (17:11 +0200)]
build: repopick: Support projects with less than 10 commits
* Verify that the project has at least 10 commits to verify,
if not check only the amount of existing commits
Change-Id: Ic95212510d8f5b980c9a94af8d5ac1e0dfd94b3e
flintman [Wed, 17 Dec 2014 13:25:44 +0000 (08:25 -0500)]
libart: Allow adjustment of the base address
On some devices the base address may need to be adjusted to
prevent overlapping of memory. This will allow the adjustment
to take place in the boardconfig.mk
Change-Id: I17da0301960f1b0183db20b7b592eb1efd28343d
Dan Pasanen [Mon, 5 Sep 2016 23:38:05 +0000 (18:38 -0500)]
build: remove dotfiles on a make clean as well
* kati & ninja create dotfiles (example: .ninja_log) in out/
Change-Id: I83ffd1c26a37f7ffef45fd4598435db93058ab67
dianlujitao [Sun, 4 Sep 2016 11:09:53 +0000 (19:09 +0800)]
build: Don't create /system/vendor symlink in recovery ramdisk
* Sometimes we want to put some private recovery resources there.
Change-Id: I0cfa68ad92872cef654dbe1c71a536f7a950e53f
Dan Pasanen [Mon, 5 Sep 2016 23:17:44 +0000 (18:17 -0500)]
build: don't dex preopt by default on linux
Change-Id: I7726cb87da576d1fcc59a4a3108e5a7ca2bf5304
gitbuildkicker [Thu, 8 Sep 2016 00:37:40 +0000 (17:37 -0700)]
NBD90X
Ricardo Cerqueira [Wed, 7 Sep 2016 23:13:56 +0000 (00:13 +0100)]
build: Fix a few mis-merges
Change-Id: I6b785bbef48babac21aeb6c4d90999830ddad50d
Ricardo Cerqueira [Wed, 7 Sep 2016 23:05:21 +0000 (00:05 +0100)]
build_image: Unbreak verity/FEC generation
Change-Id: Icbd36b11659ced7764599c5d2e0e91be67a3e4bc
Chris Sarbora [Wed, 17 Dec 2014 22:41:04 +0000 (14:41 -0800)]
Allow finer control over how product variables are inherited.
Change-Id: I3abc22eea94293d1d0ebf0a81b396ebea0baf5a8
(cherry picked from commit
29357f5ea1dd8507f70efc330b2e5966d13504e8)
Chih-Wei Huang [Wed, 24 Aug 2016 12:37:38 +0000 (20:37 +0800)]
kernel.mk: fix building errors on Android 7.0
Chih-Wei Huang [Fri, 19 Aug 2016 03:50:52 +0000 (11:50 +0800)]
kernel.mk: wl: support newer kernel (4.6+)
Jaap Jan Meijer [Mon, 15 Aug 2016 20:15:51 +0000 (22:15 +0200)]
Do not call assert-max-image-size when system image size is calculated automatically
When BOARD_SYSTEMIMAGE_PARTITION_SIZE is set to 0 the system image size is calculated
automatically, it does not make sense to call assert-max-image-size and it will fail.
Chih-Wei Huang [Sun, 5 Jun 2016 09:47:53 +0000 (17:47 +0800)]
kernel.mk: allow to specify the kernel compiler
Chih-Wei Huang [Sun, 5 Jun 2016 09:46:22 +0000 (17:46 +0800)]
android-x86: remove power.default
Alistair Strachan [Thu, 5 May 2016 23:29:08 +0000 (16:29 -0700)]
Avoid accidentally using the host's native 'as' command.
When invoking clang for the host to assemble .S files, the -B flag
would not be provided, which allowed the host prebuilt clang to
use an 'as' from the native environment. Most of the time this
"just works", but some newer 'as' versions cause problems with
the older prebuilt toolchain, for example by generating
unsupported relocation types.
To avoid this problem, simply use the -B flag to tell clang to
invoke the assembler from the correct prebuilt gcc prefix.
Change-Id: I18ea4f37ae637b652cfd7321c41929f8be075342
Signed-off-by: Alistair Strachan <alistair.strachan@imgtec.com>
Chih-Wei Huang [Mon, 18 Jan 2016 05:17:07 +0000 (13:17 +0800)]
Add target BoardConfig.mk as a prerequisite of build.prop
The BoardConfig.mk may define TARGET_CPU_ABI_LIST related variables
which affect the build.prop.
Chih-Wei Huang [Tue, 12 Jan 2016 10:06:26 +0000 (18:06 +0800)]
kernel.mk: split wl driver rules into another makefile
Two purposes for this change:
* Centralize the wl related files into the wl subdirectory
* Can simply ignore wl driver on porting new kernel
Chih-Wei Huang [Thu, 15 Oct 2015 17:43:17 +0000 (01:43 +0800)]
android-x86: add kernel building rules
Change-Id: I6b67229c735dacc73fe83a2a9937abdbf4a0c423
Chih-Wei Huang [Wed, 21 Jan 2015 04:27:35 +0000 (12:27 +0800)]
android-x86: remove audio.primary.default
We don't need the dummy hal.
Chih-Wei Huang [Tue, 20 May 2014 09:08:36 +0000 (17:08 +0800)]
Do not stash BOARD_SYSTEMIMAGE_PARTITION_SIZE
It's calculated later in our mkuserimg.sh.
Chih-Wei Huang [Wed, 16 Mar 2011 02:37:30 +0000 (10:37 +0800)]
android-x86: add rules to generate system.sfs
Michael Bestas [Sun, 11 Oct 2015 16:10:28 +0000 (19:10 +0300)]
Revert "Remove mkyaffs2image references."
* Can be enabled on devices that need it with TARGET_USERIMAGES_USE_YAFFS
This reverts commit
65d4186f85ddd8c3f6d0c521f31911cceee573c1.
Change-Id: I891f2e6a963178ffec92fedb25e7e28c60a768d1
Brandon McAnsh [Thu, 1 Sep 2016 04:47:46 +0000 (00:47 -0400)]
Add WITHOUT_CHECK_API guard around checkapi
* Granted we should never not check the API, the flag was added
so we need to account for it
Change-Id: Iae58ab6484c5c72904cae30e74f5ea1e89a86618
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Brandon McAnsh [Thu, 1 Sep 2016 04:30:37 +0000 (00:30 -0400)]
kernel: Add MAKE_FLAGS to kernel header generation
Change-Id: I284dc1df58ca33c0e4e029c152088cc19b8f2f56
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Steve Kondik [Sun, 4 Sep 2016 09:39:12 +0000 (02:39 -0700)]
releasetools: Fix py3 issue in QC change
Change-Id: I04c4f7b4e978e4c0cd4928f3afd8243914d86f68
Simon Shields [Sun, 28 Aug 2016 13:52:24 +0000 (23:52 +1000)]
build: add BOARD_GLOBAL_C[PP]FLAGS to TARGET_GLOBAL_C[PP]FLAGS
* workaround these being reset after BoardConfig.mk is run
Change-Id: Ibe984d862df0e1a5910ea80a66c44d599c299f10
Brandon McAnsh [Wed, 31 Aug 2016 02:24:18 +0000 (22:24 -0400)]
main: Use date -d on OSX
* OSX doesn't have an -r flag on date
Change-Id: I04cb58366926418fb9b05482514800a5a72af0e1
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Luca Stefani [Wed, 31 Aug 2016 13:12:01 +0000 (15:12 +0200)]
core: Fix build_{date,number}
Change-Id: I81e6cb0e5e191f669bb665207d71f28f3fa19581
Dan Pasanen [Wed, 31 Aug 2016 14:30:19 +0000 (16:30 +0200)]
repopick: handle revisions with slashes
Change-Id: I6f7891a52fb1538e88f5a68dd28ef1c603ee7067
Luca Stefani [Tue, 30 Aug 2016 22:38:04 +0000 (15:38 -0700)]
build: Re-add I_WANT_A_QUAIL_STAR
* This partially reverts commit
c7d6cc2a9cda88c8b110f69d8e121a732d570aa7
* Move cmsdk check to checkapi-cm, android checkapi shouldn't be
under this ifeq
Change-Id: Ia7c9853cc5f978ed533f2879367428eb1d64bd46
dianlujitao [Sun, 28 Aug 2016 12:25:56 +0000 (20:25 +0800)]
Revert "build: don't overwrite flags from BoardConfig"
* Broke bionic build on multiarch.
This reverts commit
8a570fa12fae714641d7590f77b39d676a533409.
Change-Id: I1bc3aa90d584ac7985ce48aabe6f1ca63f065899
Simon Shields [Sat, 27 Aug 2016 15:52:11 +0000 (01:52 +1000)]
build: don't overwrite flags from BoardConfig
Change-Id: Iff413c1ede334c8315a2082d9849e6c32d3aa8f7
Simon Shields [Fri, 26 Aug 2016 15:49:14 +0000 (01:49 +1000)]
repopick: don't re-pick duplicate changes
check the last 10 commits to HEAD for a dupe change id.
Change-Id: Icfbf8b4eae165cf84ef4a82f54f792e9c9acd67b
Chirayu Desai [Fri, 26 Aug 2016 16:43:51 +0000 (22:13 +0530)]
envsetup: fix lunch
Change-Id: I9dea4605857741132b8d10143c20d4bd7829086a
Luca Stefani [Fri, 26 Aug 2016 19:18:56 +0000 (14:18 -0500)]
build: Don't add cm jars if cm sdk is disabled
Change-Id: Iaec955e1738cd644d879db0c38d66d250c24ce91
Dan Pasanen [Thu, 15 Oct 2015 14:10:50 +0000 (09:10 -0500)]
releasetools: don't attempt to read fingerprint on unified devices
* You wont find this in the build.prop on these devices and this is
how we handled them in previous versions
Change-Id: I56332c87916da1a1206980df0e7a6ca8a55f0e8e
Luca Stefani [Thu, 25 Aug 2016 21:11:14 +0000 (23:11 +0200)]
build: Kill colors
Change-Id: Icf29909e3df69832a58f3c654a6ed92251d817ca
Christopher N. Hesse [Wed, 16 Sep 2015 12:29:36 +0000 (14:29 +0200)]
All operating systems are beautiful
Thou shalt not discriminate OS X.
Change-Id: I9c993d44ca74cb15631ea25d6105a3398ea57e95
Ethan Chen [Wed, 24 Aug 2016 22:23:03 +0000 (18:23 -0400)]
qcom: Properly select media hal root
AOSP split the media hal into msm8974 and msm8996, better to
just add target named symlinks in the media hal than ifdefs
here for the sake of cleanliness
Change-Id: I87f06b9c1b8939a8a8868ff35fcf6e8f5ec48b51
Dan Pasanen [Thu, 25 Aug 2016 14:39:27 +0000 (09:39 -0500)]
repopick: try to use remote's default revision
* If the project doesn't have a revision specified, try
to see if it's remote has one specified before falling back
to the global default.
Change-Id: I05129413b154e5d08d0fa9ef0ce853631b7e1562
Brandon McAnsh [Thu, 25 Aug 2016 00:52:03 +0000 (20:52 -0400)]
kernel: Fix libelf location on nougat
Change-Id: I34199aba9f6ec38d918c082def3298a3fa5c60f5
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Luca Stefani [Thu, 25 Aug 2016 18:24:33 +0000 (20:24 +0200)]
releasetools: Fix LoadRecoveryFSTab args order
Change-Id: If6f054f30cd76c48415e15cd06ef7433760bb76e
luca020400 [Mon, 9 May 2016 13:16:19 +0000 (15:16 +0200)]
ninja: build: dt: Move to in-build directory search
* We can't depend on a $OUT variable with ninja
Change-Id: I9ff050a986e7bb2774d1326f5b396d0afb7f33c1
Chirayu Desai [Thu, 25 Aug 2016 16:24:58 +0000 (21:54 +0530)]
releasetools: Fix mismerge
Change-Id: I11a48fb637b8b155c02c65500773aceb5d4bb376
Luca Stefani [Thu, 25 Aug 2016 15:55:07 +0000 (17:55 +0200)]
build: Fix py2 support
Change-Id: I200730c58ee89fd4151f8e013d53023e098d8ce4
Rashed Abdel-Tawab [Wed, 24 Aug 2016 19:22:56 +0000 (15:22 -0400)]
build: Add build flag to disable CMSDK usage
Change-Id: Ib4d966b1bcc5cf1578a28c0fcd3f9077c14af573
Michael Bestas [Sun, 6 Dec 2015 23:21:59 +0000 (01:21 +0200)]
core_minimal: Change make_f2fs to mkfs.f2fs
Change-Id: Ic95ea804a4dffb3af5ea5ba7e495bb5175281a78
Rashed Abdel-Tawab [Tue, 23 Aug 2016 19:58:56 +0000 (15:58 -0400)]
Add workaround for iTerm2 integration on macOS
Michael Bestas [Wed, 24 Aug 2016 16:49:01 +0000 (19:49 +0300)]
core: Fix boot/recoveryimage colors
hamaji [Wed, 24 Aug 2016 15:36:27 +0000 (11:36 -0400)]
build: Remove --detect_android_echo to properly issue echo commands
Elektroschmock [Wed, 17 Aug 2016 18:30:50 +0000 (20:30 +0200)]
core_minimal.mk: Remove duplicate packages
Change-Id: Iaf7833334985450576ffb0a8d1b1babf39fcb63a
Steve Kondik [Mon, 8 Aug 2016 06:07:32 +0000 (23:07 -0700)]
build: Source a CM-specific global BoardConfig
* Read vendor/cm/config/BoardConfigCM.mk. Kind of surprised we haven't
needed this until now.
Change-Id: I91cd89b14f6a5975e91f15dcfce1070502aa3861
Ricardo Cerqueira [Mon, 11 Jul 2016 10:17:56 +0000 (11:17 +0100)]
build: Use the password manager for the verity key if possible
If we're operating with a password dict, try to use it for verity
Change-Id: Ie0e8e33c873fc9f1ae9bd6da559f9cbbced183e9
Ref: CYNGNOS-3156
Ricardo Cerqueira [Mon, 4 Jul 2016 15:34:19 +0000 (16:34 +0100)]
build: Let the verity signer and metadata builders ask for a password
Don't grab stdin/out for these tools. We want to know when a password
is being requested (and be able to actually provide one) if the corresponding
key needs it
Change-Id: I8dd439322b7d8942adc9ce7ce0912fb20c69654f
Ref: CYNGNOS-3156
Ricardo Cerqueira [Wed, 15 Jun 2016 21:35:15 +0000 (22:35 +0100)]
Conditionally skip dex-preopting specific prebuilts.
Extend change I13f10e2a9c251366f29606158f8c2fb54f8ee8b so that it
optionally applies to a specific list of modules.
Change-Id: Id56aeadfb8d2581a2c7b7045725419bf4f6b8faa
Scott Mertz [Wed, 1 Jun 2016 20:40:25 +0000 (13:40 -0700)]
build: add kernel header dependency if module uses kernel headers
Many of the QCOM components use kernel headers, but don't declare
the dependency on them. This is fine in CAF because of the way they
build the boot.img before anything else. In CM, we don't build the
boot.img the same, so we run into a race between the kernel build &
these modules... and the modules lose.
Warn about modules that have this missing dependency, and add it for
them so we don't have to modify each Android.mk.
Change-Id: I95f1e47b5ef440f6f5d8f64a0c3f38d9572e839e
luca020400 [Thu, 19 May 2016 19:02:51 +0000 (21:02 +0200)]
build: Fix caf and aospremote
Change-Id: I8ad28d71254941c0aacb91b1c6c702f9f13caf5f
Brint E. Kriebel [Tue, 17 May 2016 01:53:19 +0000 (18:53 -0700)]
ereleasetools: Allow for custom boot image signing tools
Some boot images will need to be signed using specific tools. Allow
passing the path to this tool through an environment variable.
Change-Id: I958726fdae8d63fe99d639dfa361046b528a087c
Ticket: CYNGNOS-2868
Alistair Strachan [Thu, 5 May 2016 23:29:08 +0000 (16:29 -0700)]
Avoid accidentally using the host's native 'as' command.
When invoking clang for the host to assemble .S files, the -B flag
would not be provided, which allowed the host prebuilt clang to
use an 'as' from the native environment. Most of the time this
"just works", but some newer 'as' versions cause problems with
the older prebuilt toolchain, for example by generating
unsupported relocation types.
To avoid this problem, simply use the -B flag to tell clang to
invoke the assembler from the correct prebuilt gcc prefix.
Change-Id: I18ea4f37ae637b652cfd7321c41929f8be075342
Signed-off-by: Alistair Strachan <alistair.strachan@imgtec.com>
luca020400 [Thu, 5 May 2016 19:53:40 +0000 (21:53 +0200)]
envsetup: Fix aosp & caf remote
Fixes: sed: -e expression #1, char 9: unknown option to `s'
* Return if .git directory is missing and move it on the top
* Update cmremote strings ( match caf/aosp remote )
Change-Id: Ifb606a20f308e7317e9ce519d682a3fdb8bfe9bf
Adnan Begovic [Mon, 2 May 2016 22:53:56 +0000 (15:53 -0700)]
build: Fix manual invocation of aar targets.
Change-Id: Ic5a4980d1d45df24f6242e31fdfd86543f56e19c
TICKET: RM-232
Adnan Begovic [Mon, 2 May 2016 22:22:30 +0000 (15:22 -0700)]
build: Make sure to check for variable definition during execution.
TICKET: RM-232
Change-Id: Ic5b3850a81b959b05a218cd967dcec71c15a4cd5
Jorge Ruesga [Fri, 29 Apr 2016 15:55:51 +0000 (17:55 +0200)]
build: allow to set a consumer proguard file
This allow to specify a proguard file by defining LOCAL_CONSUMER_PROGUARD_FILE
that will inserted in the root directory of the aar and to be consumed by another apk
via gradle plugin
Change-Id: Ia3c11e5ea8e694800fb262b835432f86a6777f86
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Edward Wang [Sat, 16 Apr 2016 06:03:14 +0000 (23:03 -0700)]
build: skip 'ro.product.device' using new macro "TARGET_SKIP_PRODUCT_DEVICE"
Change-Id: Id17ef7de8b0146dd6e4b2cc3cc5b88453da38f6c
Ticket: FEIJ-62
Ethan Chen [Thu, 14 Apr 2016 00:49:36 +0000 (17:49 -0700)]
build: Add BOOTIMAGE_EXTRA_DEPS for BOOT_SIGNER products too
* Products supporting BOOT_SIGNER should depend on BOOTIMAGE_EXTRA_DEPS
as well, since that dt.img generation is tied to that rule.
Change-Id: I7c3040d0c59c66aaac46121d6ca50ab96bdf7e72
Diogo Ferreira [Wed, 16 Mar 2016 19:04:48 +0000 (19:04 +0000)]
build: Add MTK support
When setting BOARD_USES_MTK_HARDWARE, a global MTK_HARDWARE define will
be available to all target modules.
Change-Id: Id2a2996139a31afb6eb37f7ee24202587cb4beb1
kernel: remove support for unused MTK Kernel
Remove unused MTK kernel build support.
Change-Id: I4f4df078ae03b1bd5edc7000e5b942bfc05c02bd
Khalid Zubair [Wed, 2 Mar 2016 21:57:01 +0000 (13:57 -0800)]
build: add cmts config to global build
Change-Id: I554840be954545ab7637c9e5a6fcc7cb5a5da7c1
Abhishek G [Tue, 5 Apr 2016 00:03:24 +0000 (17:03 -0700)]
Preventing default locale from being overridden because of buildinfo.sh
Adding the ability to set default locale from the device tree. Adding
the TARGET_SKIP_DEFAULT_LOCALE flag which can be set in the device tree,
thus preventing buildinfo.sh from overriding default locale.
Change-Id: I66bcedb42216acee56ceaf657a39dc23d7eea6f4
Issue-Id: FEIJ-22
Khalid Zubair [Wed, 2 Mar 2016 22:01:45 +0000 (14:01 -0800)]
envsetup: fix mm under zsh
Fix a word splitting issue in zsh. Instead of building a duplicate
ARGS array for the !GET-INSTALL-PATH case, leave it untouched. For the
GET-INSTALL-PATH case, modify the argument list as needed.
Change-Id: I902ff1bc7a53e7afa8c4737d4208592ac18f95d7
Roman Birg [Tue, 1 Mar 2016 18:27:51 +0000 (10:27 -0800)]
build: better compatibility between zsh shells
Handle equals expansion in zsh
http://www.zsh.org/mla/users/2011/msg00160.html
Change-Id: I2b0cb23991aa88c3fa2c4dce00f7c3a673176e0a
Signed-off-by: Roman Birg <roman@cyngn.com>
Khalid Zubair [Thu, 11 Feb 2016 22:34:12 +0000 (14:34 -0800)]
envesetup: mmm/mmma: fix for zsh
Fix broken argument handling due to differnt word-splitting behavior
in zsh [1]. Zsh arrays should be explicitly defined.
- [1] http://zsh.sourceforge.net/FAQ/zshfaq03.html
Change-Id: Ic299c1952384001e374c64caebbb23e9792fddf2
Artefvck 07 [Thu, 4 Feb 2016 17:37:15 +0000 (09:37 -0800)]
releasetool: add OSIP partitions specifics
- Declare OSIP as a new partition type
- Standard boot.img update is not possible for OSIP partitions
We are simply removing it on AOSP handling, and let the board handle
it in its own releasetool.py
Change-Id: Ie19fc3f6a0ca42e2eda264904b20fceeddbeaf53
Khalid Zubair [Tue, 9 Feb 2016 00:54:01 +0000 (16:54 -0800)]
envsetup: cmgerrit: fix for zsh
zsh does not define $FUNCNAME, define it for zsh when necessary.
Change-Id: I097d3e572b18c84d953ca03b3714271d1d2fd5c3
Khalid Zubair [Tue, 9 Feb 2016 00:27:55 +0000 (16:27 -0800)]
envsetup: add function to detect shell
Add a function to detect shell, other functions can now use this to
handle shell specific behavior.
Change-Id: I4aabc0068e836c5433053b144d163fb0ed49f752
msfkonsole [Tue, 26 Jan 2016 21:28:37 +0000 (04:28 +0700)]
build: e2fsck missing from emulator
The emulator file system was recently switched to ext4 however, e2fsck was not
added to the emulator build.
Change-Id: Ida9ed1083de7576e20a7ad11f085e5cc4f17ecf4
Signed-off-by: msfkonsole <msfkonsole@gmail.com>
Brint E. Kriebel [Tue, 3 Nov 2015 01:26:07 +0000 (17:26 -0800)]
ota_from_target_files: Don't validate data signatures with data wipe
If data is going to be wiped later in the script, there is no reason to
validate signatures. This breaks updates that may be designed to wipe
data and change signatures.
Change-Id: I0b794b43cec2d22996eaa5571688c66582475d55
Ticket: CYNGNOS-1289
Martin Brabham [Fri, 5 Feb 2016 20:59:21 +0000 (15:59 -0500)]
Implement 'mmap' command
Change-Id: I029da8a8421bea2b628b4025f9f2d6f749436c7b
Adnan Begovic [Tue, 9 Feb 2016 19:15:55 +0000 (11:15 -0800)]
build: Enforce checkapi-cm on system image gen.
TICKET: CYNGNOS-1950
Change-Id: If13ff02b913d5586df163ff3aee254dd4cfb4e24