Commit graph

3893 commits

Author SHA1 Message Date
Billy Lamberta
05f772fe6b docs: work minisite
am: 09304b21b3

* commit '09304b21b33f13480d4df58b53df89e6e1356537':
  docs: work minisite

Change-Id: I3ee5ddd408506dbdce2168e8aeaa3a1a87442005
2016-05-16 22:15:52 +00:00
Billy Lamberta
09304b21b3 docs: work minisite
Changes needed to build the new directory
frameworks/base/docs/html/work. Support for
resource cards and navigation.

bug: 27744376
Change-Id: I8556eb0e2cf86eb83be395a97306d220394827cd
2016-05-16 14:15:06 -07:00
Joe Fernandez
f1ed84693e docs: Wear Preview - update TOC navigation behavior am: f8e4e54b89
am: f9601a7ad2

* commit 'f9601a7ad261772cf0f89df267de6998fd65cc48':
  docs: Wear Preview - update TOC navigation behavior

Change-Id: I4304642d26f0b975cb50bfdd53a04167d186b268
2016-05-16 01:13:40 +00:00
Joe Fernandez
f9601a7ad2 docs: Wear Preview - update TOC navigation behavior
am: f8e4e54b89

* commit 'f8e4e54b89cf381a725e8be9e05eee2bb94b0f2c':
  docs: Wear Preview - update TOC navigation behavior

Change-Id: I9cbf81eec6b55a40d573c0160b7f7936bd0eb621
2016-05-16 01:10:52 +00:00
Joe Fernandez
f8e4e54b89 docs: Wear Preview - update TOC navigation behavior
b/28004352

Change-Id: I1818c7b0def80e5871a0e6abf0353e9216164e1f
2016-05-15 17:56:44 -07:00
Amanda Kassay
600ccf1185 Updated default.css and docs.js for DoD transition fallback. am: 4d5bcbf62a am: 613cf217cf
am: 18840d1ecb

* commit '18840d1ecbeeb4691e61a5745757c56af95d87fc':
  Updated default.css and docs.js for DoD transition fallback.

Change-Id: I2b1a4174aee4c85df917431135529798790fd8cf
2016-05-14 15:35:22 +00:00
Amanda Kassay
18840d1ecb Updated default.css and docs.js for DoD transition fallback. am: 4d5bcbf62a
am: 613cf217cf

* commit '613cf217cf3f60cadd6235e0336df2e076588e3c':
  Updated default.css and docs.js for DoD transition fallback.

Change-Id: I4025f00dd7958af44c2aa3475f3ac397246e55e6
2016-05-14 15:32:26 +00:00
Amanda Kassay
613cf217cf Updated default.css and docs.js for DoD transition fallback.
am: 4d5bcbf62a

* commit '4d5bcbf62a0cc6ec1db0c860a818b6166dceed74':
  Updated default.css and docs.js for DoD transition fallback.

Change-Id: I22a7466baee5d752542000565afb826eef06c96d
2016-05-14 15:29:30 +00:00
Joe Fernandez
a067357b5a docs: Instant Apps - enable TOC and navigation for navigation am: f38a01d800
am: 84a8735017

* commit '84a873501701f7846c09b4bff604e65c2c38a9bd':
  docs: Instant Apps - enable TOC and navigation for navigation

Change-Id: I9b9974a0e180139dccea8867f3675473b95ba5be
2016-05-13 23:45:57 +00:00
Joe Fernandez
84a8735017 docs: Instant Apps - enable TOC and navigation for navigation
am: f38a01d800

* commit 'f38a01d800b05187db6515527df919a1a8dec6f5':
  docs: Instant Apps - enable TOC and navigation for navigation

Change-Id: I1b05ae4d00f7ac446274978dc6f32fa98c804d81
2016-05-13 23:43:22 +00:00
Joe Fernandez
f38a01d800 docs: Instant Apps - enable TOC and navigation for navigation
Change-Id: I7a259da8618f090a8146d4f42608ebc8baf73af1
2016-05-13 16:15:22 -07:00
Amanda Kassay
4d5bcbf62a Updated default.css and docs.js for DoD transition fallback.
Change-Id: I0a978667b2ead38ba8dad8c90b173e9e91abd6f2
2016-05-13 16:04:44 -04:00
Amanda Kassay
b6a7250084 Removing commented out deprecated download links in sdkpage.cs am: eefc7d441c am: 7387b5861b
am: 494e80cabc

* commit '494e80cabcec97f4052ca15bd1eb8968e7910c35':
  Removing commented out deprecated download links in sdkpage.cs

Change-Id: I332c0b7c12686e868fe24404aecc8966cdcf6f5d
2016-05-12 18:32:29 +00:00
Amanda Kassay
494e80cabc Removing commented out deprecated download links in sdkpage.cs am: eefc7d441c
am: 7387b5861b

* commit '7387b5861b61d22a0c2edffb10611284a6d8fa0b':
  Removing commented out deprecated download links in sdkpage.cs

Change-Id: I40bb1b50cc1d49dd3113e8511b8fa744acdf27b5
2016-05-12 18:29:57 +00:00
Amanda Kassay
7387b5861b Removing commented out deprecated download links in sdkpage.cs
am: eefc7d441c

* commit 'eefc7d441c2c3b235fdae71853921dffff6da755':
  Removing commented out deprecated download links in sdkpage.cs

Change-Id: I95145f9fb614fc875fcffbccfa24f176160138f7
2016-05-12 18:27:28 +00:00
Amanda Kassay
eefc7d441c Removing commented out deprecated download links in sdkpage.cs
Change-Id: Iad26e72120b110fa017821be887de0cd07b3889a
2016-05-12 14:17:41 -04:00
Joe Fernandez
5b61e4cb61 docs: Wear Preview - TOC and Resource card fixes for DoDS am: 151592490e
am: 10719438d6

* commit '10719438d6faaa1fea500057e211b2d88faf6d74':
  docs: Wear Preview - TOC and Resource card fixes for DoDS

Change-Id: If17971766425bc5fbba0e9860d611ea043d6b8dd
2016-05-12 06:34:58 +00:00
Joe Fernandez
10719438d6 docs: Wear Preview - TOC and Resource card fixes for DoDS
am: 151592490e

* commit '151592490e22253eeb5355bd2861c56c80ecf437':
  docs: Wear Preview - TOC and Resource card fixes for DoDS

Change-Id: I2e8521069969baaa1696adbef2f4cb901b636fb9
2016-05-12 06:32:49 +00:00
Joe Fernandez
151592490e docs: Wear Preview - TOC and Resource card fixes for DoDS
b/28004352

