OSDN Git Service
Lingfeng Yang [Fri, 6 Jan 2017 20:07:19 +0000 (20:07 +0000)]
Merge "Allow goldfish-setup to take wake locks" am:
10f6bf093d
am:
528a561d4e
Change-Id: I94dc950a2401967c1688290762fea8df0fab96ed
Lingfeng Yang [Fri, 6 Jan 2017 20:03:48 +0000 (20:03 +0000)]
Merge "Allow goldfish-setup to take wake locks"
am:
10f6bf093d
Change-Id: I0c6100a314ea619d91b1b4a2c82894b102cdaaea
Treehugger Robot [Fri, 6 Jan 2017 19:57:52 +0000 (19:57 +0000)]
Merge "Allow goldfish-setup to take wake locks"
Lingfeng Yang [Fri, 6 Jan 2017 18:12:08 +0000 (10:12 -0800)]
Allow goldfish-setup to take wake locks
Change-Id: I6a5db8586168e47e974a82afd2e75fd858aa5750
dcashman [Fri, 6 Jan 2017 17:33:14 +0000 (17:33 +0000)]
Merge "Build split file_contexts." am:
80e70ae04a
am:
dc9771e24c
Change-Id: Iff2afa4574052a4580739ce04904401334d1c270
dcashman [Fri, 6 Jan 2017 17:29:10 +0000 (17:29 +0000)]
Merge "Build split file_contexts."
am:
80e70ae04a
Change-Id: I2445d8e3e5f205cf3761fcf1ea12af007bbed0d9
Treehugger Robot [Fri, 6 Jan 2017 17:23:45 +0000 (17:23 +0000)]
Merge "Build split file_contexts."
Dan Willemsen [Thu, 5 Jan 2017 22:51:44 +0000 (22:51 +0000)]
Merge "TARGET_RECOVERY_UPDATER_LIBS should not be used with AB updates" am:
81648927fb
am:
ce324c6848
Change-Id: I1260ea1bba7de40cb0f9a3661f281406f48cd708
Dan Willemsen [Thu, 5 Jan 2017 22:48:11 +0000 (22:48 +0000)]
Merge "TARGET_RECOVERY_UPDATER_LIBS should not be used with AB updates"
am:
81648927fb
Change-Id: I34c35cdd94e2251109275de38520b7059529ee5a
Dan Willemsen [Thu, 5 Jan 2017 22:42:06 +0000 (22:42 +0000)]
Merge "TARGET_RECOVERY_UPDATER_LIBS should not be used with AB updates"
dcashman [Mon, 12 Dec 2016 18:34:47 +0000 (10:34 -0800)]
Build split file_contexts.
Bug:
31363362
Test: Device uses new file_contexts files for labeling decisions.
Change-Id: I33c3297a2ec806f4b9f5dd25f3dd20c4b1001641
Signed-off-by: Sandeep Patil <sspatil@google.com>
Dan Willemsen [Thu, 5 Jan 2017 01:16:09 +0000 (17:16 -0800)]
TARGET_RECOVERY_UPDATER_LIBS should not be used with AB updates
Also mark these variables as readonly so that later Android.mk cannot
change them.
Bug:
33607778
Test: build/tools/kati_all_products.sh -j12
Change-Id: I5f9a4df02bfdfd56549728f074bbb3fc251edb3d
Elliott Hughes [Thu, 5 Jan 2017 00:34:23 +0000 (00:34 +0000)]
Merge changes from topic 'fsconfig2-fixups' am:
abf3dbe248
am:
2fe7f7a402
Change-Id: If119f71509b9e11668d526ce965880271d004487
William Roberts [Thu, 5 Jan 2017 00:34:16 +0000 (00:34 +0000)]
fsconfig: fix pylint warning am:
4165c635b8
am:
3f9be0b6ae
Change-Id: Iad144edd409640385a69ce0f5c35048d30a494f9
William Roberts [Thu, 5 Jan 2017 00:34:10 +0000 (00:34 +0000)]
fsconfig: fix style formating with yapf am:
820421c9b5
am:
529b397e83
Change-Id: Ie42a5e8732a8c963334c5e3a5d38a232dccd75a5
Elliott Hughes [Thu, 5 Jan 2017 00:31:18 +0000 (00:31 +0000)]
Merge changes from topic 'fsconfig2-fixups'
am:
abf3dbe248
Change-Id: I0149e85d05c3fb60f8ab0e878a3a8172a1edaede
William Roberts [Thu, 5 Jan 2017 00:31:16 +0000 (00:31 +0000)]
fsconfig: fix pylint warning
am:
4165c635b8
Change-Id: Ic417993b369e152754887ed48b087fc2f5eea0c9
William Roberts [Thu, 5 Jan 2017 00:31:10 +0000 (00:31 +0000)]
fsconfig: fix style formating with yapf
am:
820421c9b5
Change-Id: Ib23e0fb880903881efa34f243889a203026a80d3
Elliott Hughes [Thu, 5 Jan 2017 00:26:04 +0000 (00:26 +0000)]
Merge changes from topic 'fsconfig2-fixups'
* changes:
fsconfig: fix pylint warning
fsconfig: fix style formating with yapf
Dan Willemsen [Wed, 4 Jan 2017 23:08:37 +0000 (23:08 +0000)]
Merge changes from topic 'build-vts-zip' am:
d0c693ff64
am:
a50ead8336
Change-Id: I409e26a885e5361a23c6bbae9c8fc994e45f7fcd
Keun Soo Yim [Wed, 4 Jan 2017 23:08:31 +0000 (23:08 +0000)]
delete vts.mk (which is moved to test/vts) am:
18a316c161
am:
ed61c29cfd
Change-Id: If7f214225e07c3b5789d2d79b808c432c92fee27
Keun Soo Yim [Wed, 4 Jan 2017 23:08:25 +0000 (23:08 +0000)]
include VTS packaging task files am:
b74649d027
am:
33f6d707fa
Change-Id: Ia84408c4ea3215acefd3f666525df397d868fc52
Dan Willemsen [Wed, 4 Jan 2017 23:05:35 +0000 (23:05 +0000)]
Merge changes from topic 'build-vts-zip'
am:
d0c693ff64
Change-Id: Ic2b1d3165c4da7d89080f3016286a4a7ed815b2b
Keun Soo Yim [Wed, 4 Jan 2017 23:05:34 +0000 (23:05 +0000)]
delete vts.mk (which is moved to test/vts)
am:
18a316c161
Change-Id: I1853517cff9d3697143b8c5c2fd6459e502040c4
Keun Soo Yim [Wed, 4 Jan 2017 23:05:29 +0000 (23:05 +0000)]
include VTS packaging task files
am:
b74649d027
Change-Id: I94d3ceb03b7815b49291ca127fdd41a8affca8fe
Dan Willemsen [Wed, 4 Jan 2017 22:58:53 +0000 (22:58 +0000)]
Merge changes from topic 'build-vts-zip'
* changes:
delete vts.mk (which is moved to test/vts)
include VTS packaging task files
Keun Soo Yim [Fri, 2 Sep 2016 18:43:43 +0000 (11:43 -0700)]
delete vts.mk (which is moved to test/vts)
Test: m -j vts
Change-Id: I3ab29e59b6f77f3ac92bbfe7a6f7a8f36b2ba3bd
(cherry picked from commit
a942dc8433c4e02bdfe0313471bcac8fef318fde)
Keun Soo Yim [Wed, 31 Aug 2016 16:20:51 +0000 (09:20 -0700)]
include VTS packaging task files
Test: m -j vts
Change-Id: I8737412bf4e7b5c2db32325105e7c588949b959d
(cherry picked from commit
199a710f73d9522b599ff75b8dc8ea54e7fcf6e0)
William Roberts [Wed, 14 Dec 2016 03:17:07 +0000 (19:17 -0800)]
fsconfig: fix pylint warning
Fix pylint warning:
W:292,47: Cell variable lineno defined in loop (cell-var-from-loop)
For the closure function that prints the error message, we actually
want the value of modified lineno within the closure.
Test: run unit tests
Change-Id: I7d08184563d347c826ca1af7558fb8e378f151e1
Signed-off-by: William Roberts <william.c.roberts@intel.com>
William Roberts [Wed, 14 Dec 2016 03:12:35 +0000 (19:12 -0800)]
fsconfig: fix style formating with yapf
A few changes got introduced that yapf re-styles. To make it easy,
keep this file formated to:
yapf -i --style=google fs_config_generator.py
Test: run unit tests
Change-Id: I3160b92d7fd07a4d315dde59f1d20fe4c7587da1
Signed-off-by: William Roberts <william.c.roberts@intel.com>
Hung-ying Tyan [Wed, 4 Jan 2017 02:48:19 +0000 (02:48 +0000)]
Merge "Define TARGET_OUT_VENDOR_APPS_PRIVILEGED for 2nd arch" am:
1a4a0a4539
am:
82e3d0d007
Change-Id: I65daac2e70657ae651a705d3768555ab1b727d05
Hung-ying Tyan [Wed, 4 Jan 2017 02:46:19 +0000 (02:46 +0000)]
Merge "Define TARGET_OUT_VENDOR_APPS_PRIVILEGED for 2nd arch"
am:
1a4a0a4539
Change-Id: Ic1bee5c763d5375c676f96db273d3126c85dd85b
Treehugger Robot [Wed, 4 Jan 2017 02:44:04 +0000 (02:44 +0000)]
Merge "Define TARGET_OUT_VENDOR_APPS_PRIVILEGED for 2nd arch"
Elliott Hughes [Wed, 4 Jan 2017 00:44:11 +0000 (00:44 +0000)]
Merge "fs_config: Fix oem range parsing" am:
ce6c8e629f
am:
c16a64b832
Change-Id: Iafb13daaa210eea2c19e11eb1d9b2d94a5d047bb
Elliott Hughes [Wed, 4 Jan 2017 00:41:40 +0000 (00:41 +0000)]
Merge "fs_config: Fix oem range parsing"
am:
ce6c8e629f
Change-Id: I74d198a2638b875233859a1c7ff723b04b47a353
Elliott Hughes [Wed, 4 Jan 2017 00:37:58 +0000 (00:37 +0000)]
Merge "fs_config: Fix oem range parsing"
Tao Bao [Tue, 3 Jan 2017 23:50:20 +0000 (23:50 +0000)]
Merge "blockimgdiff.py: Clean up stash id computation in BBOTA v3+." am:
7cfc591596
am:
74b665fef1
Change-Id: I4d9b7eb0c73faee8c7044690750560840fa4d820
Tao Bao [Tue, 3 Jan 2017 23:48:21 +0000 (23:48 +0000)]
Merge "blockimgdiff.py: Clean up stash id computation in BBOTA v3+."
am:
7cfc591596
Change-Id: Ifaf7f387b840d9f3e59bdbf93beab41a245f7ed5
Tao Bao [Tue, 3 Jan 2017 23:44:41 +0000 (23:44 +0000)]
Merge "blockimgdiff.py: Clean up stash id computation in BBOTA v3+."
Richard Uhler [Tue, 3 Jan 2017 09:52:16 +0000 (09:52 +0000)]
Merge "Remove option for non-pic dex preopt." am:
c184ef515c
am:
ffb29d7497
Change-Id: I15c5c9f03f33a02a7f39e781e5e945fe5c74f4bd
Richard Uhler [Tue, 3 Jan 2017 09:44:21 +0000 (09:44 +0000)]
Merge "Remove option for non-pic dex preopt."
am:
c184ef515c
Change-Id: If76f8195ecb8b914fdea259de2e80ebebb5ebfe3
Treehugger Robot [Tue, 3 Jan 2017 09:39:38 +0000 (09:39 +0000)]
Merge "Remove option for non-pic dex preopt."
Johan Redestig [Tue, 3 Jan 2017 08:36:47 +0000 (09:36 +0100)]
fs_config: Fix oem range parsing
Addresses the following build error:
"value" not in valid range [], got: 2901 for: "AID_ABC" file:\
"device/somc/abc/config.fs"
that happens when parsing device/somc/abc/config.fs:
[AID_ABC]
value: 2901
The problem is that the AID.PREFIX is 'AID_' so the _OEM_RANGE
expression is searching for AID__OEM_RESERVED, which never
exists. Drop the extra '_'.
Change-Id: I8a1556731e14e49cef66e3e91121e4be23a308e0
Test: ./build/tools/fs_config/fs_config_generator.py fsconfig --aid-header=system/core/include/private/android_filesystem_config.h device/somc/abc/config.fs
Tao Bao [Wed, 28 Dec 2016 17:14:39 +0000 (09:14 -0800)]
blockimgdiff.py: Clean up stash id computation in BBOTA v3+.
Only BBOTA v2 needs to maintain a pool of available 'stash slot id'.
BBOTA v3+ uses the hash of the stashed blocks as the slot id, which
doesn't need the id pool anymore.
Bug:
33694544
Test: Generate v2 and v4 incrementals w/ and w/o the CL. They produce
the same packages respectively.
Change-Id: I8121af5b6b1bee98c3639d54a00b06fd12e378e8
Elliott Hughes [Tue, 27 Dec 2016 21:09:07 +0000 (21:09 +0000)]
Merge "Revert "Revert "Merge changes from topic 'fsconfig-2'""" am:
5f60b74297
am:
71f582ac30
Change-Id: If090fbd6fef18dbed6258d58c7aa45d6ace27e14
Elliott Hughes [Tue, 27 Dec 2016 21:08:52 +0000 (21:08 +0000)]
Revert "Revert "Merge changes from topic 'fsconfig-2'"" am:
2d7c86dfea
am:
feb4f2e54a
Change-Id: I5e6d138662e8f21f85e77466f897ffab9afd0f2d
Elliott Hughes [Tue, 27 Dec 2016 21:01:24 +0000 (21:01 +0000)]
Merge "Revert "Revert "Merge changes from topic 'fsconfig-2'"""
am:
5f60b74297
Change-Id: Ib88d2780ee2a7ba0b070087cc1ed8921f4247100
Elliott Hughes [Tue, 27 Dec 2016 21:01:23 +0000 (21:01 +0000)]
Revert "Revert "Merge changes from topic 'fsconfig-2'""
am:
2d7c86dfea
Change-Id: I825336a18f7d7525bb49dd65d24ddccbfef84ba5
Elliott Hughes [Tue, 27 Dec 2016 20:51:06 +0000 (20:51 +0000)]
Merge "Revert "Revert "Merge changes from topic 'fsconfig-2'"""
Alan Viverette [Fri, 23 Dec 2016 03:15:04 +0000 (03:15 +0000)]
Merge "Update pathmap.mk for renderscript support library migration" am:
cafc7efee0
am:
7621a86097
Change-Id: I9adc6741d91caf5c575c11070b2277a50c3dc940
Alan Viverette [Fri, 23 Dec 2016 03:08:34 +0000 (03:08 +0000)]
Merge "Update pathmap.mk for renderscript support library migration"
am:
cafc7efee0
Change-Id: Ic85e61e12524b46073a0fd3b092eb42bc6d5c283
Treehugger Robot [Fri, 23 Dec 2016 03:02:54 +0000 (03:02 +0000)]
Merge "Update pathmap.mk for renderscript support library migration"
Alan Viverette [Fri, 23 Dec 2016 01:38:28 +0000 (01:38 +0000)]
Update pathmap.mk for renderscript support library migration
am:
b78260919d
Change-Id: Ic8bdcfa3e55cb6b1f501efbff9aee9304811f41f
Alan Viverette [Tue, 26 Jul 2016 17:06:37 +0000 (13:06 -0400)]
Update pathmap.mk for renderscript support library migration
Bug:
30255901
Change-Id: I213baaf4c76a7e5b8d20168624b74eb61582d215
(cherry picked from commit
49f03349c818de16be3a0c74f6dc07c85b94b7b0)
Alan Viverette [Tue, 26 Jul 2016 17:06:37 +0000 (13:06 -0400)]
Update pathmap.mk for renderscript support library migration
Bug:
30255901
Change-Id: I213baaf4c76a7e5b8d20168624b74eb61582d215
(cherry picked from commit
49f03349c818de16be3a0c74f6dc07c85b94b7b0)
Colin Cross [Fri, 23 Dec 2016 00:54:32 +0000 (00:54 +0000)]
Merge "Update pathmap.mk for renderscript support library migration" into nyc-mr1-dev-plus-aosp
Dan Willemsen [Thu, 22 Dec 2016 23:39:47 +0000 (23:39 +0000)]
Merge "Remove --ignore_dirty=$(OUT_DIR)/% from Kati flags" am:
fb2efba189
am:
952d5adcde
Change-Id: I57b99cf8d157dbcf8f10e8d1d4b56a8529d1354f
Dan Willemsen [Thu, 22 Dec 2016 23:33:46 +0000 (23:33 +0000)]
Merge "Remove --ignore_dirty=$(OUT_DIR)/% from Kati flags"
am:
fb2efba189
Change-Id: I63dd0ac17a099ac6da5e8e63be280983e042a839
Dan Willemsen [Thu, 22 Dec 2016 23:27:37 +0000 (23:27 +0000)]
Merge "Remove --ignore_dirty=$(OUT_DIR)/% from Kati flags"
Alan Viverette [Tue, 26 Jul 2016 17:06:37 +0000 (13:06 -0400)]
Update pathmap.mk for renderscript support library migration
Bug:
30255901
Change-Id: I213baaf4c76a7e5b8d20168624b74eb61582d215
(cherry picked from commit
49f03349c818de16be3a0c74f6dc07c85b94b7b0)
Dan Willemsen [Sat, 10 Sep 2016 06:18:22 +0000 (23:18 -0700)]
Remove --ignore_dirty=$(OUT_DIR)/% from Kati flags
We really should be re-running Kati when a file in here changes, since
it may actually affect the result. The general problem we've run into is
when there are two kati output files that are clean according to the
current rules, but if they actually ran we'd force an installclean.
This also had the side-effect of not running shell commands that touched
$OUT_DIR, like writing files using $(shell echo ... >out/...), now those
may be run.
This will cause Kati to re-read the makefiles more often -- twice when a
CleanSpec.mk changes, twice when switching products on the same device.
Basically every time we read the old state, do something about it, and
write out the new state, we need to rerun the next time so we aren't
continuously cleaning up what changed.
Bug:
30947985
Test: Manual, switching between configurations; enable --regen_debug
Change-Id: I888f9f8295f318f8214b2c79525cf94f457a5a8b
Dan Willemsen [Thu, 22 Dec 2016 21:37:04 +0000 (21:37 +0000)]
Merge "Fix incremental builds with AAPT2" am:
d25d80e193
am:
b99d4b9e55
Change-Id: Ia623c9d0dddd26478174044c83c3eab34edc322b
Steven Moreland [Thu, 22 Dec 2016 21:35:42 +0000 (21:35 +0000)]
Merge "embedded.mk: +android.hidl.memory@1.0-service" am:
c1a11ec83f
am:
fbeb6b5f8f
Change-Id: I4ceba4ea994f9c9304f7c54c16cf373f0170ac22
Dan Willemsen [Thu, 22 Dec 2016 21:31:32 +0000 (21:31 +0000)]
Merge "Fix incremental builds with AAPT2"
am:
d25d80e193
Change-Id: Iaee5e4d0588fcf15c73005f3ca68c5db51dcc5b7
Steven Moreland [Thu, 22 Dec 2016 21:30:13 +0000 (21:30 +0000)]
Merge "embedded.mk: +android.hidl.memory@1.0-service"
am:
c1a11ec83f
Change-Id: Ib83eb02579543c0ad4b0954c9632cc26cd568d85
Dan Willemsen [Thu, 22 Dec 2016 21:28:24 +0000 (21:28 +0000)]
Merge "Fix incremental builds with AAPT2"
Treehugger Robot [Thu, 22 Dec 2016 21:20:36 +0000 (21:20 +0000)]
Merge "embedded.mk: +android.hidl.memory@1.0-service"
Dan Willemsen [Thu, 22 Dec 2016 21:17:17 +0000 (13:17 -0800)]
Fix incremental builds with AAPT2
When we removed the src/ directory, the R.stamp file was removed -- with
AAPT, this triggers src/android/Manifest.java to be regenerated. But
AAPT2 only uses the R.stamp file as a timestamp to find the
Manifest.java file, not to create it.
So add a new CleanSpec.mk to fix the builds by removing the target that
AAPT2 uses to generate the src/android/Manifest.java file.
Test: None
Change-Id: If56f326ad701f7f92aa7c8aeda57e92d9c62cff9
Dan Willemsen [Thu, 22 Dec 2016 20:42:06 +0000 (20:42 +0000)]
Merge "Support non-gtest NATIVE_TESTS" am:
561b0a3753
am:
1ef5112475
Change-Id: I7c16881f0efb637bf13a0af1e4c89640d7e218e6
Dan Willemsen [Thu, 22 Dec 2016 20:36:06 +0000 (20:36 +0000)]
Merge "Support non-gtest NATIVE_TESTS"
am:
561b0a3753
Change-Id: I2da6eb4db2e4ee03b2699c60540f79b580a1fad0
Dan Willemsen [Thu, 22 Dec 2016 20:29:41 +0000 (20:29 +0000)]
Merge "Support non-gtest NATIVE_TESTS"
Dan Willemsen [Thu, 22 Dec 2016 20:24:35 +0000 (20:24 +0000)]
Merge "Remove generated java source post clean logic" am:
f57aa792c3
am:
5208e4f473
Change-Id: I18c9cf7fa19346e08d25d9fcba3b5538a7bf1127
Dan Willemsen [Thu, 22 Dec 2016 20:18:35 +0000 (20:18 +0000)]
Merge "Remove generated java source post clean logic"
am:
f57aa792c3
Change-Id: I03b0b0368cd3e5500d60981c06135490af8eb3a9
Treehugger Robot [Thu, 22 Dec 2016 20:09:13 +0000 (20:09 +0000)]
Merge "Remove generated java source post clean logic"
Steven Moreland [Thu, 15 Dec 2016 20:30:23 +0000 (12:30 -0800)]
embedded.mk: +android.hidl.memory@1.0-service
This is the service that provides shared memory for hidl/treble
processes.
Bug:
32185232
Test: builds
Change-Id: I79162a781daad7aa704f4ee071fef0bbdea59a18
Dan Willemsen [Thu, 22 Dec 2016 01:37:00 +0000 (17:37 -0800)]
Remove generated java source post clean logic
Just move the proto and renderscript sources into their own directories
-- the entire directory is wiped if the file list changes since the
command line will change. So we can just enable/disable pulling sources
from those directories based on whether there were files in the list or
not.
Bug:
30947985
Test: m -j java
Test: Remove a proto file from a java lib, ensure the generated source
is not included.
Change-Id: If7529979de6fa62a651933a3a974f47b033851d6
Vijay Venkatraman [Thu, 22 Dec 2016 06:09:00 +0000 (06:09 +0000)]
Merge "Revert "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set.""" am:
0c29ffb74d
am:
01fa928500
Change-Id: Iec4bb1e049e1c531744a3aeeed074488e22a3e34
Vijay Venkatraman [Thu, 22 Dec 2016 06:08:46 +0000 (06:08 +0000)]
Revert "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."" am:
43a7f0c765
am:
b3ada4048f
Change-Id: Iebc8f31f1d8bd5fab5557a706f8d2d25d97e507a
Vijay Venkatraman [Thu, 22 Dec 2016 06:03:17 +0000 (06:03 +0000)]
Merge "Revert "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."""
am:
0c29ffb74d
Change-Id: Idd3792357787a0265aca742fd82439dad394a2e7
Vijay Venkatraman [Thu, 22 Dec 2016 06:03:16 +0000 (06:03 +0000)]
Revert "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set.""
am:
43a7f0c765
Change-Id: Ie5bfee7624066314f3446c8eeb5e7d202702016e
Vijay Venkatraman [Thu, 22 Dec 2016 05:54:02 +0000 (05:54 +0000)]
Merge "Revert "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."""
Vijay Venkatraman [Tue, 20 Dec 2016 17:50:21 +0000 (17:50 +0000)]
Revert "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set.""
This reverts commit
823172e209ab92dbae6dd5a4ef750f73dbfc5aa8.
Test: build.ninja for any target doesnt change, unless
BOARD_VNDK_VERSION is turned on in BoardConfig.mk
Change-Id: I4e1baaf5a2251de20f71a47096ce53e23d7e2d80
Dan Willemsen [Thu, 22 Dec 2016 04:27:06 +0000 (20:27 -0800)]
Support non-gtest NATIVE_TESTS
We've had this in Soong for a while, but never supported it in Make.
Bug:
33819328
Test: Change LOCAL_GTEST on a module, check m -j ... showcommands
Change-Id: Id8f4b9908c82c05d9a986a38945b33bac578e991
Tao Bao [Wed, 21 Dec 2016 06:22:52 +0000 (06:22 +0000)]
Merge "HOST_OUT_EXECUTABLES path is not needed in misc_info file" am:
376c0146b3
am:
7def52bfe8
Change-Id: I4473d91d021fc17bd3412bae0967a68dc7283aff
Tao Bao [Wed, 21 Dec 2016 06:17:22 +0000 (06:17 +0000)]
Merge "HOST_OUT_EXECUTABLES path is not needed in misc_info file"
am:
376c0146b3
Change-Id: I97065c6e4e0a6d90dde92b96deb97f520b83c21b
Tao Bao [Wed, 21 Dec 2016 06:08:23 +0000 (06:08 +0000)]
Merge "HOST_OUT_EXECUTABLES path is not needed in misc_info file"
Tao Bao [Wed, 21 Dec 2016 04:41:17 +0000 (04:41 +0000)]
Merge "otatools: added missing shared library for make_ext4fs" am:
0ced0a1f50
am:
372a877659
Change-Id: I5cc501bd8f78cb4b1611bbc7e0e3b0a58bfd91f4
Tao Bao [Wed, 21 Dec 2016 04:35:46 +0000 (04:35 +0000)]
Merge "otatools: added missing shared library for make_ext4fs"
am:
0ced0a1f50
Change-Id: I6586f71273ff21a6f9ca44cfba6808248e62bd3b
Tao Bao [Wed, 21 Dec 2016 04:30:26 +0000 (04:30 +0000)]
Merge "otatools: added missing shared library for make_ext4fs"
Mark Salyzyn [Tue, 20 Dec 2016 22:16:22 +0000 (22:16 +0000)]
Merge "logpersist: introduce split to logcat and logpersist domains" am:
04f2cbd92a
am:
76b36cfb98
Change-Id: Iec4ad75f0cd7d7171b506df7ea529a8152e3f4f5
Mark Salyzyn [Tue, 20 Dec 2016 22:12:29 +0000 (22:12 +0000)]
Merge "logpersist: introduce split to logcat and logpersist domains"
am:
04f2cbd92a
Change-Id: I58f23b14630913eebe8ada09fa23c8ed9fbd90b0
Treehugger Robot [Tue, 20 Dec 2016 22:08:41 +0000 (22:08 +0000)]
Merge "logpersist: introduce split to logcat and logpersist domains"
Hiroshi Yamauchi [Tue, 20 Dec 2016 20:40:10 +0000 (20:40 +0000)]
Merge "Add ART_USE_READ_BARRIER to product variables." am:
e34819ccce
am:
f9e277e1fe
Change-Id: I4a0addd85f0e1dcc98250a60084f88be118276cc
Mark Salyzyn [Wed, 26 Oct 2016 21:19:32 +0000 (14:19 -0700)]
logpersist: introduce split to logcat and logpersist domains
logcat_exec transition to logpersist from init with perms
Test: compile
Bug:
30566487
Change-Id: I0cea55f71be011e921841ef9d3e1283f11606f36
Hiroshi Yamauchi [Tue, 20 Dec 2016 19:04:19 +0000 (19:04 +0000)]
Merge "Add ART_USE_READ_BARRIER to product variables."
am:
e34819ccce
Change-Id: Iaa92156d93110ddfd1a95f677bc02abc6dbcb5c5
Hiroshi Yamauchi [Tue, 20 Dec 2016 18:56:19 +0000 (18:56 +0000)]
Merge "Add ART_USE_READ_BARRIER to product variables."
Vikram Dattu [Fri, 16 Dec 2016 08:45:19 +0000 (09:45 +0100)]
HOST_OUT_EXECUTABLES path is not needed in misc_info file
HOST_OUT_EXECUTABLES is already added to the PATH variable,
so it is not needed to add the path info for binaries in
misc_info.txt and <partition>_image_info.txt.
Earlier the mkuserimg item in the build_image dictionary is
hardcoded to "mkuserimg.sh", but now it is customized for
mkuserimg.sh and mkuserimg_mke2fs.sh, and maintained in
dictionary "ext_mkuserimg=$(MKEXTUSERIMG)" in misc_info.txt
and <partition>_image_info.txt, where it is used in the
build_image script while creating the images.
The problem here is the value for this key is set to build
path of the file mkuserimg file
$(HOST_OUT_EXECUTABLES)/mkuserimg.sh,
i.e. out/host/linux_x86/bin/mkuserimg.sh,
there by standalone signing the images using otatools is
not working as the executables are packed in bin folder.
Test: tools/releasetools/sign_target_files_apks
-p <extracted ota-tools.zip folder>
--extra_signapk_args=-f /etc/opt/cert_data.dat
-v
--replace_verity_private_key ~/build/target/product/security/verity
--replace_verity_public_key ~/build/target/product/security/verity.x509.pem
-k <key maping>
<input target files zip>
<output target files zip>
Change-Id: I57af1025ec38f3794f779c49faa0bf965afc6a5d
Vikram Dattu [Fri, 16 Dec 2016 15:33:03 +0000 (16:33 +0100)]
otatools: added missing shared library for make_ext4fs
Added the missing shared library libpcre2.so for make_ext4fs
in the otatools.zip.
Standalone signing the images with otatools zip is not working
due to missing library for make_ext4fs.
Test: tools/releasetools/sign_target_files_apks
-p <extracted ota-tools.zip folder>
--extra_signapk_args=-f /etc/opt/cert_data.dat
-v
--replace_verity_private_key ~/build/target/product/security/verity
--replace_verity_public_key ~/build/target/product/security/verity.x509.pem
-k <key maping>
<input target files zip>
<output target files zip>
Change-Id: I4fc71a1c710f3075bb3bdb90d915538526004ee6
Hiroshi Yamauchi [Fri, 16 Dec 2016 00:00:41 +0000 (16:00 -0800)]
Add ART_USE_READ_BARRIER to product variables.
Bug:
33492005
Test: top-level build for angler.
Change-Id: I12aa2e18487c16423223f110b6dfb0d6dff1e7e8
Tao Bao [Mon, 19 Dec 2016 21:25:46 +0000 (21:25 +0000)]
Merge "blockimgdiff.py: Add a test case for ReviseStashSize()." am:
f967849693
am:
a10cd259fc
Change-Id: Ib8102e58f5c5df97550aa200a392ff4e0d567f00