Commit Graph

1786 Commits

Author SHA1 Message Date
Colin Cross
7d7904a1a0 Merge \\"Allow defaults modules to have defaults\\" am: 2846cc448b
am: 1ec9eb2961

Change-Id: Ice7a561ea3b9d66199aa63d3e3b1c219838a6177
2016-07-27 23:34:25 +00:00
Colin Cross
1ec9eb2961 Merge \"Allow defaults modules to have defaults\"
am: 2846cc448b

Change-Id: I12aaa8f7de21fb2732846aa57320ee5b81087a18
2016-07-27 23:31:56 +00:00
Colin Cross
2846cc448b Merge "Allow defaults modules to have defaults" 2016-07-27 23:20:06 +00:00
Dan Albert
31e49af9f6 Resolve GccTriple/ClangTriple early. am: 84f431fc34 am: 91bca5627f
am: 83c45192c3

Change-Id: If214a53a8befb4b865c00bdbdf56918a662e7b1c
2016-07-27 20:06:58 +00:00
Dan Albert
5c22ac638d Don\\\'t add -L for libs that don\\\'t need it. am: ce2b839257 am: 5380a1ee24
am: d24e593006

Change-Id: I9f42df53089963d56c4178715cb2c8696a229a0a
2016-07-27 20:06:57 +00:00
Dan Albert
83c45192c3 Resolve GccTriple/ClangTriple early. am: 84f431fc34
am: 91bca5627f

Change-Id: I70d3ea6cd3a22d4d5f4e3fb97beea8f5619bbb56
2016-07-27 20:03:58 +00:00
Dan Albert
d24e593006 Don\\'t add -L for libs that don\\'t need it. am: ce2b839257
am: 5380a1ee24

Change-Id: I521861e2452196d36aa0d00bc604e223ab3771ef
2016-07-27 20:03:57 +00:00
Dan Albert
91bca5627f Resolve GccTriple/ClangTriple early.
am: 84f431fc34

Change-Id: I471715d50088e885bc6cdd7382d58fbb95cfebe4
2016-07-27 20:01:32 +00:00
Dan Albert
5380a1ee24 Don\'t add -L for libs that don\'t need it.
am: ce2b839257

Change-Id: I98ddf36829c679db9deb412891524629f6f8d513
2016-07-27 20:01:30 +00:00
Dan Albert
84f431fc34 Resolve GccTriple/ClangTriple early.
When these are Ninja variable they can't be used in android.Path since
they'll be rejected as invalid paths. We don't actually need them to be
a Ninja variable, so make them plain old strings instead.

Test: Still builds.
Change-Id: I04743cebd4b2f9be5685545f2ee941df180fce14
2016-07-27 11:12:07 -07:00
Dan Albert
ce2b839257 Don't add -L for libs that don't need it.
We're already referring to the library by the full path. The -L is
unnecessary.

Follow up to https://android-review.googlesource.com/#/c/249544/

Test: Still builds.
Change-Id: Id27dff29f75797c4c0dcc66704ac08cc0b58cfe3
2016-07-27 11:12:07 -07:00
Christopher Ferris
be4c5efb58 Merge \\\"Remove the common bionic libc kernel directory.\\\" am: e1ddc12b5d am: 2f1e55bee5
am: 23ae21584f

Change-Id: I927faa0f2aea28f8de4ca3f0b450d37ba47d9f9a
2016-07-27 18:08:25 +00:00
Christopher Ferris
23ae21584f Merge \\"Remove the common bionic libc kernel directory.\\" am: e1ddc12b5d
am: 2f1e55bee5

Change-Id: Ia3a745968a7494a3236f6563082396b1ebf4a29b
2016-07-27 18:05:55 +00:00
Christopher Ferris
2f1e55bee5 Merge \"Remove the common bionic libc kernel directory.\"
am: e1ddc12b5d

Change-Id: Id250aace327ce94eef17804c48537e629b1471b4
2016-07-27 18:03:27 +00:00
Colin Cross
0dbe26e8da Add libnativehelper to root Android.bp
libnativehelper has an Android.bp file, so it won't cause a namespace
conflict between the glob on the directory and the module name.

Bug: 25797955
Change-Id: Id86b3a1cd0f130989f77613494e19b8f255029ce
2016-07-27 10:57:08 -07:00
Christopher Ferris
e1ddc12b5d Merge "Remove the common bionic libc kernel directory." 2016-07-27 17:56:55 +00:00
Colin Cross
5dab840e24 Fix static+shared with generated sources
Clear out the generated sources when reusing object files from the
static library for the shared library to avoid linking them twice.