Change-Id: Iff222f71508c21e0b35a3d41c846c062755605cd
2016-05-11 23:07:26 -07:00
smain@google.com
aae9e8b623 Merge "remove silly css hack that\'s no longer needed in the new site design, but which now actually causes layout problems." into mnc-mr-docs am: 547111f16c am: 1db6c2f315
am: 9594b9991f

* commit '9594b9991f78e9891b530eccdb5c72c0e7343c75':
  remove silly css hack that's no longer needed in the new site design, but which now actually causes layout problems.

Change-Id: I91789079b83a42ab562bf1be84c6313c47185d3a
2016-05-11 17:43:36 +00:00
Scott Main
9594b9991f Merge "remove silly css hack that\'s no longer needed in the new site design, but which now actually causes layout problems." into mnc-mr-docs am: 547111f16c
am: 1db6c2f315

* commit '1db6c2f315c5bb4068325eb2f431a36c8d3c14ba':
  remove silly css hack that's no longer needed in the new site design, but which now actually causes layout problems.

Change-Id: I050f42c42fd200ce4b6613945ffdc3a92f9fd0a9
2016-05-11 17:40:36 +00:00
Dirk Dougherty
03d6d05559 Custom data names for reference extensions. am: ceb4a59409 am: c72ec756c2
am: a890553c51

* commit 'a890553c5137284a136f9391db78a0a2aa527c18':
  Custom data names for reference extensions.

Change-Id: I5cb49898b977dbabba014aff5c45f5d902d719c1
2016-05-11 17:37:46 +00:00
Dirk Dougherty
a890553c51 Custom data names for reference extensions. am: ceb4a59409
am: c72ec756c2

* commit 'c72ec756c27ccd0cde5e80a7242d3809398be19d':
  Custom data names for reference extensions.

Change-Id: If1ac0af6c4f0a78295fec643e5c1352f2597271b
2016-05-11 17:34:56 +00:00
Scott Main
547111f16c Merge "remove silly css hack that's no longer needed in the new site design, but which now actually causes layout problems." into mnc-mr-docs 2016-05-11 17:34:29 +00:00
smain@google.com
0be54fdd34 remove silly css hack that's no longer needed in the new site design,
but which now actually causes layout problems.

Change-Id: I27859f6103ea0538442b22cd67b64d970d831d93
2016-05-11 10:17:42 -07:00
Dirk Dougherty
ceb4a59409 Custom data names for reference extensions.
Change-Id: I55088a1ddb40fc3648dc8b983c94330084bb65f1
2016-05-10 20:28:58 -07:00
Dirk Dougherty
6598f78068 For reference extension builds, update book_path to reference the appropriate file location. am: 8dbd7b96cf am: ce46b86219
am: 1d2dbfe4f5

* commit '1d2dbfe4f5d929d5c671a1d73ec38d8246b1b17a':
  For reference extension builds, update book_path to reference the appropriate file location.

Change-Id: Id5ddec169d92b36f05a1d29b189b92f74396acb5
2016-05-11 02:01:49 +00:00
Dirk Dougherty
1d2dbfe4f5 For reference extension builds, update book_path to reference the appropriate file location. am: 8dbd7b96cf
am: ce46b86219

* commit 'ce46b86219b973a5f90d16e5e59073952ef01519':
  For reference extension builds, update book_path to reference the appropriate file location.

Change-Id: Icc7e68ec871661b3d2824452a4c12b24f9a83aee
2016-05-11 01:58:57 +00:00
Dirk Dougherty
8dbd7b96cf For reference extension builds, update book_path to reference the appropriate file location.
Change-Id: I1eab8fcde8348e7cd7efa90c5c1768b1103e5b97
2016-05-10 17:56:19 -07:00
Scott Main
3ce1a3ba57 Revert "add studio survey button to header." 40k responses is probably enough. am: 4d6e15df03 am: fa46661aa7 am: 3ff492deee
am: 20324e21f9

* commit '20324e21f9752fcae8775f1a65dc24ffffe592e7':
  Revert "add studio survey button to header." 40k responses is probably enough.

Change-Id: I22deb175299dd6614dc72c6daaa5baf2fab9342a
2016-05-06 16:37:05 +00:00
Scott Main
20324e21f9 Revert "add studio survey button to header." 40k responses is probably enough. am: 4d6e15df03 am: fa46661aa7
am: 3ff492deee

* commit '3ff492deee3df77f6a1ce8afa0fc8ac75d8808c2':
  Revert "add studio survey button to header." 40k responses is probably enough.

Change-Id: Ib0bfd417c340f1f5d734f4551813cd6079b28f3e
2016-05-06 16:32:20 +00:00
Scott Main
fa46661aa7 Revert "add studio survey button to header." 40k responses is probably enough.
am: 4d6e15df03

* commit '4d6e15df032f561d64a11190df052aec364a3d47':
  Revert "add studio survey button to header." 40k responses is probably enough.

Change-Id: I7fd13ab441835b3515e5a66aeda8e27ce748c8a8
2016-05-06 16:22:24 +00:00
Scott Main
4d6e15df03 Revert "add studio survey button to header."
40k responses is probably enough.

This reverts commit 075aad742a.

Change-Id: I0c1964fda243c32f57156e762edec511314d9cb5
2016-05-06 16:08:56 +00:00
Amanda Kassay
5461c2f0cb Update to reference templates to include resources to fix navigation highlighting issues. b/28560594 b/28586131 am: 307d36d9d4 am: aa012638d6
am: 69ef986675

* commit '69ef986675f98d48f98c2d8a28492a5b636ef2da':
  Update to reference templates to include resources to fix navigation highlighting issues. b/28560594 b/28586131

Change-Id: Id3e9210f4c704e13b1c3c5a6cf8219f2d83080a8
2016-05-05 14:02:00 +00:00
Amanda Kassay
69ef986675 Update to reference templates to include resources to fix navigation highlighting issues. b/28560594 b/28586131 am: 307d36d9d4
am: aa012638d6

* commit 'aa012638d607cd8d0dc919ffcffd8009bcc389e4':
  Update to reference templates to include resources to fix navigation highlighting issues. b/28560594 b/28586131

Change-Id: Ib64ca322b4a86f8ae4cd55e087bce7ab74720963
2016-05-05 13:59:33 +00:00
Amanda Kassay
307d36d9d4 Update to reference templates to include resources to fix navigation highlighting issues.
b/28560594
b/28586131

