Commit Graph

5804 Commits

Author SHA1 Message Date
Colin Cross
b345fad1a9 Add jacoco filter tests am: 7a3139e05d
am: c99dbcbfd8

Change-Id: If7faeaeb4b4086a99934480d8c12f9fa1161e24e
2017-12-21 17:58:34 +00:00
Colin Cross
c99dbcbfd8 Add jacoco filter tests
am: 7a3139e05d

Change-Id: I76550d9f1f5fd9a038d91190c30b81e10a8d11b6
2017-12-21 13:39:14 +00:00
Nan Zhang
1657ba2dac Merge "Add -p, -e options in merge_zips for supporting par format." am: 828001d59d
am: eec578939b

Change-Id: I1fca5e6a17bfcddf9435b159b0a26d1a1e93e683
2017-12-21 06:17:23 +00:00
Pirama Arumuga Nainar
503e4228e2 Merge "Add 'openmp' compiler property" am: 91aa9f9d54
am: 29d92cef6d

Change-Id: Ia2a1186c2b793855a8fc2a9d74f76c6ec53c9b3c
2017-12-21 06:16:43 +00:00
Dan Albert
a66fa17a89 Merge "Update the NDK ARM ABI to armv7." am: 3b528a802d
am: 526800c76c

Change-Id: Ibe37dda591cec692a7760456255ca4c304de9467
2017-12-21 06:16:02 +00:00
Colin Cross
7a3139e05d Add jacoco filter tests
Add tests for converting jacoco filters to command line arguments
to soong_zip.

Bug: 64836607
Test: jacoco_test.go
Change-Id: I969fa877e4be19bb92dcab5a796a4e4ec3fc166a
2017-12-21 04:34:26 +00:00
Nan Zhang
eec578939b Merge "Add -p, -e options in merge_zips for supporting par format."
am: 828001d59d

Change-Id: Iafbf89032534bd759592a5b2b191150f9400d7b7
2017-12-21 03:44:29 +00:00
Pirama Arumuga Nainar
29d92cef6d Merge "Add 'openmp' compiler property"
am: 91aa9f9d54

Change-Id: I6edc27d9d49d5cd347702fd70fd93f6e9afdabea
2017-12-21 03:43:55 +00:00
Dan Albert
526800c76c Merge "Update the NDK ARM ABI to armv7."
am: 3b528a802d

Change-Id: I19f0d02cc6b81dd26889e41fed412723cc026918
2017-12-21 03:43:21 +00:00
Treehugger Robot
828001d59d Merge "Add -p, -e options in merge_zips for supporting par format." 2017-12-21 01:27:32 +00:00
Treehugger Robot
91aa9f9d54 Merge "Add 'openmp' compiler property" 2017-12-21 00:38:45 +00:00
Treehugger Robot
3b528a802d Merge "Update the NDK ARM ABI to armv7." 2017-12-21 00:37:29 +00:00
Dan Albert
d3c8ca4469 Update the NDK ARM ABI to armv7.
We don't support armv5 any more, and we can't build bionic as armv5.

Test: build/soong/scripts/build-ndk-prebuilts.sh
Bug: https://github.com/android-ndk/ndk/issues/272
Change-Id: I4026d48e7d5db78f6aa4e9796da1ec9cf10021ca
2017-12-20 14:48:39 -08:00
Nan Zhang
5925b0fda4 Add -p, -e options in merge_zips for supporting par format.
Move __init__.py files population to merge_zips, and add options: -p, and
-e. Since par needs entry_point.txt to search the program entry point, so
add -e option to support it.

Test: ./merge_zips -p -e entry_point.txt out in1.zip in2.zip
Bug: 70568913
Change-Id: Ida10faf125e1b94dffc98b30240db3b90fd75b25
2017-12-20 12:57:10 -08:00
Steven Moreland
9bbc5b65e1 Merge "Remove sepolicy_split from soong." am: 57603998a6
am: 3fac38f544

Change-Id: Ib39dccdb43588b5502d828a20cef247569fc0701
2017-12-20 19:24:22 +00:00
Steven Moreland
3fac38f544 Merge "Remove sepolicy_split from soong."
am: 57603998a6

Change-Id: Ic9d2bcfc4f02216b2824bc28f6da44d91f458f68
2017-12-20 19:15:33 +00:00
Treehugger Robot
57603998a6 Merge "Remove sepolicy_split from soong." 2017-12-20 19:10:32 +00:00
Pirama Arumuga Nainar
fadb7b511a Add 'openmp' compiler property
Bug: http://b/70692399

