Commit Graph

33872 Commits

Author SHA1 Message Date
Alex Deymo af5554c699 Merge "Include the LOCAL_REQUIRED_MODULES when packaging." am: 06f3258694
am: 2ee71f6946

Change-Id: I2efd0f0c7c11f31b5d8e5a83125fb4b0c2a86c76
2017-02-13 16:09:38 +00:00
Alex Deymo 2ee71f6946 Merge "Include the LOCAL_REQUIRED_MODULES when packaging."
am: 06f3258694

Change-Id: I2b8a1e6b0898de266e5da5d0a2ee210540e97f81
2017-02-13 16:06:39 +00:00
Alex Deymo 06f3258694 Merge "Include the LOCAL_REQUIRED_MODULES when packaging." 2017-02-13 16:01:35 +00:00
Alex Deymo 9a535b5188 fat16copy: Allow to copy files to an existing directory.
This patch re-uses existing directories when copying directories,
allowing to copy files to a directory previously created.

Bug: 34811400
Test: fat16copy.py fat.bin a/b/foo; fat16copy.py fat.bin c/d/foo

(cherry-picked from 0af24a27a8d0dc7e1782f36a5a9963021ff8b3f6)

Change-Id: I283184da18f3c4951d6c84aafa4185074791acd2
2017-02-13 16:00:07 +00:00
Simran Basi 3af0c34af0 Merge "Update CleanSpec.mk for the common testcase directories." am: b99df8d27d am: f4e04c8f87
am: f41b13bb4e

Change-Id: Ib8747791a02a5e291aabb3103dbf779830668bfd
2017-02-11 00:25:45 +00:00
Simran Basi f41b13bb4e Merge "Update CleanSpec.mk for the common testcase directories." am: b99df8d27d
am: f4e04c8f87

Change-Id: I7c8c199abb677eb23de92bd8095d427b1e0b9e76
2017-02-11 00:23:45 +00:00
Simran Basi f4e04c8f87 Merge "Update CleanSpec.mk for the common testcase directories."
am: b99df8d27d

Change-Id: I63521c4888823137f024fb5395409791dc69ab7c
2017-02-11 00:21:15 +00:00
Simran Basi b99df8d27d Merge "Update CleanSpec.mk for the common testcase directories." 2017-02-11 00:18:19 +00:00
Mathieu Chartier 73ecdaca9b Merge "Add support for preopted app images" am: 8d0b35cf85 am: ce08de32d3
am: 04c3d78e83

Change-Id: If9a728bca120a28c6ea4e1e7410b375fb381098f
2017-02-11 00:12:15 +00:00
Mathieu Chartier 04c3d78e83 Merge "Add support for preopted app images" am: 8d0b35cf85
am: ce08de32d3

Change-Id: I0b8b60dbc921a3ac168fc03afb9647cfd4a6e73a
2017-02-11 00:09:44 +00:00
Mathieu Chartier ce08de32d3 Merge "Add support for preopted app images"
am: 8d0b35cf85

Change-Id: I99e23bfbaef545717c3ad1988b9df89dc2fa80b9
2017-02-11 00:07:15 +00:00
Mathieu Chartier 8d0b35cf85 Merge "Add support for preopted app images" 2017-02-11 00:05:03 +00:00
Simran Basi 7fe57cfdcd Update CleanSpec.mk for the common testcase directories.
Fix an issue with incremental builds and the new common
testcase directories.

Bug: None
Test: Removed https://android-review.googlesource.com/#/c/234478/
      then ran `m cts-platform-version-check` then reapplied the
      change to verify the failure. Then applied this new change
      to verify the problem was resolved.

Change-Id: I77529021e852af35571fb99537d87100010b47af
2017-02-10 15:56:29 -08:00
Mathieu Chartier 192b91c97f Add support for preopted app images
Enable iff WITH_DEXPREOPT_APP_IMAGE is true.

Test: Clean + build with the flag on and off. Tested Sailfish
booting.

Bug: 34927277

(cherry picked from commit e8ab2a71d7)

Change-Id: I63f98a85c69d99746b11bb6e85c23cf5e48910cf
2017-02-10 13:39:08 -08:00
Simran Basi 52224ac185 Merge "Output *TS testcases to their own subdir in the common testcase folders." am: 4d49966ce3 am: ddb4256322
am: e50b42a578

Change-Id: Ia5201a9b334f3c85e383a230574defb2a6364a17
2017-02-10 21:33:39 +00:00
Simran Basi e50b42a578 Merge "Output *TS testcases to their own subdir in the common testcase folders." am: 4d49966ce3
am: ddb4256322

Change-Id: Ia7ecb8e951b34def2fa567568145ae56309fbab9
2017-02-10 21:26:39 +00:00
Simran Basi ddb4256322 Merge "Output *TS testcases to their own subdir in the common testcase folders."
am: 4d49966ce3