Staged:
http://akassay.nyc.corp.google.com:8080/reference/android/Manifest.permission_group.html?tenant=android

Change-Id: I6cefa0014a308e571f88b0635f6bdae21b4276cb
2016-05-05 02:35:22 +00:00
Tao Bao
25fe877c61 Merge "releasetools: Perform erase commands first." into nyc-dev 2016-05-04 22:32:39 +00:00
Tao Bao
66f1fa6565 releasetools: Perform erase commands first.
We used to erase all the unused blocks at the end of an update. In order
to work around the eMMC issue in b/28347095, we move part of the erase
commands, which won't be used during the update, to the beginning. The
reset would be erased at the end. This is in hopes of avoiding eMMC
getting starved for clean blocks which would otherwise fail an OTA.

Bug: 28347095
Change-Id: Ia96b06216b35d6700858687a66734af36d0ec213
2016-05-04 12:21:42 -07:00
smain@google.com
fc992dd29a Merge "remove left nav from any remaining sdk/ and tools/ pages. There are still some sdk/ pages but all tools/ pages are gone, so although we could just ignore such pages, better safe than sorry, so going to catch those too." into mnc-mr-docs am: 7204a974dc am: a4da48a31f
am: 68d68d9f0f

* commit '68d68d9f0f4434abb861a90bf5ff6ba5b1c98321':
  remove left nav from any remaining sdk/ and tools/ pages. There are still some sdk/ pages but all tools/ pages are gone, so although we could just ignore such pages, better safe than sorry, so going to catch those too.

Change-Id: If633ef35502fb79d0735d7bf39862e2d7a715938
2016-05-04 18:40:35 +00:00
smain@google.com
68d68d9f0f Merge "remove left nav from any remaining sdk/ and tools/ pages. There are still some sdk/ pages but all tools/ pages are gone, so although we could just ignore such pages, better safe than sorry, so going to catch those too." into mnc-mr-docs am: 7204a974dc
am: a4da48a31f

* commit 'a4da48a31f52c9ea98855a2af4f5a7f9f405d13c':
  remove left nav from any remaining sdk/ and tools/ pages. There are still some sdk/ pages but all tools/ pages are gone, so although we could just ignore such pages, better safe than sorry, so going to catch those too.

Change-Id: I055deb6bfb3761b0e6486cfe6b9c4c311f20e0c8
2016-05-04 18:37:15 +00:00
Scott Main
7204a974dc Merge "remove left nav from any remaining sdk/ and tools/ pages. There are still some sdk/ pages but all tools/ pages are gone, so although we could just ignore such pages, better safe than sorry, so going to catch those too." into mnc-mr-docs 2016-05-04 18:31:39 +00:00
Andrew Solovay
5ca0e984cb doc: Changed go/ category etc. to topic/ am: 36af4d4d08 am: dae70906a5
am: fd017785eb

* commit 'fd017785eb412e0a754de9104391274b084a93f0':
  doc: Changed go/ category etc. to topic/

Change-Id: I1b686880d3a376b991dadd84f7ee0a07633aef64
2016-05-04 18:22:51 +00:00
Andrew Solovay
fd017785eb doc: Changed go/ category etc. to topic/ am: 36af4d4d08
am: dae70906a5

* commit 'dae70906a53c692daee4d3ae92efe2166a01fec2':
  doc: Changed go/ category etc. to topic/

Change-Id: I5356efde244ffdb17b65199689a8e9255724bd7e
2016-05-04 18:19:08 +00:00
smain@google.com
cff93c3f81 remove left nav from any remaining sdk/ and tools/ pages.
There are still some sdk/ pages but all tools/ pages are gone,
so although we could just ignore such pages, better safe than sorry,
so going to catch those too.

Change-Id: Iaa16fcbf88db39f38b8d5f0dee5f8ab068664f3c
2016-05-04 10:19:00 -07:00
Andrew Solovay
36af4d4d08 doc: Changed go/ category etc. to topic/
Per instructions from DD and JF, changing the top-level go/
directory to topic/ ; as a result, I'm going into AK's recent CLs
(in which she added infrastructure for the new go/ directory)
and changing those too.

See first comment for doc stage location.

bug: 28558659
Change-Id: Iaa10f1a9f7477b00f6bfaa748039d146dfb292fe
2016-05-03 16:09:21 -07:00
Amanda Kassay
6d50e5b5fe Update path to be absolute instead of relative am: 6da868246b am: bd5a129e00
am: cb380fcbe3

* commit 'cb380fcbe35399226b51055bdffc38b2952a557d':
  Update path to be absolute instead of relative

Change-Id: I911f81de6c66d0827ab9b0571599d1a13582025e
2016-05-03 22:24:23 +00:00
Amanda Kassay
cb380fcbe3 Update path to be absolute instead of relative am: 6da868246b
am: bd5a129e00

* commit 'bd5a129e0092cbecfa29c970d9055302b9596961':
  Update path to be absolute instead of relative

Change-Id: Ieab3056e0f5531a6556a8d49e6b50dd1f2a88c82
2016-05-03 22:22:03 +00:00
Amanda Kassay
6da868246b Update path to be absolute instead of relative
Staged:
http://akassay.nyc.corp.google.com:8080/reference/packages.html?tenant=android

b/28560594


Change-Id: I7a13aebf0932a8a37fcc09bad4dcbe4cc5252bb3
2016-05-03 22:11:18 +00:00
Amanda Kassay
ae10ab03ca Moving preview as a top level category so changing top category from develop to preview am: cb8ddc56e5 am: e11fd46903
am: cece14c2bc

* commit 'cece14c2bc393bfe2deb99c3593e7c6424fd05d3':
  Moving preview as a top level category so changing top category from develop to preview

Change-Id: Ie68a233c418e93db7be4a9fc02cc0a1346aefcaf
2016-05-03 20:09:51 +00:00
Amanda Kassay
cece14c2bc Moving preview as a top level category so changing top category from develop to preview am: cb8ddc56e5
am: e11fd46903

* commit 'e11fd46903a2e450f15e469cf3ec4a17da22825f':
  Moving preview as a top level category so changing top category from develop to preview

Change-Id: I4f0b2af875bdc6eb93bfa568a735e7f63470a12b
2016-05-03 20:07:22 +00:00
Amanda Kassay
cb8ddc56e5 Moving preview as a top level category so changing top category from develop to preview
Change-Id: I30f97904f078b7730e12aece36343ed1a03c6cbe
2016-05-03 15:52:06 -04:00
Tao Bao
b079b50e2a releasetools: Change the base_fs assertion into warnings.
commit f54216f292 packed the base_fs files
into target_files.zip and added assertion to ensure the existence of the
files. We don't want to fail the OTA generation for the target_files.zip
without the base_fs files. Change the assertion into warnings instead.