If a module has 'openmp: true', add '-fopenmp' to CFlags during any
compile step and pass the libomp runtime to the linker during any link
step.

Test: Build samples in http://aosp/572924
Change-Id: Ic2a6410ec69aae548edaf582ee41659b0058561e
2017-12-19 23:14:19 -08:00
Pirama Arumuga Nainar
37c922d9e9 Merge "Add compile-time pathDeps as implicit dependencies" am: 6f86613420
am: 3867026195

Change-Id: Ia0e4828d899702c709e8727f14aec1b57dadd7da
2017-12-20 04:12:23 +00:00
Pirama Arumuga Nainar
3867026195 Merge "Add compile-time pathDeps as implicit dependencies"
am: 6f86613420

Change-Id: Ib78d30affbd69b6af308e159d5db56dd026e1b59
2017-12-20 04:09:48 +00:00
Treehugger Robot
6f86613420 Merge "Add compile-time pathDeps as implicit dependencies" 2017-12-20 04:05:39 +00:00
Alan Leung
d420648b7b Merge "Prep D8 default instead of CompatDX in build/soong" am: 731c8dac6d
am: 3a3fff0368

Change-Id: I129b3c48f6a019a9dbaa9be37a0d7e13b2885cca
2017-12-20 02:10:13 +00:00
Alan Leung
3a3fff0368 Merge "Prep D8 default instead of CompatDX in build/soong"
am: 731c8dac6d

Change-Id: I5aad8b886b9619ffe33441392aee6510d33b521a
2017-12-20 02:05:01 +00:00
Alan Leung
731c8dac6d Merge "Prep D8 default instead of CompatDX in build/soong" 2017-12-20 02:00:45 +00:00
Colin Cross
b61e4e6e47 Merge "Ensure -I . is the first protoc argument" am: 32bf18b10a
am: 2d1b27c08b

Change-Id: I6da9687b746d808b25287f12d9913e1c8baa50e8
2017-12-20 00:47:35 +00:00
Colin Cross
2d1b27c08b Merge "Ensure -I . is the first protoc argument"
am: 32bf18b10a

Change-Id: If870b412d8b8f8cac0d9de57b355f53cb5e6f3ae
2017-12-20 00:45:34 +00:00
Treehugger Robot
32bf18b10a Merge "Ensure -I . is the first protoc argument" 2017-12-20 00:37:30 +00:00
Chih-Hung Hsieh
2644fe6ce2 Merge "Add default -Werror to hardware/libhardware/modules" am: 750e6fab06
am: c7a4d098ae

Change-Id: Ifc672be997cc30c56699055b544baff7177178fb
2017-12-20 00:17:31 +00:00
Chih-Hung Hsieh
c7a4d098ae Merge "Add default -Werror to hardware/libhardware/modules"
am: 750e6fab06

Change-Id: I90362712d5e1d643687a36b65379a651e78e919d
2017-12-20 00:15:01 +00:00
Treehugger Robot
750e6fab06 Merge "Add default -Werror to hardware/libhardware/modules" 2017-12-20 00:08:36 +00:00
Pirama Arumuga Nainar
70ba5a38d1 Add compile-time pathDeps as implicit dependencies
Bug: http://b/70820751
Bug: http://b/70857959

Clang does not output file dependencies from the -fprofile-use= flag
during -MD/-MM.  Add this and other path dependencies as implicit Ninja
dependencies.  Generated header dependencies are retained as OrderOnly
dependencies.

Test: Perturb profdata files for hwui/skia in internal branch and verify
that the sources get rebuilt.

Change-Id: I3247d995ee27a4882172eb15ff36acf56536b6f7
2017-12-19 15:44:38 -08:00
Steven Moreland
0afa55ae12 Remove sepolicy_split from soong.
No longer needed.

Bug: 62019611
Test: manual
Change-Id: Id485e6db4cc9b5a7cf553e5089fd85b667c7c660
2017-12-19 20:41:21 +00:00
Alan Leung
c37c6343e2 Prep D8 default instead of CompatDX in build/soong
Bug: 69329508
Test: m checkbuild tests
Change-Id: Ibaa2d787c644cf25104af78305a6eed16028dcf0
2017-12-18 23:56:30 -08:00
Dan Albert
83a587cae0 Merge "Expose the NDK STLs to make." am: b267295324
am: 106619f427

