Commit Graph

28862 Commits

Author SHA1 Message Date
Nikola Veljkovic 8f1ac7c9d6 Make sure platform libraries are built, regardless of webview.apk
Prebuilt WebView is missing for mips64 architecture. Allow device
to boot without it, by making sure platform support libraries are
part of the system image.

WebView APK can then be installed separately.

Change-Id: Iabbb5e6a4778b7542d24bb4f789a7be96232e50c
2016-04-19 14:25:50 +00:00
Shinichiro Hamaji 3deb87d5fd Add input dependencies to .img targets
They should have build/tools/releasetools/*.py as their
prerequisites.

Bug: 27954979
Change-Id: I51595fc91caaad38be3e47befb5df7ac2683bf14
2016-04-19 18:41:27 +09:00
Neil Fuller bbc3c4e958 Merge "Add core-lambda-stubs to default classpath for target libs compiling using javac" am: 8c5698d
am: ca9d53f

* commit 'ca9d53f883248e8389d4417ba72293db307fdd3f':
  Add core-lambda-stubs to default classpath for target libs compiling using javac

Change-Id: I1b899c719522594a13383e209c90f54ea88340ad
2016-04-19 08:21:07 +00:00
Neil Fuller ca9d53f883 Merge "Add core-lambda-stubs to default classpath for target libs compiling using javac"
am: 8c5698d

* commit '8c5698d220d4eb6bbba965c070d2fb792de6f3c1':
  Add core-lambda-stubs to default classpath for target libs compiling using javac

Change-Id: I8b6557aee0c120ea3c63bc0948c1109ca1b9a9e1
2016-04-19 08:18:31 +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
Neil Fuller 8c5698d220 Merge "Add core-lambda-stubs to default classpath for target libs compiling using javac" 2016-04-19 08:13:23 +00:00
Shinichiro Hamaji d50001e74a Add normalize_path.py to prerequisites
Bug: 27954979
Change-Id: I1e22eb4f42a8cb348ce1101e207e239bc5aa7976
2016-04-19 16:22:27 +09:00
Yabin Cui a8b2e0c936 Merge "Revert "Use strip mode mini-debug-info by default."" am: b34f69f
am: 0ad5936

* commit '0ad593683e1ff03d32cbbe09f6b2f6612836188a':
  Revert "Use strip mode mini-debug-info by default."

Change-Id: I2cbf9500c5271f67e59b4cfeb8a91b953d9db184
2016-04-19 03:51:38 +00:00
Yabin Cui 0ad593683e Merge "Revert "Use strip mode mini-debug-info by default.""
am: b34f69f

* commit 'b34f69f8499fe699edaca8715bed13b884cb9669':
  Revert "Use strip mode mini-debug-info by default."

Change-Id: Ie234fc5a11933a3364c34981f110f25f6f0842b8
2016-04-19 03:48:49 +00:00
Yabin Cui b34f69f849 Merge "Revert "Use strip mode mini-debug-info by default."" 2016-04-19 03:42:04 +00:00
Yabin Cui 3aa7df592b Revert "Use strip mode mini-debug-info by default."
This reverts commit 0e131e7e2c.

breaks in aosp_mips-eng

Change-Id: I468b0a47c878ffde9afc78442e8d4f0dabf7eb6e
2016-04-19 03:38:34 +00:00
Yabin Cui b79618a622 Merge "Use strip mode mini-debug-info by default." am: c7eab6d
am: ab721f0

* commit 'ab721f0a5fc5dd88af409cd33566fd434c2b3235':
  Use strip mode mini-debug-info by default.

Change-Id: I5d82142dbcd188fd88ec68c6cfa926147d2d5339
2016-04-19 03:00:30 +00:00
Yabin Cui ab721f0a5f Merge "Use strip mode mini-debug-info by default."
am: c7eab6d

* commit 'c7eab6db2743abd98c6a5123c4f8764463547bd6':
  Use strip mode mini-debug-info by default.

Change-Id: Ibc7d3304a52b9dcf5573506b6ad5df35ec4ef167
2016-04-19 02:57:41 +00:00
Yabin Cui c7eab6db27 Merge "Use strip mode mini-debug-info by default." 2016-04-19 02:52:21 +00:00
Nick Kralevich 6910622a70 Merge "Move sysfs_writable to emulator specific policy" am: 821e3fd
am: ef77794259

* commit 'ef77794259155f5a8bd3f5be56dcd49463d3ad65':
  Move sysfs_writable to emulator specific policy

Change-Id: Idb7c6a37c5da58450e6332ccafca83ad6754f701
2016-04-19 00:28:42 +00:00
Nick Kralevich ef77794259 Merge "Move sysfs_writable to emulator specific policy"
am: 821e3fd

* commit '821e3fd8184dca5c9f42ef7c923ddb772fe3d5c6':
  Move sysfs_writable to emulator specific policy

Change-Id: I54e4d7dd9c5aecb1e76d8c502a1e8d66dcbaf905
2016-04-18 23:22:39 +00:00
Treehugger Robot 821e3fd818 Merge "Move sysfs_writable to emulator specific policy" 2016-04-18 23:14:50 +00:00
Nick Kralevich cf904d8dc0 Merge "Address emulator specific SELinux denials" am: 35b0d00
am: 4c4c893

* commit '4c4c893447a215319013c8fc6abe8f270cffc31e':
  Address emulator specific SELinux denials

Change-Id: If8e8d4b62079056fc2aea3cb23b9863edd118933
2016-04-18 22:24:52 +00:00
Nick Kralevich 4c4c893447 Merge "Address emulator specific SELinux denials"
am: 35b0d00

* commit '35b0d00125d4ad9e69b8fc6c1264afd20a1d5028':
  Address emulator specific SELinux denials

Change-Id: I8efb0064f532e34a9fee35665a0185e14ed242e0
2016-04-18 22:22:40 +00:00
Nick Kralevich db411cf903 Move sysfs_writable to emulator specific policy
This type is never used in core policy, only by emulators.
Move the definition of this type to where it's used.

Bug: 28221393
Change-Id: I38dbc12dbe9813f323d4bcd5f07679db57b2fd4a
2016-04-18 15:18:09 -07:00
Nick Kralevich 35b0d00125 Merge "Address emulator specific SELinux denials" 2016-04-18 22:17:16 +00:00
Nick Kralevich 6cba1fed80 Address emulator specific SELinux denials
am: 841f6d8

* commit '841f6d870db50862bb6be2e963149f46768f8aca':
  Address emulator specific SELinux denials

Change-Id: I4aba83efb36510f730e515da476e900e94cbbca6
2016-04-18 22:07:15 +00:00
Nick Kralevich 1eb14d0d61 Address emulator specific SELinux denials
(cherrypicked from commit 841f6d870d)

Fix the following denials:

  avc: denied { search } for pid=222 comm="system_server"
  name="qemu_trace" dev="sysfs" ino=45 scontext=u:r:system_server:s0
  tcontext=u:object_r:sysfs_writable:s0 tclass=dir permissive=1

  avc: denied { open } for pid=222 comm="system_server"
  name="u:object_r:opengles_prop:s0" dev="tmpfs" ino=1429
  scontext=u:r:system_server:s0 tcontext=u:object_r:opengles_prop:s0
  tclass=file permissive=1

  avc: denied { read } for pid=222 comm="system_server"
  name="u:object_r:radio_noril_prop:s0" dev="tmpfs" ino=1430
  scontext=u:r:system_server:s0 tcontext=u:object_r:radio_noril_prop:s0
  tclass=file permissive=1

  avc: denied { open } for pid=222 comm="system_server"
  name="u:object_r:radio_noril_prop:s0" dev="tmpfs" ino=1430
  scontext=u:r:system_server:s0 tcontext=u:object_r:radio_noril_prop:s0
  tclass=file permissive=1

  avc: denied { getattr } for pid=222 comm="system_server"
  path="/dev/__properties__/u:object_r:radio_noril_prop:s0" dev="tmpfs"
  ino=1430 scontext=u:r:system_server:s0
  tcontext=u:object_r:radio_noril_prop:s0 tclass=file permissive=1

  avc: denied { search } for pid=424 comm="putmethod.latin"
  name="qemu_trace" dev="sysfs" ino=45
  scontext=u:r:untrusted_app:s0:c512,c768
  tcontext=u:object_r:sysfs_writable:s0 tclass=dir permissive=1

Bug: 28221393
Change-Id: I6fce1127d9d9e8bc0119bace3f142d51382401c0
2016-04-18 14:57:24 -07:00
William Roberts c498f4dad0 Merge "fs_config: include both oem ranges" am: 27e0d48
am: 8e20023

* commit '8e20023bb959de7eff1e4bcc75a82644097b45e8':
  fs_config: include both oem ranges

Change-Id: I0f244d50e93e71381adc93083b0b894a220a6331
2016-04-18 21:27:19 +00:00
William Roberts 8e20023bb9 Merge "fs_config: include both oem ranges"
am: 27e0d48

* commit '27e0d48f0be2242655d005d0d37c705d4a8ccf33':
  fs_config: include both oem ranges

Change-Id: I3a5c12539e58810e09e2f41277f95c191e1daeaf
2016-04-18 20:50:33 +00:00
Treehugger Robot 27e0d48f0b Merge "fs_config: include both oem ranges" 2016-04-18 20:35:27 +00:00
Nick Kralevich 841f6d870d Address emulator specific SELinux denials
Fix the following denials:

  avc: denied { search } for pid=222 comm="system_server"
  name="qemu_trace" dev="sysfs" ino=45 scontext=u:r:system_server:s0
  tcontext=u:object_r:sysfs_writable:s0 tclass=dir permissive=1

  avc: denied { open } for pid=222 comm="system_server"
  name="u:object_r:opengles_prop:s0" dev="tmpfs" ino=1429
  scontext=u:r:system_server:s0 tcontext=u:object_r:opengles_prop:s0
  tclass=file permissive=1

  avc: denied { read } for pid=222 comm="system_server"
  name="u:object_r:radio_noril_prop:s0" dev="tmpfs" ino=1430
  scontext=u:r:system_server:s0 tcontext=u:object_r:radio_noril_prop:s0
  tclass=file permissive=1

  avc: denied { open } for pid=222 comm="system_server"
  name="u:object_r:radio_noril_prop:s0" dev="tmpfs" ino=1430
  scontext=u:r:system_server:s0 tcontext=u:object_r:radio_noril_prop:s0
  tclass=file permissive=1

  avc: denied { getattr } for pid=222 comm="system_server"
  path="/dev/__properties__/u:object_r:radio_noril_prop:s0" dev="tmpfs"
  ino=1430 scontext=u:r:system_server:s0
  tcontext=u:object_r:radio_noril_prop:s0 tclass=file permissive=1

  avc: denied { search } for pid=424 comm="putmethod.latin"
  name="qemu_trace" dev="sysfs" ino=45
  scontext=u:r:untrusted_app:s0:c512,c768
  tcontext=u:object_r:sysfs_writable:s0 tclass=dir permissive=1

Bug: 28221393
Change-Id: I6fce1127d9d9e8bc0119bace3f142d51382401c0
2016-04-18 13:28:04 -07:00
Dan Austin bd581f6959 Merge "Adding gcc-specific disable of Wattributes in preparation for libcxx rebase." am: 7984620
am: d7c070f

* commit 'd7c070f4a01f9518f19e42ab83285c50c0554b2e':
  Adding gcc-specific disable of Wattributes in preparation for libcxx rebase.

Change-Id: I9e1c63516f5729f97a9bcf5e664715e63c05dbc4
2016-04-18 18:40:47 +00:00
Dan Austin d7c070f4a0 Merge "Adding gcc-specific disable of Wattributes in preparation for libcxx rebase."
am: 7984620

* commit '798462046192ede9e723672016da5f7aa17fc988':
  Adding gcc-specific disable of Wattributes in preparation for libcxx rebase.

Change-Id: Ie67479e1157d97f5b42f42b086bdaf31d738e398
2016-04-18 18:35:09 +00:00
Dan Austin 7984620461 Merge "Adding gcc-specific disable of Wattributes in preparation for libcxx rebase." 2016-04-18 18:23:11 +00:00
Neil Fuller eed17d84cc Add core-lambda-stubs to default classpath for target libs compiling using javac
In order to compile lambda code javac requires various invokedynamic-
related classes to be present. This change adds stubs needed for
javac to compile lambdas.

Bug: 27475234
Bug: 26753820
Bug: 26604040
(cherry picked from commit b08544ed7d)

Change-Id: Ie82600da21a9dbe2348e96aef1c5e966a7a1ef5a
2016-04-18 16:38:54 +01:00
Yabin Cui 0e131e7e2c Use strip mode mini-debug-info by default.
Bug: 27923447
Change-Id: If52eed69ea5c2e91bffacdb8520bf53deafced3e
2016-04-15 17:42:17 -07:00
Yabin Cui b10a1190cb Merge "Add strip mode mini-debug-info." am: 9a02623
am: 3cb18ef

* commit '3cb18efc4a4ec9497a237e8151ebc3b15857c837':
  Add strip mode mini-debug-info.

Change-Id: Ic915892d0cc7142ec7ce2847cc4a69a3d24a54c3
2016-04-16 00:36:07 +00:00
Yabin Cui 3cb18efc4a Merge "Add strip mode mini-debug-info."
am: 9a02623

* commit '9a02623eb66519a2b4607daa883607e893f7727f':
  Add strip mode mini-debug-info.

Change-Id: Ia856b0af684e62b2d17a4a92015afcb02992f523
2016-04-16 00:33:39 +00:00
Yabin Cui 9a02623eb6 Merge "Add strip mode mini-debug-info." 2016-04-16 00:23:50 +00:00
Yabin Cui fab7995cd8 Add strip mode mini-debug-info.
Mini-debug-info strip mode strips most debug information, but
maintains minimal debugging information similar to
https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html.

Bug: 27923447

Change-Id: I0405f0b3c33cb3cadeafbd22ce94d645c4dbe7b9
2016-04-15 16:12:00 -07:00
Treehugger Robot 1d00650407 Merge "Skip verifying the partition with no changed blocks." am: 44a22a3
am: 4aea518

* commit '4aea5186ef260c9a911cd98b709648343a345d84':
  Skip verifying the partition with no changed blocks.

Change-Id: I42c09ef945a18c5d910d2d8825bee67c87392f2f
2016-04-15 04:09:40 +00:00
Tao Bao 4aea5186ef Merge "Skip verifying the partition with no changed blocks."
am: 44a22a3

* commit '44a22a34f72936f7006ce50510c2d54d19b5d798':
  Skip verifying the partition with no changed blocks.

Change-Id: Id3ef138022f19be23a26cd42868b2395c313acb8
2016-04-15 04:07:16 +00:00
Treehugger Robot 44a22a34f7 Merge "Skip verifying the partition with no changed blocks." 2016-04-15 04:03:42 +00:00
Tao Bao 314719a0b6 Merge "Skip verifying the partition with no changed blocks." into nyc-dev
am: 05ce0a9

* commit '05ce0a94a5a6eec3113b62a39f97401e6a3fb3a0':
  Skip verifying the partition with no changed blocks.

Change-Id: I8a3a9f8fe7bcf25fd719940d883a22a7adcfdef9
2016-04-15 03:29:42 +00:00
Tao Bao 962dfdcdac 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
(cherry picked from commit f9efe284a4)
2016-04-14 20:23:17 -07:00
Tao Bao 05ce0a94a5 Merge "Skip verifying the partition with no changed blocks." into nyc-dev 2016-04-15 03:22:23 +00:00
mukesh agrawal 211fc7a2c4 Merge "Revert "Set WifiHAL to only log debug by default."" into nyc-dev
am: b55f571

* commit 'b55f57192707aab7e193798ac4d3158338ef6395':
  Revert "Set WifiHAL to only log debug by default."

Change-Id: I676918c02d43feeacdae2bf561fc28f05e3f9c9b
2016-04-15 00:42:56 +00:00
TreeHugger Robot b55f571927 Merge "Revert "Set WifiHAL to only log debug by default."" into nyc-dev 2016-04-15 00:33:43 +00:00
Treehugger Robot 68ec95f25b Merge "Makefile: Pack squashfs and f2fs tools into otatools.zip." am: 8191f12
am: 9dba034

* commit '9dba034d254fabeaff19af1f6e53468e84456fe5':
  Makefile: Pack squashfs and f2fs tools into otatools.zip.

Change-Id: Iff411eb6ff631f2c7428e5976ac982298434b81a
2016-04-14 23:26:26 +00:00
Tao Bao 9dba034d25 Merge "Makefile: Pack squashfs and f2fs tools into otatools.zip."
am: 8191f12

* commit '8191f1231dfe45923e8a060635bf7ccbe025a665':
  Makefile: Pack squashfs and f2fs tools into otatools.zip.

Change-Id: Ia035b329e08ac6baeb1a48de0bc59ae23771b7c8
2016-04-14 23:22:55 +00:00
Yohann Roussel b3b1822b10 Merge "Allow to force min sdk given to Jack" into nyc-dev
am: ad84f80

* commit 'ad84f802fcb471f5d8855b8c142dc987522b98b1':
  Allow to force min sdk given to Jack

Change-Id: If69343de0d644ed99b89c478676ce68e925babaa
2016-04-14 23:22:55 +00:00
Sebastien Hertz ad84f802fc Merge "Allow to force min sdk given to Jack" into nyc-dev 2016-04-14 23:17:18 +00:00
Treehugger Robot 8191f1231d Merge "Makefile: Pack squashfs and f2fs tools into otatools.zip." 2016-04-14 23:14:07 +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