Commit graph

19452 commits

Author SHA1 Message Date
Ying Wang
0a7fcb00ab Introduce per-product per-module dex-preopt config
- Added LOCAL_DEX_PREOPT_FLAGS to pass extra flags to dex2oat.
- Added macro add-product-dex-preopt-module-config to specify almost
  arbitrary dex-preopt config/flags to modules in product
  configuration:
  $(call \
  add-product-dex-preopt-module-config,<module_name_list>,<config_or_flags>)
  How <config_or_flags> is interpreted is decided by
  dex_preopt_odex_install.mk and dex2oat. For now if it's "disable" we
  disable dexpreopt for the given modules; otherwise pass it to dex2oat as
  command line flags.
- If there are multiple configs for the same module in the product
  inheritance, the first takes precedence.
- Added PRODUCT_DEX_PREOPT_DEFAULT_FLAGS so you can specify default
  dex2oat flags in product configuration.
- Added PRODUCT_DEX_PREOPT_BOOT_FLAGS to specify flags of building boot.oat.

Bug: 17791867
(cherry picked from commit 20ebd2ef08)

(cherry picked from commit 70d617aaf5)

Change-Id: I86f125dd02290d0969704142a4405ebd6729c4f7
2014-11-10 12:51:26 -08:00
Dirk Dougherty
be9f16d08b am 48a97e01: am 87e469ea: Doc change: increment query params for js metadata files to trigger proxy flush.
* commit '48a97e0139f3d100d10a8da9f462b5b376a84593':
  Doc change: increment query params for js metadata files to trigger proxy flush.
2014-11-06 05:17:35 +00:00
Dirk Dougherty
48a97e0139 am 87e469ea: Doc change: increment query params for js metadata files to trigger proxy flush.
* commit '87e469ea87a7a3b3142f1d2efd89d602a3ede529':
  Doc change: increment query params for js metadata files to trigger proxy flush.
2014-11-06 05:14:27 +00:00
Dirk Dougherty
87e469ea87 Doc change: increment query params for js metadata files to trigger proxy flush.
Change-Id: Ic6f5756d44f1ec08485ac67a0258a4abae845222
2014-11-05 20:11:23 -08:00
Stephen Hines
bdac04e0f6 Add bcc to core_tiny.mk.
Bug: 18257466

Also update the core.mk documentation that has gone slightly out of date.

Change-Id: I90ed64e2509dad3d78d451dd4a7d8c3dfd01532c
2014-11-05 13:19:56 -08:00
smain@google.com
04a4f1d031 am 05e55e90: Merge "add butterbar for L announcement. make the butterbar an encapsulated method for inclusion multiple places." into klp-modular-docs automerge: d1ab4cb
automerge: dd5adb3

* commit 'dd5adb3bc0be42081bffb0d4722c4b9639ee31db':
2014-11-04 07:13:03 +00:00
smain@google.com
4d4615d2e2 am 632070c9: hide the Helpouts recruitment banner
* commit '632070c9400dea40edd4a00eb9db9d89e3852601':
  hide the Helpouts recruitment banner
2014-11-04 04:00:11 +00:00
smain@google.com
632070c940 hide the Helpouts recruitment banner
Change-Id: I30cd8eb0edd8634bd6dd2f0900763c6bdd866953
(cherry picked from commit bc13779d66)
2014-11-04 02:30:38 +00:00
smain@google.com
bc13779d66 hide the Helpouts recruitment banner
Change-Id: I30cd8eb0edd8634bd6dd2f0900763c6bdd866953
2014-11-03 18:28:17 -08:00
Dirk Dougherty
792fb0e6b2 am 4244929f: Merge "Doc change: increment the json import versions in docfile." into lmp-docs
* commit '4244929faaaffe957e8f23f3f261fd3acdbc928c':
  Doc change: increment the json import versions in docfile.
2014-11-03 20:57:01 +00:00
Dirk Dougherty
4244929faa Merge "Doc change: increment the json import versions in docfile." into lmp-docs 2014-11-03 20:51:47 +00:00
Dirk Dougherty
f6e48da07f Doc change: increment the json import versions in docfile.
Change-Id: I5ffd1810c83a333ae37e5d9c1b8dd0bdbd8cb376
2014-11-03 12:48:08 -08:00
smain@google.com
83bae4aad4 am bc667f1c: am 08f336ea: fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working
automerge: 36b1de7

* commit '36b1de7334f82a7df3728597f0437aedb02dccef':
2014-11-03 20:23:32 +00:00
smain@google.com
358c5fe5f7 am f4cefc19: am 633f322b: update the analytics tracking event calls to use new API for analytics.js bug: 16331906
automerge: 40e1d35

