OSDN Git Service

android-x86/external-libffi.git
5 years agoMerge "Add default code reviewers into OWNERS"
Chih-hung Hsieh [Wed, 9 Jan 2019 18:01:34 +0000 (10:01 -0800)]
Merge "Add default code reviewers into OWNERS"
am: c4572f10cd

Change-Id: I79dab61cfbdea864c2e9a087e7641cc79e13a601

5 years agoMerge "Add default code reviewers into OWNERS"
Chih-hung Hsieh [Wed, 9 Jan 2019 17:49:10 +0000 (17:49 +0000)]
Merge "Add default code reviewers into OWNERS"

5 years agoAdd default code reviewers into OWNERS
Chih-Hung Hsieh [Tue, 8 Jan 2019 23:35:41 +0000 (15:35 -0800)]
Add default code reviewers into OWNERS

Bug: 33166666
Test: gerrit uploader
Change-Id: If0297c7e9c7cc399fbd97385a70fa9772c606a44

5 years ago[automerger skipped] Merge "DO NOT MERGE"
Xin Li [Mon, 10 Dec 2018 17:51:00 +0000 (09:51 -0800)]
[automerger skipped] Merge "DO NOT MERGE"
am: c5db7f8f22  -s ours

Change-Id: I0684ed2a838e3c68d2e4ec48707b09a400f0e642

5 years agoMerge "DO NOT MERGE"
Treehugger Robot [Mon, 10 Dec 2018 17:20:41 +0000 (17:20 +0000)]
Merge "DO NOT MERGE"

5 years agoDO NOT MERGE
Xin Li [Sat, 8 Dec 2018 00:14:39 +0000 (16:14 -0800)]
DO NOT MERGE

Merge pie-platform-release (PPRL.181205.001, history only) into master

Bug: 120502534
Change-Id: Iae482c6db84b081b4e637b7a51a0b27c8d59b02d

5 years agoMerge "Merge Android Pie into master" am: 0a8660952b
Xin Li [Wed, 8 Aug 2018 00:13:27 +0000 (17:13 -0700)]
Merge "Merge Android Pie into master" am: 0a8660952b
am: f22398537c

Change-Id: Ic64eeac1a0b1bb3aa2e9074cd53d98c0af5339b9

5 years agoMerge "Merge Android Pie into master"
Xin Li [Tue, 7 Aug 2018 20:35:35 +0000 (13:35 -0700)]
Merge "Merge Android Pie into master"
am: 0a8660952b

Change-Id: I895932399c25382ce216c489fbe2c3b28717e78c

5 years agoMerge "Merge Android Pie into master"
Xin Li [Tue, 7 Aug 2018 16:51:24 +0000 (16:51 +0000)]
Merge "Merge Android Pie into master"

5 years agoMerge Android Pie into master
Xin Li [Mon, 6 Aug 2018 23:50:36 +0000 (16:50 -0700)]
Merge Android Pie into master

Bug: 112104996
Change-Id: I1203292f475a26447fac699738ae803d458f1a5a

6 years agoSnap for 4745538 from c82cc185378f84d9aa51c7ab8c8dd3f104312b97 to pi-release
android-build-team Robot [Thu, 26 Apr 2018 07:24:45 +0000 (07:24 +0000)]
Snap for 4745538 from c82cc185378f84d9aa51c7ab8c8dd3f104312b97 to pi-release

Change-Id: Id50fa79185b17b2699527a4fe45092b852c506f1

6 years agoAdd vendor_available: true to Android.bp.
Ben Lin [Wed, 25 Apr 2018 23:53:11 +0000 (16:53 -0700)]
Add vendor_available: true to Android.bp.
am: c82cc18537

Change-Id: I869bc308c20f1a714ad396da6a940e59ee148b68

6 years agoAdd vendor_available: true to Android.bp.
Ben Lin [Wed, 25 Apr 2018 17:33:27 +0000 (10:33 -0700)]
Add vendor_available: true to Android.bp.

Bug: 78570710
Test: Still builds.
Change-Id: If6568af38e8648a80e6e57fac5c34577e9bb48d8

6 years agoSnap for 4620899 from ca22c3cb49a8cca299828c5ffad6fcfa76fdfa77 to pi-release
android-build-team Robot [Sun, 25 Feb 2018 08:25:24 +0000 (08:25 +0000)]
Snap for 4620899 from ca22c3cb49a8cca299828c5ffad6fcfa76fdfa77 to pi-release

