Commit graph

19529 commits

Author SHA1 Message Date
Iliyan Malchev
af5de97b8a rename coredump-* --> coredump_*
b/18229600 shamu kernel is failing to build on build machine

Change-Id: Ia67443853443e4d7db9311bf8da69a5dc0da8e5e
Signed-off-by: Iliyan Malchev <malchev@google.com>
2014-11-04 21:01:18 -08:00
Justin Morey
29d225c992 Set a default value for TARGET_BUILD_DENSITY
If no density value is specified when invoking tapas, we now export
a default value of 'alldpi'

Change-Id: I12b22a4cbd0ef604826aad66c5f7ab9271eb6d57
2014-11-04 13:35:51 -06:00
smain@google.com
abcb155250 am 04a4f1d0: 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 '04a4f1d031914302f9dc9244807e84fe640d3ebc':
2014-11-04 07:22:49 +00: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
fc175efc5c am 4d4615d2: am 632070c9: hide the Helpouts recruitment banner
* commit '4d4615d2e253e7c806c393a2b23fe07f495eaf56':
  hide the Helpouts recruitment banner
2014-11-04 04:14:14 +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
69d8f2d395 am bc13779d: hide the Helpouts recruitment banner
* commit 'bc13779d664a51efc0fb9ac489d2724cca2536fb':
  hide the Helpouts recruitment banner
2014-11-04 02:38:42 +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
Iliyan Malchev
e675cfbfb9 build: rename coredump-setup --> coredump_setup
b/18229600 shamu kernel is failing to build on build machine
Change-Id: I1b7e6d0ebf3e966a89ae4c7fed0cfd2db3f0a6a9
Signed-off-by: Iliyan Malchev <malchev@google.com>
2014-11-04 01:08:31 +00:00
Dirk Dougherty
04a9564759 am 792fb0e6: am 4244929f: Merge "Doc change: increment the json import versions in docfile." into lmp-docs
* commit '792fb0e6b29a9adfb3705d2fa993f3af27c267a7':
  Doc change: increment the json import versions in docfile.
2014-11-03 21:11:04 +00: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
6d96557088 am 83bae4aa: 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 '83bae4aad4df090d30435249941fd5348aa69b16':
2014-11-03 20:33:34 +00:00
smain@google.com
22d6c273d3 am 358c5fe5: am f4cefc19: am 633f322b: update the analytics tracking event calls to use new API for analytics.js bug: 16331906 automerge: 40e1d35
* commit '358c5fe5f70d263fdc3bc66c283d4f680076b6e0':
2014-11-03 20:33:32 +00: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
394ee3b8fe am 4a8fd5fd: am 80e38f48: remove cookie expiration and add max-age of 2 years. bug: 17781603
* commit '4a8fd5fdd2bbbe1afa27e65738aae77aeb60c172':
  remove cookie expiration and add max-age of 2 years. bug: 17781603
2014-11-03 20:03:02 +00:00
smain@google.com
de5dc9a564 am f51f30d7: remove cookie expiration and add max-age of 2 years. bug: 17781603
* commit 'f51f30d7f10a32e07a081b799d9ae601be08276c':
  remove cookie expiration and add max-age of 2 years. bug: 17781603
2014-11-03 19:57:38 +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
b6dfc2d2f7 am 963afcbb: am 9b7f8f20: Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
* commit '963afcbb501d8757f049b25f5068313ee63ce4e8':
  Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
2014-11-03 17:53:28 +00: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
Dmitriy Ivanov
fd0f1c848f Replacement for gdbclient
Differences between this implementation and the old one:
 1. Resolves symbols/gdb based on device information (lunch
    target is irrelevant)
 2. Works with downloaded from build-server symbols
 3. Does not require user to specify exe file - detects it automatically

Bug: 18208329

(cherry picked from commit 9b8e4b3772)

Change-Id: I13ae2debb6e2d827b9aa55e93864b5d60c2bd32e
2014-10-31 18:17:37 -07:00
Igor Murashkin
4c93719e30 Merge "core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files" into lmp-mr1-dev 2014-10-31 22:36:43 +00:00
Ying Wang
be6a3db20b Merge "Introduce per-product per-module dex-preopt config" into lmp-mr1-dev 2014-10-31 21:42:49 +00:00
Igor Murashkin
da9f1a7e82 core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files
When WITH_DEXPREOPT=true is set, if we also set WITH_DEXPREOPT_PIC=true
then the build will generate position-independent OAT images.

