Commit Graph

1902 Commits

Author SHA1 Message Date
Evgenii Stepanov
628df1c0f0 Force Thumb for CFI targets. am: 7ebf9fa3c9
am: b39d94c15c

Change-Id: I03b4b7a9e1ac9fa5f490f4f2922433e84046d09b
2017-01-24 21:00:38 +00:00
Evgenii Stepanov
b39d94c15c Force Thumb for CFI targets.
am: 7ebf9fa3c9

Change-Id: Iebbb2ed3d0458f0e760131abf675b0164dc480fb
2017-01-24 20:58:38 +00:00
Evgenii Stepanov
7ebf9fa3c9 Force Thumb for CFI targets.
Bug: 22033465
Test: bionic device tests
Change-Id: I672ccc970309631fa895b7134a32c0d403a2151e
2017-01-20 14:13:32 -08:00
Vishwath Mohan
236870ac7a Merge "Hide CFI behind a global flag." am: 97673c06d8
am: df4d484416

Change-Id: I397df9a72bc73a8bbda23b28ad12406653b9fbe3
2017-01-20 01:50:45 +00:00
Vishwath Mohan
df4d484416 Merge "Hide CFI behind a global flag."
am: 97673c06d8

Change-Id: I57348d5e2ffc0e26fdf8a368bf81029fa4e0f2b1
2017-01-20 01:45:45 +00:00
Vishwath Mohan
97673c06d8 Merge "Hide CFI behind a global flag." 2017-01-20 01:32:44 +00:00
Dan Willemsen
3babf9ddce Export cc_test as Make class NATIVE_TESTS am: 0fe7253718
am: 63e228c374

Change-Id: I40092396da20a74feb2697000517ce5b9264a015
2017-01-20 01:14:07 +00:00
Dan Willemsen
63e228c374 Export cc_test as Make class NATIVE_TESTS
am: 0fe7253718

Change-Id: I68cbd83825e285fca8621c7fd2cf615fec8067b8
2017-01-20 01:09:36 +00:00
Vishwath Mohan
1b017a76e1 Hide CFI behind a global flag.
This CL ensures that locally enabling CFI in a .bp file is not honored
unless it is enabled globally using ENABLE_CFI=true first, effectively
hiding it behind a flag.

Bug: 30227045
Bug: 22033465
Test: m -j40 works and device boots
Test: cfi is correctly honored only when the global flag is set.
Change-Id: Iccc6e4bf5e7828ab8ce6056f3e40922712faa0d8
2017-01-19 14:40:34 -08:00
Dan Willemsen
0fe7253718 Export cc_test as Make class NATIVE_TESTS
So that make can tell the difference.

Bug: 32177952
Test: Diff build-aosp_arm64.ninja before/after
Change-Id: Icd98ea5f5b4127bf84197c6b651a72708eec57f1
2017-01-17 13:25:49 -08:00
Colin Cross
010ae45892 Document examples of conditionals in go am: 1a01e83725
am: ed5b3aedfc

Change-Id: I8acbc4688b2b82b6112ebe568c3c4729b93b38b5
2017-01-14 04:50:00 +00:00
Colin Cross
4a51c94369 Allow genrules to reference generated sources am: 708c424c57
am: c2a3aec13c

Change-Id: I262a9344e2fecf98c7bac439a67e0af4730cf771
2017-01-14 04:49:59 +00:00
Colin Cross
ed5b3aedfc Document examples of conditionals in go
am: 1a01e83725

Change-Id: I14b040143e12ea270533cde12ce6abcc04015ccd
2017-01-14 04:47:59 +00:00
Colin Cross
c2a3aec13c Allow genrules to reference generated sources
am: 708c424c57

Change-Id: Ica9fc21b6cab58c07d97211eba4e623027d09b44
2017-01-14 04:47:58 +00:00
Colin Cross
1a01e83725 Document examples of conditionals in go
Test: None
Change-Id: Ie2ad921974dc4ff82a3c6308736830cacfebf806
2017-01-13 18:07:01 -08:00
Colin Cross
708c424c57 Allow genrules to reference generated sources
Call ExtractSourceDeps on genrule srcs properties.

Bug: 34283327
Test: no change to build.ninja
Change-Id: I934a418f32d4c94400728579543ca5c910bf7dfc
2017-01-13 18:06:58 -08:00
Jack He
5548518221 Add Android.bp variables to the soong build parser am: 8cc714313c
am: 9224bd9587

Change-Id: I4cfcbffed9aa5799e461a4288af2ecdeafde1528
2017-01-12 08:46:16 +00:00
Jack He
9224bd9587 Add Android.bp variables to the soong build parser
am: 8cc714313c