Bug: 28547368
Change-Id: I6fd758a0a4fdfff02d1640fa46cf43d971627e26
2016-05-03 08:05:09 -07:00
smain@google.com
788f98ae22 resolve merge conflicts of bfa0fff to nyc-dev
Change-Id: Ibcb549cbb578bb1aa2347a63df0420d65272586e
2016-05-02 15:30:44 -07:00
smain@google.com
bfa0fffc9f remove the sdk download tables. No longer used now that downloads are in the /studio docs. am: 6f0ed9bddd
am: 56c09c5e6e

* commit '56c09c5e6e9095c9a7b3e4387a81ce1fd2ea1145':
  remove the sdk download tables. No longer used now that downloads are in the /studio docs.

Change-Id: I362d830a6ecbe48e99cd0cf77d6d52136fa15a94
2016-05-02 21:41:35 +00:00
smain@google.com
6f0ed9bddd remove the sdk download tables. No longer used now that downloads are in the /studio docs.
Change-Id: I19524f58c2bcbfc5abdc79c60b16a259b526801b
2016-05-02 14:19:17 -07:00
Tao Bao
f54216f292 Pack base_fs files into target_files.zip.
Pack the base_fs files ({system,vendor}.map) into target_files.zip,
which would be needed when rebuilding the images at signing.

Reset the base_fs paths to point to the files in META/.

Also add blk_alloc_to_base_fs into otatools.zip.

Bug: 27698960
Change-Id: If4eb274b3f3d839c4365624f46f0dc89bd2fa440
2016-04-30 23:56:10 -07:00
Dirk Dougherty
5eee82cf1c Merge "Generate reference nav to _book.yaml for devsite builds." into mnc-mr-docs am: dc55c97296 am: 16c30a64a6
am: f1929d419b

* commit 'f1929d419b5ac003d50e4a2efc18bbeadf81245b':
  Generate reference nav to _book.yaml for devsite builds.

Change-Id: Ifda2c3062588bfb8205e59dfcc3d909a62334ddc
2016-04-29 23:54:12 +00:00
Elliot Waite
f1929d419b Merge "Generate reference nav to _book.yaml for devsite builds." into mnc-mr-docs am: dc55c97296
am: 16c30a64a6

* commit '16c30a64a66aa141822df3d77277050cf4271524':
  Generate reference nav to _book.yaml for devsite builds.

Change-Id: I905d220aef6137863a16556ed24fbf6d14788f7d
2016-04-29 23:52:00 +00:00
Elliot Waite
dc55c97296 Merge "Generate reference nav to _book.yaml for devsite builds." into mnc-mr-docs 2016-04-29 23:42:15 +00:00
Dirk Dougherty
ba8230849d Generate reference nav to _book.yaml for devsite builds.
Change-Id: Iea0e1031b0d757664b8994096010dd92b98ca883
2016-04-29 16:25:21 -07:00
Amanda Kassay
aa63361bde Merge "Adding top category, subcategory and book path detection for go/libraries" into mnc-mr-docs am: 5b005e1ded am: e0b5cb8f29
am: 532e0accaa

* commit '532e0accaa91468550ce0ddc375629618e8873c2':
  Adding top category, subcategory and book path detection for go/libraries

Change-Id: I1264c52ce1a3329ee54565ba14a412144d229647
2016-04-29 18:58:40 +00:00
Amanda Kassay
532e0accaa Merge "Adding top category, subcategory and book path detection for go/libraries" into mnc-mr-docs am: 5b005e1ded
am: e0b5cb8f29

* commit 'e0b5cb8f297c24a58382baa41d006783c61afd35':
  Adding top category, subcategory and book path detection for go/libraries

Change-Id: I2132c0e0e52a0659874e495ac852e037ada17036
2016-04-29 18:56:25 +00:00
Amanda Kassay
c6d9cdce8d Adding top category, subcategory and book path detection for go/libraries
Fix for sdk download form b/28425669

Fix for missing 'Develop' text in left nav on preview pages b/28450858

Change-Id: I0b7a5dc26dc3cb4be58aecbbad41cdf62e0331ba
2016-04-29 16:38:37 +00:00
smain@google.com
16f9ebf7c5 add studio survey button to header. am: f887aec708 am: cc81c16143
am: ec1a297d39

* commit 'ec1a297d39ee983dd82353ffc53428eb6da09f0c':
  add studio survey button to header.

Change-Id: I4608a02f570358c8efaec0568517f1923f59e65e
2016-04-29 16:37:24 +00:00
smain@google.com
ec1a297d39 add studio survey button to header. am: f887aec708
am: cc81c16143

* commit 'cc81c161431ac0bdbd460dd0ed4a56dce2a4c2b3':
  add studio survey button to header.

Change-Id: Idd83cccf03d06223a625e3ae9bf66eb39c9dfd66
2016-04-29 16:34:58 +00:00
smain@google.com
075aad742a add studio survey button to header.
adds JS to save in local storage whether the user already clicked the
survey. The button appears only if they have not clicked it yet.

Change-Id: Ifc5a100a8bb8505c47d95c7cfb5aaa8cdbfdc8bd
(cherry picked from commit f887aec708)
2016-04-29 16:28:40 +00:00
smain@google.com
f887aec708 add studio survey button to header.
adds JS to save in local storage whether the user already clicked the
survey. The button appears only if they have not clicked it yet.

Change-Id: Ifc5a100a8bb8505c47d95c7cfb5aaa8cdbfdc8bd
2016-04-28 17:34:41 -07:00
Amanda Kassay
2761f65c55 Dac-on-DevSite: Update to fix issue with sample project pages double breadcrumb and header. b/27923494 am: 76074b1 am: c24b430
am: 74ca66c

* commit '74ca66c63960903eb2bb65d6db8c6f5a0675dc43':
  Dac-on-DevSite: Update to fix issue with sample project pages double breadcrumb and header. b/27923494

Change-Id: I7a70043bfe207479b0e23f5c146da65ef8fd0ba1
2016-04-26 22:24:05 +00:00
Amanda Kassay
74ca66c639 Dac-on-DevSite: Update to fix issue with sample project pages double breadcrumb and header. b/27923494 am: 76074b1
am: c24b430