Change-Id: Iac4348dc13ac8ea9fed4eba12727ac7f1407b8f5
2017-12-19 00:47:37 +00:00
Dan Albert
106619f427 Merge "Expose the NDK STLs to make."
am: b267295324

Change-Id: I920e6a38b60345f2a274cc49cf54b236b23b81e3
2017-12-19 00:38:40 +00:00
Treehugger Robot
b267295324 Merge "Expose the NDK STLs to make." 2017-12-19 00:29:52 +00:00
Chih-Hung Hsieh
e69e914241 Merge "Call clang-tidy with -quiet unless WITH_TIDY is set." am: 26e5a168bf
am: 0d21f37967

Change-Id: I51790c972596bde557d92ba50012a7cb89aba97f
2017-12-16 21:08:14 +00:00
Chih-Hung Hsieh
0d21f37967 Merge "Call clang-tidy with -quiet unless WITH_TIDY is set."
am: 26e5a168bf

Change-Id: I4835ae77e8b80ccee47866d934bd7632ee83574b
2017-12-16 21:05:42 +00:00
Treehugger Robot
26e5a168bf Merge "Call clang-tidy with -quiet unless WITH_TIDY is set." 2017-12-16 21:02:06 +00:00
Colin Cross
2165757521 Add missing dependencies on classpath jars for kotlinc am: 9bc4343bea
am: f2418e31d4

Change-Id: I3a0e713d5321fabc1b6770c7e0ee4d822d715861
2017-12-16 06:12:44 +00:00
Colin Cross
f2418e31d4 Add missing dependencies on classpath jars for kotlinc
am: 9bc4343bea

Change-Id: If771b4a2603dc95da74db65019b04b8344ffecbe
2017-12-16 06:10:12 +00:00
Colin Cross
9bc4343bea Add missing dependencies on classpath jars for kotlinc
The kotlinc build rules were missing dependencies on the jars in
the classpath.

Test: TestKotlin in java_test.go
Change-Id: I56681785289f942b1070751b7dc5944e7a995b7f
2017-12-16 06:05:38 +00:00
Chih-Hung Hsieh
dc0c0302e9 Call clang-tidy with -quiet unless WITH_TIDY is set.
* Default builds calls clang-tidy only if enabled locally.
  In this case, clang-tidy should be quiet.
* If WITH_TIDY is 1 or true, let clang-tidy emit default messages.
* Even with -quiet and all warnings are suppressed,
  clang-tidy emits one line message of the number of suppressed messages.
  This one-liner could be suppressed in future changes.

Bug: 69051430
Test: default build and build with WITH_TIDY=1
Change-Id: I45303149930b33544e271e6d5eeddf18c9e48d7a
2017-12-15 20:57:48 -08:00
Dan Albert
208994db79 Merge "Allow NDK static libraries to use the NDK sysroot." am: 2555b259ad
am: e46f70f290

Change-Id: I96b0880f27c9c4f75d64f161ddeb8d6c069495b5
2017-12-16 03:22:39 +00:00
Dan Albert
e46f70f290 Merge "Allow NDK static libraries to use the NDK sysroot."
am: 2555b259ad

Change-Id: If880547f88356084d2e8f7f811b5c68a3ec4ceb0
2017-12-16 03:17:39 +00:00
Treehugger Robot
2555b259ad Merge "Allow NDK static libraries to use the NDK sysroot." 2017-12-16 03:14:43 +00:00
Chih-Hung Hsieh
41fe048372 Add default -Werror to hardware/libhardware/modules
Bug: 66996870
Test: normal build
Change-Id: I0e38533b0fa2970524ac98eca25b2c2fd472fc31
2017-12-15 18:08:36 -08:00
Colin Cross
836ea78cdc Merge "Support output params in java proto" am: 04bd5080bf
am: b8caa252ef

Change-Id: I74dcbfd0116ff00a0e6eaa3c66ddcf8a2718c680
2017-12-16 01:39:28 +00:00
Colin Cross
b8caa252ef Merge "Support output params in java proto"
am: 04bd5080bf

Change-Id: Ia94133c06a1821c9b2241b71df082700815848a2
2017-12-16 01:36:56 +00:00
Treehugger Robot
04bd5080bf Merge "Support output params in java proto" 2017-12-16 01:32:32 +00:00