Change-Id: Ic0f9862d3d7a6d2937cd4cfb66b1386bd25f3e7f

6 years agoReplace deprecated assembly op code.
Chih-Hung Hsieh [Fri, 23 Feb 2018 18:45:41 +0000 (10:45 -0800)]
Replace deprecated assembly op code.

* New clang 7.0 assembler rejects deprecated op code.
  s/fldmiad/vldmia/
  s/fstmiad/vstmia/
  s/fstmfdd sp!,/vpush/

Bug: 72412030
Test: make checkbuild, verified identical output code
Change-Id: I2086050bb6f966c13de8aef37f78a5d7d36b0b75

6 years agoSnap for 4425573 from a051dfe384c0e42b383d1759400b80e4a8223502 to pi-release
android-build-team Robot [Tue, 31 Oct 2017 08:01:33 +0000 (08:01 +0000)]
Snap for 4425573 from a051dfe384c0e42b383d1759400b80e4a8223502 to pi-release

Change-Id: I117292663acd729e00dc69ccc8169224c7a87a3f

6 years agoUse -Werror in external/libffi
Chih-Hung Hsieh [Mon, 30 Oct 2017 17:24:17 +0000 (10:24 -0700)]
Use -Werror in external/libffi

* Suppress non-critial warnings.
* Keep existing warnings to fix later.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Id6b8714a7fb3d71aa37c01e81eddb1c334ea6496

6 years agoAdd arm64 build target.
Garfield Tan [Tue, 17 Oct 2017 18:13:15 +0000 (11:13 -0700)]
Add arm64 build target.

Fix the weird blueprint file scheme. multilib is not necessary to build
multiple libraries for 64 bit targets.

Test: "mma -j128" built external/libffi for
aosp_(x86,x86_64,arm,arm64)-eng.
Change-Id: Ic102141e5768aaa8750f50c98e0be729553675aa

6 years agoMerge remote-tracking branch 'goog/master-arc-dev'
Garfield Tan [Mon, 16 Oct 2017 18:09:49 +0000 (11:09 -0700)]
Merge remote-tracking branch 'goog/master-arc-dev'

Change-Id: I41975c647ed66d8c39e9ae2b1fa5ee6063d5da3e

6 years agoClean master's content to merge in bits ARC needs.
Garfield Tan [Mon, 16 Oct 2017 17:51:36 +0000 (10:51 -0700)]
Clean master's content to merge in bits ARC needs.

external/libffi is not used by anyone in master except ARC++ team, and
ARC++ team needs to use a different version of libffi. Therefore it's OK
to clean up old content, and merge in the version of libffi ARC++ uses.

Note external/libffi is not part of master's manifest.

Test: "ls -a" only shows ". .. .git".
Change-Id: I769e810d1ed284995f259043e8d13f74fd50ab7d

6 years agoConvert Android.mk to Android.bp.
Garfield Tan [Wed, 11 Oct 2017 17:39:03 +0000 (10:39 -0700)]
Convert Android.mk to Android.bp.

Test: "mma -j128" built libffi for arm/x86/x86_64.
Change-Id: I18d6db0e30540e0f1400db629809a64495863742

7 years ago[nyc-arc] Fix cheets-libffi compilation on ARM
Luis Hector Chavez [Fri, 7 Oct 2016 21:04:21 +0000 (14:04 -0700)]
[nyc-arc] Fix cheets-libffi compilation on ARM

This is a bug in LLVM: https://llvm.org/bugs/show_bug.cgi?id=20595 . It
was marked as WONTFIX and later fixed upstream in libffi in a different
way via https://github.com/libffi/libffi/commit/e7f15f60e but it does
not cleanly apply. Instead, use the fix mentioned in the LLVM bug
thread.

Bug: 31833456
Test: lunch cheets_arm-eng && m
Change-Id: I602c32dd1463e8aeca95cd06dd19193dee008114

8 years agocheets-libffi: Fix compilation of 32-bit library on x86/x86_64
Tomasz Figa [Wed, 2 Dec 2015 10:58:32 +0000 (19:58 +0900)]
cheets-libffi: Fix compilation of 32-bit library on x86/x86_64

32-bit libffi requires different source files than 64-bit ones.
Moreover, regardless of target system, win32.S is always needed. Also
additional define is required to select code path supported by GNU
Assembler version provided by Android x86/x86_64 toolchain.

