Commit Graph

1037 Commits

Author SHA1 Message Date
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
bae86257b5 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.
2009-05-18 23:24:43 -07:00
Gaurav Mathur
4464f3eb9a 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'.
2009-05-18 23:24:42 -07:00
Reena Lee
c3c7479ab6 AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.
Automated import of CL 148985
2009-05-18 22:34:25 -07:00
Android (Google) Code Review
8d878c3441 Merge change 1578 into donut
* changes:
  Teleca 2b changes.
2009-05-18 16:08:39 -07:00
Gaurav Mathur
6ff7572fd5 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
2009-05-18 15:26:51 -07:00
Xavier Ducrohet
53f479a367 Update the SDK packaging to include sdkuilib.
This is now necessary since the 'android' tool has a UI.
2009-05-18 13:30:37 -07:00
Wink Saville
b10012bd65 Teleca 2b changes. 2009-05-16 20:49:28 -07:00
Reena Lee
cfa6808e6d 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.
2009-05-15 21:32:44 -07:00
Reena Lee
37ad99b386 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
2009-05-15 19:07:42 -07:00
Android (Google) Code Review
02347199b1 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.
2009-05-15 18:51:02 -07:00
Raphael
49060501cc Skeleton App Windows for Sdk Updater built using SWT Designer.
The window is shown when the "android" tool is invoked with no parameter.
2009-05-15 17:36:26 -07:00
Android (Google) Code Review
d06f8e2f4c Merge change 1730 into donut
* changes:
  Make the ddmlib API use IDevice instead of Device
2009-05-15 15:21:13 -07:00
Xavier Ducrohet
5048d7e4b3 Update ADT feature dependency. 2009-05-15 14:45:17 -07:00
Xavier Ducrohet
114b9b7b31 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.
2009-05-15 14:01:12 -07:00
Raphael
17c674d105 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.
2009-05-15 12:46:02 -07:00
Owen Lin
04eccd893a Add tests definition (unit tests and stress tests) for Camera. 2009-05-15 10:08:00 -07:00
Raphael
0837619559 ADT #1844909: Move sdk-repository XSD and tests from SdkManager to SdkLib. 2009-05-14 19:48:53 -07:00
Android (Google) Code Review
71f5d130f5 Merge change 1739 into donut
* changes:
  Fix an NPE in the New Project Wizard when no test project is specified on the second NPW page.
2009-05-14 19:36:03 -07:00
Raphael
9c19555d2d Fix an NPE in the New Project Wizard when no test project is specified
on the second NPW page.
2009-05-14 19:17:39 -07:00
Xavier Ducrohet
0d61af7220 am 5cb2d230: AI 148875: Fix Google add-on to include Streetview, remove the add-account from the SDK (this is google specific), update the google Add-on to rev 2
Merge commit '5cb2d23022cec5abc07c4dbb463be58e6d88b2c7' into donut

* commit '5cb2d23022cec5abc07c4dbb463be58e6d88b2c7':
  AI 148875: Fix Google add-on to include Streetview, remove the add-account from the SDK (this is google specific), update the google Add-on to rev 2
2009-05-14 17:05:17 -07:00
Xavier Ducrohet
5cb2d23022 AI 148875: Fix Google add-on to include Streetview, remove the add-account from the SDK (this is google specific), update the google Add-on to rev 2
Automated import of CL 148875
2009-05-14 17:04:14 -07:00
Gaurav Mathur
dd67be5657 am 7e056ae8: AI 148870: Pinging Ryan for Dr No approval. --- Cloned from CL 147240 by \'g4 patch\'. Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50. "Making PDK work in SDK environment." This CL should be pretty straight forward and should be touching only PDK related templates, etc. Turns out we no longer need to touch the highlightNav code.
Merge commit '7e056ae8a20848754f85202d9d903f4a152d3027' into donut

* commit '7e056ae8a20848754f85202d9d903f4a152d3027':
  AI 148870: Pinging Ryan for Dr No approval.
2009-05-14 16:18:22 -07:00
Gaurav Mathur
7e056ae8a2 AI 148870: Pinging Ryan for Dr No approval.
---
  Cloned from CL 147240 by 'g4 patch'.
  Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50.
  "Making PDK work in SDK environment."
  This CL should be pretty straight forward and should be touching only PDK
  related templates, etc. Turns out we no longer need to touch the highlightNav
  code.

Automated import of CL 148870
2009-05-14 16:02:22 -07:00
Android (Google) Code Review
83674be98d Merge change 1699 into donut
* changes:
  Make IDevice#getSyncService() throws an IOException.
2009-05-14 16:00:17 -07:00
Xavier Ducrohet
2d83a425c2 Make IDevice#getSyncService() throws an IOException.
This lets callers differentiate between errors when connecting to adb and
errors because adb couldn't talk to the device.
2009-05-14 15:18:56 -07:00
David 'Digit' Turner
c39a26b6f5 Fix bad automatic dependency computations 2009-05-15 00:14:00 +02:00
Android (Google) Code Review
ba7de1f325 Merge change 1681 into donut
* changes:
  Remove duplicate initialization in AdtPlugin.