Change-Id: I7e73bac2ddf5812b3d9ac5426da21bbbc58e5700
2017-01-12 08:40:15 +00:00
Jack He
8cc714313c Add Android.bp variables to the soong build parser
* BtConfigIncludeDir: BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR
* BtHcilpIncluded: BOARD_BLUETOOTH_BDROID_HCILP_INCLUDED
* BtHciUseMct: BLUETOOTH_HCI_USE_MCT

Bug: 32958753
Test: Code compilation, no user visible effects

Change-Id: I0dc53172ee823e4e0fa69749e1297713796538cf
2017-01-11 16:07:44 -08:00
Tri Vo
8f35d72432 Add test/vts-testcase/* to root.bp am: 9b165dd015
am: 17c812950d

Change-Id: I7a9639a6fee6a1df6d735adfaba564d8b361916f
2017-01-07 21:30:11 +00:00
Tri Vo
17c812950d Add test/vts-testcase/* to root.bp
am: 9b165dd015

Change-Id: I0fc84086e42b955d6a72de0cad934814ed592f6f
2017-01-07 21:26:12 +00:00
Tri Vo
9b165dd015 Add test/vts-testcase/* to root.bp
Test: make vts
Change-Id: I863d30344c67e11429009be5ea99bc4e592bcb15
2017-01-07 00:19:00 +00:00
Dan Albert
83887d8fc6 Merge "Allow unversioned_until: "current"." am: 59bed87517
am: ca5750752a

Change-Id: I55e13cf32e8850dae6dcad04303e7845dc295de0
2017-01-06 05:23:40 +00:00
Dan Albert
ca5750752a Merge "Allow unversioned_until: "current"."
am: 59bed87517

Change-Id: I554ad33a3d8b1ab7f158cd6ec1ddbec4b0c23fce
2017-01-06 05:19:40 +00:00
Treehugger Robot
59bed87517 Merge "Allow unversioned_until: "current"." 2017-01-06 05:14:38 +00:00
Dan Albert
022e7a3839 Allow unversioned_until: "current".
Since most system libraries aren't actually versioned yet, we
shouldn't be building the stub libraries with version info just yet.
Setting `unversioned_until: "current"` will not use the version
script for anything but android-current (this way when the version
script is applied, we'll immediately catch it if they don't match).

Test: Updated frameworks/wilhelp to use this, make ndk
Bug: https://github.com/android-ndk/ndk/issues/278
Change-Id: I0dab7fd21bb0f063c39368d37feaa3f822e908ce
2017-01-05 15:49:09 -08:00
Logan Chien
76e28b69b1 Merge "Add development/*/Android.bp." am: 8465094252
am: 02f398f396

Change-Id: I74b4f431b84ab93ef7105aa71e0d62edd9da4c62
2017-01-05 03:39:22 +00:00
Logan Chien
02f398f396 Merge "Add development/*/Android.bp."
am: 8465094252

Change-Id: I1e392c99c10872935507ddd41789a05175ad3896
2017-01-05 03:36:21 +00:00
Treehugger Robot
8465094252 Merge "Add development/*/Android.bp." 2017-01-05 03:30:45 +00:00
Dan Albert
34ce4c8257 Add unversioned_until to ndk_library. am: 98dbb3bc2d
am: 021713cb9c

Change-Id: Ic721462c08d48b22dc1535ddde82a970359ea13a
2017-01-04 19:08:46 +00:00
Dan Albert
7f4d23d90a Support versioned=%d at the section level. am: ae452ccb7f
am: 236e832237

Change-Id: I70f0fdd9d9bc863238dd846f9f8a1ce62328e117
2017-01-04 19:08:44 +00:00
Dan Albert
021713cb9c Add unversioned_until to ndk_library.
am: 98dbb3bc2d

Change-Id: I51c8032a1e005e7c26c12516c74267f6d4a7007b
2017-01-04 19:06:17 +00:00
Dan Albert
236e832237 Support versioned=%d at the section level.
am: ae452ccb7f