Change-Id: I0d2e17a8ee08fd28d0f8b7649b9e444932819874

8 years agocheets-libffi: Symlink x86_64 include directory to x86
Tomasz Figa [Tue, 1 Dec 2015 07:58:23 +0000 (16:58 +0900)]
cheets-libffi: Symlink x86_64 include directory to x86

When building for x86_64, the include directory used is linux-x86_64,
however it currently does not exist. Since the contents are supposed to
be the same as x86, let's create a symlink.

Change-Id: I1467d361cda9cfd380c3762237b1ef522edf2bb6

8 years agocheets-libffi: Use assembly variant suitable for Android toolchain
Tomasz Figa [Tue, 1 Dec 2015 07:56:52 +0000 (16:56 +0900)]
cheets-libffi: Use assembly variant suitable for Android toolchain

Android AS does not seem to support the @ syntax, however seems to work
fine with code variants used when HAVE_AS_X86_PCREL is defined, so
let's define it and fix build failures.

Change-Id: I29c8bacb82e6119195d41f40e80113938049cd62

8 years agocheets: Fix the cheets-libffi MODULE_LICENSE type
Lloyd Pique [Mon, 16 Nov 2015 21:10:12 +0000 (13:10 -0800)]
cheets: Fix the cheets-libffi MODULE_LICENSE type

The AOSP repo identifies the libffi license to be a BSD-like license,
and since I started with it (but updated to a more recent version), I
inherited the MODULE_LICENSE_BSD_LIKE file.

https://android.googlesource.com/platform/external/libffi/+/master

However the actual license type is MIT.

https://opensource.org/licenses/BSD-2-Clause
https://opensource.org/licenses/MIT

(compare with the LICENSE and NOTICE files)

I realized in checking over a change landed on the Chrome side where it
was added fresh that this needed to be fixed here.

This patch renames the file to MODULE_LICENSE_MIT to correctly set the
license that applies.

Change-Id: If59ebd66ba9c2eb1d7c3f9488eb3a42075334ebe

8 years agocheets: Add external/wayland and external/cheets-libffi
Lloyd Pique [Tue, 27 Oct 2015 21:32:21 +0000 (14:32 -0700)]
cheets: Add external/wayland and external/cheets-libffi

wayland-client will be used by the hardware composer.
libffi is required by libwayland-client.

BUG=b/25324609
TEST=drm_hwcomposer.cpp compiles/links when including "wayland-client.h"
     and calling wl_display_connect(NULL)

Change-Id: I2d05e174b5044b11fae798d93ef2fd1090b70f1f

10 years agoMerge "Only mips needs libffi (for unoptimized dalvik JNI)."
Elliott Hughes [Thu, 16 Jan 2014 02:33:34 +0000 (02:33 +0000)]
Merge "Only mips needs libffi (for unoptimized dalvik JNI)."

10 years agoOnly mips needs libffi (for unoptimized dalvik JNI).
Elliott Hughes [Wed, 15 Jan 2014 22:48:55 +0000 (14:48 -0800)]
Only mips needs libffi (for unoptimized dalvik JNI).

Change-Id: I52a770d08ff7e02c30120395bc4a0b9638d28dac

10 years agoMerge "x86_64: Add targets"
Elliott Hughes [Tue, 1 Oct 2013 21:44:46 +0000 (21:44 +0000)]
Merge "x86_64: Add targets"

10 years agox86_64: Add targets
Pavel Chupin [Fri, 14 Dec 2012 11:10:59 +0000 (15:10 +0400)]
x86_64: Add targets

This is required to continue builds of other projects.

Change-Id: Id3f5c54a7dabce0f67f54e58c161c3fad9be417e
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
11 years agoMerge "Remove Android-added linux-sh support (not upstream)."
Elliott Hughes [Fri, 10 Aug 2012 23:15:09 +0000 (16:15 -0700)]
Merge "Remove Android-added linux-sh support (not upstream)."

11 years agoRemove Android-added linux-sh support (not upstream).
Elliott Hughes [Fri, 10 Aug 2012 22:30:24 +0000 (15:30 -0700)]
Remove Android-added linux-sh support (not upstream).

Also put linux-mips in alphabetical order.

Change-Id: Ie2b3df17396a37755ec49c6acde4e2a091236fed

