OSDN Git Service

android-x86/ndk.git
15 years agoAdd docs/HOWTO.TXT to list a few important tips for NDK users
David 'Digit' Turner [Mon, 1 Jun 2009 19:17:04 +0000 (21:17 +0200)]
Add docs/HOWTO.TXT to list a few important tips for NDK users
Also remove reference to docs/ROADMAP.TXT from README.TXT (doh)

15 years agoMerge change 2813 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 19:18:21 +0000 (12:18 -0700)]
Merge change 2813 into donut

* changes:
  Remove the jni-tips.html document. It contains too many swear words :-)

15 years agoMerge change 2818 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 19:18:10 +0000 (12:18 -0700)]
Merge change 2818 into donut

* changes:
  Add docs/STABLE-APIS.TXT which contains the list of exposed frozen APIs in the NDK. Also update README.TXT and docs/ANDROID-MK.TXT accordingly, to document the use of LOCAL_LDLIBS.

15 years agoMerge change 2771 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 19:04:59 +0000 (12:04 -0700)]
Merge change 2771 into donut

* changes:
  SDK Updater: parse local packages, download and install remote packages.

15 years agoSDK Updater: parse local packages, download and install remote packages.
Raphael [Fri, 29 May 2009 21:02:50 +0000 (14:02 -0700)]
SDK Updater: parse local packages, download and install remote packages.

The install phase is still work in progress.
The local part needs to display descriptions.
Buttons callback are generally not implemented yet.

15 years agoAdd docs/STABLE-APIS.TXT which contains the list of exposed frozen APIs in the NDK.
David 'Digit' Turner [Mon, 1 Jun 2009 18:38:19 +0000 (20:38 +0200)]
Add docs/STABLE-APIS.TXT which contains the list of exposed frozen APIs in the NDK.
Also update README.TXT and docs/ANDROID-MK.TXT accordingly, to document the use of
LOCAL_LDLIBS.

15 years agoMerge change 2770 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 18:17:19 +0000 (11:17 -0700)]
Merge change 2770 into donut

* changes:
  SDK Updater stuff.

15 years agoRemove the jni-tips.html document. It contains too many swear words :-)
David 'Digit' Turner [Mon, 1 Jun 2009 17:10:40 +0000 (19:10 +0200)]
Remove the jni-tips.html document. It contains too many swear words :-)

15 years agoMerge commit '6f56ebc73762945f2757c66c91ef4702edd979b8' into donut
The Android Open Source Project [Sat, 30 May 2009 18:41:37 +0000 (11:41 -0700)]
Merge commit '6f56ebc73762945f2757c66c91ef4702edd979b8' into donut

15 years agoAI 149397: ADT 1807821 and 1841824: Fixes in android tool
Raphael Moll [Fri, 29 May 2009 23:39:42 +0000 (16:39 -0700)]
AI 149397: ADT 1807821 and 1841824: Fixes in android tool
  - Bug 1807821: create avd -f option does nothing.
  - Bug 1841824: NPE during AVD delete or update.
  BUG=1841824,1807821

Automated import of CL 149397

15 years agoMerge change 2749 into donut
Android (Google) Code Review [Fri, 29 May 2009 22:36:42 +0000 (15:36 -0700)]
Merge change 2749 into donut

* changes:
  Make CompiledResourcesMonitor#getRClassName more error proof.

15 years agoMake CompiledResourcesMonitor#getRClassName more error proof.
Xavier Ducrohet [Fri, 29 May 2009 22:01:18 +0000 (15:01 -0700)]
Make CompiledResourcesMonitor#getRClassName more error proof.

15 years agoMerge change 2687 into donut
Android (Google) Code Review [Fri, 29 May 2009 20:40:07 +0000 (13:40 -0700)]
Merge change 2687 into donut

* changes:
  Add support for parsing code coverage file path to runtest and related cleanup.

15 years agoAdd support for parsing code coverage file path to runtest and related cleanup.
Brett Chabot [Fri, 29 May 2009 01:29:24 +0000 (18:29 -0700)]
Add support for parsing code coverage file path to runtest and related cleanup.

