Age | Commit message (Collapse) | Author |
|
596772ba2a am: 87c8958af7 am: 499ca85135
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/2018607
Change-Id: Id68d6afa6caf43c780522ffc601ed9177a6feffd
|
|
596772ba2a am: 87c8958af7
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/2018607
Change-Id: I0b12f29b01fc1b633b337944c36bbcdcf62f57d7
|
|
596772ba2a
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/2018607
Change-Id: I2a3fc5291eccc81317fa6486987d2339142476af
|
|
|
|
For convenience, builds against musl libc currently use the
linux_glibc properties because they are almost always linux-specific
and not glibc-specific. In preparation for removing this hack,
tweak the linux_glibc properties by either moving them to host_linux,
which will apply to linux_glibc, linux_musl and linux_bionic, or
by setting appropriate musl or linux_musl properties. Properties
that must not be repeated while musl uses linux_musl and also still
uses the linux_glibc properties are moved to glibc properties, which
don't apply to musl. Whether these stay as glibc properties or get
moved back to linux_glibc later once the musl hack is removed is TBD.
Bug: 223257095
Test: m checkbuild
Test: m USE_HOST_MUSL=true host-native
Change-Id: Ifc78a0294bd34146aa352064e071c8a7e0322e42
|
|
Bug: 189946434
Change-Id: Ia8aad2e238a8e17a9c5882db0de6e67d7d34da9f
|
|
be2f3e44e2 am: 8f17adeb23 am: 18fed8206a am: e18b55943e
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
Change-Id: Ib4571bf2aeb7c8a948b090d5f36e09b39c1abafa
|
|
ours am: c3e5a2c4b1 -s ours am: 7380ba9a76 -s ours
am skip reason: Change-Id Ibde80548980d6eaed9ca95accaabf7fcf1c4860d with SHA-1 2a5a93fdfd is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If76b93c3b1309b4542e481daed9ade26ef2d56c5
|
|
ours am: c3e5a2c4b1 -s ours am: 7380ba9a76 -s ours
am skip reason: Change-Id Ibde80548980d6eaed9ca95accaabf7fcf1c4860d with SHA-1 2a5a93fdfd is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibe7bbda11f12c1973b69e76b88c8edb967fd77fa
|
|
ours am: c3e5a2c4b1 -s ours
am skip reason: Change-Id Ibde80548980d6eaed9ca95accaabf7fcf1c4860d with SHA-1 2a5a93fdfd is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie2842262e956ee039a462cac8280848d70715562
|
|
am skip reason: Change-Id Ibde80548980d6eaed9ca95accaabf7fcf1c4860d with SHA-1 2a5a93fdfd is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic02f01830b6b41e96f14026a20d7cfb8eec0ef86
|
|
Bug: 180401296
Merged-In: Ibde80548980d6eaed9ca95accaabf7fcf1c4860d
Change-Id: I0b2219b15f518c384dc45f37aa32f32913ec4b4f
|
|
be2f3e44e2 am: 8f17adeb23 am: 18fed8206a
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I85637e9ee010473e6e43bfb40c209869691d8369
|
|
be2f3e44e2 am: 8f17adeb23 am: 18fed8206a
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7e860f6ee7d8a227bc4a9317b9ec32d4396b6917
|
|
be2f3e44e2 am: 8f17adeb23
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iee9e258b30659eb9f8c75c056d5c3e98b9fe6991
|
|
be2f3e44e2
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iae96705e34f2fccba1e93dfde60ca22c5f0d26d8
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If607e0926e9dc294e528a3798852089d67ecdd19
|
|
|
|
Added SPDX-license-identifier-GPL SPDX-license-identifier-LGPL
SPDX-license-identifier-LGPL-2.1 SPDX-license-identifier-LGPL-3.0
SPDX-license-identifier-MIT
to:
Android.bp
Added SPDX-license-identifier-LGPL SPDX-license-identifier-LGPL-2.1
SPDX-license-identifier-LGPL-3.0
to:
android/jni/examples.mk
android/jni/libusb.mk
android/jni/tests.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I83e2ada5cc458204d8758e5772fb561a8675e2d3
|
|
8dbdfc669e
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ieaecf383ca63bf2a4ae0c16bf2361117743da32a
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I99665aa7147fad84f01a3d904377e8011069dbfb
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1f2fca73a52206685ef08f54915db194e88f73ec
|
|
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556942
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1b9bdbba21bd5c6faba899e8ad65fb3360d168aa
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556942
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I869202d65952522deb17f7879d943423c4826cf1
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556942
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I22472943ba4e9138f5851bc2d4f3f593af283413
|
|
|
|
adb has moved, and it probably makes more sense to just assign this to
all the janitors anyway.
(We should probably add a TEST_MAPPING here, but that's a separate issue.)
Test: N/A
Change-Id: I23819b7ae3b11e814fcb3c99c805065cd57266a6
|
|
The build system recently started to use `-Wunguarded-availability` and
is complaining that the calls to clock_gettime isn't properly guarded
with the runtime __builtin_availability check. However, the call is
already statically guarded by HAVE_CLOCK_GETTIME. Silence the unguarded
availability check.
Bug: 178124881
Test: watch a forrest run on mac
Change-Id: I0715091620ce1a5346f21c3484f4714d760bea61
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1525678
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I67793b83da48d661ae9eb038fa54de66dc58773b
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1525678
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibde80548980d6eaed9ca95accaabf7fcf1c4860d
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1525678
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3c10eb6d31ed200d9bffb1f16048ad17f508d582
|
|
|
|
With manual updates to Android.bp and the (darwin linux windows)/config.h
files.
Test: treehugger
Change-Id: Ie7538ff6b1e3e08fbdca1fe4d40deca6d0656539
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
When building libusb out-of-tree, ie when running configure from another
directory, building the documentation fails with:
$ make -C doc
make: Entering directory '/tmp/build/doc'
make: *** No rule to make target 'libusb.png', needed by 'api-1.0'. Stop.
make: Leaving directory '/tmp/build/doc'
This has likely been broken by commit 4a5540a925e4 ("autotools: Fix a number of
issues"). This patch fixes that by prefixing libusb.png with @top_srcdir@/doc.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
Closes #812
Closes #813
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Closes #151
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
There are certain games played in the examples and tests source to
account for differences in build environments and target platforms. This
can be simplified by including config.h and using the definitions there.
To that end, move the printf function attribute definition from
libusbi.h to config.h and leverage it where it is used in the examples
and tests.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libusb/+/13112782
Change-Id: I74a631a2d9496a0f63dcfb3a3414b06233e2e1d7
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libusb/+/13112782
Change-Id: I3d472e74d9d1040554f9f35f177e70e88bfc5a92
|
|
Bug: 172690556
Change-Id: Ic64f241c15715b3327b3467012cf3301f92b50c8
|
|
Commit f69548c3b3 ("examples: Enable all examples to build on all
platforms") modified dpfp and sam3u_benchmark to be buildable on any
platform, however there were some oversights and regressions introduced
for Android and Xcode.
Update the Android and Xcode build files to account for the removal of
dpfp_threaded.c as well as the inclusion of config.h from examples
and/or tests source.
Additionally switch the threaded version of dpfp to use sem_open()
instead of sem_init() as the latter is in fact deprecated on MacOS.
Closes #808
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Prior to this change, the dpfp and sam3u_benchmark examples were only
built on POSIX platforms due to a dependency on sigaction(). Furthermore
the dpfp_threaded example only worked with POSIX threads.
Lift this limitation by breaking the dependence on sigaction(). Also
provide a minimal threading abstraction so that dpfp_threaded can be
built on Windows as well.
Also merge the sources for dpfp and dpfp_threaded. The only difference
between the two is how libusb's event handling functions are called and
this can be easily handled within a single source file.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
- explicitly check/log info, when a device has broken descriptor;
Closes #791
Closes #806
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
* [-Wpointer-arith] arithmetic on a pointer to void is a GNU extension
* [-Wswitch-enum] enumeration values 'E1, ...' not explicitly handled in switch
* [-Wunused-parameter] unused parameter 'p'
For '-Wswitch-enum', the switch statements in the individual backends'
set_option() function has been removed. It is not expected that backends
will need to handle or be aware of all the options.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Add Ubuntu's Focal distribution to get the latest Linux toolchain.
Add Xcode 12.2 to get the latest MacOS toolchain.
Remove Xcode 7.3 as it is now obsolete and will not successfully build.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|