* commit '40e1d35527098ed10c50e1509d7dee9fa9b19c97':
2014-11-03 20:21:13 +00:00
smain@google.com
4a8fd5fdd2 am 80e38f48: remove cookie expiration and add max-age of 2 years. bug: 17781603
* commit '80e38f4872941cbf0114ad80e260993f1eafc14c':
  remove cookie expiration and add max-age of 2 years. bug: 17781603
2014-11-03 19:52:41 +00:00
smain@google.com
80e38f4872 remove cookie expiration and add max-age of 2 years.
bug: 17781603

Change-Id: Idab3cae786fde4d0318ba03d3c7f5f678882b815
(cherry picked from commit f51f30d7f1)
2014-11-03 19:40:48 +00:00
smain@google.com
f51f30d7f1 remove cookie expiration and add max-age of 2 years.
bug: 17781603

Change-Id: Idab3cae786fde4d0318ba03d3c7f5f678882b815
2014-11-03 11:39:00 -08:00
Dirk Dougherty
963afcbb50 am 9b7f8f20: Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
* commit '9b7f8f20ac58133af551bc89e5f065a4e0f77103':
  Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
2014-11-03 17:43:20 +00:00
Dirk Dougherty
9b7f8f20ac Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
Change-Id: Ib7968010b0d0707a82ec51b1e63611628b8d465a
2014-11-01 20:33:25 -07:00
Michael Runge
63f01de818 Add post-install verification phase
Verify the SHA sum of all patched and extracted files after
a file system remount.

Bug: 18145574

Change-Id: I2f053d085543e10e39153a774542d37ee0a238bd
2014-10-29 02:54:51 +00:00
smain@google.com
dd5adb3bc0 am 05e55e90: Merge "add butterbar for L announcement. make the butterbar an encapsulated method for inclusion multiple places." into klp-modular-docs
automerge: d1ab4cb

* commit 'd1ab4cb3b4ca8de66a873abb072bd73556926d4d':
  add butterbar for L announcement. make the butterbar an encapsulated method for inclusion multiple places.
2014-10-28 23:26:41 +00:00
Ying Wang
a60fb49704 Store symbols.zip in apps_only build.
Bug: 18103055
Change-Id: I0eb335e944138b0edc3050d19c076891f499a07c
2014-10-27 17:57:11 +00:00
JP Abgrall
775b1abb12 core: Fixup bad ext4 mount options for recovery (pick common denominator)
Some ext4 options were not suitable for all kernel versions.
The current option were checked against kernels 3.0 3.4 3.10.

Bug: 18092222
Change-Id: I30883706e5c8ac7a318f4b448d4becde50de808f
2014-10-23 16:27:03 -07:00
Michael Runge
fb8886db68 get_stage in updater takes one param, not two.
Change-Id: I09a77eda5a1691080b1ae074d2e94d233eca7150
2014-10-23 13:51:04 -07:00
JP Abgrall
7bd80ca6ea Merge "core: Let the build specify mount options for recovery" into lmp-dev 2014-10-23 18:15:57 +00:00
JP Abgrall
6ea5bd626c core: Let the build specify mount options for recovery
Currently recovery install/patch will mount /system++ with only default
options.
The default options are not very suitable for dealing with crashes.
We now use
 TARGET_RECOVERY_FSTYPE_MOUNT_OPTIONS
that can specify which mount options to use for a given fs-type.
  # <fstype>=<fstype_opts>[|<fstype_opts>]...
  # fstype_opts := <opt>[,<opt>]...
  #         opt := <name>[=<value>]
If only defaults are to be used, then the BoardConfig.mk can just have
an empty (must have ""):
 TARGET_RECOVERY_FSTYPE_MOUNT_OPTIONS := ""

The default is
 "ext4=match_batch_time=0,commit=1,data=journal,barrier=1,errors=panic,nodelalloc"

The release tools will pick them up with
  https://googleplex-android-review.git.corp.google.com/#/c/573628

Bug: 18092222
Change-Id: Iaa59099b0edf5af8835d1862fada089cff58882c
2014-10-23 17:54:01 +00:00
Michael Runge
7cd99bad21 Allow info_dict from target_files to specify mount options
This will allow safer mount options to be added per mount FS
type, to better ensure data is written during an OTA.
Bug: 18079773, 18092222

Change-Id: I1e3e4fd4639c6fd263e550b770cc3c858ef1e03b
2014-10-22 18:38:49 -07:00
smain@google.com
f84e045e42 Merge "add helpouts script to <head>, behind a condition that can be enabled per page" into lmp-dev 2014-10-22 23:58:07 +00:00
smain@google.com
8df21b19c4 add helpouts script to <head>, behind a condition that can be enabled per page
Change-Id: Ifa2364ed77a86efd6bec69dbe4f15d7f69569504
2014-10-22 09:55:04 -07:00
Ying Wang
b6f60d57e3 Use the lowest common denominator 32-bit abi for arm64 cts build.
So the 32-bit code can be run any supported 32-bit arm devices.