Change-Id: I72011b9e622967c811644b159aa81bed9454d964
2017-01-04 19:06:15 +00:00
Logan Chien
86b87ed270 Add development/*/Android.bp.
This commit replace development/ndk with development/* so that soong
will load Android.bp from development/vndk as well.

Test: lunch aosp_arm64-eng && make native
Change-Id: I849647f68b2ce90fd598b1b314b492c7945dc2df
2017-01-04 18:46:18 +08:00
Dan Albert
98dbb3bc2d Add unversioned_until to ndk_library.
This defaults to the value of first_version, and should almost never
be used. This is only needed to work around platform bugs like
https://github.com/android-ndk/ndk/issues/265.

Test: Set `unversioned_until: "24"` for libGLESv3.ndk, readelf on the
      android-23 and android-24 outputs to check for version info.
Bug: https://github.com/android-ndk/ndk/issues/265

Change-Id: Ie44b170daad692fdc98e7d7c5f10f9077930b8a9
2017-01-03 15:16:29 -08:00
Dan Albert
ae452ccb7f Support versioned=%d at the section level.
Test: nose2
Bug: https://github.com/android-ndk/ndk/issues/265
Change-Id: I4c22cb8069f41861613ecf01f7e1adbe1d3118a9
2017-01-03 14:27:41 -08:00
Dan Willemsen
54bb44dd18 Allow disabling the named test directory for cc_test am: 3340d6091c
am: 05c9309409

Change-Id: I5a70e78596391daf55c66129d2d6d302da7986cc
2016-12-28 00:30:35 +00:00
Dan Willemsen
05c9309409 Allow disabling the named test directory for cc_test
am: 3340d6091c

Change-Id: I28da1f2dcd16d819b2d305e956ebb6a1e7b38603
2016-12-28 00:23:04 +00:00
Dan Willemsen
3340d6091c Allow disabling the named test directory for cc_test
Some external test suites (LTP in this case), have their own expected
layout, and don't fit well with our
/data/nativetest/<testname>/<testname> layout, nor do they work with
test_per_src.

So allow setting no_named_install_directory along with
relative_module_path to specify a custom test path:

  no_named_install_directory: true,
  relative_module_path: "ltp/testcases/bin",

Test: Convert LTP
Change-Id: Ib002c058674e8b960a4fdc3af1a25c8bcaeb1d63
2016-12-27 14:40:40 -08:00
Steven Moreland
37a589b7d8 Revert "Revert "root.bp: Add vendor/*/*"" am: b527d5dfbe
am: e22658812b

Change-Id: Ifb02ab2f1f8d332e4af888294f43ed12be939b1d
2016-12-21 18:33:03 +00:00
Steven Moreland
e22658812b Revert "Revert "root.bp: Add vendor/*/*""
am: b527d5dfbe

Change-Id: I3c26a2adc4c7fd37b96839b36872d3549360351c
2016-12-21 18:27:03 +00:00
Dan Willemsen
88f182ade2 Merge "root.bp: Use system/*" am: cf767e7c9d
am: 3e1f651bce

Change-Id: I6987e814ce3a8df8a8a241899bccb65571a50ff8
2016-12-20 20:41:28 +00:00
Colin Cross
d3c89af37f Merge "Do not duplicate arch properties when cpu variant == arch variant" am: 5c8b8c6d6e
am: be89a68cbb

Change-Id: Id8491b518364f872088a328381904e5541a5137b
2016-12-20 20:41:08 +00:00
Hiroshi Yamauchi
312537ae69 Merge "Add ArtUseReadBarrier to ProductVariables." am: 6e2557fa88
am: 8b65b744ad

Change-Id: I4666e294585a119b1368230394c75fd8ac54c285
2016-12-20 20:40:13 +00:00
Steven Moreland
b527d5dfbe Revert "Revert "root.bp: Add vendor/*/*""
This reverts commit b3aaaea54b.

Change-Id: I8ff4424f983b259fc1c1938350aa6299f1c3f0c3
2016-12-20 20:38:15 +00:00
Dan Willemsen
3e1f651bce Merge "root.bp: Use system/*"
am: cf767e7c9d

Change-Id: Ic45ae718e713523ba18e01c39b4fc90b83d4a6a7
2016-12-20 20:33:18 +00:00
Treehugger Robot
cf767e7c9d Merge "root.bp: Use system/*" 2016-12-20 20:25:09 +00:00
Colin Cross
be89a68cbb Merge "Do not duplicate arch properties when cpu variant == arch variant"
am: 5c8b8c6d6e

Change-Id: Ibec412526fa2a1ac5176e190dee4531b8916dc06
2016-12-20 20:09:12 +00:00
Treehugger Robot
5c8b8c6d6e Merge "Do not duplicate arch properties when cpu variant == arch variant" 2016-12-20 20:01:38 +00:00
Hiroshi Yamauchi
8b65b744ad Merge "Add ArtUseReadBarrier to ProductVariables."
am: 6e2557fa88

Change-Id: I61b650dd6c80a472862d8e5273fd531c29b5d939
2016-12-20 19:04:21 +00:00