Change-Id: Idc145f817acc93df4c3b266ac7647299399bc8eb
2016-07-27 10:30:21 -07:00
Colin Cross
e7b07137d4 Allow defaults modules to have defaults
Allow chaining defaults modules by making Defaults be a Defaultable.

Change-Id: I4ba86c07f7aad9c396ed33d55fe95d1fb78e487d
2016-07-27 10:15:06 -07:00
Dan Willemsen
8796e04c80 Add Binder32bit product variable am: 1be3538862 am: 9c2ecad476
am: dff894007f

Change-Id: I82c0fd35b5675ed53fbebfeedbdd38e20d984e6f
2016-07-27 00:51:44 +00:00
Dan Willemsen
dff894007f Add Binder32bit product variable am: 1be3538862
am: 9c2ecad476

Change-Id: I9c2af352bdab083a795f055078503f7cbaaa434e
2016-07-27 00:48:13 +00:00
Dan Willemsen
9c2ecad476 Add Binder32bit product variable
am: 1be3538862

Change-Id: I4f3abba3f79ae7fbde4dc29bfc2a84a47f37fed3
2016-07-27 00:45:18 +00:00
Dan Willemsen
1be3538862 Add Binder32bit product variable
To allow cflag changes when using the "old" binder API that are still
used by all 32-bit only configurations. We can't just use
android32/android64 here, since some devices use a 64-bit kernel with a
32-bit userspace, which is configured as "android32".

Change-Id: I8450484b75d59c1855c7ba36260c08925e7b28ad
2016-07-26 23:03:47 +00:00
Dan Willemsen
70e17fa6a5 Dump Soong module type statistics to Make
Make will combine this information with statistics gathered from the
Make build, then dump it out to a build artifact.

Change-Id: I2bd84d4f8a8d145c37e3a4c4fcc8fece99e2a1de
2016-07-25 16:00:20 -07:00
Dan Willemsen
4165ce66af Limit unique_host_soname to just host modules am: 627d83db71 am: 808b3eb021
am: a146a72924

Change-Id: If2017f926686668929890244775a456195d95282
2016-07-22 21:44:43 +00:00
Dan Willemsen
a146a72924 Limit unique_host_soname to just host modules am: 627d83db71
am: 808b3eb021

Change-Id: Ice5718867884f95f76fa17162c26b3c04d33d4e3
2016-07-22 21:42:13 +00:00
Dan Willemsen
808b3eb021 Limit unique_host_soname to just host modules
am: 627d83db71

Change-Id: Icb02c8a0965dea7e34d64fe08c84418029c7304d
2016-07-22 21:39:44 +00:00
Dan Willemsen
627d83db71 Limit unique_host_soname to just host modules
Change-Id: I41d050806a27473abb3788de43b7bf67f5d049a8
2016-07-22 13:41:24 -07:00
Dan Willemsen
ac4fbe7ec3 Merge \\\"Support unique_host_soname to add -host for shared libs\\\" am: bdf3657991 am: 5fceeba074
am: 96205575fb

Change-Id: Id9a371c126a6a008b0012c562fe0752a7767de52
2016-07-22 19:33:47 +00:00
Dan Willemsen
96205575fb Merge \\"Support unique_host_soname to add -host for shared libs\\" am: bdf3657991
am: 5fceeba074

Change-Id: I8d383dd3e657609911556db76cd20a1642ce136f
2016-07-22 19:31:19 +00:00
Dan Willemsen
5fceeba074 Merge \"Support unique_host_soname to add -host for shared libs\"
am: bdf3657991

Change-Id: Id3afe131255c58bb00984ce54fde3f9833dae1fb
2016-07-22 19:28:55 +00:00
Dan Willemsen
bdf3657991 Merge "Support unique_host_soname to add -host for shared libs" 2016-07-22 19:20:35 +00:00
Christopher Ferris
68fed44d38 Remove the common bionic libc kernel directory.
The kernel include directory bionic/libc/kernel/common has been deleted,
so remove it from the include path.

Bug: 30072483
Change-Id: I71297f7ac1a9a28267b2aab270644abab2a085ae
2016-07-22 11:01:41 -07:00
Colin Cross
f499d032f5 Clang supports armv5te now am: c3e11e5f45 am: a41e941ad2
am: 4b28b3a350

Change-Id: I0a3265b7570a7b77204ee81fd15499e1e42ee0bb
2016-07-22 00:44:28 +00:00
Colin Cross
4b28b3a350 Clang supports armv5te now am: c3e11e5f45
am: a41e941ad2