Bug: 18038310
Change-Id: Ie8864cfdb87a4759d1a775d43cb5316b1f022e2b
2014-10-21 21:20:41 -07:00
Ying Wang
03eceba1dd Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.
Change-Id: I9182ce1efe09609100d19c9fae2bc4fe7358dfc0
2014-10-21 18:34:30 -07:00
Clay Murphy
f7b231b7a6 Docs: Making source.android.com headers match those of developer.android.com
Bug: 17814801
Change-Id: I128a76b32b0d92118f621062c62d72460313f4d6
2014-10-21 10:25:35 -07:00
Adam Lesinski
318217a84a Enable building of gtest for Windows
Windows does not have pthread support, and by defining the
GTEST_OS_WINDOWS flag, pthread support will not be built into
the windows version of gtest.

Change-Id: I0571fc52e77bb04175470d5750a7e2f46cdd5e86
2014-10-20 16:06:44 -07:00
Clay Murphy
327180f5d2 Merge "Docs: Fixing link, adding Android Partner logo." into lmp-dev 2014-10-17 19:47:51 +00:00
smain@google.com
be113f8ac0 fix broken download buttons, make a[name] offset apply only to reference docs
Change-Id: I44421d90c335e0fcb4b35d8f568f9775a84b41ea
2014-10-17 09:56:10 -07:00
smain@google.com
947f3e9ecf Merge "fix z-order of hangouts to avoid clobbering the search suggest" into lmp-dev 2014-10-17 08:27:18 +00:00
smain@google.com
77cf43e739 fix z-order of hangouts to avoid clobbering the search suggest
Change-Id: I3993a118a1c7eb33ecc661635b1e9db2416bdf73
2014-10-17 01:21:13 -07:00
Joe Fernandez
e321df0ca2 Merge "Doc change: update query params to force refresh of local js files." into lmp-dev 2014-10-17 05:41:07 +00:00
smain@google.com
19c6780f9f Merge "fix scroll offset when loading non-header pages" into lmp-dev 2014-10-17 05:18:08 +00:00
smain@google.com
11fc009469 fix scroll offset when loading non-header pages
Change-Id: I7a90ccf760eb06c291e88a3ace04c8c7498f75c1
2014-10-16 22:10:00 -07:00
Clay Murphy
06dbd2655c Docs: Fixing link, adding Android Partner logo.
Bug: 17998826
Change-Id: Ia6b46d8230e5c9041b732e481fd5fcb546d2099d
2014-10-16 18:23:58 -07:00
David Friedman
e0471a8227 Changes to NDK download table format to reflect change in download structure
Associated CL: https://googleplex-android-review.git.corp.google.com/#/c/567643/

Change-Id: Id19f095c506bab62a3be23a1cb0d1bf30369c54d
2014-10-16 12:14:04 -07:00
Dirk Dougherty
88c15600b8 Doc change: update query params to force refresh of local js files.
Change-Id: I217b5b80e39452412816907d55dee23a5176b287
2014-10-16 10:28:52 -07:00
smain@google.com
f0d8234ba9 Merge "add helpouts banner thing to recruit providers includes script to randomly change the URL and text of link as an A/B test it's a bad A/B test because it does not save the A/B per session" into lmp-dev 2014-10-16 16:32:38 +00:00
Doug Zongker
e18eb50850 add support for the 'fill' chunk type to sparse_img
Bug: 17987996
Change-Id: Ia661e87877e52274a991ceb77bbed93b7e6218f2
(cherry picked from commit 629c7cc84d)
2014-10-15 23:38:34 +00:00
Conley Owens
c70ae57811 Merge "Docs: Replacing s.a.c. Android logo to match other sites." into lmp-dev 2014-10-15 21:27:14 +00:00
Clay Murphy
412a13217b Docs: Replacing s.a.c. Android logo to match other sites.
Bug: 15408415
Change-Id: I9bdb294f3ff0c5aaf766b4ead79ad9614f9dbd89
2014-10-15 14:09:09 -07:00
smain@google.com
fbdb2a1b62 add helpouts banner thing to recruit providers
includes script to randomly change the URL and text of link as an A/B test
it's a bad A/B test because it does not save the A/B per session

Change-Id: Ie8338a7403834d2322c5088039f2936207db734b
2014-10-15 13:05:21 -07:00
Michael Runge
9d641c41db Merge "Fix public/private key options on sign_target_files_apks" into lmp-dev 2014-10-15 19:54:22 +00:00
smain@google.com
c69af6faeb hide the butter bar but also update the CSS for recent butterbar changes
Change-Id: I29cbdfe4ef6542a0dd04642be76856f3af2732d1
2014-10-15 12:48:58 -07:00