11 years agoMerge "[MIPS] Add MIPS support for libffi"
Elliott Hughes [Fri, 10 Aug 2012 21:11:46 +0000 (14:11 -0700)]
Merge "[MIPS] Add MIPS support for libffi"

11 years agoMerge "Mark libffi as optional for non-ARM/x86 builds"
Jean-Baptiste Queru [Fri, 10 Aug 2012 20:52:04 +0000 (13:52 -0700)]
Merge "Mark libffi as optional for non-ARM/x86 builds"

12 years agoMark libffi as optional for non-ARM/x86 builds
Bhanu Chetlapalli [Wed, 1 Feb 2012 22:13:26 +0000 (14:13 -0800)]
Mark libffi as optional for non-ARM/x86 builds

Change-Id: I58b094966d15e92329364378f3c7b535eed9a89c
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Bhanu Chetlapalli <bhanu@mips.com>
12 years ago[MIPS] Add MIPS support for libffi
Chris Dearman [Tue, 31 Jan 2012 20:20:52 +0000 (12:20 -0800)]
[MIPS] Add MIPS support for libffi

Change-Id: I279cf53590fb862e8a8ba80a16b8d4b535864c8f
Signed-off-by: Chris Dearman <chris@mips.com>
13 years agomerge from open-source master
The Android Open Source Project [Fri, 14 May 2010 21:39:33 +0000 (14:39 -0700)]
merge from open-source master

Change-Id: Iafcb89bdab1495c869569f7063e6c775898dedfc

14 years agoSuperH: add configuration to libffi
Tony SIM [Thu, 15 Apr 2010 09:18:27 +0000 (18:18 +0900)]
SuperH: add configuration to libffi

Change-Id: I863cc294cccebf047ff32e1b42b887923a170094

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:31 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk

Change-Id: If124f1635093f36f01a1951f6f9b5f1eff4754c5

14 years agoam 39f130fb: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:10:04 +0000 (14:10 -0800)]
am 39f130fb: reconcile main tree with open-source eclair

Merge commit '39f130fb905302abb9c4b7fd28029d0014582574'

* commit '39f130fb905302abb9c4b7fd28029d0014582574':
  android-2.1_r1 snapshot

14 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:35 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

14 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:08:09 +0000 (14:08 -0800)]
reconcile android-2.1_r1 snapshot

14 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:18:28 +0000 (15:18 -0800)]
android-2.1_r1 snapshot

14 years agoRemove host build rules for libffi, and no longer build it for x86
Dan Bornstein [Tue, 20 Oct 2009 20:15:08 +0000 (13:15 -0700)]
Remove host build rules for libffi, and no longer build it for x86
device targets.

The new recommendation for libffi usage is: Libffi is fine to use as a
means of bootstrapping your device build for a new architecture, but
you probably want to replace it with custom code before you ship. As
for a host build, if you need it (which isn't actually that likely),
you should use the libffi that comes with your platform or build it as
a normal library (e.g., download it and then "./configure; make
install").

Change-Id: I710daa136a2cacc4f95cdf6b5fd60a3d3c072df5

14 years agoMake libffi buildable for the host (target libffi-host), and make it
Dan Bornstein [Thu, 23 Jul 2009 18:28:43 +0000 (11:28 -0700)]
Make libffi buildable for the host (target libffi-host), and make it
support darwin-x86.

The host-side build rules are protected by WITH_HOST_DALVIK, so as to
prevent it from building under normal circumstances. This change also
removes make target that runs all the tests, replacing it with a
bona fide shell script which now works for host builds (whereas the
old make target only worked for simulator builds).

15 years agoMerge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:12:20 +0000 (17:12 -0700)]
Merge donut into master

15 years agoMerge branch 'open_source_no_contributions' into google_internal
The Android Open Source Project [Sun, 29 Mar 2009 15:55:07 +0000 (08:55 -0700)]
Merge branch 'open_source_no_contributions' into google_internal

15 years agoMerge commit 'remotes/korg/cupcake' into cupcake_to_master
Jean-Baptiste Queru [Wed, 18 Mar 2009 23:57:37 +0000 (16:57 -0700)]
Merge commit 'remotes/korg/cupcake' into cupcake_to_master

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:30:04 +0000 (19:30 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:30 +0000 (18:28 -0800)]
auto import from //depot/cupcake/@135843

15 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:04:36 +0000 (18:04 -0800)]
Code drop from //branches/cupcake/...@124589

15 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution