Commit Graph

1786 Commits

Author SHA1 Message Date
Dan Willemsen
a76bbe2bab Stop using the mips32r6 ABI in MegaDevice
am: 66187d987c

* commit '66187d987c08ec1cfd489102f1097f9f20d15818':
  Stop using the mips32r6 ABI in MegaDevice

Change-Id: Ie4a99a2175fe80f970041f15e4eeb78085347460
2016-05-05 21:28:24 +00:00
Dan Willemsen
66187d987c Stop using the mips32r6 ABI in MegaDevice
It was present in the r10 NDK checked into the platform, but is not
available in the r11 NDK nor the official r10 NDK.

Change-Id: I45a2dcf8acc810174c77a0a19870fb849f674b72
2016-05-05 13:20:45 -07:00
Colin Cross
c6ee3cad77 Update path to ninja am: 3a31f1665c am: 80ca2c90b6
am: 8039c71838

* commit '8039c71838834d69b22db8a3ebfe96649e156772':
  Update path to ninja

Change-Id: I94095430db2c0b64fa17d6e89a3d9ead760b2f33
2016-05-05 19:11:59 +00:00
Colin Cross
8039c71838 Update path to ninja am: 3a31f1665c
am: 80ca2c90b6

* commit '80ca2c90b6bf1c6223d032a8442dd7ee05ab741e':
  Update path to ninja

Change-Id: I5b774389a6642695a6116731bb3ecde972cdcdb1
2016-05-05 19:07:38 +00:00
Colin Cross
80ca2c90b6 Update path to ninja
am: 3a31f1665c

* commit '3a31f1665cc839f8f7d5f0d6df0cd27bba2e3da0':
  Update path to ninja

Change-Id: Ia2a729085f8bc89461a19b2dca745bec6827f4ad
2016-05-05 19:03:20 +00:00
Colin Cross
3a31f1665c Update path to ninja
ninja has been moved from prebuilts/ninja to prebuilts/build-tools so it
can share the hermetic libc++.so there.

Change-Id: I0b6e76baaa6916a8c7fd19c684b792ccef2f9cb1
2016-05-04 16:25:26 -07:00
Colin Cross
ee51def513 Update androidmk translator am: 1f7c527ee9 am: 0e076bb144
am: f4b162dc99

* commit 'f4b162dc99e3fcc9d2e34689d69ef7e90a7794a0':
  Update androidmk translator

Change-Id: I77cdb1770b723fb5cc9ed1473cd46fd8bc6494f4
2016-05-04 23:07:46 +00:00
Colin Cross
75ee291841 Support sanitizer builds inside make am: 30d5f514dd am: d234c807de
am: de721d0410

* commit 'de721d041046268daa5783fd2a29785020a3608b':
  Support sanitizer builds inside make

Change-Id: I6345355be90e1b693f517efaa3bd3a744fa615c9
2016-05-04 23:07:45 +00:00
Colin Cross
f4b162dc99 Update androidmk translator am: 1f7c527ee9
am: 0e076bb144

* commit '0e076bb14497c905e8489c85a53d1cd5890b3221':
  Update androidmk translator

Change-Id: I7b4451a6891a3fad266d7dbb82d9255ed261f2d9
2016-05-04 23:03:44 +00:00
Colin Cross
de721d0410 Support sanitizer builds inside make am: 30d5f514dd
am: d234c807de

* commit 'd234c807de8f6737954b7cb012962335547b6372':
  Support sanitizer builds inside make

Change-Id: I73f442a868b5df26eb6ef4473d9788b3df93291a
2016-05-04 23:03:43 +00:00
Colin Cross
0e076bb144 Update androidmk translator
am: 1f7c527ee9

* commit '1f7c527ee9f6ee79b772b8fd669602b819d0a330':
  Update androidmk translator

Change-Id: Ic64fb033b4f7a217ccf932cf72115fe44622e5f6
2016-05-04 23:01:00 +00:00
Colin Cross
d234c807de Support sanitizer builds inside make
am: 30d5f514dd

* commit '30d5f514dd1b43366440d6aff0b53124de5dd7b5':
  Support sanitizer builds inside make

Change-Id: I839262ee6f1abcbba9a0dc6f3cca75671b79c799
2016-05-04 23:00:58 +00:00
Colin Cross
0d3ebe8ab6 Fix stripping on Darwin am: b8ecdfe039 am: e7eaf38043
am: 0c7d0b9b15

* commit '0c7d0b9b1520b5d2d627a1600dc74003ae90d220':
  Fix stripping on Darwin

Change-Id: I6356ab8ecd075aa665c29f7af6ceaa105d0a56b0
2016-05-04 02:44:54 +00:00
Colin Cross
0c7d0b9b15 Fix stripping on Darwin am: b8ecdfe039
am: e7eaf38043

* commit 'e7eaf38043494bcae73c5feef342644aa5169af3':
  Fix stripping on Darwin

Change-Id: Ie5611babbac5e47804f812cf766241f67457d9e2
2016-05-04 02:42:34 +00:00
Colin Cross
e7eaf38043 Fix stripping on Darwin
am: b8ecdfe039

* commit 'b8ecdfe0398c4d43178b433bea2d6c9d0c4fd509':
  Fix stripping on Darwin

Change-Id: I6b555d65c968ed338abea406540ed992771da983
2016-05-04 02:40:04 +00:00
Colin Cross
1f7c527ee9 Update androidmk translator
support LOCAL_SRC_FILES_EXCLUDE, and fix a typo arm->arch.

Change-Id: I9f789e943d9aca4c5aff2b6b56b1e4a0626ecd86
2016-05-03 18:06:43 -07:00
Colin Cross
30d5f514dd Support sanitizer builds inside make
Make expects libraries built with address sanitizer to be installed into
/data, and can't handle multiple variants of modules.

Change-Id: Ice575ff6f0788a88f296e7b3ee521a2b9771f55f
2016-05-03 18:02:42 -07:00
Colin Cross
eac3bbd289 Remove trailing / from install path am: e14388b9de am: f6d6b873ea
am: 3d1c70b073

* commit '3d1c70b0739f66c1686c7d22703d49ab321ba6e3':
  Remove trailing / from install path

Change-Id: I702a821aad939f4b5113db1e769e120b04c262a1
2016-05-04 00:41:46 +00:00
Colin Cross
3d1c70b073 Remove trailing / from install path am: e14388b9de
am: f6d6b873ea

* commit 'f6d6b873eac3ef0f337ab88987bc455a21d5ea82':
  Remove trailing / from install path

Change-Id: If951ee389e232f0f94d88ea70565cea56f2c0629
2016-05-04 00:38:06 +00:00
Colin Cross
f6d6b873ea Remove trailing / from install path
am: e14388b9de

* commit 'e14388b9de3377955b66dc294481e23dd753ff9e':
  Remove trailing / from install path

Change-Id: I8a2e724b4cbd4336b1eea888978ae33b783eb63e
2016-05-04 00:33:16 +00:00
Colin Cross
b8ecdfe039 Fix stripping on Darwin
The strip tool is different on Darwin, use a separate darwinStrip rule
instead of calling strip.sh for host builds on Darwin.

Change-Id: I6d421cba0dcea04367d5bc638a03f64c81e2ead0
2016-05-03 15:52:51 -07:00
Colin Cross
e14388b9de Remove trailing / from install path
Prevents make installing files with a double /:
Install: out/target/product/generic_arm64/system/lib//libc.so

Change-Id: Iee237f344e8140c4938aa9d1e6940e4fdbfa7cd8
2016-05-03 14:53:18 -07:00
Colin Cross
3118a50f35 Merge "Support stripping shared libraries and binaries" am: 9212b1b0d6 am: 99109f4efb
am: 58dadfe37c

* commit '58dadfe37c37e32ef4dca93b530534b242f4f7df':
  Support stripping shared libraries and binaries

Change-Id: I0ae29ce5568f0219a050f83d9250b7325fe7121c
2016-05-03 21:29:19 +00:00
Colin Cross
58dadfe37c Merge "Support stripping shared libraries and binaries" am: 9212b1b0d6
am: 99109f4efb

* commit '99109f4efb6c0c3a1d627c7e84e5ac9d4495bab6':
  Support stripping shared libraries and binaries

Change-Id: Ia23a3a6aadd11e739fc8801d52b9cc1c111e8bf6
2016-05-03 21:26:53 +00:00
Colin Cross
99109f4efb Merge "Support stripping shared libraries and binaries"
am: 9212b1b0d6

* commit '9212b1b0d682beeb03210a975a3630db20384616':
  Support stripping shared libraries and binaries

Change-Id: I2836f2b00b6dfc76606f0d103e4a6446be952000
2016-05-03 21:24:28 +00:00
Colin Cross
5ae59b7791 Merge "Move shell and python scripts to scripts/ directory" am: 7be391bff6 am: 327e9395e2
am: 9811de36a6

* commit '9811de36a6248850d4878afe246a79e22201f06f':
  Move shell and python scripts to scripts/ directory

Change-Id: Icf04e024192c1fbd79efdc1d2ed04d68a2c7a8ec
2016-05-03 21:22:13 +00:00
Colin Cross
9212b1b0d6 Merge "Support stripping shared libraries and binaries" 2016-05-03 21:20:43 +00:00
Colin Cross
9811de36a6 Merge "Move shell and python scripts to scripts/ directory" am: 7be391bff6
am: 327e9395e2

* commit '327e9395e21f0d0a4d7118a42777e234f3a109f9':
  Move shell and python scripts to scripts/ directory

Change-Id: I812faaaa7e6a6a1c0089354acf67a780d8f7912c
2016-05-03 21:19:55 +00:00
Colin Cross
327e9395e2 Merge "Move shell and python scripts to scripts/ directory"
am: 7be391bff6

* commit '7be391bff64f4b7a1f1d8ba99911cf6a53e63d2f':
  Move shell and python scripts to scripts/ directory

Change-Id: I129ae54b14e07662b8e145942ba7f6707dbf1afe
2016-05-03 21:17:35 +00:00
Colin Cross
7be391bff6 Merge "Move shell and python scripts to scripts/ directory" 2016-05-03 21:13:22 +00:00
Colin Cross
badd0a299d Merge changes I2a3cd53c,I8b9de913 am: 98943a0a63 am: b7130dbf91
am: 1d98d958b3

* commit '1d98d958b329b3cf19c299125097adc7587849e6':
  Prevent replacing missing dependency glob rules with errors
  Support nested glob patterns

Change-Id: Idde4c2600ccfb9308cadf3330c48741a6a12362d
2016-05-03 21:12:46 +00:00
Colin Cross
1d98d958b3 Merge changes I2a3cd53c,I8b9de913 am: 98943a0a63
am: b7130dbf91

* commit 'b7130dbf918b94eefd3ff9f92ebb0d95a8c14872':
  Prevent replacing missing dependency glob rules with errors
  Support nested glob patterns

Change-Id: I9c4cce71cd07fbb5274f052091c78d0c598be2ca
2016-05-03 21:10:27 +00:00
Colin Cross
b7130dbf91 Merge changes I2a3cd53c,I8b9de913
am: 98943a0a63

* commit '98943a0a630f77194e37bbd153d9c0ff194c2f76':
  Prevent replacing missing dependency glob rules with errors
  Support nested glob patterns

Change-Id: I014471de0969ccb2363994120f1b6b6fc837ace1
2016-05-03 21:07:59 +00:00
Colin Cross
665dce9320 Support stripping shared libraries and binaries
Strip all shared libraries and binaries by default.  Use a shell script
to wrap the long sequences of commands needed by some strip variants.

Change-Id: I465bf7cc48330913e60e24762fd55fa2a7731c26
2016-05-03 14:03:38 -07:00
Colin Cross
98943a0a63 Merge changes I2a3cd53c,I8b9de913
* changes:
  Prevent replacing missing dependency glob rules with errors
  Support nested glob patterns
2016-05-03 21:02:44 +00:00
Colin Cross
1474741435 Move shell and python scripts to scripts/ directory
Change-Id: Icdff44a54d14ddfc2266d99cf0578a8105716918
2016-04-29 13:59:56 -07:00
Stephen Hines
c279bc340c Switch to clang-2812033. am: 369f013 am: 0c5c773
am: bcbda39

* commit 'bcbda3935eb1818537e24f6c41b1591986195ff9':
  Switch to clang-2812033.

Change-Id: I91d75af1e8204f98f1d24c415049f5a1379475cb
2016-04-27 22:54:11 +00:00
Stephen Hines
bcbda3935e Switch to clang-2812033. am: 369f013
am: 0c5c773

* commit '0c5c7731e4af3082eea760e569f06fd9c47ef98a':
  Switch to clang-2812033.

