Commit graph

9764 commits

Author SHA1 Message Date
Martin Stjernholm
9c1fb0502d Merge "Revert "Remove unneeded -Wno-constant-logical-operand flag"" am: 53afe27ef9
am: ae0f414646

Change-Id: Ib4fca3dc896396ff4e5af6e0894913bdcf9d0db0
2018-12-06 04:54:48 -08:00
Martin Stjernholm
ae0f414646 Merge "Revert "Remove unneeded -Wno-constant-logical-operand flag""
am: 53afe27ef9

Change-Id: Id9e853048df0ead63df11f5460289dd96aac622b
2018-12-06 04:51:37 -08:00
Martin Stjernholm
53afe27ef9 Merge "Revert "Remove unneeded -Wno-constant-logical-operand flag"" 2018-12-06 12:33:30 +00:00
Martin Stjernholm
f993e7797d Revert "Remove unneeded -Wno-constant-logical-operand flag"
This reverts commit 4f0ce757aa.

Reason for revert: Breaks several targets in internal git_master, e.g. http://ab/5165971.

Test: Build failing library
Change-Id: I02a5ade05a76b24020586c55a4e8f441ca7708a9
2018-12-06 12:17:40 +00:00
Yi Kong
608217f1e0 Merge "Remove unneeded -Wno-constant-logical-operand flag" am: a7a432fb82
am: 3c861d1b33

Change-Id: I5a5a77ff4f3e68f34dccfe95097b9980a1954b70
2018-12-05 20:42:22 -08:00
Yi Kong
3c861d1b33 Merge "Remove unneeded -Wno-constant-logical-operand flag"
am: a7a432fb82

Change-Id: I5dcc954fc139d9ab43a1f399fefe61ce7ceef2f1
2018-12-05 20:38:17 -08:00
Treehugger Robot
a7a432fb82 Merge "Remove unneeded -Wno-constant-logical-operand flag" 2018-12-06 03:36:11 +00:00
Elliott Hughes
ce80a24d62 Merge "Move to toybox cmp(1)." am: 2ae2759824
am: fbc9f2619f

Change-Id: Ie886a6036c852052644d51c6b4152aa0c1880fc2
2018-12-05 18:27:56 -08:00
Peter Collingbourne
7731129d55 Merge "Stop mapping c++17 to c++1z." am: 60045811c0
am: 49801f4373

Change-Id: Idc29b66b27e5c9bb09d2f3ad159f8e4991a9128f
2018-12-05 18:24:46 -08:00
Elliott Hughes
fbc9f2619f Merge "Move to toybox cmp(1)."
am: 2ae2759824

Change-Id: I1c71d9b26e95f5a1cfd452b773097a44cb00ff16
2018-12-05 18:22:43 -08:00
Peter Collingbourne
49801f4373 Merge "Stop mapping c++17 to c++1z."
am: 60045811c0

Change-Id: Ia9aeb2454ba7ead27e10edd24a2fc9051a4213b6
2018-12-05 18:19:35 -08:00
Treehugger Robot
2ae2759824 Merge "Move to toybox cmp(1)." 2018-12-06 02:16:53 +00:00
Peter Collingbourne
60045811c0 Merge "Stop mapping c++17 to c++1z." 2018-12-06 02:07:31 +00:00
Yi Kong
4f0ce757aa Remove unneeded -Wno-constant-logical-operand flag
Test: m checkbuild
Change-Id: If1ec62b6d88b8260c9ec39e0d63a379e7ae573e9
2018-12-06 00:18:05 +00:00
Alex Light
526c8bb63d Merge "Add zip-apex" am: a0aaf2f43e
am: 9496d08dd6

Change-Id: Ib80806f86411155a120d40c4ce4028c892569f3a
2018-12-05 14:56:43 -08:00
Alex Light
9496d08dd6 Merge "Add zip-apex"
am: a0aaf2f43e

Change-Id: Idd77bc69a15fcdf28e7550295fe6df6baecadb53
2018-12-05 14:48:19 -08:00
Dimitry Ivanov
2e091d6544 Merge "Make filegroups work for library.Shared/Static.Srcs" am: 53c21b7152
am: c0da7bb41b