* commit 'c24b4307af594a73bb5e303ebf16b0a0821ba024':
  Dac-on-DevSite: Update to fix issue with sample project pages double breadcrumb and header. b/27923494

Change-Id: I2018ed5aca9df4b1284e8cd52228e15304e01048
2016-04-26 21:26:28 +00:00
Amanda Kassay
76074b1c00 Dac-on-DevSite: Update to fix issue with sample project pages double breadcrumb and header. b/27923494
Change-Id: I575a7f425277ede320c1fa457770af1fe29d3583
2016-04-26 16:56:37 -04:00
Dirk Dougherty
488c67f121 Update samples_navtree cs template to include generated _yaml from samples TOC. am: 1a2dbb6 am: 0781792
am: 88db402

* commit '88db402e162a6f22d133aefb8845ef4e2924d9f8':
  Update samples_navtree cs template to include generated _yaml from samples TOC.

Change-Id: I116cc4df9e681dd7d542b14666ed5a67729bb021
2016-04-26 17:01:46 +00:00
smain@google.com
635983e5ce remove version number from download button at bottom of page. am: ba761ab am: fbbd3fa
am: ce735df

* commit 'ce735dfad2de7598a5f9b76eb50bf0a1d11a94e5':
  remove version number from download button at bottom of page.

Change-Id: I55268cba0d6b96018518f36781ffb32ab9b8aa67
2016-04-26 17:01:45 +00:00
Amanda Kassay
bfe8888855 Fix for double header and footer on ndk download pages: b/27950742 https://android-dot-devsite.googleplex.com/ndk/downloads/index.html am: 01febb9 am: 9ba538e
am: 6e66602

* commit '6e666024449fa937ddbe9b77e082c51c78f1f304':
  Fix for double header and footer on ndk download pages: b/27950742 https://android-dot-devsite.googleplex.com/ndk/downloads/index.html

Change-Id: I0ce30c2fe5a34b8d6ca7bf4a2aa0d7cf6fdfe391
2016-04-26 17:01:45 +00:00
smain@google.com
ab57a86032 Merge "Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there\'s only one level of "tabs"" into mnc-mr-docs am: 848295a am: 7013662
am: f11a849

* commit 'f11a8493fd6fd8233312bf51daa94b1929a483a4':
  Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there's only one level of "tabs"

Change-Id: Idd3454b13d41434a4ea0127b33c184af41637be0
2016-04-26 17:01:44 +00:00
Amanda Kassay
2f57a4a25e Added html escape for search queries to fix XSS issue b/28135307 am: 2bb3328 am: b32745e
am: 06abbd3

* commit '06abbd3140f04dc5a08b57ca40c15628ae308ec3':
  Added html escape for search queries to fix XSS issue b/28135307

Change-Id: I6a594b9cf4bd07b498033521c532db726edad69c
2016-04-26 17:01:43 +00:00
smain@google.com
089e4bbcf5 resolve merge conflicts of 0e7d143 to nyc-dev
Change-Id: Ia597b62ee4cb0befc91aa3b1a9e362223583f352
2016-04-26 09:45:19 -07:00
smain@google.com
f97b68556c clarify what\'s in each windows package and rename the other packages to command line tools am: 6b2a986 am: 6e56ea1
am: 25afc40

* commit '25afc407a46d213fb69c4ac33a99c6323c1b8218':
  clarify what's in each windows package and rename the other packages to command line tools

Change-Id: Ie9e44bc2146303cc3c0c8ce7cba58d25bf360dae
2016-04-26 03:57:07 +00:00
Dirk Dougherty
88db402e16 Update samples_navtree cs template to include generated _yaml from samples TOC. am: 1a2dbb6
am: 0781792

* commit '0781792ea7ba4b284f5e5ea1b7b44ec77ace7742':
  Update samples_navtree cs template to include generated _yaml from samples TOC.

Change-Id: I4365afb722b0b5ca56f5238612da0d75444fe02a
2016-04-26 03:52:30 +00:00
smain@google.com
ce735dfad2 remove version number from download button at bottom of page. am: ba761ab
am: fbbd3fa

* commit 'fbbd3faebd383f86a0befbb4d9a9e0b0d1fd5d02':
  remove version number from download button at bottom of page.

Change-Id: I9553335b7e9cb4c3eed12302af300eff55f56a60
2016-04-26 03:52:29 +00:00
Amanda Kassay
6e66602444 Fix for double header and footer on ndk download pages: b/27950742 https://android-dot-devsite.googleplex.com/ndk/downloads/index.html am: 01febb9
am: 9ba538e

* commit '9ba538ee05e08c099253291494ca3a9420ca30f6':
  Fix for double header and footer on ndk download pages: b/27950742 https://android-dot-devsite.googleplex.com/ndk/downloads/index.html

Change-Id: If1e8cfe488b6b970ad7ee640e817b5e8d4482a73
2016-04-26 03:52:29 +00:00
Scott Main
f11a8493fd Merge "Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there\'s only one level of "tabs"" into mnc-mr-docs am: 848295a
am: 7013662

* commit '70136620b6db6b6e6ad69a3eb9b3ad65e3a2edc2':
  Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there's only one level of "tabs"

Change-Id: I4753951b152e35703c01c8cb06373b63ac55b3dd
2016-04-26 03:52:28 +00:00
Amanda Kassay
06abbd3140 Added html escape for search queries to fix XSS issue b/28135307 am: 2bb3328
am: b32745e

* commit 'b32745ef8d8558cfae01e04c373d54298634ba47':
  Added html escape for search queries to fix XSS issue b/28135307

Change-Id: I81ac6c86286a142ee67848b172ad9ee2aa0bc5b1
2016-04-26 03:52:28 +00:00
smain@google.com
0e7d143722 change order of windows downloads am: 6e90dbf
am: 77ed554

* commit '77ed554f6f0e2e99dbb6f206b9c1eade0fe7f0bf':
  change order of windows downloads

Change-Id: I7fcbbeb9ab45aaaa7a7e7e76c6f557b4f3f358ef
2016-04-26 03:52:28 +00:00
smain@google.com
25afc407a4 clarify what\'s in each windows package and rename the other packages to command line tools am: 6b2a986
am: 6e56ea1

* commit '6e56ea19aa90fbc6e385e33e60271985a8c422bc':
  clarify what's in each windows package and rename the other packages to command line tools