This change is to adapt runtest to the InstrumentationTestRunner change which
dumps coverage data to the app's local data folder, instead of a fixed file on
the sdcard.

Also fixed adb_interace.StartInstrumentationForPackage, added better handling
when generating coverage for tests with unknown coverage targets, and reduced
the duplicate definitions of the "coverage_targets.xml" definition file.

15 years agoExpose <android/log.h> which contains the declaration of /system/lib/liblog.so.
David 'Digit' Turner [Fri, 29 May 2009 19:50:25 +0000 (21:50 +0200)]
Expose <android/log.h> which contains the declaration of /system/lib/liblog.so.
This allows native application code to send logs to the kernel. Alas !

NOTE: This *is* valid for Cupcake

15 years agoUse bash instead of sh because of the '[[' command
Jack Palevich [Thu, 28 May 2009 21:53:02 +0000 (14:53 -0700)]
Use bash instead of sh because of the '[[' command

The '[[' command is not guaranteed to be present in /bin/sh, and in fact
is missing in stock Ubuntu 8.04

15 years agoImprove Linux 32-bit JVM detection logic.
Jack Palevich [Thu, 28 May 2009 01:06:52 +0000 (18:06 -0700)]
Improve Linux 32-bit JVM detection logic.

Now we detect if the JVM we are about to run is 32-bit or not,
rather than checking if the CPU is capable of executing 64-bit
code or not.

15 years agoMerge change 2524 into donut
Android (Google) Code Review [Thu, 28 May 2009 15:58:35 +0000 (08:58 -0700)]
Merge change 2524 into donut

* changes:
  Force the use of 32-bit toolchain binaries on 64-bit systems. This is used to reduce the number of distributable prebuilt packages (i.e. linux-x86_64 is not needed anymore).

15 years agoSDK Updater stuff.
Raphael [Tue, 26 May 2009 22:06:51 +0000 (15:06 -0700)]
SDK Updater stuff.

15 years agoChange build path to "packages/app/Camera.apk". So that it will also
Owen Lin [Fri, 22 May 2009 02:36:34 +0000 (19:36 -0700)]
Change build path to "packages/app/Camera.apk". So that it will also
build the application code.

15 years agoForce the use of 32-bit toolchain binaries on 64-bit systems.
David 'Digit' Turner [Wed, 27 May 2009 12:20:44 +0000 (14:20 +0200)]
Force the use of 32-bit toolchain binaries on 64-bit systems.
This is used to reduce the number of distributable prebuilt packages
(i.e. linux-x86_64 is not needed anymore).

Also fix build/tools/build-toolchain.sh to properly copy the GPL and LGPL
license files into the generated prebuilt packages.

Also add a .gitignore files to get less spew from 'git status'

15 years agoMerge change 2472 into donut
Android (Google) Code Review [Tue, 26 May 2009 22:26:00 +0000 (15:26 -0700)]
Merge change 2472 into donut

* changes:
  ADT #1877529: Fixes a couple potential NPEs in content assists.

15 years agoUpdate some class names in plugin.xml that were not updated by the refactoring.
Xavier Ducrohet [Tue, 26 May 2009 22:09:02 +0000 (15:09 -0700)]
Update some class names in plugin.xml that were not updated by the refactoring.

15 years agoADT #1877529: Fixes a couple potential NPEs in content assists.
Raphael [Tue, 26 May 2009 22:08:33 +0000 (15:08 -0700)]
ADT #1877529: Fixes a couple potential NPEs in content assists.

Can't reproduce the NPE in ContentAssist listed in the
bug. However if things go really wrong there are a couple
objects that can be null so let's be defensive about them.

15 years agoFix wrong path to externalized string file.
Xavier Ducrohet [Tue, 26 May 2009 20:44:02 +0000 (13:44 -0700)]
Fix wrong path to externalized string file.

This is from the big refactoring that moved everything into internal.

15 years agoMerge change 2447 into donut
Android (Google) Code Review [Tue, 26 May 2009 20:25:29 +0000 (13:25 -0700)]
Merge change 2447 into donut

* changes:
  Fix the uninstall target in the Ant build script.