2009-05-14 14:57:44 -07:00
Android (Google) Code Review
cb2d6ae202 Merge change 1653 into donut
* changes:
  Fix bad dependency between generated shared libraries and the corresponding installed module. Also fixes the "make clean" target by the way.
2009-05-14 14:55:55 -07:00
Android (Google) Code Review
79b3c18a27 Merge change 1651 into donut
* changes:
  Fix the build-toolchain.sh script which doesn't work due to the new download location of the NDK sources and a small typo when using wget. Also make --force-download actually work.
2009-05-14 14:51:09 -07:00
Xavier Ducrohet
e9b9596bd6 Remove duplicate initialization in AdtPlugin.
The is a remnant of the old #start() method of the Editors Plugin class.
2009-05-14 13:31:11 -07:00
Android (Google) Code Review
dda76aac46 Merge change 1673 into donut
* changes:
  Made valgrind optional. Capture the target output.
2009-05-14 13:19:03 -07:00
Android (Google) Code Review
f89a4d3524 Merge change 1501 into donut
* changes:
  ADT #1844909: SDK manager, define XML schemas & sample XMLs
2009-05-14 12:56:35 -07:00
Raphael
9cf3c16d5d ADT #1844909: SDK manager, define XML schemas & sample XMLs
For reference, there's an XSD primer here:
- http://www.w3.org/TR/xmlschema-0/#NS
- http://www.w3schools.com/Schema/
2009-05-14 12:43:08 -07:00
Nicolas Catania
bcd93dc46a Made valgrind optional. Capture the target output.
Don't fail if valgrind (system version not the google3 one) is missing.
If the test fail, print the output of the test.
Added .pyc to the gitignore file.
2009-05-14 12:25:23 -07:00
David 'Digit' Turner
0d2d3b95ec Fix bad dependency between generated shared libraries and the corresponding installed module.
Also fixes the "make clean" target by the way.
2009-05-14 17:23:35 +02:00
David 'Digit' Turner
498455c79f Fix the build-toolchain.sh script which doesn't work due to the new download location of the NDK sources
and a small typo when using wget. Also make --force-download actually work.
2009-05-14 16:43:03 +02:00
Xavier Ducrohet
c15ed2d771 Fix a double issue regarding interrupted builds due to pre-existing errors.
First, the ApkBuilder didn't cancel its run if the project had markers from JDT.
Second, the try/catch on ApkBuilder#build didn't properly test the
CoreException status severity (used getCode instead of getSeverity), so it did
not detect cancels being thrown by #abortOnBadSetup and displayed the error
in the console instead.
2009-05-13 18:03:14 -07:00
Xavier Ducrohet
20d4ecf2d7 ADT: remove an obsolete import from the manifest. 2009-05-13 17:41:07 -07:00
Xavier Ducrohet
770dfc5ed4 ADT: Refactoring classes dealing with android resources out of the editor.
Basically:
editors.resources.manager -> resources.manager
editors.resources.configurations -> resources.configurations

This is to make it less confusing between the "Resources editors" and the
class parsing/handling Android resources (either in a project or in the
framework).
Also moved the ResourceExplorerView out of the resources editors, and clean
up a few other misc classes.
2009-05-13 17:36:25 -07:00
Xavier Ducrohet
5bb7e1e0cd ADT: Move more packages into internal:
editors -> adt.internal.editors.

This also marks the final refactoring of combining previous editors/common
plugin under the adt package.
2009-05-13 17:23:00 -07:00
Xavier Ducrohet
9ed226af6a ADT: Move more packages into internal.
common.project -> adt.internal.project
adt.resources -> adt.internal.resources
adt.wizards.* -> adt.internal.wizards
adt.ui -> adt.internal.ui
2009-05-13 17:13:15 -07:00
Xavier Ducrohet
4cc22e5ebf ADT: Move more packages into internal
project.*
refactorings.*

Also: moved the export wizard from project.export to wizards.export, moved some
actions out of project into the new internal package actions.
2009-05-13 17:03:26 -07:00
Xavier Ducrohet
f127736264 ADT: Remove StreamHelper and integrate it in AdtPlugin.
StreamHelper was used before by AdtPlugin, DdmsPlugin and EditorsPlugin. It's now
only used by AdtPlugin, so the only 2 methods in it can go in AdtPlugin.
I merged the externalized string in the messages.properties file used by AdtPlugin.
2009-05-13 16:46:31 -07:00
Xavier Ducrohet
9eedccd52c Moved more ADT packages into internal.
adt.build
adt.launch.*
adt.preferences

Also started combining adt and common.
2009-05-13 16:37:55 -07:00