Change-Id: Ie9434b0567d5f6b06fe2b9fad9d486c0e58e3c76
2016-04-26 03:52:27 +00:00
Dirk Dougherty
1a2dbb64a8 Update samples_navtree cs template to include generated _yaml from samples TOC.
Change-Id: Ied2bd5b3e58d9eb2c10e8bc10678aa5d02ef1794
2016-04-25 11:26:11 -07:00
smain@google.com
4194fc52a5 remove version number from download button at bottom of page.
Change-Id: I4e2b510a0ff88b987b5b9a65b6a7e89d043e946a
(cherry picked from commit ba761ab333)
2016-04-25 17:58:05 +00:00
smain@google.com
ba761ab333 remove version number from download button at bottom of page.
Change-Id: I4e2b510a0ff88b987b5b9a65b6a7e89d043e946a
2016-04-25 10:56:30 -07:00
Tao Bao
f31a6deeee target_files_diff: Fix the issue with file type change.
When a file is switched from a regular file to a symlink, we should skip
the comparasion.

Bug: 28373409
Change-Id: I8fef00ab9f2d6f811fde1cadf595e8bd46af2dfd
2016-04-25 10:07:20 -07:00
Trevor Johns
0f0b53623e Merge "Revert "Revert "Merge "Resolve merge conflicts of a5f0068 to nyc-dev" into nyc-dev""" into nyc-dev 2016-04-20 18:35:57 +00:00
Trevor Johns
4ff8891dd2 Revert "Revert "Merge "Resolve merge conflicts of a5f0068 to nyc-dev" into nyc-dev""
This reverts commit bf234fdfba.
2016-04-19 01:15:39 -07:00
Amanda Kassay
01febb9675 Fix for double header and footer on ndk download pages: b/27950742
https://android-dot-devsite.googleplex.com/ndk/downloads/index.html

Fix for html code in page title and h1 tag: b/28237039
https://android-dot-devsite.googleplex.com/guide/topics/manifest/manifest-element.html

Change-Id: Idc9ba0a1ba33d1b89b7dbfd3d620d0e587c57459
2016-04-18 18:19:48 +00:00
Scott Main
848295aea9 Merge "Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there's only one level of "tabs"" into mnc-mr-docs 2016-04-15 21:29:04 +00:00
Tao Bao
f9efe284a4 Skip verifying the partition with no changed blocks.
For incremental BBOTAs, commit [1] changed to verify only the touched
blocks to reduce the update time. This CL fixes the bug when there's no
changed block between the two builds.

[1]: commit d522bdc9ed

Bug: 27813356
Bug: 28195498
Change-Id: Ia752d3cf034c544517458ed15df509d4596e21fa
2016-04-14 16:12:06 -07:00
Amanda Kassay
2bb3328965 Added html escape for search queries to fix XSS issue
b/28135307

Change-Id: Ifd1a0eadbdb726558446af4860986d1af55b77ae
2016-04-14 16:48:37 +00:00
smain@google.com
80beb0a145 Remove nav toggle and up-nav for desktop size screens
and remove breadcrumbs for the Studio docs, because these are
not needed when there's only one level of "tabs"

Also deleted a strangely redundant screen-size declaration for the header-tabs visiblity.

For now this applies only to Studio docs (body.studio selector).
Later, we should update the Android templates to use a new class
in the body such as "no-global-nav" to trigger these styles

Change-Id: If398814871980b56e3e0484244dee364198d687c
2016-04-13 19:08:44 -07:00
Tao Bao
21528c5e05 Merge "releasetools: Only verify the blocks to be touched." into nyc-dev 2016-04-13 23:59:36 +00:00
Tianjie Xu
8e1fb06f38 Monotonic flag sets incorrectly in rangelib
After applying update_target_files_incr_ext4.sh, some files may end up
occupying unsorted block fragments. In one example, an apk file has the
block range [258768-259211,196604]. The monotonic flag in rangelib sets
incorrectly for this example and leads to a bad input file for imgdiff.
After fixing the flag, bsdiff is called instead of imgdiff and the
incremental OTA package generates successfully.

Bug:28053885
(cherry picked from commit cd1e16a761)

Change-Id: If286eb382e59b3084a8313ae853b807e4648e5a2
2016-04-13 15:02:20 -07:00
Tao Bao
d522bdc9ed releasetools: Only verify the blocks to be touched.
For incremental BBOTAs, we used to verify the integrity of all the
blocks in the source partition. In order to reduce the time cost under
recovery, this CL changes to only verify the blocks that will be touched
in the given OTA package (BBOTA >= 3 only). This is a trade-off between
performance and reliability.

Bug: 27813356
Change-Id: I3975ae6f461f0f7e58d24f1df7df46a449d2988b
2016-04-12 16:41:01 -07:00
Tianjie Xu
3ebddd40e0 Merge "Remove post-install verification" into nyc-dev 2016-04-12 22:38:24 +00:00
Tianjie Xu
b2deb22033 Remove post-install verification
post-install verification calls range_sha1() and checks if the given
partition has expected contents. It takes roughly 20 seconds on
angler with 2.8G system image. Remove it to speed up OTA update. Also
abort the update if block_image_update() fails, as we were relying on
post-install verification to capture block_image_update() failures.

Bug: 27729678
Change-Id: I8123cd8929295ec26df247acf6bb51df813771d9
2016-04-12 11:40:03 -07:00
Trevor Johns
18c202a7d3 Merge "Revert "Merge "Resolve merge conflicts of a5f0068 to nyc-dev" into nyc-dev"" into nyc-dev 2016-04-12 17:59:02 +00:00
Trevor Johns
bf234fdfba Revert "Merge "Resolve merge conflicts of a5f0068 to nyc-dev" into nyc-dev"
This reverts commit 6edfbfabad, reversing
changes made to e09b2c16e3.
2016-04-12 10:35:42 -07:00
Tao Bao
7ee3a9678e releasetools: Use fixed timestamp in otacerts.zip.
We were using zipfile.write() to write system/etc/security/otacerts.zip
when signing for release. It led to unexpected timestamp change in the
generated otacerts.zip and non-idempotent signed images when signing the
same target_files.zip.

Replace with common.ZipWrite() to always use a fixed timestamp.

Bug: 28122968
Change-Id: Ia6cf4b7d380cbf72ed7050ebb60c932dc8826d87
2016-04-11 23:10:00 -07:00
Trevor Johns
f719c29ea9 Resolve merge conflicts of a5f0068 to nyc-dev
Change-Id: Id0d573566abb989a173349ffaf01390cebd51607
2016-04-11 14:55:35 -07:00
Dan Willemsen
23f326a67d Ensure prebuilt executables are executable
Use 'chmod +x' to make sure that they're executable, even if the source
file is not.