This means that all the system applications no longer need to be
relocated into /data/dalvik-cache and this can achieve saving disk space
at the cost of slightly slower running code.

Bug: 18035729
Change-Id: Ifd517c842f48bf31568bf5ff56667298d422c2c0
2014-10-31 14:30:42 -07:00
Iliyan Malchev
248f4d53b3 envsetup.sh: add functions to enable and generate core dumps
The shell functions in this patch enable crashing processes with the core limit
set correctly to dump core in directory /cores.  They do so by remounting the
root partition, which is RAM-backed, and by creating the 0777-chmodded /cores
under it. They also set the core file pattern in /proc/sys/kernel/core_pattern
to be /cores/core.%p, such that a core dump will have the crashing process' PID
appended to it.  You enable core-dump generation once per boot, as follows:

	coredump-setup

If a process does not have its core-size rlimit set (as most do not), you can
either set it manually by typing "adb shell prlimit <pid> 4 -1 -1", or by
typing coredump-enable <name>, e.g.

	coredump-enable $(pid mediaserver)

Alternatively, you can cause a running process to dump core by sending it a
SIGSEGV via the shell function core <name>, e.g.:

	core $(pid mediaserver)

Change-Id: Ib174e7ee95515fb9866fa6bf0d5b5bf23f3ec61b
Signed-off-by: Iliyan Malchev <malchev@google.com>
2014-10-31 13:50:58 -07:00
Ying Wang
70d617aaf5 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)

Change-Id: I2ee36892b40655c96837ee7a663dda1d25830878
2014-10-31 10:12:54 -07:00
Michael Runge
c9594afa93 am 63f01de8: Add post-install verification phase
* commit '63f01de81892aa4e40b517464b3d9ca7db666c9d':
  Add post-install verification phase
2014-10-29 18:51:51 +00: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
Adam Lesinski
708e021a31 Merge "Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings" into lmp-mr1-dev 2014-10-28 17:41:30 +00:00
Ying Wang
a73b611e6b Store symbols.zip in apps_only build.
automerge: a60fb49

* commit 'a60fb49704946b9d5cf0551ddd56bd1072131b85':
  Store symbols.zip in apps_only build.
2014-10-28 00:15:59 +00:00
Adam Lesinski
b4efae440b Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings
It's better practice to include the minimal set of windows APIs anyways
and we're not doing anything that requires more.

Change-Id: I1b4362be4f707738b9cfbd6a87caabff8b8409ac
2014-10-27 14:26:35 -07: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
620e409127 am 775b1abb: core: Fixup bad ext4 mount options for recovery (pick common denominator)
* commit '775b1abb12a5d891ac66b51d28381692bde6ab03':
  core: Fixup bad ext4 mount options for recovery (pick common denominator)
2014-10-24 02:57:34 +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
46fe30eff7 am fb8886db: get_stage in updater takes one param, not two.
* commit 'fb8886db6858388af5082268fd023b8a44fb87ea':
  get_stage in updater takes one param, not two.
2014-10-23 21:57:12 +00:00
JP Abgrall
4f072e140b am 7bd80ca6: Merge "core: Let the build specify mount options for recovery" into lmp-dev
* commit '7bd80ca6ea2b0c5c39bdb05013fb3d0188fbcfa8':
  core: Let the build specify mount options for recovery
2014-10-23 21:57:11 +00:00
Michael Runge
10ba565431 am 7cd99bad: Allow info_dict from target_files to specify mount options
* commit '7cd99bad210455dc57702b7cbf674a588a5eb028':
  Allow info_dict from target_files to specify mount options
2014-10-23 21:57:10 +00:00
Michael Runge
fb8886db68 get_stage in updater takes one param, not two.
Change-Id: I09a77eda5a1691080b1ae074d2e94d233eca7150
2014-10-23 13:51:04 -07:00
Jeff Hamilton
5069bd6bfa Add a density axis to tapas.
It allows overriding the density the app
is built for. Currently only used in the
GMS core APK's gradle file.

Change-Id: I3606df313a3110208cd8e6acade5f558261c921f
(cherry picked from commit 7e3d2341570681e566872216796dc4f79c8695ef)
2014-10-23 18:30:01 +00: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
smain@google.com
60e80ef6e7 am f84e045e: Merge "add helpouts script to <head>, behind a condition that can be enabled per page" into lmp-dev
* commit 'f84e045e42f0377c415b2b6fea432ea0f3967f4f':
  add helpouts script to <head>, behind a condition that can be enabled per page
2014-10-23 16:34:39 +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