Commit Graph

81513 Commits

Author SHA1 Message Date
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
1ce0368678 Update androidmk translator am: 1f7c527ee9 am: 0e076bb144 am: f4b162dc99
am: ee51def513

* commit 'ee51def513088a2cba00aed5edd70f9d94f9f088':
  Update androidmk translator

Change-Id: I6f753ff94eb9f9e3ace14b986a2d24b73fdf2f00
2016-05-04 23:10:48 +00:00
Colin Cross
983b8286e4 Support sanitizer builds inside make am: 30d5f514dd am: d234c807de am: de721d0410
am: 75ee291841

* commit '75ee2918418177abf4ef852e147421a8bc1262ad':
  Support sanitizer builds inside make

Change-Id: I8e91da5089650e20b7aadf1523cb5f1b88c8d52a
2016-05-04 23:10:48 +00: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
858f7e6243 Fix stripping on Darwin am: b8ecdfe039 am: e7eaf38043 am: 0c7d0b9b15
am: 0d3ebe8ab6

* commit '0d3ebe8ab69806d457c3c8a787db01b8c186fb1a':
  Fix stripping on Darwin

Change-Id: Ib2f67a81cc3bac10f0c8be7124e0239b5a46240f
2016-05-04 02:47:56 +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
aab4fab5bc Remove trailing / from install path am: e14388b9de am: f6d6b873ea am: 3d1c70b073
am: eac3bbd289

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

Change-Id: I045ddebc23b90bb09de39f36b086a560e7957fc2
2016-05-04 00:53:47 +00: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
fb4ec1b7a3 Merge "Support stripping shared libraries and binaries" am: 9212b1b0d6 am: 99109f4efb am: 58dadfe37c
am: 3118a50f35

* commit '3118a50f35e84840c1f00cb4df7312dde0bc606e':
  Support stripping shared libraries and binaries

Change-Id: I0cef1e7cd031f6a36b7558bc9940aa48b9ea8c2e
2016-05-03 21:32:05 +00: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
7263ff79c6 Merge "Move shell and python scripts to scripts/ directory" am: 7be391bff6 am: 327e9395e2 am: 9811de36a6
am: 5ae59b7791

* commit '5ae59b7791607312dcf7bc56e1672dd7c5c1d2e1':
  Move shell and python scripts to scripts/ directory

Change-Id: I02a3831a75f5a693c2da98c93798876363886982
2016-05-03 21:24:41 +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
bdbd38cd28 Merge changes I2a3cd53c,I8b9de913 am: 98943a0a63 am: b7130dbf91 am: 1d98d958b3
am: badd0a299d

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

Change-Id: I6abf65ad776dbd88a8ffdcd3c13ac0c254ba47ce
2016-05-03 21:15:08 +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
354c9aec5f Switch to clang-2812033. am: 369f013 am: 0c5c773 am: bcbda39
am: c279bc3

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

Change-Id: If9a1f21236b7c10b3c8026c3cad45fe97f257f39
2016-04-27 23:19:37 +00: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
7a026229d5 Use exported gtest include directories am: 737cb65 am: 5fb8a48 am: bb344ca
am: 40d2275

* commit '40d227571f5e44ffc7d3efcc6af0f8098c92b862':
  Use exported gtest include directories

Change-Id: I0649891c2008b08c2219b874fcf33282549cf63e
2016-04-26 03:53:08 +00: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