Change-Id: I1665e4e6c224dae21510c0c4cad22bcd7950be41
2016-04-27 22:51:28 +00:00
Stephen Hines
0c5c7731e4 Switch to clang-2812033.
am: 369f013

* commit '369f01315a669f32f741659ae9a5f5c4fb7b7fad':
  Switch to clang-2812033.

Change-Id: If1007edbe648d3c7fcb25372bc04859d032c5989
2016-04-27 22:48:45 +00:00
Colin Cross
e2c4874945 Prevent replacing missing dependency glob rules with errors
AndroidModuleContext.Build() replaces all build statements with errors
when the module has missing dependencies, but modules may try to create
glob rules to detect when missing dependencies have been satisified, and
those rules should not be replaced with errors.  Whitelist globRule
build statements.

Change-Id: I2a3cd53c05cea44cec9b5a99090d8778ca954d69
2016-04-27 13:47:35 -07:00
Colin Cross
da727cf991 Support nested glob patterns
Globbing separately for path/to/lib and path/to/lib/test would result in
trying to use intermediates/path/to/lib as both a file list file for the
first glob and as a directory to store the file list file for the second
glob, causing ninja to exit with an mkdir "Not a directory" error.

Add ".glob" to the file list file name to avoid collisions.

Change-Id: I8b9de9133d7ef667088a2f13eb28652508f3a290
2016-04-27 13:45:26 -07:00
Stephen Hines
369f01315a Switch to clang-2812033.
Change-Id: Ie44a0536a50aa6b443be0c015fca1ea9fa02590c
2016-04-26 21:47:42 -07:00
Colin Cross
40d227571f Use exported gtest include directories am: 737cb65 am: 5fb8a48
am: bb344ca

* commit 'bb344ca07fe2000f3e19be0a333b10240431f9cb':
  Use exported gtest include directories

Change-Id: Iaae172ea1d6ef0c1dc405d56d00eaaeeb8f3fa85
2016-04-26 00:36:48 +00:00
Colin Cross
bb344ca07f Use exported gtest include directories am: 737cb65
am: 5fb8a48

* commit '5fb8a48a1a466cc617e949d85234990ea2f0bcc8':
  Use exported gtest include directories

Change-Id: Ie4589ada42f4d260c523e833fafe906f673b24a7
2016-04-26 00:34:18 +00:00
Colin Cross
5fb8a48a1a Use exported gtest include directories
am: 737cb65

* commit '737cb6566f0483dce12324a5bc0d254bfe15a1f4':
  Use exported gtest include directories

Change-Id: I6a3157803af97d49a1172f4202b052c792fef750
2016-04-26 00:31:53 +00:00
Colin Cross
790e0e8b3a Add support for sanitizer property am: 16b2349 am: 3a590a5
am: 8bd68fa

* commit '8bd68fa628d9a69ed8ee11d29de04e21c4151b4d':
  Add support for sanitizer property

Change-Id: I3bb2b59d00a5aa6c4b7b5b0a704a7ceca8e23b3c
2016-04-25 22:51:11 +00:00
Colin Cross
737cb6566f Use exported gtest include directories
Manually inserting gtest include directories causes build failures in
manifests that don't have external/gtest.  external/gtest already
exports its include directories so remove the manual include directory.

Change-Id: I6baac4bd3bea7dba3aa134d18b66f02a6dc9a54a
2016-04-25 15:13:23 -07:00
Colin Cross
8bd68fa628 Add support for sanitizer property am: 16b2349
am: 3a590a5

* commit '3a590a529458122596809e5624f518460495944f':
  Add support for sanitizer property

Change-Id: Ia7f2842861acf94d35c2f5a0799a9185c762821a
2016-04-25 22:02:37 +00:00
Colin Cross
3a590a5294 Add support for sanitizer property
am: 16b2349

* commit '16b234919080732f438598adc3a3ca5fe2456b88':
  Add support for sanitizer property

Change-Id: If872e324b4c7f24eb1471049349e84c16f87f50e
2016-04-25 21:56:36 +00:00
Colin Cross
9ffe33d896 Support "none" for stl when using ndk am: 4a97cb4 am: 4bd2663
am: 9a6f172

* commit '9a6f1723aebd6428e3f2a17d771699ccaf73bf15':
  Support "none" for stl when using ndk

Change-Id: Ica2e910db6c32c394b361050487c12e0c7d46046
2016-04-25 21:38:26 +00:00