Commit Graph

1378 Commits

Author SHA1 Message Date
Android (Google) Code Review
fc05fb2556 Merge change 2110 into donut
* changes:
  Replaced occurences of "porting guide" with platform development kit Also added LED documentation to the TOC
2009-05-21 10:44:18 -07:00
Android (Google) Code Review
2e41227a6e am 38ea3827: Merge change 2122 into donut
Merge commit '38ea38278923db2823f159df7d53e7964466bc2e'

* commit '38ea38278923db2823f159df7d53e7964466bc2e':
  Add support for USB Vendor ID in the add-ons.
2009-05-21 10:16:40 -07:00
Android (Google) Code Review
38ea382789 Merge change 2122 into donut
* changes:
  Add support for USB Vendor ID in the add-ons.
2009-05-21 10:14:27 -07:00
Android (Google) Code Review
d7a547d116 am 1f4a1dcb: Merge change 2121 into donut
Merge commit '1f4a1dcb5f9cfe65a98be2fcb21cd5df4c6a3a9e'

* commit '1f4a1dcb5f9cfe65a98be2fcb21cd5df4c6a3a9e':
  SDK #1800921: Packages the Windows SDK in a temporary location.
2009-05-20 22:44:27 -07:00
Android (Google) Code Review
1f4a1dcb5f Merge change 2121 into donut
* changes:
  SDK #1800921: Packages the Windows SDK in a temporary location.
2009-05-20 22:31:31 -07:00
Raphael
d1959dcee1 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.
2009-05-20 22:28:21 -07:00
Xavier Ducrohet
4817a2b5b3 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.
2009-05-20 18:06:15 -07:00
Gaurav Mathur
29f67acc10 am c2d33c5b: am 2fd2d2f9: AI 149080: Change default PDK app engine version to 2
Merge commit 'c2d33c5b21b6a60a17cc8fbfba4a8bcee6b283d2'

* commit 'c2d33c5b21b6a60a17cc8fbfba4a8bcee6b283d2':
  AI 149080: Change default PDK app engine version to 2
2009-05-20 17:36:11 -07:00
Gaurav Mathur
c2d33c5b21 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
2009-05-20 17:22:49 -07:00
Gaurav Mathur
2fd2d2f90e AI 149080: Change default PDK app engine version to 2
Automated import of CL 149080
2009-05-20 16:48:29 -07:00
Android (Google) Code Review
435f32e41c am 06b9f977: Merge change 2118 into donut
Merge commit '06b9f977c36980e0e8ac4bca4fad6da0b46eac7a'

* commit '06b9f977c36980e0e8ac4bca4fad6da0b46eac7a':
  Add work-around for running DDMS on 64-bit Linux.
2009-05-20 16:14:15 -07:00
Android (Google) Code Review
06b9f977c3 Merge change 2118 into donut
* changes:
  Add work-around for running DDMS on 64-bit Linux.
2009-05-20 15:25:00 -07:00
Jack Palevich
92b6f2b72b Add work-around for running DDMS on 64-bit Linux. 2009-05-20 14:42:04 -07:00
Android (Google) Code Review
e30d377bd3 am 55deffa3: Merge change 1736 into donut
Merge commit '55deffa35e528959e7de41198ee146e79fb71618'

* commit '55deffa35e528959e7de41198ee146e79fb71618':
  Add tests definition (unit tests and stress tests) for Camera.
2009-05-20 14:33:04 -07:00
Android (Google) Code Review
55deffa35e Merge change 1736 into donut
* changes:
  Add tests definition (unit tests and stress tests) for Camera.
2009-05-20 14:31:23 -07:00
Gaurav Mathur
253806866e Replaced occurences of "porting guide" with platform development kit
Also added LED documentation to the TOC
2009-05-20 13:29:29 -07:00
Android (Google) Code Review
b5fb938998 am 7114c7bf: Merge change 2066 into donut
Merge commit '7114c7bf1c02390c7e328775aadc400c3b2b8603'

* commit '7114c7bf1c02390c7e328775aadc400c3b2b8603':
  SDK Updater: Fetch source XML, display them in tree.
2009-05-20 12:06:10 -07:00
Android (Google) Code Review
7114c7bf1c Merge change 2066 into donut
* changes:
  SDK Updater: Fetch source XML, display them in tree.
2009-05-20 12:04:20 -07:00
Raphael
08226b31f8 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.
2009-05-20 11:58:16 -07:00
David 'Digit' Turner
93a4147f12 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).
2009-05-20 18:37:31 +02:00
Android (Google) Code Review
7ade5c7e29 am d7dc91d7: Merge change 2030 into donut
Merge commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6'

* commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6':
  Add new trace tool for displaying all the memory regions in a process.
2009-05-20 09:21:20 -07:00
Android (Google) Code Review
68b4a04515 am b260872e: Merge change 2024 into donut
Merge commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253'

* commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253':
  Add support for native (JNI) calls to the trace tools.
2009-05-20 09:21:20 -07:00
Reena Lee
320578826e am f07bc1ab: am e557a732: AI 149055: Add initial file for LED content including doxygen code from lights.h
Merge commit 'f07bc1ab07a70f6c5a667c2a75fa7f42b0d885be'

* commit 'f07bc1ab07a70f6c5a667c2a75fa7f42b0d885be':
  AI 149055: Add initial file for LED content including doxygen code from lights.h
2009-05-20 08:54:26 -07:00
Android (Google) Code Review
a8e8dc6e09 am 9b3f3f27: Merge change 1954 into donut
Merge commit '9b3f3f27fe9d50927fe176ebcb2f8b14e226d0b8'