15 years agoFix bad qemud crash on emulator startup.
David 'Digit' Turner [Tue, 26 May 2009 20:21:28 +0000 (22:21 +0200)]
Fix bad qemud crash on emulator startup.

15 years agoFix the uninstall target in the Ant build script.
Xavier Ducrohet [Tue, 26 May 2009 19:25:28 +0000 (12:25 -0700)]
Fix the uninstall target in the Ant build script.

the uninstall parameter is a value (the application package), but the Ant
task was incorrectly using "path" for the argument.

15 years agoMerge change 2388 into donut
Android (Google) Code Review [Tue, 26 May 2009 17:05:33 +0000 (10:05 -0700)]
Merge change 2388 into donut

* changes:
  Update Eclipse classpath file to add the android.tts package (path to package + files generated from AIDL).

15 years agoThis adds a new helper program (qemu-props) to support the emulated system.
David 'Digit' Turner [Tue, 26 May 2009 15:07:25 +0000 (17:07 +0200)]
This adds a new helper program (qemu-props) to support the emulated system.

Its purpose is to contact the 'boot-properties' service during the
boot process and to set the list of system properties read from the
emulator program through it.

It must be launched from /system/etc/init.goldfish.rc as root.

It depends on the 'boot-properties' service being implemented by the
emulator (in a later patch). If not available, it will simply timeout.

This also fixes a potential crash in qemud which can happen in the following case:

- client sends a command to a service
- the service responds with one or more message
- the service immediately closes the connection before the client can read the data

what happened is that the FDHandler object was buffering out-going packets to the
client, but the Multiplexer acted on the disconnection immediately. This resulted
in:

- client_free() being called
-   fdhandler_shutdown() being called
-     the FDHandler being placed on the 'closing' list to be able to send
      buffered packets later. And 'receiver_close' being called
-       client_fd_close() being called, which would call client_free()
        recursively
-         the second client_free() call would free the object
-  the first client_free() call would try to free the object again
-  ==> dlmalloc() detects a double-free and immediately aborts.

the fixes simply avoids the calle to receiver_close() in fdhandler_shutdown()
since this function is called from an explicit shutdown request from the multiplexer,
it doesn't correspond to the case where the client has closed the connection itself.

15 years agoMerge change 2078 into donut
Android (Google) Code Review [Mon, 25 May 2009 09:56:37 +0000 (02:56 -0700)]
Merge change 2078 into donut

* changes:
  Add simple change log to the NDK documentation.

15 years agoMerge change 2085 into donut
Android (Google) Code Review [Mon, 25 May 2009 09:10:35 +0000 (02:10 -0700)]
Merge change 2085 into donut

* changes:
  This fixes the build to always define the ANDROID macro, and remove an empty -I from the compiler options.

15 years agoMerge change 2320 into donut
Android (Google) Code Review [Sat, 23 May 2009 17:35:12 +0000 (10:35 -0700)]
Merge change 2320 into donut

* changes:
  Sensors: Use a native_handle for the data channel instead of a single file descriptor.