Change-Id: Icc7baf9114841b88e47cce0a46875b6dcc4ab211
2016-07-22 00:41:55 +00:00
Colin Cross
a41e941ad2 Clang supports armv5te now
am: c3e11e5f45

Change-Id: Icd5ed24aacb3a463e7e0dcf0bbf2258fec405f11
2016-07-22 00:39:28 +00:00
Dan Willemsen
648c8aed4c Support unique_host_soname to add -host for shared libs
In order to distinguish our host libraries from system installed
libraries, support a flag to automatically append -host to host shared
libraries names. Previously, we were implementing this with different modules,
but with Soong, we'd really like to share the module definitions.

This properly exports the module to make, so that
LOCAL_SHARED_LIBRARIES := libcrypto still works, but the final installed
name is libcrypto-host.so.

Change-Id: I63389469fe1b38078b8bbf4c0fd92e54ef90ae1a
2016-07-21 16:42:14 -07:00
Colin Cross
e2d234caa7 Merge \\\"Refactor bionic includes into a single place\\\" am: 72bd7dba4a am: d8cd8fbc8b
am: e9ca76d90c

Change-Id: I9580c62928184c456df75032ee7f0ed7441e7914
2016-07-21 19:44:39 +00:00
Colin Cross
e9ca76d90c Merge \\"Refactor bionic includes into a single place\\" am: 72bd7dba4a
am: d8cd8fbc8b

Change-Id: I6a3a02ded862cb8317aaee230cd7dad3e3486c5a
2016-07-21 19:40:36 +00:00
Colin Cross
d8cd8fbc8b Merge \"Refactor bionic includes into a single place\"
am: 72bd7dba4a

Change-Id: I4f6c9594dd6628a92c0762d955783d39a7c7a642
2016-07-21 19:36:40 +00:00
Colin Cross
c3e11e5f45 Clang supports armv5te now
Remove the -march=armv5te -> -march=armv5t translation for clang.

Change-Id: Icc9b7c5e9c6194d31387ca63b9f7179a2843d527
2016-07-21 12:35:28 -07:00
Treehugger Robot
72bd7dba4a Merge "Refactor bionic includes into a single place" 2016-07-21 19:27:40 +00:00
Dan Albert
e74a2e0972 Merge \\\"Use the full path to the shared lib.\\\" am: c2062f9c44 am: af7a4c8bd2
am: a3736ecb50

Change-Id: I189bb4e4d617d0f617276a81926ff381a7adad9c
2016-07-21 19:00:06 +00:00
Dan Albert
a3736ecb50 Merge \\"Use the full path to the shared lib.\\" am: c2062f9c44
am: af7a4c8bd2

Change-Id: Id6e9a1836b424c45efa4608845a83451ac9a47b2
2016-07-21 18:57:06 +00:00
Dan Albert
af7a4c8bd2 Merge \"Use the full path to the shared lib.\"
am: c2062f9c44

Change-Id: I45426d5e6aee4f5bc0f5d1fa64704bf5d4526e6e
2016-07-21 18:54:06 +00:00
Treehugger Robot
c2062f9c44 Merge "Use the full path to the shared lib." 2016-07-21 18:45:19 +00:00
Colin Cross
f59b69ccaa Refactor bionic includes into a single place
Bionic includes are the same on all architectures, modulo
architecture-specific includes.  Use a single function to populate the
list, passing in bionic's and the kernel's names for the architecture.

Also get rid of the ${LibcRoot} variable, it is not providing any value
and makes grepping harder.

Change-Id: I39e7907d312f52dd1378a3937ab1bcba12c4e97f
2016-07-21 11:17:01 -07:00
Colin Cross
3d2d8c28b7 Merge \\\"Rename exported make variables for system headers\\\" am: 1a0c76fd1e am: 32be11e214
am: 92f2281349

Change-Id: I431c9e6fdc15d1546e054aa24e4612382b999522
2016-07-21 18:03:07 +00:00
Colin Cross
92f2281349 Merge \\"Rename exported make variables for system headers\\" am: 1a0c76fd1e
am: 32be11e214

Change-Id: I1e76875c702f4b9ca790dd00e65814ebbfb442ed
2016-07-21 18:00:11 +00:00
Colin Cross
32be11e214 Merge \"Rename exported make variables for system headers\"
am: 1a0c76fd1e

Change-Id: I356c73170b68f2d0119ba9f7524f2c2335a5d6f4
2016-07-21 17:58:11 +00:00
Colin Cross
1a0c76fd1e Merge "Rename exported make variables for system headers" 2016-07-21 17:51:13 +00:00