Change-Id: I7478587cb8a0a4c1d2a4446a251743561b98a056
2018-12-05 14:38:47 -08:00
Treehugger Robot
a0aaf2f43e Merge "Add zip-apex" 2018-12-05 22:37:35 +00:00
Dimitry Ivanov
c0da7bb41b Merge "Make filegroups work for library.Shared/Static.Srcs"
am: 53c21b7152

Change-Id: Iaf655ef7d621dd7a3ac422b62f8c80360babd7c8
2018-12-05 14:30:28 -08:00
Dimitry Ivanov
53c21b7152 Merge "Make filegroups work for library.Shared/Static.Srcs" 2018-12-05 22:13:33 +00:00
Chih-hung Hsieh
022595785e Merge "Switch to clang-r346389." am: 89dbee61ff
am: 644df40b33

Change-Id: I929e08b8da5863abe41a814f06fb3c4400635438
2018-12-05 11:07:26 -08:00
Chih-hung Hsieh
644df40b33 Merge "Switch to clang-r346389."
am: 89dbee61ff

Change-Id: I18befe8152bb455cee18852a5b494256c0c175be
2018-12-05 10:53:03 -08:00
Chih-hung Hsieh
89dbee61ff Merge "Switch to clang-r346389." 2018-12-05 18:24:12 +00:00
Elliott Hughes
6646904a47 Move to toybox cmp(1).
Test: treehugger
Change-Id: Idf5c9f00d0698aca6ceab2956c7dc49ad7c604e1
2018-12-05 10:03:31 -08:00
dimitry
0345ad8073 Make filegroups work for library.Shared/Static.Srcs
Add dependencies for source modules when they are referenced in
library.Shared/Static.Srcs. Use ExpandSources to expand filegroups
for these properties.

Bug: http://b/120534727
Test: make
Change-Id: I58d02d8f7d60026abbcde75298c7a61b27bdbf12
2018-12-05 15:31:10 +00:00
Haibo Huang
9ae1005f63 Remove denver from soong am: 47c9d4c8a3
am: 9223081372

Change-Id: I9a6f28e148340cc0700fda13bfc065fe32682fa4
2018-12-04 23:37:39 -08:00
Haibo Huang
9223081372 Remove denver from soong
am: 47c9d4c8a3

Change-Id: Ie63b19efa16354b8e6003bca7e4330cd03c2981c
2018-12-04 23:29:36 -08:00
Haibo Huang
47c9d4c8a3 Remove denver from soong
Test: build
Change-Id: If740c2aaa321dee01f5d99c37171390e15f62c62
2018-12-04 19:39:48 -08:00
Elliott Hughes
6d983b256c Merge "Move to toybox basename(1)." am: d00bbd72f4
am: 88151f0aae

Change-Id: If0350082172e378d31a74def9bea1f2f3e78821a
2018-12-04 17:21:35 -08:00
Elliott Hughes
88151f0aae Merge "Move to toybox basename(1)."
am: d00bbd72f4

Change-Id: Idbcfeda542f267087794561864f0a53897b55d2a
2018-12-04 17:16:32 -08:00
Dan Willemsen
f2c9dd378d Merge "Fix mac build w/echo -n" am: 4322f4008f
am: a06497ae57

Change-Id: I89b85740b7059cbf6dd51e3006568fc060406bc2
2018-12-04 17:16:31 -08:00
Dan Willemsen
a06497ae57 Merge "Fix mac build w/echo -n"
am: 4322f4008f

Change-Id: I095c9d77b8c010fd665e25ae965ffbac10f752d0
2018-12-04 17:11:33 -08:00
Treehugger Robot
d00bbd72f4 Merge "Move to toybox basename(1)." 2018-12-05 01:09:01 +00:00
Treehugger Robot
4322f4008f Merge "Fix mac build w/echo -n" 2018-12-05 00:53:46 +00:00
Peter Collingbourne
d7225eaac4 Stop mapping c++17 to c++1z.
Clang has been accepting -std=c++17 since August 2017.

Change-Id: Iebb91438ba26b3cc4dbbdcd86e15c9df5901f402
2018-12-04 16:46:27 -08:00
Haibo Huang
7ae1eb16f1 Remove denver64 from soong am: f46b1cb06e
am: 238f6c330d

Change-Id: I640a9e965b47ae5269818a2076ca1389e0a748ff
2018-12-04 16:44:14 -08:00
Haibo Huang
238f6c330d Remove denver64 from soong
am: f46b1cb06e