Bug: 28097475
Change-Id: Id155f6b4ff188f5c909fd6237fd64183af264f79
(cherry picked from commit 08420cbc8a)
2016-04-11 11:21:47 -07:00
Mohamad Ayyash
8837882fb9 Use fs_config files for mksquashfs
BUG: 27467028
Change-Id: I7648030ad4b31d70a5d439e9552fd2cbfe288b74
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-04-07 22:10:51 -07:00
smain@google.com
6e90dbff6c change order of windows downloads
Change-Id: I9e4ff119c1aa05d1bb91d4da2db9f3496ba76bd9
2016-04-06 20:22:46 -07:00
smain@google.com
6b2a98630b clarify what's in each windows package and rename the other packages to command line tools
Change-Id: If054549ea3df8679342efb30a2c0f5fa607cb2a2
2016-04-06 18:04:30 -07:00
Trevor Johns
a5f006873c Merge branch 'goog/mnc-mr-docs' into mnc-ub-dev
Large merge to reconnect automerger for docs branch to mainline.

 Conflicts:
	tools/droiddoc/templates-sdk/assets/css/default.css
	tools/droiddoc/templates-sdk/sdkpage.cs

Issue: 28000173
Change-Id: If04c741090d99d384981b8b3554edc58eb82dd0e
2016-04-05 20:32:32 -07:00
Amanda Kassay
ebcf3977a2 Tabs js error fix, DevSite css issues fix, Search filtering
Staged: http://akassay.nyc.corp.google.com:8080/index.html#q=Activity
Change-Id: Id25525a8d8c927ea67cd13b43652d75ce53733cf
2016-04-05 20:46:13 +00:00
smain@google.com
190e610df3 new styles and tab-highlighting to support custom Android Studio site design
Change-Id: I27d11f4526ba79bce8deb5102cc2afbe34a0e116
2016-04-05 11:13:12 -07:00
smain@google.com
7281802438 tweak the NDK download analytics event tag
Change-Id: I822d744f7f370330a26f0ff612de357dbe1005fe
2016-04-04 16:17:01 -07:00
Dirk Dougherty
c607a4d4d5 Update modal download dialogs for sdk/ndk download.
Revise the redirect behavior once download completes.
Add more appropriate title and download message when installing SDK tools only.
Force refresh when the Studio download dialog is dismissed, to avoid leaving the dialog in stale state.
Add styles for the Studio download page.

Change-Id: Ibc4ddb4a6130ab8bd8d6044472022465829f2000
2016-04-04 12:45:04 -07:00
Dirk Dougherty
0d268bea3c increment version for fetched js and cs files to avoid proxy caching.
Change-Id: I427151284bf6777adb04e85b07b9b70355f8f7a2
2016-03-31 15:59:09 -07:00
Amanda Kassay
843649bab1 Migrating web search api to custom search api on templates-sdk
akassay.nyc.corp.google.com:9000/#q=mobile
Change-Id: I71bdc7dbfede7bff0361ce00abef8081b852dd36
2016-03-31 16:40:35 +00:00
smain@google.com
38b0e22049 new search results layout.
no more custom suggestions; just API matches and organic results.

Change-Id: I6324aa6fb289f5d93aa701aecbd7fad64711d35f
2016-03-30 14:27:29 -07:00
smain@google.com
1c8d4a49e9 remove dev guide search suggestions, move organic search results up.
tweak the search suggest for reference pages

Change-Id: I14e48fdac3f103dd998591886b91e5f6040b0f7a
2016-03-30 14:27:12 -07:00
Amanda Kassay
e4a8ab1a44 Adding book metadata to doc head, fix tabs for content build,
fix for reference page double footer.

Change-Id: I8e721c60e21203b599779e31f48336d450a53fa3
2016-03-29 21:10:56 +00:00
Alex Klyubin
284e45ac09 Fix bug in APK entry alignment.
APK entry alignment logic assumes that input entries have zero-length
comment and extra fields. When the assumption is broken, the logic
silently breaks alignment of output entries. This happens, for
example, when the APK to be signed is already aligned and thus may
contain entries with non-empty extra fields.

Given that APKs are not supposed to use comment and extra fields for
anything useful and given that this signer already discards comment
and extra fields of compressed entries, this change makes the signer
discard comment and extra fields of STORED input entries as well.
This unbreaks the existing alignment logic.

Bug: 27814973

(cherry picked from commit 37a0ecd329)

Change-Id: If2e0df6d3298e9736ef175bb0d9a05d450164c9f
2016-03-23 18:11:35 -07:00
smain@google.com
6405ed9d51 remove the 'refonly' templates.
no longer needed, as the standard templates now have conditions to handle the reference only design.
bug: 27667787

Change-Id: I7c627ad4cace0bb1c77c494b3052eca3c9609a5c
2016-03-22 16:00:34 -07:00
smain@google.com
3d048cdc25 increment docs.js version to force browser refresh.
needed to load recent fixes to the zippies.

Change-Id: Ifd14b99ea004b674f15558dc86371901adbe2375
2016-03-22 15:57:16 -07:00
smain@google.com
9a12a2f82f add the 'reference only' header design as a condition to the normal templates.
also add override for implementation to the to-root link path.
bug: 27667787

Change-Id: I79892ddb7c5053d5325afcd50016c726b34e1361
2016-03-22 14:31:39 -07:00
smain@google.com
c040187f63 update zippy icons to use material arrow (up/down instead of right/down).
fixes bug 27695580, which was caused because I previously
submitted an update to the code doclava templates to do this but
did not update the current site templates in kind.

Change-Id: I33a4ef90359838c02def90beb486e5a2dc21cbf7
2016-03-16 11:48:23 -07:00
Sami Tolvanen
a8c37be285 Revert "Revert "build: pass version and patch level to mkbootimg""
This reverts commit 494a9090f9.

Bug: 27498078
Bug: 22914603
Change-Id: Iee6a784271ec32c6bfcc0a6ad3f0395d82016df3
(cherry picked from commit 3303d909a1)
2016-03-15 11:23:56 -07:00
Alex Klyubin
914b37f4e3 Fix two cosmetic issues in signapk.
* Zip EoCD record comment length was referred to as 32-bit whereas it
  is a 16-bit field. The implementation was fine, but the comment and
  the naming of a constant were wrong.
* System.out.println was left over from early prototyping days.
  Removed.

Bug: 25794543

(cherry picked from commit 82bf99bb4e)