* commit '9b3f3f27fe9d50927fe176ebcb2f8b14e226d0b8':
  Add a bunch of documentation for the Android C library and the JNI interface to the NDK
2009-05-20 08:54:26 -07:00
Android (Google) Code Review
c437d114f4 am 1e4498ad: Merge change 1951 into donut
Merge commit '1e4498ad17c6156ab40896d8f3307af8497b5327'

* commit '1e4498ad17c6156ab40896d8f3307af8497b5327':
  Expose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.
2009-05-20 08:54:25 -07:00
Android (Google) Code Review
d7dc91d749 Merge change 2030 into donut
* changes:
  Add new trace tool for displaying all the memory regions in a process.
2009-05-20 08:54:21 -07:00
Android (Google) Code Review
b260872ea4 Merge change 2024 into donut
* changes:
  Add support for native (JNI) calls to the trace tools.
2009-05-20 08:54:11 -07:00
Reena Lee
f07bc1ab07 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
2009-05-20 08:09:43 -07:00
Reena Lee
e557a73280 AI 149055: Add initial file for LED content including doxygen code from lights.h
Automated import of CL 149055
2009-05-20 08:04:39 -07:00
David 'Digit' Turner
979c98c96c Add simple change log to the NDK documentation. 2009-05-20 16:12:05 +02:00
Android (Google) Code Review
9b3f3f27fe Merge change 1954 into donut
* changes:
  Add a bunch of documentation for the Android C library and the JNI interface to the NDK
2009-05-20 02:45:40 -07:00
Android (Google) Code Review
1e4498ad17 Merge change 1951 into donut
* changes:
  Expose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.
2009-05-20 02:45:00 -07:00
Jack Veenstra
ceb9788070 Add new trace tool for displaying all the memory regions in a process. 2009-05-19 17:37:00 -07:00
Android (Google) Code Review
9bdeda63c4 am b08d3a39: Merge change 2004 into donut
Merge commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f'

* commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f':
  Handle munmap() and add support for tracing JNI (native) calls.
2009-05-19 17:34:56 -07:00
Android (Google) Code Review
b08d3a3969 Merge change 2004 into donut
* changes:
  Handle munmap() and add support for tracing JNI (native) calls.
2009-05-19 17:33:16 -07:00
Jack Veenstra
a476e45d1d 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.
2009-05-19 16:47:04 -07:00
Jack Veenstra
2bb9bb4546 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.
2009-05-19 15:07:29 -07:00
Android (Google) Code Review
94970f09f3 am e0b505d4: Merge change 1958 into donut
Merge commit 'e0b505d438fc72c6a092ca85cce434b54d033a27'

* commit 'e0b505d438fc72c6a092ca85cce434b54d033a27':
  Force --no-undefined at link time to generate an error when trying to generate a shared library that references undefined symbols.
2009-05-19 14:03:50 -07:00
Android (Google) Code Review
e0b505d438 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'
2009-05-19 12:00:42 -07:00
Mike Ritter
60daa0442a am 5faae6da: 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 '5faae6da0b98c2d3d1abe18149c7f6e978f5aea7'

* commit '5faae6da0b98c2d3d1abe18149c7f6e978f5aea7':
  AI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own java callable libraries to c code.
2009-05-19 11:31:33 -07:00
David 'Digit' Turner
f9a37173e8 am 0b96565a: Fix typo which prevented APP_CFLAGS, APP_CXXFLAGS and others to work properly in the NDK build system.
Merge commit '0b96565afea3f1b1a6e4585a75c9bd6c2ea74a63'

* commit '0b96565afea3f1b1a6e4585a75c9bd6c2ea74a63':
  Fix typo which prevented APP_CFLAGS, APP_CXXFLAGS and others to work properly in the NDK build system.
2009-05-19 11:29:29 -07:00
Mike Ritter
5faae6da0b 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.
2009-05-19 11:29:25 -07:00
Mike Ritter
429fbd82d8 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
2009-05-19 11:28:10 -07:00
David 'Digit' Turner
3caffcfaf8 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'
2009-05-19 14:58:45 +02:00
David 'Digit' Turner
d8c9a43284 Add a bunch of documentation for the Android C library and the JNI interface to the NDK 2009-05-19 13:09:20 +02:00
David 'Digit' Turner
0b96565afe Fix typo which prevented APP_CFLAGS, APP_CXXFLAGS and others to work properly in the NDK build system. 2009-05-19 13:04:07 +02:00
David 'Digit' Turner
985338c05c 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.
2009-05-19 12:10:09 +02:00
Reena Lee
7bd8981757 am bae86257: am c3c7479a: AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.
Merge commit 'bae86257b5c518a86c9fde054757d8d90363f6f1'

* commit 'bae86257b5c518a86c9fde054757d8d90363f6f1':
  AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.
2009-05-18 23:55:52 -07:00
Gaurav Mathur
b897b8d7b3 am 4464f3eb: 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 '4464f3eb9a10823e93f88843af3e438d68e380b8'

* commit '4464f3eb9a10823e93f88843af3e438d68e380b8':
  AI 148967: Cloned from CL 148932 by 'g4 patch'.
2009-05-18 23:55:52 -07:00
Android (Google) Code Review
b29b954305 am 8d878c34: Merge change 1578 into donut
Merge commit '8d878c344137974a5cb611c8b4ecbceacccb9016'

* commit '8d878c344137974a5cb611c8b4ecbceacccb9016':
  Teleca 2b changes.
2009-05-18 23:55:51 -07:00