Change-Id: I400a0bcabbb3ebd63136a28e6cf58314f4b499e8
2018-12-04 16:35:13 -08:00
Elliott Hughes
6141a7d7ff Move to toybox basename(1).
Test: treehugger
Change-Id: I29f210d86a0dada8a40eca1919e2f6f876d50bcd
2018-12-04 13:42:46 -08:00
Alex Light
5098a612fc Add zip-apex
This adds support for an apex-like file where the payload is a zip
file instead of a FS image. This makes it easier to examine and use
without root. These can also be built for the host.

This can be controlled using the 'type' modifier in the apex build
rule. 'type' may be "image" to build an apex file called {name}.apex
with an FS image payload, "zip" to build an apex with called
{name}.zipapex with a zip-file payload or "both" to build both. By
default we will use "image".

This also adds support for setting apex rules to
"host_supported: true".

Test: cd art/build/apex; mma; examine the com.android.runtime.host.zipapex
      artifact.
Test: go test android/soong/apex -v
Bug: 120436895

Change-Id: I534d330672211ac5ccc3bd5a0c89b9fc507bf51e
2018-12-04 13:10:17 -08:00
Dan Willemsen
83f97aed95 Fix mac build w/echo -n
Soong doesn't wrap everything in bash, but relies on the ninja default
of /bin/sh. We should probably improve that in the future, but for now,
just fix the build.

On Mac, /bin/sh and /bin/bash are both bash, but /bin/sh implies `set -o
posix`, and ignores the `-n` flag.

Test: treehugger
Test: build on a mac
Change-Id: Icf41b1c5a1ce9eb0a56e39e68c433fc80b53620f
2018-12-04 13:06:02 -08:00
Haibo Huang
f46b1cb06e Remove denver64 from soong
Test: build
Bug: 73545680
Change-Id: I6b213a1d83275c566fd6142a07550094240528c4
2018-12-04 21:01:50 +00:00
Chih-Hung Hsieh
3567e62f97 Switch to clang-r346389.
* Add -fno-sanitize=implicit-integer-sign-change when
  there is any integer related sanitizer, and this check
  is not explicitly specified.
  Android core does not boot with this new sanitizer yet.
* Filter out -fno-sanitize=implicit-integer-sign-change
  from tooling flags.

Bug: 119329758
Bug: 119557795
Test: make checkbuild, boot, go/clang-r346389-testing
Change-Id: I709de569cb73d070fc4958e2b4387f4041bc5438
2018-12-04 19:50:45 +00:00
Jiyong Park
d28f1dfcbd Merge "Stubs variant is used when building for APEX" am: ce16f3bac8
am: 421ba99ebc

Change-Id: Icbcc08fcb9d075baabac41d25ac8824868e4404f
2018-12-04 06:31:23 -08:00
Jiyong Park
421ba99ebc Merge "Stubs variant is used when building for APEX"
am: ce16f3bac8

Change-Id: I47381a8546586a6a1b7f20158b58c34a0cdf9f2a
2018-12-04 06:21:32 -08:00
Jiyong Park
ce16f3bac8 Merge "Stubs variant is used when building for APEX" 2018-12-04 14:07:56 +00:00
Yi Kong
b910379c91 Merge "Revert "Revert "Remove unnecessary warning suppression""" am: 3a33fe535e
am: 9d256a5aa1

Change-Id: I76bdf7af21564068168fa3cad9b3934f7d6f2bf4
2018-12-04 01:52:57 -08:00
Yi Kong
9d256a5aa1 Merge "Revert "Revert "Remove unnecessary warning suppression"""
am: 3a33fe535e

Change-Id: I81421f5340798c181c7f9b72faea5bc433bc0ed5
2018-12-04 01:47:51 -08:00
Yi Kong
3a33fe535e Merge "Revert "Revert "Remove unnecessary warning suppression""" 2018-12-04 09:30:54 +00:00
Justin Yun
2a428940a3 Merge "VNDK lib must not have product_specific: true" am: 2098eb8c2a
am: ec8bf83f9c

Change-Id: Ic99179293d988bfadd3d25beae81851b6ac315fa
2018-12-04 01:03:55 -08:00
Justin Yun
ec8bf83f9c Merge "VNDK lib must not have product_specific: true"
am: 2098eb8c2a

Change-Id: Iac87ea02330944d0dce438209433186220114c6e
2018-12-04 00:57:43 -08:00