Change-Id: I5a3538732e5526083bbea85d3867a4bcfcdc220d
2017-02-10 21:22:08 +00:00
Treehugger Robot 4d49966ce3 Merge "Output *TS testcases to their own subdir in the common testcase folders." 2017-02-10 21:11:59 +00:00
Dan Willemsen 0f90908026 Support Soong native coverage
Soong (or any other prebuilt) can provide a .gcnodir file using
LOCAL_PREBUILT_COVERAGE_ARCHIVE. Just like today, if one isn't provided
for static libraries, an empty one will be created for Make modules to
use.

Also fixes a problem I noticed including whole static libs having
coverage into static libs. It was trying to write to /WHOLE since
PRIVATE_INTERMEDIATES_DIR was not set.

Bug: 32749731
Test: See build/soong change for soong-side tests
Test: Enabled coverage of a soong static lib, then include it in a make
static lib with LOCAL_WHOLE_STATIC_LIBRARIES and ensure that the any
shared libraries using the make static lib get the embedded coverage
information.
Change-Id: I32762f099c9757074fec922ee4822f819c9ceaf5
2017-02-10 09:27:35 -08:00
Jack He 564f05b469 Merge "Remove mk file parser variables that are no longer required by system/bt" am: af055f207a am: 3e387c210d
am: 35130f2346

Change-Id: I4d91f322d079d163be7526607c8234a120bcce85
2017-02-10 01:07:19 +00:00
Jack He 35130f2346 Merge "Remove mk file parser variables that are no longer required by system/bt" am: af055f207a
am: 3e387c210d

Change-Id: Idef71b74b4067a83afc55894f453c433a1f3e289
2017-02-10 01:01:49 +00:00
Jack He 3e387c210d Merge "Remove mk file parser variables that are no longer required by system/bt"
am: af055f207a

Change-Id: Ic68923a34066fa78708ee5ed7665ca080ae5ccd3
2017-02-10 00:58:19 +00:00
Treehugger Robot af055f207a Merge "Remove mk file parser variables that are no longer required by system/bt" 2017-02-10 00:53:25 +00:00
Dan Willemsen b6deae08fe Merge "Sort clear_vars.mk again" am: 05106468f8 am: 03b7efd871
am: dc59849984

Change-Id: I4124d5676a29298cc4a9202dfbe5821b60786208
2017-02-10 00:23:22 +00:00
Dan Willemsen dc59849984 Merge "Sort clear_vars.mk again" am: 05106468f8
am: 03b7efd871

Change-Id: I211ea6e5e596f752a62fbf47994fbcaaca01cd4d
2017-02-10 00:21:21 +00:00
Dan Willemsen 03b7efd871 Merge "Sort clear_vars.mk again"
am: 05106468f8

Change-Id: Ie6a0dcae999c5f3a9b0ce25617e314594dabb1d0
2017-02-10 00:19:22 +00:00
Treehugger Robot 05106468f8 Merge "Sort clear_vars.mk again" 2017-02-10 00:14:46 +00:00
Dan Willemsen 88ac806adf Sort clear_vars.mk again
Test: none
Change-Id: Id776e81977695c4b488f44b155f2c098d5f8b61a
2017-02-09 14:28:22 -08:00
Jack He fae1cd13f0 Remove mk file parser variables that are no longer required by system/bt
* Removed BLUETOOTH_HCI_USE_MCT
* Removed BOARD_BLUETOOTH_BDROID_HCILP_INCLUDED

Bug: 35203653, 34951912
Test: Code compilation, no user visible effects
Change-Id: Ic575d3a0fac541da3e70543d0f144ea4792bc058
2017-02-09 14:28:00 -08:00
Dan Willemsen 05b6cf7516 Merge "Fix "Nothing to be done" messages when launching soong_ui" am: 576c76160b am: b7075868bd
am: 990bcc985a

Change-Id: Ic181243ba4647136f64712162b5568b123fa23ef
2017-02-09 05:50:52 +00:00
Dan Willemsen 990bcc985a Merge "Fix "Nothing to be done" messages when launching soong_ui" am: 576c76160b
am: b7075868bd

Change-Id: I0e01c87c3a29ee78ecbf44394dbfc5fccd5de4c9
2017-02-09 05:49:52 +00:00
Dan Willemsen b7075868bd Merge "Fix "Nothing to be done" messages when launching soong_ui"
am: 576c76160b

Change-Id: Ic237295592564f32f6b916eaab3bdd5f85cf2017
2017-02-09 05:47:21 +00:00
Treehugger Robot 576c76160b Merge "Fix "Nothing to be done" messages when launching soong_ui" 2017-02-09 05:42:39 +00:00
Dan Willemsen c5bb5a8238 Fix "Nothing to be done" messages when launching soong_ui
When specifying multiple arguments to make, we were getting messages
about nothing to be done:

m -j USE_SOONG_UI=true checkbuild tests cts blueprint_tools
...
make: Nothing to be done for `tests'.
make: Nothing to be done for `cts'.
make: Nothing to be done for `blueprint_tools'.

Test: m -j USE_SOONG_UI=true blueprint_tools libc adb
Change-Id: Id448bf0e09736fcd92ba058aec7ce556f6f778a3
2017-02-08 19:50:16 -08:00
Vishwath Mohan a2046062fb Disble CFI for ARM32 processes.
This CL disables CFI for 32-bit ARM processes, which is broken due to
a compiler error in the most recent version of clang.

Bug: 35157333
Test: ENABLE_CFI=true m -j40 does not enable CFI for 32-bit processes
Change-Id: I6a6e1d14c8365da1056b4cbccad11ef2f15c70b2
2017-02-08 19:38:20 -08:00
Simran Basi 3fb354cca0 Output *TS testcases to their own subdir in the common testcase folders.
Instead of dumping all *TS testcases into the common testcase
directory directly, place them all in their own subdirectory.

Bug: 35153177
Test: `make cts -j` and checked the contents of both:
out/host/linux-x86/testcases/ &
out/host/linux-x86/cts/android-cts/testcases/

Change-Id: I22a768dba58d40be1e61885534fb813e7ff08c99
2017-02-08 15:53:32 -08:00
Simran Basi e9f1a266c9 Merge "Output *TS testcases to common testcase folders." am: 469c458279 am: 040b876e3e
am: d006a8be91

Change-Id: I129e04b61fd0492c3206b45654f842142bbecfb4
2017-02-08 20:14:17 +00:00
Simran Basi d006a8be91 Merge "Output *TS testcases to common testcase folders." am: 469c458279
am: 040b876e3e

Change-Id: I8786ec11f866865a2be1cdcc67971573b2c96ef6
2017-02-08 19:27:40 +00:00
Simran Basi 040b876e3e Merge "Output *TS testcases to common testcase folders."
am: 469c458279

Change-Id: I1a714e5326a4907b27d85998cc0cd8d923e5080c
2017-02-08 19:24:40 +00:00
Treehugger Robot 469c458279 Merge "Output *TS testcases to common testcase folders." 2017-02-08 19:21:13 +00:00
Jayant Chowdhary 2dd9441b18 Merge "Add RenderScript Toolchain information to Soong." am: 9b49502b95 am: 14316678df
am: 9e3ad408bc

Change-Id: I6468b9fc5e92f03c4780c5dc23f3ab3aef98b4e0
2017-02-08 18:32:08 +00:00
Jayant Chowdhary 9e3ad408bc Merge "Add RenderScript Toolchain information to Soong." am: 9b49502b95
am: 14316678df

Change-Id: I1e1313599f42ff02e9d6d8c3792a2e79d2d01783
2017-02-08 18:25:08 +00:00
Jayant Chowdhary 14316678df Merge "Add RenderScript Toolchain information to Soong."
am: 9b49502b95

Change-Id: Ie63ec80dd5c699668aa5408c2af306ab9c5f5d0d
2017-02-08 17:59:40 +00:00
Jayant Chowdhary 9b49502b95 Merge "Add RenderScript Toolchain information to Soong." 2017-02-08 17:45:38 +00:00
Tao Bao d72edb3c23 Merge "releasetools: Support generating downgrade A/B OTAs." am: e73d4daf41 am: e79da16cc0
am: a256b3fef0

Change-Id: I6f76d4b723bc875cffdf7f52f8579bad80589944
2017-02-08 05:56:19 +00:00
Tao Bao a256b3fef0 Merge "releasetools: Support generating downgrade A/B OTAs." am: e73d4daf41
am: e79da16cc0

Change-Id: I1dcfd2e459a8d20f571662be289d8bea3616a012
2017-02-08 05:53:18 +00:00
Tao Bao e79da16cc0 Merge "releasetools: Support generating downgrade A/B OTAs."
am: e73d4daf41

Change-Id: I9732ac6c6856757374df2cebae792caabcc1e04f
2017-02-08 05:50:19 +00:00
Tao Bao e73d4daf41 Merge "releasetools: Support generating downgrade A/B OTAs." 2017-02-08 05:46:07 +00:00
Simran Basi 7166d1f43a Output *TS testcases to common testcase folders.
Aggregates the different *TS testcases into two common folders,
one under each the host and product hierarchies.

Bug: 34715822
Test: `make cts -j` and checked the contents of both:
out/host/linux-x86/testcases/ &
out/host/linux-x86/cts/android-cts/testcases/

Change-Id: I7d5201998ddcb011ecc687c272a0d0a36da248b7
2017-02-07 14:49:06 -08:00
Tao Bao b31892e5de releasetools: Support generating downgrade A/B OTAs.
We already support generating downgrade OTAs for non-A/B devices (with
mandatory data wipe), but we have missed the --downgrade flag in A/B OTA
path.

This CL factors out the function that writes the downgrade metadata, and
fixes the path for generating A/B OTAs.

Bug: 35094540
Test: Generate incrementals with --downgrade for A/B and non-A/B OTAs.
Change-Id: I30b9bf83e69e8aba3be666507681b555db6ab743
2017-02-07 12:25:59 -08:00