am bf42978e: Merge "NDK filesizes and hashes updated" into klp-modular-docs

* commit 'bf42978e14e352984eb5443687fccd5b15dc27a3':
  NDK filesizes and hashes updated
This commit is contained in:
Robert Ly
2014-07-16 13:22:54 +00:00
committed by Android Git Automerger

View File

@@ -2,33 +2,59 @@ ndk=true
page.template=sdk
ndk.mac64_download=android-ndk-r9d-darwin-x86_64.tar.bz2
ndk.mac64_bytes=400339614
ndk.mac64_checksum=c914164b1231c574dbe40debef7048be
ndk.mac64_download=android-ndk32-r10-darwin-x86_64.tar.bz2
ndk.mac64_bytes=411610468
ndk.mac64_checksum=3ce1fa3dbe7a188f5d2640fd2f7ca944
ndk.mac32_download=android-ndk-r9d-darwin-x86.tar.bz2
ndk.mac32_bytes=393866116
ndk.mac32_checksum=ee6544bd8093c79ea08c2e3a6ffe3573
ndk.mac32_download=android-ndk32-r10-darwin-x86.tar.bz2
ndk.mac32_bytes=404768263
ndk.mac32_checksum=1824eec1f6749b6cb7bb306a3b924c33
ndk.linux64_download=android-ndk-r9d-linux-x86_64.tar.bz2
ndk.linux64_bytes=412879983
ndk.linux64_checksum=c7c775ab3342965408d20fd18e71aa45
ndk.linux64_download=android-ndk32-r10-linux-x86_64.tar.bz2
ndk.linux64_bytes=420671390
ndk.linux64_checksum=e3ff629d212a8106a43415862fa39baf
ndk.linux32_download=android-ndk-r9d-linux-x86.tar.bz2
ndk.linux32_bytes=405218267
ndk.linux32_checksum=6c1d7d99f55f0c17ecbcf81ba0eb201f
ndk.linux32_download=android-ndk32-r10-linux-x86.tar.bz2
ndk.linux32_bytes=420078216
ndk.linux32_checksum=8d9a5faa6e77b43bfae0f169079b21c4
ndk.win64_download=android-ndk-r9d-windows-x86_64.zip
ndk.win64_bytes=520997454
ndk.win64_checksum=8cd244fc799d0e6e59d65a59a8692588
ndk.win64_download=android-ndk32-r10-windows-x86_64.zip
ndk.win64_bytes=529850429
ndk.win64_checksum=b11f9239344f7c377ed5b627f0fb236e
ndk.win32_download=android-ndk-r9d-windows-x86.zip
ndk.win32_bytes=491440074
ndk.win32_checksum=b16516b611841a075685a10c59d6d7a2
ndk.win32_download=android-ndk32-r10-windows-x86.zip
ndk.win32_bytes=500135685
ndk.win32_checksum=0a3c01147abba945cc4ef5837519ec97
ndk.debug_info_download=android-ndk-r9d-cxx-stl-libs-with-debug-info.zip
ndk.debug_info_bytes=104947363
ndk.debug_info_checksum=906c8d88e0f02295c3bfe6b8e98a1a35
ndk.mac64_64_download=android-ndk64-r10-darwin-x86_64.tar.bz2
ndk.mac64_64_bytes=327740247
ndk.mac64_64_checksum=72561b27acc6192a2e81b345ea128a20
ndk.mac32_64_download=android-ndk64-r10-darwin-x86.tar.bz2
ndk.mac32_64_bytes=323736411
ndk.mac32_64_checksum=5bbaf9d8051ba5d2c0fff74cfd87c374
ndk.linux64_64_download=android-ndk64-r10-linux-x86_64.tar.bz2
ndk.linux64_64_bytes=339708042
ndk.linux64_64_checksum=737290195583268b7fbff4aa56465ab6
ndk.linux32_64_download=android-ndk64-r10-linux-x86.tar.bz2
ndk.linux32_64_bytes=338544906
ndk.linux32_64_checksum=bea5d027baeb948cbff6af840d26b80d
ndk.win64_64_download=android-ndk64-r10-windows-x86_64.zip
ndk.win64_64_bytes=417411195
ndk.win64_64_checksum=91879ec85539b45313a21b9526b911a8
ndk.win32_64_download=android-ndk64-r10-windows-x86.zip
ndk.win32_64_bytes=396751892
ndk.win32_64_checksum=f79070ace2cde9ebf6a2e2be4a61ac7a
ndk.debug_info_download=android-ndk-r10-cxx-stl-libs-with-debug-info.zip
ndk.debug_info_bytes=253198908
ndk.debug_info_checksum=c2a90c43d17dbb5f0609cc8237491788
page.title=Android NDK
@@ -56,129 +82,261 @@ box-shadow: -10px 10px 50px #888;
This is the Android Software Development Kit License Agreement
<h3>1. Introduction</h3>
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and
specifically including the Android system files, packaged APIs, and Google APIs add-ons) is
licensed to you subject to the terms of this License Agreement. This License Agreement forms a
legally binding contract between you and Google in relation to your use of the SDK.
1.2 “Android” means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
1.2 “Android” means the Android software stack for devices, as made available under the Android
Open Source Project, which is located at the following URL: http://source.android.com/, as updated
from time to time.
1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600
Amphitheatre Parkway, Mountain View, CA 94043, United States.
<h3>2. Accepting this License Agreement</h3>
2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement.
2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the
SDK if you do not accept this License Agreement.
2.2 By clicking to accept, you hereby agree to the terms of this License Agreement.
2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred
from receiving the SDK under the laws of the United States or other countries including the country
in which you are resident or from which you use the SDK.
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other
entity, you represent and warrant that you have full legal authority to bind your employer or such
entity to this License Agreement. If you do not have the requisite authority, you may not accept
the License Agreement or use the SDK on behalf of your employer or other entity.
<h3>3. SDK License from Google</h3>
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide,
royalty-free, non-assignable and non-exclusive license to use the SDK solely to develop
applications to run on the Android platform.
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.2 You agree that Google or third parties own all legal right, title and interest in and to the
SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property
Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law,
and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.3 You may not use the SDK for any purpose not expressly permitted by this License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
3.3 You may not use the SDK for any purpose not expressly permitted by this License Agreement.
Except to the extent required by applicable third party licenses, you may not: (a) copy (except for
backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create
derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile
handset or any other hardware device except a personal computer, combine any part of the SDK with
other software, or distribute any software or device incorporating a part of the SDK.
3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the SDK.
3.4 You agree that you will not take any actions that may cause or result in the fragmentation of
Android, including but not limited to distributing, participating in the creation of, or promoting
in any way a software development kit derived from the SDK.
3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
3.5 Use, reproduction and distribution of components of the SDK licensed under an open source
software license are governed solely by the terms of that open source software license and not this
License Agreement.
3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
3.6 You agree that the form and nature of the SDK that Google provides may change without prior
notice to you and that future versions of the SDK may be incompatible with applications developed
on previous versions of the SDK. You agree that Google may stop (permanently or temporarily)
providing the SDK (or any features within the SDK) to you or to users generally at Google's sole
discretion, without prior notice to you.
3.7 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
3.7 Nothing in this License Agreement gives you a right to use any of Google's trade names,
trademarks, service marks, logos, domain names, or other distinctive brand features.
3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including
copyright and trademark notices) that may be affixed to or contained within the SDK.
<h3>4. Use of the SDK by You</h3>
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under
this License Agreement in or to any software applications that you develop using the SDK, including
any intellectual property rights that subsist in those applications.
4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a)
this License Agreement and (b) any applicable law, regulation or generally accepted practices or
guidelines in the relevant jurisdictions (including any laws regarding the export of data or
software to and from the United States or other relevant countries).
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
4.3 You agree that if you use the SDK to develop applications for general public users, you will
protect the privacy and legal rights of those users. If the users provide you with user names,
passwords, or other login information or personal information, you must make the users aware that
the information will be available to your application, and you must provide legally adequate
privacy notice and protection for those users. If your application stores personal or sensitive
information provided by users, it must do so securely. If the user provides your application with
Google Account information, your application may only use that information to access the user's
Google Account when, and for the limited purposes for which, the user has given you permission to
do so.
4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
4.4 You agree that you will not engage in any activity with the SDK, including the development or
distribution of an application, that interferes with, disrupts, damages, or accesses in an
unauthorized manner the servers, networks, or other properties or services of any third party
including, but not limited to, Google or any mobile communications carrier.
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or
to any third party for) any data, content, or resources that you create, transmit or display
through Android and/or applications for Android, and for the consequences of your actions
(including any loss or damage which Google may suffer) by doing so.
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or
to any third party for) any breach of your obligations under this License Agreement, any applicable
third party contract or Terms of Service, or any applicable law or regulation, and for the
consequences (including any loss or damage which Google or any third party may suffer) of any such
breach.
<h3>5. Your Developer Credentials</h3>
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
5.1 You agree that you are responsible for maintaining the confidentiality of any developer
credentials that may be issued to you by Google or which you may choose yourself and that you will
be solely responsible for all applications that are developed under your developer credentials.
<h3>6. Privacy and Information</h3>
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage
statistics from the software including but not limited to a unique identifier, associated IP
address, version number of the software, and information on which tools and/or services in the SDK
are being used and how they are being used. Before any of this information is collected, the SDK
will notify you and seek your consent. If you withhold consent, the information will not be
collected.
6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in
accordance with Google's Privacy Policy.
<h3>7. Third Party Applications</h3>
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
7.1 If you use the SDK to run applications developed by a third party or that access data, content
or resources provided by a third party, you agree that Google is not responsible for those
applications, data, content, or resources. You understand that all data, content or resources which
you may access through such third party applications are the sole responsibility of the person from
which they originated and that Google is not liable for any loss or damage that you may experience
as a result of the use or access of any of those third party applications, data, content, or
resources.
7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
7.2 You should be aware the data, content, and resources presented to you through such a third
party application may be protected by intellectual property rights which are owned by the providers
(or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell,
distribute or create derivative works based on these data, content, or resources (either in whole
or in part) unless you have been specifically given permission to do so by the relevant owners.
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties.
7.3 You acknowledge that your use of such third party applications, data, content, or resources may
be subject to separate terms between you and the relevant third party. In that case, this License
Agreement does not affect your legal relationship with these third parties.
<h3>8. Using Android APIs</h3>
8.1 Google Data APIs
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be
protected by intellectual property rights which are owned by Google or those parties that provide
the data (or by other persons or companies on their behalf). Your use of any such API may be
subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or
create derivative works based on this data (either in whole or in part) unless allowed by the
relevant Terms of Service.
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you
shall retrieve data only with the user's explicit consent and only when, and for the limited
purposes for which, the user has given you permission to do so.
<h3>9. Terminating this License Agreement</h3>
9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below.
9.1 This License Agreement will continue to apply until terminated by either you or Google as set
out below.
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK
and any relevant developer credentials.
9.3 Google may at any time, terminate this License Agreement with you if:
(A) you have breached any provision of this License Agreement; or
(B) Google is required to do so by law; or
(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated
its relationship with Google or ceased to offer certain parts of the SDK to you; or
(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country
in which you are resident or from which you use the service, or the provision of the SDK or certain
SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and
liabilities that you and Google have benefited from, been subject to (or which have accrued over
time whilst this License Agreement has been in force) or which are expressed to continue
indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall
continue to apply to such rights, obligations and liabilities indefinitely.
<h3>10. DISCLAIMER OF WARRANTIES</h3>
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE
SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE
SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR
COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
<h3>11. LIMITATION OF LIABILITY</h3>
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS
LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY
LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN
AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
<h3>12. Indemnification</h3>
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement.
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless
Google, its affiliates and their respective directors, officers, employees and agents from and
against any and all claims, actions, suits or proceedings, as well as any and all losses,
liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or
accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes
any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of
any person or defames any person or violates their rights of publicity or privacy, and (c) any
non-compliance by you with this License Agreement.
<h3>13. Changes to the License Agreement</h3>
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK.
When these changes are made, Google will make a new version of the License Agreement available on
the website where the SDK is made available.
<h3>14. General Legal Terms</h3>
14.1 This License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK.
14.1 This License Agreement constitutes the whole legal agreement between you and Google and
governs your use of the SDK (excluding any services which Google may provide to you under a
separate written agreement), and completely replaces any prior agreements between you and Google in
relation to the SDK.
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is
contained in this License Agreement (or which Google has the benefit of under any applicable law),
this will not be taken to be a formal waiver of Google's rights and that those rights or remedies
will still be available to Google.
14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License Agreement is invalid, then that provision will be removed from this License Agreement without affecting the rest of this License Agreement. The remaining provisions of this License Agreement will continue to be valid and enforceable.
14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any
provision of this License Agreement is invalid, then that provision will be removed from this
License Agreement without affecting the rest of this License Agreement. The remaining provisions of
this License Agreement will continue to be valid and enforceable.
14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to this License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to this License Agreement.
14.4 You acknowledge and agree that each member of the group of companies of which Google is the
parent shall be third party beneficiaries to this License Agreement and that such other companies
shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that
confers a benefit on (or rights in favor of) them. Other than this, no other person or company
shall be third party beneficiaries to this License Agreement.
14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST
COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE
LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
14.6 The rights granted in this License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under this License Agreement without the prior written approval of the other party.
14.6 The rights granted in this License Agreement may not be assigned or transferred by either you
or Google without the prior written approval of the other party. Neither you nor Google shall be
permitted to delegate their responsibilities or obligations under this License Agreement without
the prior written approval of the other party.
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall
be governed by the laws of the State of California without regard to its conflict of laws
provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located
within the county of Santa Clara, California to resolve any legal matter arising from this License
Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for
injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
<em>November 13, 2012</em>
@@ -191,7 +349,8 @@ This is the Android Software Development Kit License Agreement
<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" />
<label id="agreeLabel" for="agree">I have read and agree with the above terms and conditions</label>
</p>
<p><a href="" class="button disabled ndk" id="downloadForRealz" onclick="return onDownloadNdkForRealz(this);"></a></p>
<p><a href="" class="button disabled ndk" id="downloadForRealz" onclick="return
onDownloadNdkForRealz(this);"></a></p>
</div>
@@ -272,6 +431,182 @@ $('#Downloads').after($('#download-table'));
<p>
<a href="#" onclick="return toggleContent(this)"> <img
src="/assets/images/triangle-opened.png" class="toggle-content-img" alt=""
>Android NDK, Revision 10</a> <em>(July 2014)</em>
</p>
<div class="toggle-content-toggleme">
<dl>
<dt>Important changes:</dt>
<dd>
<ul>
<li>Added 3 new ABIs, all 64-bit: arm64-v8a, x86_64, mips64.</li> Note that:
<ul>
<li>GCC 4.9 is the default compiler for 64-bit ABIs. Clang is currently version 3.4.
<code>NDK_TOOLCHAIN_VERSION=clang</code>
may not work for arm64-v8a and mips64.</li>
<li>Android API level L is the first level with 64-bit support. Note that this API
level is a temporary one, and only for L-preview. An actual API level number will replace it at
L-release.</li>
<li>This release includes now includes <code>all32</code> and <code>all64</code>
settings for <code>APP_ABI</code>.
<ul>
<li><code>APP_ABI=all32</code> is equivalent to
<code>APP_ABI=armeabi,armeabi-v7a,x86,mips</code>.</li>
<li><code>APP_ABI=all64</code> is equivalent to
<code>APP_ABI=arm64-v8a,x86_64,mips64</code>.</li>
<li><code>APP_ABI=all</code> selects all ABIs.</li>
</ul>
<li>The new GNU libstdc++ in Android-L contains all <code>&lt;tr1/cmath&gt;</code>
Before defining your own math function, check <code>_GLIBCXX_USE_C99_MATH_TR1</code> to see a
function with that name already exists, in order to avoid "multiple definition" errors from the
linker.</li>
<li>The cpu-features library has been updated for the ARMv8 kernel. The existing
cpu-features library may fail to detect the presence of NEON on the ARMv8 platform. Recompile your
code with the new version.</li>
</ul>
<li>Added a new <code>platforms/android-L/</code> API directory. It includes:</li>
<ul>
<li>Updated Bionic headers, which had not changed from Android API levels 3
(Cupcake) to 19 (KitKat). This new version, for level L, is to be synchronized with AOSP.</li>
<li>New media APIs and a native-codec sample.</li>
<li>An updated <code>Android.h</code> header for SLES/OpenSLES, enabling support for
single-precision, floating-point audio format in AudioPlayer.</li>
<li>GLES 3.1 and AEP extensions to <code>libGLESv3.so.</code></li>
<li>GLES2 and GLES3 headers updated to the latest official Khronos versions.</li>
</ul>
<li>Added GCC 4.9 compilers to the 32-/64-bit ABIs. GCC 4.9 is the default (only) compiler
for 64-bit ABIs, as previously mentioned. For 32-bit ABIs, you must explcitly enable GCC 4.9, as
GCC 4.6 is still the default.</li>
<ul>
<li>For ndk-build, enable 32-bit, GCC 4.9 building either by adding
<code>NDK_TOOLCHAIN_VERSION=4.9</code> to <code>Application.mk</code>, or exporting it as an
environment variable from the command line.</li>
<li>For a standalone toolchain, use the <code> --toolchain=</code> option in the
<code>make-standalone-toolchain.sh</code> script. For example: <code>--toolchain=arm-linux-androideabi-4.9.</code></li>
</ul>
<li>Upgraded GDB to version 7.6 in GCC 4.8/4.9 and x86*. Since GDB is still at version GDB-7.3.x in
GCC 4.6 (the default for ARM and MIPS), you must set
<code>NDK_TOOLCHAIN_VERSION=4.8</code> or <code>4.9</code> to enable ndk-gdb to select GDB 7.6.</li>
<li>Added the <code>-mssse3</code> build option to provide SSSE3 support, and made it the default for ABI x86
(upgrading from SSE3). The image released by Google does not contain SSSE3 instructions.</li>
<li>Updated GCC 4.8 to 4.8.3.</li>
<li>Improved ARM libc++ EH support by switching from gabi++ to libc++abi. For details, see the "C++ Support" section of the documentation.
Note that:</li>
<ul>
<li>All tests except for locale now pass for Clang 3.4 and GCC 4.8. For more
information, see the "C++ Support" section of the documentation.</li>
<li>The libc++ libraries for X86 and MIPS libc++ still use gabi++.</li>
<li>GCC 4.7 and later can now use &lt;atomic&gt;.</li>
<li>You must add <code>-fno-strict-aliasing</code> if you use <code> &lt;list&gt;</code>, because <code>__list_imp::_end</code>_ breaks
TBAA rules. (Issue <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61571">61571</a>.)</li>
<li>As of GCC 4.6, LIBCXX_FORCE_REBUILD:=true no longer rebuilds libc++. Rebuilding it
requires the use of a different compiler. Note that Clang 3.3 is untested.</li>
</ul>
<li>mclinker is now version 2.7, and has aarch64 Linux support.</li>
<li>Added precompiled header support for headers specified by <code>LOCAL_PCH</code>. (Issue <a href="http://b.android.com/25412">25412</a>).</li>
</dd>
<dl>
<dt>Important bug fixes:</dt>
<dd>
<ul>
<li>Fixed libc++ so that it now compiles <code>std::feof</code>, etc. (Issue <a
href="http://b.android.com/66668">66668</a>).</li>
<li>Fixed a Clang 3.3/3.4 atomic library call that caused crashes in some of the libc++
tests for ABI armeabi.</li>
<li>Fixed Clang 3.4 crashes that were occurring on reading precompiled headers. (Issue <a
href="http://b.android.com/66657">66657</a>).</li>
<li>Fixed the Clang 3.3/3.4 <code>-O3</code> assert on:</li>
<code>llvm-3.2/llvm/include/llvm/MDBuilder.h:64: llvm::MDNode*
llvm::MDBuilder::createBranchWeights(llvm::ArrayRef<unsigned int>): Assertion Weights.size() >= 2
&& "Need at least two branch weights!"</code> (Issue <a href="http://b.android.com/57381">57381</a>).
<li>Fixed the following Clang 3.3/3.4 crash:</li>
<code>Assertion failed: (!Fn && "cast failed but able to resolve overload expression!!"), function CheckCXXCStyleCast, file
Volumes/data/ndk-toolchain/src/llvm-3.3/llvm/tools/clang/lib/Sema/SemaCast.cpp, line 2018</code>.
(Issue <a href="http://b.android.com/66950">66950</a>).
</ul>
</dd>
<dt>Other bug fixes:</dt>
<dd>
<ul>
<li>Fixed headers:</li>
<ul>
<li>Fixed 32-bit <code>ssize_t</code> to be <code>int</code> instead of <code>long
int</code>.</li>
<li>Fixed <code>WCHAR_MIN</code> and <code>WCHAR_MAX</code> so that they they take
appropriate signs according to the architecture they're running on:</li>
<ul>
<li>X86/MIPS: signed.
<li>ARM: unsigned.
<li>To force X86/MIPS to default to unsigned, use
<code>-D__WCHAR_UNSIGNED__</code>.</li>
<li>To force <code>wchar_t</code> to be 16 bits, use <code>-fshort-wchar</code>.</li>
</ul>
<li>Removed non-existent symbols from 32-bit <code>libc.so</code>, and added <code>pread64</code>,
<code>pwrite64</code>, <code>ftruncate64</code> for
Android API level 12 and higher. (Issue <a href="http://b.android.com/69319">69319</a>). For more
information, see the commit message accompanying AOSP change list
<a href="https://android-review.googlesource.com/#/c/94137">94137</a>.</li>
</ul>
<li>Fixed GCC warning about redefinition of <code>putchar</code>. Warning message reads:</li>
<code>include/stdio.h:236:5: warning: conflicts with previous declaration here
[-Wattributes] int putchar(int);</code> (Change list <a
href="https://android-review.googlesource.com/#/c/91185">91185</a>).
<li>Fixed <code>make-standalone-toolchain.sh --stl=libc++</code> so that it:</li>
<ul>
<li>Copies <code>cxxabi.h</code>. (Issue <a
href="http://b.android.com/68001">68001</a>).</li>
<li>Runs in directories other than the NDK install directory. (Issues <a
href="http://b.android.com/67690">67690</a> and <a href="http://b.android.com/68647">68647</a>).</li>
</ul>
<li>Fixed GCC/Windows to quote arguments only when necessary for spawning processes in
external programs. This change decreases the likelihood of exceeding the 32K length limit.</li>
<li>Fixed an issue that made it impossible to adjust the <code>APP_PLATFORM</code>
environment variable.</li>
<li>Fixed the implementation of <code>IsSystemLibrary()</code> in crazy_linker so that it
uses <code>strrchr()</code>
instead of <code>strchr()</code> to find the library path's true basename.</li>
<li>Fixed native-audio's inability to build in debug mode.</li>
<li>Fixed gdb's inability to print extreme floating-point numbers. (Issue <a
href="http://b.android.com/69203">69203</a>).</li>
<li>Fixed Clang 3.4 inability to compile with <code>-Wl,-shared</code> (as opposed to
<code>-shared</code>, which
had no compilation issues). The problem was that Clang added <code>-pie</code> for Android
targets if neither <code>-shared</code> nor <code>-static</code> existed. This behavior, which was
incorrect, caused the linker to complain that <code>-shared</code> and <code>-pie</code> could not
co-exist.</li>
</ul>
</dd>
<dt>Other changes:</dt>
<dd>
<ul>
<li>Added <code>arm_neon.h</code> to the x86 toolchain so that it now emulates ~47% of
Neon. There is currently no support for 64-bit types. For more information, see the section on ARM
Neon intrinsics support in the x86 documentation.</li>
<li>Ported ARM/GOT_PREL optimization (present in GCC 4.6 built from the GCC google branch) to
ARM GCC 4.8/4.9. This optimization sometimes reduces instruction count when accessing global
variables. As an example, see the build.sh script in
<code>$NDK/tests/build/b14811006-GOT_PREL-optimization/</code>.</li>
<li>Added ARM version for STL gabi++, stlport, and libc++. They now have both it and Thumb
mode.</li>
<li>It is now possible to call the make-standalone-toolchain.sh script with
<code>--toolchain=x86_64-linux-android-4.9</code>, which is equivalent to
<code>--toolchain=x86_64-4.9</code>.</li>
</dd>
</ul>
</dl>
</div>
</div>
<div class="toggle-content closed">
<p>
<a href="#" onclick="return toggleContent(this)"> <img
src="/assets/images/triangle-closed.png" class="toggle-content-img" alt=""
>Android NDK, Revision 9d</a> <em>(March 2014)</em>
</p>
<div class="toggle-content-toggleme">
@@ -284,7 +619,7 @@ $('#Downloads').after($('#download-table'));
still the default compiler.</li>
<li>Added <code>APP_ABI=armeabi-v7a-hard</code>, with
additional multilib option <code>-mfloat-abi=hard</code>. These options are for
use with ARM GCC 4.6/4.8 and clang 3.3/3.4 (which use 4.8's assembler, linker,
use with ARM GCC 4.6/4.8 and Clang 3.3/3.4 (which use 4.8's assembler, linker,
and libs). When using these options, note the following changes:</li>
<ul>
<li> When executing the <code>ndk-build</code> script, add the
@@ -322,7 +657,7 @@ to create a standalone toolchain with libc++ headers/lib.</li>
</ul>
For more information, see
<code>CPLUSPLUS-SUPPORT.html</code>.
(Issue <a href="b.android.com/36496">36496</a>)</li>
(Issue <a href="http://b.android.com/36496">36496</a>)</li>
</ul>
</dd>
<dl>
@@ -337,7 +672,7 @@ specialization of a template with
a dependent, non-type template argument. (GCC Issue <a
href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59052">59052</a>)</li>
<li>Added more modules to prebuilt python (Issue <a
href="b.android.com/59902">59902</a>):
href="http://b.android.com/59902">59902</a>):
<ul>
<li>Mac OS X: <code>zlib</code>, <code>bz2</code>,
<code>_curses</code>, <code>_curses_panel</code>, <code>_hashlib</code>,
@@ -637,7 +972,8 @@ GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
(<a href="http://b.android.com/55826">Issue 55826</a>)</li>
<li>Fixed Clang 3.3 MIPS compiler problem where HI and LO registers are incorrectly
reused.</li>
<li>Fixed issue with MIPS 4.7 ICE in {@code dbx_reg_number}. The error message is as follows:
<li>Fixed issue with MIPS 4.7 ICE in {@code dbx_reg_number}. The error message is as
follows:
<pre>
external/icu4c/i18n/decimfmt.cpp:1322:1:
internal compiler error: in dbx_reg_number, at dwarf2out.c:10185
@@ -721,11 +1057,13 @@ LOCAL_LDFLAGS += -fopenmp
<li>Modified GCC builds so that all {@code libgcc.a} files are built with
<code>-funwind-tables</code> to allow the stack to be unwound past previously blocked
points, such as <code>__aeabi_idiv0</code>.</li>
<li>Added Ingenic MXU support in MIPS GCC4.6/4.7/4.8 with new <code>-mmxu</code> option.</li>
<li>Added Ingenic MXU support in MIPS GCC4.6/4.7/4.8 with new <code>-mmxu</code>
option.</li>
<li>Extended MIPS GCC4.6/4.7/4.8 <code>-mldc1-sdc1</code> to control ldxc1/sdxc1 too</li>
<li>Added crazy linker. For more information, see
{@code sources/android/crazy_linker/README.TXT}.</li>
<li>Fixed {@code bitmap-plasma} to draw to full screen rather than a 200x200 pixel area.</li>
<li>Fixed {@code bitmap-plasma} to draw to full screen rather than a 200x200 pixel
area.</li>
<li>Reduced linux and darwin toolchain sizes by 25% by creating symlinks to identical files.
</li>
</ul>
@@ -935,7 +1273,8 @@ LOCAL_LDFLAGS += -fopenmp
<li>Added two flags to re-enable two optimizations in upstream Clang but disabled in
NDK for better compatibility with code compiled by GCC:
<ul>
<li>Added a {@code -fcxx-missing-return-semantics} flag to re-enable <em>missing return
<li>Added a {@code -fcxx-missing-return-semantics} flag to re-enable <em>missing
return
semantics</em> in Clang 3.2+. Normally, all paths should terminate with a return
statement for a value-returning function. If this is not the case, clang inserts
an undefined instruction (or trap in debug mode) at the path without a return
@@ -1079,7 +1418,8 @@ LOCAL_LDFLAGS += -fopenmp
(<a href="https://android-review.googlesource.com/#/c/52134">Change 52134</a>)</li>
<li>Fixed Clang 3.1 internal compiler error when using Eigen library.
(<a href="http://b.android.com/41246">Issue 41246</a>)</li>
<li>Fixed Clang 3.1 internal compiler error including {@code &lt;chrono&gt;} in C++11 mode.
<li>Fixed Clang 3.1 internal compiler error including {@code &lt;chrono&gt;} in C++11
mode.
(<a href="http://b.android.com/39600">Issue 39600</a>)</li>
<li>Fixed Clang 3.1 internal compiler error when generating object code for a method
call to a uniform initialized {@code rvalue}.
@@ -1088,7 +1428,8 @@ LOCAL_LDFLAGS += -fopenmp
(<a href="https://android-review.googlesource.com/#/c/52154">Change 52154</a>)</li>
<li>Fixed problem with GNU Debugger (GDB) SIGILL when debugging on Android 4.1.2.
(<a href="http://b.android.com/40941">Issue 40941</a>)</li>
<li>Fixed problem where GDB cannot set {@code source:line} breakpoints when symbols contain
<li>Fixed problem where GDB cannot set {@code source:line} breakpoints when symbols
contain
long, indirect file paths.
(<a href="http://b.android.com/42448">Issue 42448</a>)</li>
<li>Fixed GDB {@code read_program_header} for MIPS PIE executables.
@@ -1182,7 +1523,8 @@ LOCAL_LDFLAGS += -fopenmp
<li>Enabled MIPS floating-point {@code madd/msub/nmadd/nmsub/recip/rsqrt}
instructions with 32-bit FPU.</li>
<li>Enabled graphite loop optimizer in GCC 4.6 and 4.7 to allow more optimizations:
{@code -fgraphite}, {@code -fgraphite-identity}, {@code -floop-block}, {@code -floop-flatten},
{@code -fgraphite}, {@code -fgraphite-identity}, {@code -floop-block}, {@code
-floop-flatten},
{@code -floop-interchange}, {@code -floop-strip-mine}, {@code -floop-parallelize-all},
and {@code -ftree-loop-linear}.
(<a href="http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html">info</a>)</li>
@@ -1379,7 +1721,9 @@ Expected in: /usr/lib/libSystem.B.dylib</pre>
<li>Updated {@code make-standalone-toolchain.sh} to accept the suffix {@code -clang3.1}
which is equivalent to adding {@code --llvm-version=3.1} to the GCC 4.6 toolchain.</li>
<li>Updated GCC and Clang bug report URL to:
<a href="http://source.android.com/source/report-bugs.html">http://source.android.com/source/report-bugs.html</a></li>
<a
href="http://source.android.com/source/report-bugs.html">http://source.android.com/source/report-bug
s.html</a></li>
<li>Added ARM ELF support to {@code llvm-objdump}.</li>
<li>Suppressed <em>treating c input as c++</em> warning for Clang builds.</li>
<li>Updated build so that only the 32-bit version of {@code libiberty.a} is built and
@@ -1418,7 +1762,8 @@ Expected in: /usr/lib/libSystem.B.dylib</pre>
<a href="http://code.google.com/p/android/issues/list">report any issues</a>.</p></li>
<li>Added Gold linker {@code ld.gold} for the Windows toolchain. Gold linker is also the
default for ARM and X86 on all hosts. You may override it to use the {@code ld.bfd}
linker by adding {@code LOCAL_LDFLAGS += -fuse-ld=bfd} to {@code Android.mk}, or by passing
linker by adding {@code LOCAL_LDFLAGS += -fuse-ld=bfd} to {@code Android.mk}, or by
passing
{@code -fuse-ld=bfd} to the g++/clang++ command line that does the linking.</li>
<li>Added checks for spaces in the NDK path to the {@code ndk-build[.cmd]} and
{@code ndk-gdb} scripts, to prevent build errors that are difficult to diagnose.</li>
@@ -1605,7 +1950,8 @@ Expected in: /usr/lib/libSystem.B.dylib</pre>
<li>Replaced {@code link.h} for MIPS with new version supporting all platforms.</li>
<li>Removed {@code linux-unistd.h}</li>
<li>Move GLibc-specific macros {@code LONG_LONG_MIN}, {@code LONG_LONG_MAX} and
{@code ULONG_LONG_MAX} from {@code &lt;pthread.h&gt;} to {@code &lt;limits.h&gt;}.</li>
{@code ULONG_LONG_MAX} from {@code &lt;pthread.h&gt;} to {@code
&lt;limits.h&gt;}.</li>
</ul>
</li>
<li>Fixed a buffer overflow in {@code ndk-stack-parser}.</li>
@@ -1767,7 +2113,8 @@ info</a>).</li>
<li>Fixed ARM {@code strip} command to preserve the original {@code p_align} and
{@code p_flags} in {@code GNU_RELRO} section if they are valid. Without this fix, programs
built with {@code -fPIE} could not be debugged. (<a
href="http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.552&r2=1.553">more info</a>)</li>
href="http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.552&r2=1.553">mor
e info</a>)</li>
</ul>
</li>
<li>Disabled {@code sincos()} optimization for compatibility with older
@@ -2505,7 +2852,8 @@ LOCAL_CPP_EXTENSION := .cpp .cxx
</li>
<li>You can build a standalone x86 toolchain using the <code>--toolchain=x86-4.4.3</code>
<li>You can build a standalone x86 toolchain using the
<code>--toolchain=x86-4.4.3</code>
option when calling <code>make-standalone-toolchain.sh</code>. See
<code>docs/STANDALONE-TOOLCHAIN.html</code> for more details.
</li>
@@ -2548,7 +2896,8 @@ LOCAL_CPP_EXTENSION := .cpp .cxx
<li>Fixed a bug where code linked against <code>gnustl_static</code> crashed when run on
platform releases older than API level 8 (Android 2.2).</li>
<li><code>ndk-gdb</code>: Fixed a bug that caused a segmentation fault when debugging Android 3.0
<li><code>ndk-gdb</code>: Fixed a bug that caused a segmentation fault when debugging
Android 3.0
or newer devices.</li>
<li><code>&lt;android/input.h&gt;</code>: Two functions that were introduced in API level
@@ -2617,12 +2966,14 @@ float AMotionEvent_getHistoricalRawY(const AInputEvent* motion_event,
</p>
<div class="toggle-content-toggleme">
<p>This release of the NDK does not include any new features compared to r5. The r5b release addresses the
<p>This release of the NDK does not include any new features compared to r5. The r5b release
addresses the
following problems in the r5 release:
</p>
<ul>
<li>The r5 binaries required glibc 2.11, but the r5b binaries are generated with a special
toolchain that targets glibc 2.7 or higher instead. The Linux toolchain binaries now run on Ubuntu 8.04 or higher. </li>
toolchain that targets glibc 2.7 or higher instead. The Linux toolchain binaries now run on
Ubuntu 8.04 or higher. </li>
<li>Fixes a compiler bug in the arm-linux-androideabi-4.4.3 toolchain.
The previous binary generated invalid thumb instruction sequences when
dealing with signed chars.</li>
@@ -2642,21 +2993,29 @@ float AMotionEvent_getHistoricalRawY(const AInputEvent* motion_event,
with the new NDK toolchain.</li>
<li>Builds in Cygwin are faster by avoiding calls to <code>cygpath -m</code>
from GNU Make for every source or object file, which caused problems
with very large source trees. In case this doesn't work properly, define <code>NDK_USE_CYGPATH=1</code> in your
with very large source trees. In case this doesn't work properly, define
<code>NDK_USE_CYGPATH=1</code> in your
environment to use <code>cygpath -m</code> again.</li>
<li>The Cygwin installation now notifies the user of invalid installation paths that contain spaces. Previously, an invalid path
would output an error that complained about an incorrect version of GNU Make, even if the right one was installed.
<li>The Cygwin installation now notifies the user of invalid installation paths that
contain spaces. Previously, an invalid path
would output an error that complained about an incorrect version of GNU Make, even if the
right one was installed.
</ul>
</li>
<li>Fixed a typo that prevented the <code>NDK_MODULE_PATH</code> environment variable from working properly when
<li>Fixed a typo that prevented the <code>NDK_MODULE_PATH</code> environment variable from
working properly when
it contained multiple directories separated with a colon. </li>
<li>The <code>prebuilt-common.sh</code> script contains fixes to check the compiler for 64-bit
generated machine code, instead of relying on the host tag, which
allows the 32-bit toolchain to rebuild properly on Snow Leopard. The toolchain rebuild scripts now also support
allows the 32-bit toolchain to rebuild properly on Snow Leopard. The toolchain rebuild scripts
now also support
using a 32-bit host toolchain.</li>
<li>A missing declaration for <code>INET_ADDRSTRLEN</code> was added to <code>&lt;netinet/in.h&gt;</code>.</li>
<li>Missing declarations for <code>IN6_IS_ADDR_MC_NODELOCAL</code> and <code>IN6_IS_ADDR_MC_GLOBAL</code> were added to <code>&lt;netinet/in6.h&gt;</code>.</li>
<li>'asm' was replaced with '__asm__' in <code>&lt;asm/byteorder.h&gt;</code> to allow compilation with <code>-std=c99</code>.</li>
<li>A missing declaration for <code>INET_ADDRSTRLEN</code> was added to
<code>&lt;netinet/in.h&gt;</code>.</li>
<li>Missing declarations for <code>IN6_IS_ADDR_MC_NODELOCAL</code> and
<code>IN6_IS_ADDR_MC_GLOBAL</code> were added to <code>&lt;netinet/in6.h&gt;</code>.</li>
<li>'asm' was replaced with '__asm__' in <code>&lt;asm/byteorder.h&gt;</code> to allow
compilation with <code>-std=c99</code>.</li>
</ul>
</div>
</div>
@@ -2673,8 +3032,10 @@ float AMotionEvent_getHistoricalRawY(const AInputEvent* motion_event,
of native code. Using the APIs, developers have direct native access to events, audio,
graphics and window management, assets, and storage. Developers can also implement the
Android application lifecycle in native code with help from the new
{@link android.app.NativeActivity} class. For detailed information describing the changes in this
release, read the <code>CHANGES.HTML</code> document included in the downloaded NDK package.
{@link android.app.NativeActivity} class. For detailed information describing the changes
in this
release, read the <code>CHANGES.HTML</code> document included in the downloaded NDK
package.
</p>
<dl>
<dt>General notes:</dt>
@@ -2703,35 +3064,46 @@ float AMotionEvent_getHistoricalRawY(const AInputEvent* motion_event,
</ul>
</li>
<li>Includes a new toolchain (based on GCC 4.4.3), which generates better code, and can also now
<li>Includes a new toolchain (based on GCC 4.4.3), which generates better code, and can
also now
be used as a standalone cross-compiler, for people who want to build their stuff with
<code>./configure &amp;&amp; make</code>. See
docs/STANDALONE-TOOLCHAIN.html for the details. The binaries for GCC 4.4.0 are still provided,
docs/STANDALONE-TOOLCHAIN.html for the details. The binaries for GCC 4.4.0 are still
provided,
but the 4.2.1 binaries were removed.</li>
<li>Adds support for prebuilt static and shared libraries (docs/PREBUILTS.html) and module
<li>Adds support for prebuilt static and shared libraries (docs/PREBUILTS.html) and
module
exports and imports to make sharing and reuse of third-party modules much easier
(docs/IMPORT-MODULE.html explains why).</li>
<li>Provides a default C++ STL implementation (based on STLport) as a helper module. It can be used either
as a static or shared library (details and usage examples are in sources/android/stlport/README). Prebuilt
binaries for STLport (static or shared) and GNU libstdc++ (static only) are also provided if you choose to
<li>Provides a default C++ STL implementation (based on STLport) as a helper module. It
can be used either
as a static or shared library (details and usage examples are in
sources/android/stlport/README). Prebuilt
binaries for STLport (static or shared) and GNU libstdc++ (static only) are also
provided if you choose to
compile against those libraries instead of the default C++ STL implementation.
C++ Exceptions and RTTI are not supported in the default STL implementation. For more information, see
C++ Exceptions and RTTI are not supported in the default STL implementation. For more
information, see
docs/CPLUSPLUS-SUPPORT.HTML.</li>
<li>Includes improvements to the <code>cpufeatures</code> helper library that improves reporting
of the CPU type (some devices previously reported ARMv7 CPU when the device really was an ARMv6). We
<li>Includes improvements to the <code>cpufeatures</code> helper library that improves
reporting
of the CPU type (some devices previously reported ARMv7 CPU when the device really was
an ARMv6). We
recommend developers that use this library to rebuild their applications then
upload to Google Play to benefit from the improvements.</li>
<li>Adds an EGL library that lets you create and manage OpenGL ES textures and
services.</li>
<li>Adds new sample applications, <code>native-plasma</code> and <code>native-activity</code>,
<li>Adds new sample applications, <code>native-plasma</code> and
<code>native-activity</code>,
to demonstrate how to write a native activity.</li>
<li>Includes many bugfixes and other small improvements; see docs/CHANGES.html for a more
<li>Includes many bugfixes and other small improvements; see docs/CHANGES.html for a
more
detailed list of changes.</li>
</ul>
</dd>
@@ -3043,7 +3415,8 @@ later)</li>
</table>
<p>For more information about API Level and its relationship to Android platform versions,
see <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#ApiLevels">Android API Levels</a>.</p>
see <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#ApiLevels">Android API
Levels</a>.</p>
</li>
<li>Additionally, an application using the OpenGL ES APIs should declare a
@@ -3061,7 +3434,8 @@ later)</li>
</pre>
<p>For more information, see the <a href=
"{@docRoot}guide/topics/manifest/uses-feature-element.html"><code>&lt;uses-feature&gt;</code></a>
"{@docRoot}guide/topics/manifest/uses-feature-element.html"><code>&lt;uses-feature&gt;</code></a>
documentation.</p>
</li>
@@ -3104,7 +3478,8 @@ later)</li>
<p>Before you get started make sure that you have downloaded the latest <a href=
"{@docRoot}sdk/index.html">Android SDK</a> and upgraded your applications and environment as
needed. The NDK is compatible with older platform versions but not older versions of the SDK tools.
needed. The NDK is compatible with older platform versions but not older versions of the SDK
tools.
Also, take a moment to review the <a href="#Reqs">System and
Software Requirements</a>
for the NDK, if you haven't already.</p>
@@ -3178,7 +3553,8 @@ included with the NDK package.</p>
<p>Write a native activity, which allows you to implement the lifecycle callbacks in native
code. The Android SDK provides the {@link android.app.NativeActivity} class, which is a
convenience class that notifies your
native code of any activity lifecycle callbacks (<code>onCreate()</code>, <code>onPause()</code>,
native code of any activity lifecycle callbacks (<code>onCreate()</code>,
<code>onPause()</code>,
<code>onResume()</code>, etc). You can implement the callbacks in your native code to handle
these events when they occur. Applications that use native activities must be run on Android
2.3 (API Level 9) or later.</p>
@@ -3230,7 +3606,8 @@ information)</li>
difference between the two instruction sets is that ARMv7-A supports hardware FPU, Thumb-2, and
NEON instructions. You can target either or both of the instruction sets &mdash; ARMv5TE is the
default, but switching to ARMv7-A is as easy as adding a single line to the application's
<code>Application.mk</code> file, without needing to change anything else in the file. You can also build for
<code>Application.mk</code> file, without needing to change anything else in the file. You can
also build for
both architectures at the same time and have everything stored in the final <code>.apk</code>.
Complete information is provided in the CPU-ARCH-ABIS.HTML in the NDK package.</p>
@@ -3311,13 +3688,15 @@ information)</li>
<li>CHANGES.HTML &mdash; a complete list of changes to the NDK across all releases.</li>
<li>DEVELOPMENT.HTML &mdash; describes how to modify the NDK and generate release packages for it</li>
<li>DEVELOPMENT.HTML &mdash; describes how to modify the NDK and generate release packages for
it</li>
<li>HOWTO.HTML &mdash; information about common tasks associated with NDK development</li>
<li>IMPORT-MODULE.HTML &mdash; describes how to share and reuse modules</li>
<li>LICENSES.HTML &mdash; information about the various open source licenses that govern the Android NDK</li>
<li>LICENSES.HTML &mdash; information about the various open source licenses that govern the
Android NDK</li>
<li>NATIVE-ACTIVITY.HTML &mdash; describes how to implement native activities</li>