15 years agoUpdate Eclipse classpath file to add the android.tts package (path to package + files...
Jean-Michel Trivi [Sat, 23 May 2009 00:58:23 +0000 (17:58 -0700)]
Update Eclipse classpath file to add the android.tts package (path to package + files generated from AIDL).

15 years agoMerge change 2384 into donut
Android (Google) Code Review [Sat, 23 May 2009 00:20:35 +0000 (17:20 -0700)]
Merge change 2384 into donut

* changes:
  SDK Updater: display properties of sources and packages.

15 years agoMerge change 2348 into donut
Android (Google) Code Review [Sat, 23 May 2009 00:03:47 +0000 (17:03 -0700)]
Merge change 2348 into donut

* changes:
  Fix typo in comment.

15 years agoSDK Updater: display properties of sources and packages.
Raphael [Fri, 22 May 2009 23:51:51 +0000 (16:51 -0700)]
SDK Updater: display properties of sources and packages.

15 years agoUpdate 'android update adb' to the new file format for 3rd USB Vendor IDs.
Xavier Ducrohet [Fri, 22 May 2009 22:47:13 +0000 (15:47 -0700)]
Update 'android update adb' to the new file format for 3rd USB Vendor IDs.

The new file format is simply 1 ID per line, no need for a count value.
Lines starting with '#' are comments and therefore ignored.

15 years agoAdd XML Schema for runtest's test_defs.xml file
Phil Dubach [Thu, 21 May 2009 23:35:22 +0000 (16:35 -0700)]
Add XML Schema for runtest's test_defs.xml file

15 years agoMerge change 2360 into donut
Android (Google) Code Review [Fri, 22 May 2009 21:11:30 +0000 (14:11 -0700)]
Merge change 2360 into donut

* changes:
  Make 'android update adb' write the USB vendor IDs in hexa.

15 years agoMake 'android update adb' write the USB vendor IDs in hexa.
Xavier Ducrohet [Fri, 22 May 2009 20:47:07 +0000 (13:47 -0700)]
Make 'android update adb' write the USB vendor IDs in hexa.

15 years agoFix typo in comment.
Ken Shirriff [Fri, 22 May 2009 20:01:40 +0000 (13:01 -0700)]
Fix typo in comment.

15 years agoMerge change 2300 into donut
Android (Google) Code Review [Fri, 22 May 2009 19:30:35 +0000 (12:30 -0700)]
Merge change 2300 into donut

* changes:
  SDK Updater: some refactoring and some new features.

15 years agoSDK Updater: some refactoring and some new features.
Raphael [Fri, 22 May 2009 04:43:00 +0000 (21:43 -0700)]
SDK Updater: some refactoring and some new features.

The refactoring part involves moving as much as possible stuff
in SdkLib/internal/repository.

The UI has moved in SdkUiLib/internal/repository except a specific
public wrapper for calling the Sdk Updater window.

There are also a bunch of new classes to handle the internal
structures: Package is the base type and to match the XML element
names we have PlatformPackage, AddonPackage, DocPackage and
ToolPackage.

All headers have been fixed.

15 years agoMerge change 2281 into donut
Android (Google) Code Review [Fri, 22 May 2009 17:44:46 +0000 (10:44 -0700)]
Merge change 2281 into donut

* changes:
  Moved updateAdb into SdkManager and updated with new adb_usb.ini format.

15 years agoSensors: Use a native_handle for the data channel instead of a single file descriptor.
Mike Lockwood [Fri, 22 May 2009 14:03:00 +0000 (10:03 -0400)]
Sensors: Use a native_handle for the data channel instead of a single file descriptor.

This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoam 83814319: AI 149189: Adding dalvik porting guide based on content from the Android...
Reena Lee [Fri, 22 May 2009 07:06:47 +0000 (00:06 -0700)]
am 83814319: AI 149189: Adding dalvik porting guide based on content from the Android source tree under dalvik/docs/porting.html

Merge commit '838143199e2270e3f103050c76cf24539ad8dfe1' into donut

* commit '838143199e2270e3f103050c76cf24539ad8dfe1':
  AI 149189: Adding dalvik porting guide based on content from the Android source tree under dalvik/docs/porting.html

15 years agoAI 149189: Adding dalvik porting guide based on content from the Android source tree...
Reena Lee [Fri, 22 May 2009 07:04:27 +0000 (00:04 -0700)]
AI 149189: Adding dalvik porting guide based on content from the Android source tree under dalvik/docs/porting.html

Automated import of CL 149189

15 years agoAdd a timeout flag to runtest for running native tests on devices.
Wei-Ta Chen [Thu, 21 May 2009 23:24:04 +0000 (16:24 -0700)]
Add a timeout flag to runtest for running native tests on devices.

15 years agoMoved updateAdb into SdkManager and updated with new adb_usb.ini format.
Xavier Ducrohet [Fri, 22 May 2009 00:46:12 +0000 (17:46 -0700)]
Moved updateAdb into SdkManager and updated with new adb_usb.ini format.

New format is: 1 number per line. First number is vendor ID count, followed
by  the vendor IDs themselves. Comment lines starting with # accepted.

15 years agoSdk Updater: Split UI in window and independant composites.
Raphael [Thu, 21 May 2009 22:22:50 +0000 (15:22 -0700)]
Sdk Updater: Split UI in window and independant composites.

15 years agoUpdate doc with a better way to ignore windows problematic files.
Raphael [Thu, 21 May 2009 18:47:16 +0000 (11:47 -0700)]
Update doc with a better way to ignore windows problematic files.

15 years agoMerge change 2110 into donut
Android (Google) Code Review [Thu, 21 May 2009 17:44:18 +0000 (10:44 -0700)]
Merge change 2110 into donut

* changes:
  Replaced occurences of "porting guide" with platform development kit Also added LED documentation to the TOC

15 years agoMerge change 2122 into donut
Android (Google) Code Review [Thu, 21 May 2009 17:14:27 +0000 (10:14 -0700)]
Merge change 2122 into donut

* changes:
  Add support for USB Vendor ID in the add-ons.

15 years agoMerge change 2121 into donut
Android (Google) Code Review [Thu, 21 May 2009 05:31:31 +0000 (22:31 -0700)]
Merge change 2121 into donut

* changes:
  SDK #1800921: Packages the Windows SDK in a temporary location.

15 years agoSDK #1800921: Packages the Windows SDK in a temporary location.
Raphael [Wed, 20 May 2009 21:38:23 +0000 (14:38 -0700)]
SDK #1800921: Packages the Windows SDK in a temporary location.

This changes make_windows_sdk so that it packages everything
in a temp dir. Once the build & packaging succeeds, the final
Zip is copied to the desired location.

The temp dir is *not* cleared on zip errors, which helps in
diagnosing packaging issues after the fact.

This has no impact on the build process itself (i.e. make
adb, emulator, etc.) which all happen in $SDK/out anyway.

The temp dir can be passed as an argument. If not provided,
the default Cygwin $TMP is used. Otherwise /tmp is used.

I also added an usage description when parameters are missing.

15 years agoAdd support for USB Vendor ID in the add-ons.
Xavier Ducrohet [Wed, 20 May 2009 21:51:27 +0000 (14:51 -0700)]
Add support for USB Vendor ID in the add-ons.

The add-on manifest can now declare a USB vendor ID with the line
   usb-vendor=<id>
The ID must be a 16 hexadecimal value in the format 0xABCD.

The 'android' tool now has a new command 'android upate abd' that will create
a file called 'adb_usb.ini' in ~/.android/
This file will be read by adb to add support to those new vendor IDs.

15 years agoam 2fd2d2f9: AI 149080: Change default PDK app engine version to 2
Gaurav Mathur [Thu, 21 May 2009 00:22:49 +0000 (17:22 -0700)]
am 2fd2d2f9: AI 149080: Change default PDK app engine version to 2

Merge commit '2fd2d2f90e66eca36141ee594b83ed57f5a39764' into donut

* commit '2fd2d2f90e66eca36141ee594b83ed57f5a39764':
  AI 149080: Change default PDK app engine version to 2

15 years agoAI 149080: Change default PDK app engine version to 2
Gaurav Mathur [Wed, 20 May 2009 23:48:29 +0000 (16:48 -0700)]
AI 149080: Change default PDK app engine version to 2

Automated import of CL 149080

15 years agoMerge change 2118 into donut
Android (Google) Code Review [Wed, 20 May 2009 22:25:00 +0000 (15:25 -0700)]
Merge change 2118 into donut

* changes:
  Add work-around for running DDMS on 64-bit Linux.

15 years agoAdd work-around for running DDMS on 64-bit Linux.
Jack Palevich [Wed, 20 May 2009 21:36:49 +0000 (14:36 -0700)]
Add work-around for running DDMS on 64-bit Linux.

15 years agoMerge change 1736 into donut
Android (Google) Code Review [Wed, 20 May 2009 21:31:23 +0000 (14:31 -0700)]
Merge change 1736 into donut

* changes:
  Add tests definition (unit tests and stress tests) for Camera.

15 years agoReplaced occurences of "porting guide" with platform development kit
Gaurav Mathur [Wed, 20 May 2009 20:29:29 +0000 (13:29 -0700)]
Replaced occurences of "porting guide" with platform development kit
Also added LED documentation to the TOC

15 years agoMerge change 2066 into donut
Android (Google) Code Review [Wed, 20 May 2009 19:04:20 +0000 (12:04 -0700)]
Merge change 2066 into donut

* changes:
  SDK Updater: Fetch source XML, display them in tree.

15 years agoSDK Updater: Fetch source XML, display them in tree.
Raphael [Wed, 20 May 2009 06:25:54 +0000 (23:25 -0700)]
SDK Updater: Fetch source XML, display them in tree.

There's a notion of an asynchronous task with a progress bar & status UI.
That's still just experimental. Will need some refactoring, etc.

15 years agoThis fixes the build to always define the ANDROID macro, and remove an empty -I from...
David 'Digit' Turner [Wed, 20 May 2009 16:37:31 +0000 (18:37 +0200)]
This fixes the build to always define the ANDROID macro, and remove an empty -I from the compiler options.

The latter had the effect of removing the benefit of optimization settings, i.e. a typical compiler
command would look like:

   <toolchain-compiler> .... -Isources/<module-path> -I -O2 -g

The "-I -O2" was interpreted literally as "search in '-O2' directory, and the optimization was
never set to 2 (or 0 in case of debug mode).

15 years agoMerge change 2030 into donut
Android (Google) Code Review [Wed, 20 May 2009 15:54:21 +0000 (08:54 -0700)]
Merge change 2030 into donut

* changes:
  Add new trace tool for displaying all the memory regions in a process.

15 years agoMerge change 2024 into donut
Android (Google) Code Review [Wed, 20 May 2009 15:54:11 +0000 (08:54 -0700)]
Merge change 2024 into donut

* changes:
  Add support for native (JNI) calls to the trace tools.

15 years agoam e557a732: AI 149055: Add initial file for LED content including doxygen code from...
Reena Lee [Wed, 20 May 2009 15:09:43 +0000 (08:09 -0700)]
am e557a732: AI 149055: Add initial file for LED content including doxygen code from lights.h

Merge commit 'e557a732807eb6f3c29630ce882c644936df1e02' into donut

* commit 'e557a732807eb6f3c29630ce882c644936df1e02':
  AI 149055: Add initial file for LED content including doxygen code from lights.h

15 years agoAI 149055: Add initial file for LED content including doxygen code from lights.h
Reena Lee [Wed, 20 May 2009 15:04:39 +0000 (08:04 -0700)]
AI 149055: Add initial file for LED content including doxygen code from lights.h

Automated import of CL 149055

15 years agoAdd simple change log to the NDK documentation.
David 'Digit' Turner [Wed, 20 May 2009 14:08:19 +0000 (16:08 +0200)]
Add simple change log to the NDK documentation.

15 years agoMerge change 1954 into donut
Android (Google) Code Review [Wed, 20 May 2009 09:45:40 +0000 (02:45 -0700)]
Merge change 1954 into donut

* changes:
  Add a bunch of documentation for the Android C library and the JNI interface to the NDK

15 years agoMerge change 1951 into donut
Android (Google) Code Review [Wed, 20 May 2009 09:45:00 +0000 (02:45 -0700)]
Merge change 1951 into donut

* changes:
  Expose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.

15 years agoAdd new trace tool for displaying all the memory regions in a process.
Jack Veenstra [Wed, 20 May 2009 00:37:00 +0000 (17:37 -0700)]
Add new trace tool for displaying all the memory regions in a process.

15 years agoMerge change 2004 into donut
Android (Google) Code Review [Wed, 20 May 2009 00:33:16 +0000 (17:33 -0700)]
Merge change 2004 into donut

* changes:
  Handle munmap() and add support for tracing JNI (native) calls.

15 years agoAdd support for native (JNI) calls to the trace tools.
Jack Veenstra [Tue, 19 May 2009 23:47:04 +0000 (16:47 -0700)]
Add support for native (JNI) calls to the trace tools.

Also fix a bug in profile_pid.cpp and add better output to
stack_dump.cpp.

15 years agoHandle munmap() and add support for tracing JNI (native) calls.
Jack Veenstra [Tue, 19 May 2009 22:07:29 +0000 (15:07 -0700)]
Handle munmap() and add support for tracing JNI (native) calls.

The munmap() kernel calls are traced but the tracing code wasn't doing
anything with them.  This caused the number of mapped regions in a process
to grow large in some cases and also caused symbol lookup errors in some
rare cases.  This change also adds support for new trace record types
for supporting JNI (native) calls from Java into native code. This helps
with constructing a more accurate call stack.

15 years agoMerge change 1958 into donut
Android (Google) Code Review [Tue, 19 May 2009 19:00:42 +0000 (12:00 -0700)]
Merge change 1958 into donut

* changes:
  Force --no-undefined at link time to generate an error when trying to generate a shared library that references undefined symbols. This can be overriden by defining LOCAL_ALLOW_UNDEFINED_SYMBOLS in your Android.mk to 'true'

15 years agoam 429fbd82: AI 149005: Change from ndk to platform\'s ndk (pndk), the ability to...
Mike Ritter [Tue, 19 May 2009 18:29:25 +0000 (11:29 -0700)]
am 429fbd82: AI 149005: Change from ndk to platform\'s ndk (pndk), the ability to make your own java callable libraries to c code.   BUG=1857858

Merge commit '429fbd82d82c5e278a546de226c193138a9a2669' into donut

* commit '429fbd82d82c5e278a546de226c193138a9a2669':
  AI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own java callable libraries to c code.

15 years agoAI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own...
Mike Ritter [Tue, 19 May 2009 18:28:10 +0000 (11:28 -0700)]
AI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own java callable libraries to c code.
  BUG=1857858

Automated import of CL 149005

15 years agoForce --no-undefined at link time to generate an error when trying to generate a...
David 'Digit' Turner [Tue, 19 May 2009 12:58:45 +0000 (14:58 +0200)]
Force --no-undefined at link time to generate an error when trying to generate a shared library that references undefined symbols.
This can be overriden by defining LOCAL_ALLOW_UNDEFINED_SYMBOLS in your Android.mk to 'true'

15 years agoAdd a bunch of documentation for the Android C library and the JNI interface to the NDK
David 'Digit' Turner [Tue, 19 May 2009 11:09:20 +0000 (13:09 +0200)]
Add a bunch of documentation for the Android C library and the JNI interface to the NDK

15 years agoFix typo which prevented APP_CFLAGS, APP_CXXFLAGS and others to work properly in...
David 'Digit' Turner [Tue, 19 May 2009 11:04:07 +0000 (13:04 +0200)]
Fix typo which prevented APP_CFLAGS, APP_CXXFLAGS and others to work properly in the NDK build system.

15 years agoExpose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.
David 'Digit' Turner [Tue, 19 May 2009 10:10:09 +0000 (12:10 +0200)]
Expose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.

This is OK because the Zlib ABI is fixed and stable.

Also get rid of the sample zlib sources since we don't need the static library anymore.

15 years agoam c3c7479a: AI 148985: Adding an initial file for sensors content with doxygen conte...
Reena Lee [Tue, 19 May 2009 06:24:43 +0000 (23:24 -0700)]
am c3c7479a: AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.

Merge commit 'c3c7479ab6df0650e6e63b67ec713c7267df9e82' into donut

* commit 'c3c7479ab6df0650e6e63b67ec713c7267df9e82':
  AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.

15 years agoam 6ff7572f: AI 148967: Cloned from CL 148932 by \'g4 patch\'. Original change...
Gaurav Mathur [Tue, 19 May 2009 06:24:42 +0000 (23:24 -0700)]
am 6ff7572f: AI 148967: Cloned from CL 148932 by \'g4 patch\'.   Original change by dwarren@dwarren-pdk on 2009/05/15 16:17:05.   Adding Build Cookbook to PDK.

Merge commit '6ff7572fd50f148e96d87ecb347f138f69ea810d' into donut

* commit '6ff7572fd50f148e96d87ecb347f138f69ea810d':
  AI 148967: Cloned from CL 148932 by 'g4 patch'.

15 years agoAI 148985: Adding an initial file for sensors content with doxygen content included...
Reena Lee [Tue, 19 May 2009 05:34:25 +0000 (22:34 -0700)]
AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.

Automated import of CL 148985

15 years agoMerge change 1578 into donut
Android (Google) Code Review [Mon, 18 May 2009 23:08:39 +0000 (16:08 -0700)]
Merge change 1578 into donut

* changes:
  Teleca 2b changes.

15 years agoAI 148967: Cloned from CL 148932 by 'g4 patch'.
Gaurav Mathur [Mon, 18 May 2009 22:26:51 +0000 (15:26 -0700)]
AI 148967: Cloned from CL 148932 by 'g4 patch'.
  Original change by dwarren@dwarren-pdk on 2009/05/15 16:17:05.
  Adding Build Cookbook to PDK.

Automated import of CL 148967

15 years agoUpdate the SDK packaging to include sdkuilib.
Xavier Ducrohet [Mon, 18 May 2009 20:30:37 +0000 (13:30 -0700)]
Update the SDK packaging to include sdkuilib.

This is now necessary since the 'android' tool has a UI.

15 years agoTeleca 2b changes.
Wink Saville [Sun, 17 May 2009 03:49:28 +0000 (20:49 -0700)]
Teleca 2b changes.

15 years agoam 37ad99b3: AI 148943: Extracted the commentary from the runs to be headers for...
Reena Lee [Sat, 16 May 2009 04:32:44 +0000 (21:32 -0700)]
am 37ad99b3: AI 148943: Extracted the commentary from the runs to be headers for the log snippets for readability. Will update the steps (and commentary) in a separate CL.

Merge commit '37ad99b38686f4b31976eae75256a0ac0927ca62' into donut

* commit '37ad99b38686f4b31976eae75256a0ac0927ca62':
  AI 148943: Extracted the commentary from the runs to be headers for the log snippets for readability. Will update the steps (and commentary) in a separate CL.

15 years agoAI 148943: Extracted the commentary from the runs to be headers for the log snippets...
Reena Lee [Sat, 16 May 2009 02:07:42 +0000 (19:07 -0700)]
AI 148943: Extracted the commentary from the runs to be headers for the log snippets for readability. Will update the steps (and commentary) in a separate CL.

Automated import of CL 148943

15 years agoMerge change 1834 into donut
Android (Google) Code Review [Sat, 16 May 2009 01:51:02 +0000 (18:51 -0700)]
Merge change 1834 into donut

* changes:
  Skeleton App Windows for Sdk Updater built using SWT Designer. The window is shown when the "android" tool is invoked with no parameter.

15 years agoSkeleton App Windows for Sdk Updater built using SWT Designer.
Raphael [Sat, 16 May 2009 00:36:26 +0000 (17:36 -0700)]
Skeleton App Windows for Sdk Updater built using SWT Designer.
The window is shown when the "android" tool is invoked with no parameter.

15 years agoMerge change 1730 into donut
Android (Google) Code Review [Fri, 15 May 2009 22:21:13 +0000 (15:21 -0700)]
Merge change 1730 into donut

* changes:
  Make the ddmlib API use IDevice instead of Device

15 years agoUpdate ADT feature dependency.
Xavier Ducrohet [Fri, 15 May 2009 21:45:17 +0000 (14:45 -0700)]
Update ADT feature dependency.

15 years agoMake the ddmlib API use IDevice instead of Device
Xavier Ducrohet [Fri, 15 May 2009 01:19:52 +0000 (18:19 -0700)]
Make the ddmlib API use IDevice instead of Device

Device is now private. All the API is using IDevice.
Updated ddms, ADT, hierarchyviewer and other tools that relied on ddmlib.

15 years agoADT #1844909: Tweak XML schema, add more tests.
Raphael [Fri, 15 May 2009 19:11:35 +0000 (12:11 -0700)]
ADT #1844909: Tweak XML schema, add more tests.

Change XML schema to allow for empty <libs>, e.g. one can create
and add-on that doesn't declare any extra lib.
However enforce that <archives> contains at least one <archive>
element to prevent someone from declaring a download element
that cannot actually be downloaded.

Added a couple tests for validation of empty documents.

15 years agoAdd tests definition (unit tests and stress tests) for Camera.
Owen Lin [Fri, 15 May 2009 01:55:34 +0000 (18:55 -0700)]
Add tests definition (unit tests and stress tests) for Camera.