Commit Graph

19511 Commits

Author SHA1 Message Date
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 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
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
Ying Wang 9318a22f96 am b6f60d57: Use the lowest common denominator 32-bit abi for arm64 cts build.
* commit 'b6f60d57e3e5ccb89145cd2513a9a35077c025a5':
  Use the lowest common denominator 32-bit abi for arm64 cts build.
2014-10-23 00:14:19 +00: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
Ying Wang e3fe9cf213 am 03eceba1: Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.
* commit '03eceba1ddfe6cf3ae6eb22bddc889930c097c1a':
  Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.
2014-10-22 20:47:46 +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
Clay Murphy 238964e1e2 am f7b231b7: Docs: Making source.android.com headers match those of developer.android.com
* commit 'f7b231b7a64c2ab953c9f4a2eb5390f0b3a2f296':
  Docs: Making source.android.com headers match those of developer.android.com
2014-10-22 14:53:29 +00: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 ea24f79479 am 318217a8: Enable building of gtest for Windows
* commit '318217a84a05880f5e10ba2086f87eb0320772c7':
  Enable building of gtest for Windows
2014-10-21 16:40:56 +00:00
Naseer Ahmed 3a2b9f0a49 core: OSX: Support 10.9 SDK as well
Change-Id: I764102df9b84ca19d217e35a209a9c80abeed6e7
2014-10-20 17:34:49 -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 597bfe1e0b am 327180f5: Merge "Docs: Fixing link, adding Android Partner logo." into lmp-dev
* commit '327180f5d2009be990076f152dffb244939b1673':
  Docs: Fixing link, adding Android Partner logo.
2014-10-17 20:01:06 +00: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 bd78b888a5 am be113f8a: fix broken download buttons, make a[name] offset apply only to reference docs
* commit 'be113f8ac0f5ae00fa997db5f4507af55c523367':
  fix broken download buttons, make a[name] offset apply only to reference docs
2014-10-17 18:53:32 +00:00
smain@google.com fc3f1719b4 am 947f3e9e: Merge "fix z-order of hangouts to avoid clobbering the search suggest" into lmp-dev
* commit '947f3e9ecf9bc7875d210a45053826eb0e110186':
  fix z-order of hangouts to avoid clobbering the search suggest
2014-10-17 18:52:43 +00:00
Joe Fernandez d804dac5d8 am e321df0c: Merge "Doc change: update query params to force refresh of local js files." into lmp-dev
* commit 'e321df0ca2eaada3e126393a7976cd4cc09afdf6':
  Doc change: update query params to force refresh of local js files.
2014-10-17 18:50:48 +00:00
smain@google.com 7f37fba645 am 19c6780f: Merge "fix scroll offset when loading non-header pages" into lmp-dev
* commit '19c6780f9fc4994c0909afa900e59b9282a0d253':
  fix scroll offset when loading non-header pages
2014-10-17 18:50:47 +00:00