Change-Id: I9845b5fa096859d67b306f4b9b6c205cad622c0c
2016-03-14 15:13:30 -07:00
Sami Tolvanen
b3038bedcd Merge "Revert "build: pass version and patch level to mkbootimg"" into nyc-dev 2016-03-14 15:49:15 +00:00
Sami Tolvanen
1bca9fb6d4 Revert "build: pass version and patch level to mkbootimg"
This reverts commit e555f77962.

Bug: 27580174
Change-Id: I0fd1ddb64d2fd4f91b0ecbc1ab8953a1324a10eb
2016-03-14 15:47:11 +00:00
Scott Main
e6e3c70b67 Merge "change printed version in offline docs to check whether in preview or not, and change the title accordingly, using new preview codename or version number." into nyc-dev 2016-03-10 23:12:44 +00:00
smain@google.com
0d7e38042d make image resource URLs relative so they work in offline docs
Change-Id: I4329689d8a3db3ce67f1aa7084a3a4634721e3cb
(cherry picked from commit 7d959be058)
2016-03-10 23:10:15 +00:00
smain@google.com
0e3342ff81 change printed version in offline docs to check whether in preview or not,
and change the title accordingly, using new preview codename or version number.

Change-Id: I2833dcd05447add10495fea2149b5a9678831235
2016-03-10 15:04:40 -08:00
smain@google.com
5e37eef425 change name of offline doc tab to "API reference"
and put the version number in the secondary nav bar (it was there anyway).

Change-Id: I4b49581eca6afa445a434cd6ae31572d01f276ef
(cherry picked from commit 06bdd78284)
2016-03-10 18:06:25 +00:00
David Friedman
2f52adb1c8 Merge "Docs: Change MD5 to SHA1 in NDK download table column heading" into mnc-mr-docs 2016-03-10 01:59:03 +00:00
David Friedman
5f2abfce98 Docs: Change MD5 to SHA1 in NDK download table column heading
Change-Id: I0b70c86de855d609b45378c18dfb83830b944a28
2016-03-09 17:58:08 -08:00
smain@google.com
06bdd78284 change name of offline doc tab to "API reference"
and put the version number in the secondary nav bar (it was there anyway).

Change-Id: I4b49581eca6afa445a434cd6ae31572d01f276ef
2016-03-09 15:56:20 -08:00
Dirk Dougherty
49a5668d6f Fix broken suggestions for preview.
Change-Id: I1a13a3a9d9e38470ac040a37cdd04319bd6340e6
2016-03-09 14:36:34 -08:00
Mohamad Ayyash
6a3185f23d Merge "Hook incremental ext4 image generation into build" into nyc-dev 2016-03-09 20:56:19 +00:00
Scott Main
8866b1a45e Merge "Revert "Search for suggestion matches across PREVIEW_RESOURCES."" into mnc-mr-docs 2016-03-09 20:42:54 +00:00
Scott Main
519da3e6b3 Revert "Search for suggestion matches across PREVIEW_RESOURCES."
This broke search suggestions.

This reverts commit 882adaed0e.

Change-Id: I830339887955dfe86d502e54860d90ce59394d69
2016-03-09 20:42:29 +00:00
David Friedman
3c5e9c98c3 Merge "Docs: Updates NDK download table for NDKr11" into mnc-mr-docs 2016-03-09 20:35:59 +00:00
David Friedman
d0f655c818 Docs: Updates NDK download table for NDKr11
Bug: 27167382
Change-Id: I11ef906f81c8a6e4951559952d4eeb383e7bf911
2016-03-09 12:31:17 -08:00
smain@google.com
7d959be058 make image resource URLs relative so they work in offline docs
Change-Id: I4329689d8a3db3ce67f1aa7084a3a4634721e3cb
2016-03-09 11:57:39 -08:00
Joe Fernandez
f539ae51e3 docs: Update DAC template to force refresh of resources
- incremented js and css resource references to =v18
b/2753523

Change-Id: I43335732227662fea21c655a3ca67054bd828fe5
2016-03-09 00:08:17 -08:00
Tao Bao
00ed831a11 resolve merge conflicts of 2ad8b97577 to nyc-dev
Change-Id: Ifa7501e58dd25e73ed760b1383a1873e4d449885
2016-03-08 21:39:13 -08:00
Tao Bao
7302eb7dd6 Use the update-binary in the source build for downgrade OTAs.
am: fa41fb2705

* commit 'fa41fb27054185b3fba0519d01dabd21444fe772':
  Use the update-binary in the source build for downgrade OTAs.
2016-03-09 05:27:36 +00:00
Tao Bao
ff75c23086 releasetools: Fix the bug in AssertSequenceGood.
We use a bitset for blocks in the target image to assert a block hasn't
been touched before reading. Skip checking the blocks that are in the
source image only.

Bug: 27556903
Change-Id: I3a77292da673c813bd20d8dc177ff36419d8ecae
(cherry picked from commit dca2200c8a)
2016-03-08 19:01:26 -08:00
Tao Bao
fa41fb2705 Use the update-binary in the source build for downgrade OTAs.
We used to use the update-binary from the target build when creating
incremental OTAs. But for downgrade OTAs, we should use the one in the
source build instead, which is actually newer.

Bug: 27556903
Change-Id: Ib6415729b979dbffdebdda24902f7f560942801a
(cherry picked from commit 4996cf03d2)
2016-03-08 18:48:40 -08:00
smain@google.com
b8b72c14e5 Add new templates directory for "reference only" builds.
The only difference is that this changes the masthead.cs file to show a different header.

Change-Id: Id58eb7e8c42a8ab0886f2f5da794fcd108f299ff
(cherry picked from commit 5fea5df99c)
2016-03-08 21:31:20 +00:00
Sami Tolvanen
e555f77962 build: pass version and patch level to mkbootimg
Add --os_version and --os_patch_level arguments to mkbootimg.

Needs matching changes from
  I57682611e0c27fec5ed284da7d9a788383ff98b1

Bug: 27498078
Bug: 22914603
Change-Id: I04e20b0de40d864aac92ac7bcf466a6cbde3d0e4
(cherry pick from commit 8fb47f191f)
2016-03-08 08:21:52 -08:00
Tao Bao
84bc4b78cc resolve merge conflicts of 08a3a32fa9 to nyc-dev
Change-Id: I6fd55b3d2bd0c396018163dd4f54970cb55432cd
2016-03-07 21:49:33 -08:00
Tao Bao
bd25fcdc02 resolve merge conflicts of 177c610e7f to cw-e-dev
Change-Id: Iba7820247d0b53d7f9553290eb0db3547f31beda
2016-03-07 21:24:40 -08:00