Commit Graph

3527 Commits

Author SHA1 Message Date
Pirama Arumuga Nainar
1ae842790b Merge "Remove redundant -fexperimental-new-pass-manager" am: 50b382a9e3 am: bd6e734a8a am: fcd0182d26
am: 299c3b1897

Change-Id: I62d197127266851058c2a83cef5e46efde9f7b2a
2019-06-14 14:59:03 -07:00
Pirama Arumuga Nainar
fcd0182d26 Merge "Remove redundant -fexperimental-new-pass-manager" am: 50b382a9e3
am: bd6e734a8a

Change-Id: I01fa59cb0df22850d1d55dd7752bae936dd43acd
2019-06-14 14:41:06 -07:00
Pirama Arumuga Nainar
50b382a9e3 Merge "Remove redundant -fexperimental-new-pass-manager" 2019-06-14 21:02:45 +00:00
Dan Shi
37ee3b8f49 Support require_root in auto-gen test configs
require_root is added to allow auto-generated test config to include
RootTargetPreparer so the test runs with root permission.

Bug: 134509111
Test: add "require_root: true" to init_benchmarks and libpower_test
  build the modules, confirm the extra target preparer is added in the
  test configs.

Change-Id: Ia07503e338935d6aa92560e7cf7b18d2a4c51243
2019-06-14 11:10:13 -07:00
Pirama Arumuga Nainar
3a25405acc Remove redundant -fexperimental-new-pass-manager
This is now turned on by default (cc/config/clang.go).

Test: N/A
Change-Id: I61bcf2049448b4200ca303ebcad555cc24a43c18
2019-06-14 09:54:23 -07:00
Dan Willemsen
b8cf77dace Merge changes If25be604,I0a310229,I44155630 am: 42d33779cd am: f32716e448 am: ebb0478869
am: 1a91240865

Change-Id: I0db34f1c08e41397716c677080c1d870e1ded5a5
2019-06-14 02:01:44 -07:00
Dan Willemsen
ebb0478869 Merge changes If25be604,I0a310229,I44155630 am: 42d33779cd
am: f32716e448

Change-Id: I08a9a38e59896cbec930d6087f96eaa9b327d4cc
2019-06-14 01:29:49 -07:00
Treehugger Robot
42d33779cd Merge changes If25be604,I0a310229,I44155630
* changes:
  Add another jar used by kotlinc
  Actually depend on the headers from renderscript
  Fix a few missing dependencies in APEX building
2019-06-13 17:40:01 +00:00
Yi Kong
f67ec8f7fa Merge "Move darwin to llvm-ar" am: 4821597065 am: 5c54831a17 am: 6731da7fe2
am: 304c953490

Change-Id: I8188cb73df2063b07c374c16d55abe89e474f67b
2019-06-12 23:30:37 -07:00
Yi Kong
6731da7fe2 Merge "Move darwin to llvm-ar" am: 4821597065
am: 5c54831a17

Change-Id: Ib8e327b77ec1702de52d3faa1c5920c74630ba16
2019-06-12 23:20:20 -07:00
Dan Willemsen
b085b9b907 Actually depend on the headers from renderscript
Instead of having all the object compilations depend on a stamp file,
instead depend on the headers, which are already available in the build
graph.

This allows my RBE builds to just find the headers, instead of having to
walk the graph to find the other outputs.

Test: treehugger
Test: build a system image with RBE
Change-Id: I0a310229be26d7bd399e074a4350d5be038f8661
2019-06-13 05:21:37 +00:00
Yi Kong
823532df31 Move darwin to llvm-ar
Test: build
Bug: 71618641
Change-Id: Ib45963bc9e295afe39752a270f7b5a1197335c69
2019-06-12 19:16:25 -07:00
Colin Cross
771800ca82 Merge changes Ia17b2bcb,Ic71892c3,Id2b23b9e,I435ee7aa,I85112506, ... am: 72ea641dff am: 98a6f300fa am: 31de2eaf51
am: 96f886c906

Change-Id: I50756a32209fec2706e9115bfa7d28ac05af3185
2019-06-12 15:13:08 -07:00
Dan Willemsen
3313b8fc5f Merge "Convert cc aidl to rule builder" am: 733728b42c am: b29f7672a1 am: 3fea9cbe7f
am: 401858faa8

Change-Id: Ib8311e353842a68a815f79ec4b9bd488c6b29d78
2019-06-12 15:04:39 -07:00
Colin Cross
31de2eaf51 Merge changes Ia17b2bcb,Ic71892c3,Id2b23b9e,I435ee7aa,I85112506, ... am: 72ea641dff
am: 98a6f300fa

Change-Id: I84683c2204afb5792ec11e2c608dca288e9431ec
2019-06-12 13:52:07 -07:00
Dan Willemsen
3fea9cbe7f Merge "Convert cc aidl to rule builder" am: 733728b42c
am: b29f7672a1

Change-Id: I2c1e300e268467d1b91b4aa93ac3754d890bfcd0
2019-06-12 13:50:02 -07:00
Colin Cross
72ea641dff Merge changes Ia17b2bcb,Ic71892c3,Id2b23b9e,I435ee7aa,I85112506, ...
* changes:
  Consolidate *MutatorContext and ModuleContext into BaseModuleContext
  Add test for missing defaults modules with AllowMissingDependencies
  Capture missing dependency error rules
  Share buildDir for android/soong/android tests
  Reimplement AddMissingDependencies
  Add GenerateAndroidBuildActions to DefaultsModuleBase
2019-06-12 20:19:55 +00:00
Dan Willemsen
733728b42c Merge "Convert cc aidl to rule builder" 2019-06-12 20:08:46 +00:00
Jiyong Park
7999fbb7c0 Merge "Let genrule be mutatable by the apex mutator" am: 7b8afc798a am: 8e5d79cc67 am: 4852239e35
am: 880fa2a60c

Change-Id: I6fa772b291746376f9dc0f8ed2c68e541ecaccce
2019-06-12 12:08:58 -07:00
Jiyong Park
4852239e35 Merge "Let genrule be mutatable by the apex mutator" am: 7b8afc798a
am: 8e5d79cc67

Change-Id: I674e8eedc63b632e1c775b9f06deeb4388b893ae
2019-06-12 11:57:55 -07:00
Treehugger Robot
7b8afc798a Merge "Let genrule be mutatable by the apex mutator" 2019-06-12 18:39:28 +00:00
Jiyong Park
fc752ca1ac Let genrule be mutatable by the apex mutator
genrule modules were not mutated by the apex mutator. As a result, a
module that is mutated for an apex have depended on the genrule modules
host_bionic_linker_{asm|flags} that are not mutated for the APEX.

This in turn caused an inconsistency problem because the
host_bionic_linker_* genrules use the dynamic linker that isn't mutated
for APEX as an input, while the outputs of the genrules are used by
modules mutated for APEX. The inconsistency caused b/135008828.

Fixing this issue by correctly let genrule to be mutated by the apex
mutator.

Bug: 135008828
Test: checkout master-art-host
ALLOW_MISSING_DEPENDENCIES=true DIST_DIR=out/dist
./art/tools/dist_linux_bionic.sh -j50 showcommands
com.android.runtime.host
is passing

Change-Id: I92d90400c61d3951f6202d932832d0cb63c95a7d
2019-06-12 13:28:11 +09:00
Oliver Nguyen
62b094aec0 Merge "Package coverage files as a zip." am: 7268fd494d am: 85cefe661b am: f3906b64f6
am: 6cab6e6509

Change-Id: I8ddd558793964c09e99e6030f53b46e64dbe0e85
2019-06-11 19:41:02 -07:00
Oliver Nguyen
f3906b64f6 Merge "Package coverage files as a zip." am: 7268fd494d
am: 85cefe661b

Change-Id: I9937d797b9447e921c56dbf8c3b01c05f0514648
2019-06-11 19:28:00 -07:00
Treehugger Robot
7268fd494d Merge "Package coverage files as a zip." 2019-06-12 02:00:01 +00:00
Oliver Nguyen
c743414d42 Package coverage files as a zip.
Test: make NATIVE_COVERAGE=true COVERAGE_PATHS="*"
Change-Id: I955212a20ea19c854ebc88635252a1d174ea8f7f
2019-06-11 16:04:11 -07:00
Inseob Kim
5cefbd289d sysprop_library: Rename system scope to public
In the first design, public sysprops have been accessible from Java
modules linking against SDK. But SDK modules shouldn't do, because
sysprop_library isn't for the apps. This renames system to public, so
that only public(System till now) and internal scopes remain from now.

Bug: 131637873
Test: m && sysprop_test
Change-Id: I548007d4a6018922f98d3d13915cee1d66070086
2019-06-11 23:31:32 +09:00
Roland Levillain
29ecaa205c Merge "Have symlink_preferred_arch: true honor the stem property." am: d7607c1c99 am: 299abf19c3 am: bcb2d44966
am: 7034d84e33

Change-Id: Idc548c77e6262b115948209a9d2dfcac16e3d63c
2019-06-11 07:11:05 -07:00
Roland Levillain
bcb2d44966 Merge "Have symlink_preferred_arch: true honor the stem property." am: d7607c1c99
am: 299abf19c3

Change-Id: If982b553818062f476298027f0ae19b9e6699a06
2019-06-11 07:01:03 -07:00
Roland Levillain
d7607c1c99 Merge "Have symlink_preferred_arch: true honor the stem property." 2019-06-11 13:45:25 +00:00
Inseob Kim
7880633671 Merge "Separate exported includes out of flags" am: b879fb6b4b am: 6011640688 am: 434e298b5d
am: 4d03a0cb26

Change-Id: Ia18a4f807b765b80fcd9394fd49f137e44bc6324
2019-06-10 22:22:23 -07:00
Inseob Kim
434e298b5d Merge "Separate exported includes out of flags" am: b879fb6b4b
am: 6011640688

Change-Id: I2128da11b37b5a378cfb64039968cd9695a34ec3
2019-06-10 22:12:21 -07:00
Treehugger Robot
b879fb6b4b Merge "Separate exported includes out of flags" 2019-06-11 04:57:47 +00:00
Dan Willemsen
600a8b49d8 Merge "Add dependency to version script when linking stub libraries" am: d1fcc4a93d am: 2cb02169d4 am: f8bd602f3f
am: 40450a4747

Change-Id: I812b49c3f8fc7ac8e329d1ca134a97aa9d56131d
2019-06-10 21:27:13 -07:00
Dan Willemsen
f8bd602f3f Merge "Add dependency to version script when linking stub libraries" am: d1fcc4a93d
am: 2cb02169d4

Change-Id: Icb497c8eb70c22bc5ff8c4b402d2277756c5078c
2019-06-10 21:16:11 -07:00
Treehugger Robot
d1fcc4a93d Merge "Add dependency to version script when linking stub libraries" 2019-06-11 03:59:42 +00:00
Josh Gao
1e011396b3 Merge "Revert "Revert "Revert "Revert "Enable lld for windows""""" am: a1738e2c00 am: 1697e781bb am: 8563a453d6
am: c6116e57c5

Change-Id: I25f402559969726fc98c3b8419efc09635bf8496
2019-06-10 19:12:25 -07:00
Josh Gao
8563a453d6 Merge "Revert "Revert "Revert "Revert "Enable lld for windows""""" am: a1738e2c00
am: 1697e781bb

Change-Id: I6ceaffde7b71606ca5a6d086502fcc6e52e24266
2019-06-10 19:00:22 -07:00
Inseob Kim
e127b1b388 Merge "Fix sysprop_library build err when using filegroup" am: 4b0cc8c3c5 am: 6364f4732a am: 7c8b645347
am: 2c8121c004

Change-Id: If8ce3c340910ef0c70e3af465e681205e93b0dc7
2019-06-10 19:00:22 -07:00
Inseob Kim
7c8b645347 Merge "Fix sysprop_library build err when using filegroup" am: 4b0cc8c3c5
am: 6364f4732a

Change-Id: Ibb1c9b593efe79d6de25ee828bfde9510fc8f9cb
2019-06-10 18:49:19 -07:00
Josh Gao
a1738e2c00 Merge "Revert "Revert "Revert "Revert "Enable lld for windows""""" 2019-06-11 01:43:42 +00:00
Inseob Kim
6937844c29 Separate exported includes out of flags
Exported includes have been maintained along with other C/C++ flags.
This makes dependencies unclear, and users have had to parse flags to
get exported directories. This separates exported includes and
exported flags, thus making data more structured and explicit.

Bug: 132818174
Test: m
Change-Id: I5c25ac2224988c4a67e4db6fd6e4d39090b74041
2019-06-11 10:37:56 +09:00
Treehugger Robot
4b0cc8c3c5 Merge "Fix sysprop_library build err when using filegroup" 2019-06-11 01:21:44 +00:00
Dan Willemsen
939408aa22 Add dependency to version script when linking stub libraries
This isn't an effective issue with local builds currently, since the
version script is generated from the same rule as the sources used to
compile the objects that are also used in the link command. But if we
ever separated those paths or adopted restat, we could miss this
dependency.

This is also required for my RBE build to actually expose this file to
the link step.

Test: treehugger
Change-Id: I32bbb18cf7edddc88759d4f445d081868f3e9b44
2019-06-10 18:02:25 -07:00
Colin Cross
59037628f4 Add GenerateAndroidBuildActions to DefaultsModuleBase
Add an empty GenerateAndroidBuildActiosn to DefaultsModuleBase
so that every defaults module doesn't need to provide one.  This
will also allow adding an implementation in the next patch.

Test: m checkbuild
Change-Id: I13554bdb3a287c2f18e1efab74d4f08a1ba8620c
2019-06-10 13:51:17 -07:00
Josh Gao
75a50a2c15 Revert "Revert "Revert "Revert "Enable lld for windows""""
This reverts commit b20200b3f5.

Bug: http://b/110800681
Test: manual
Change-Id: Id3eb45ed29f3977fef3da241ec2c43755116d60c
2019-06-10 12:59:11 -07:00
Colin Cross
797efaec60 Merge changes I9f8df94f,I2d7f5c56,I0ebb7381,Ieefcfc1a am: a6bf56d4be am: 236ac108f5 am: 9d5d72f7a6
am: 64a0f910f9

Change-Id: I781058649e42883c404c5ea20679be3608677198
2019-06-10 10:10:32 -07:00
Colin Cross
9d5d72f7a6 Merge changes I9f8df94f,I2d7f5c56,I0ebb7381,Ieefcfc1a am: a6bf56d4be
am: 236ac108f5

Change-Id: Ia0777130add15aceb17739f5dcb613ca4e1bf172
2019-06-10 10:00:33 -07:00
Colin Cross
a6bf56d4be Merge changes I9f8df94f,I2d7f5c56,I0ebb7381,Ieefcfc1a
* changes:
  Consolidate *MutatorContext and ModuleContext into BaseModuleContext
  Consolidate baseContext, BaseContext, and BaseModuleContext
  Rename ModuleBase receivers
  Remove repetition in android package names
2019-06-10 16:38:11 +00:00
Inseob Kim
da63a49338 Fix sysprop_library build err when using filegroup
.sysprop files are intended to be used only with sysprop_library, and we
can prevent build error by specifying dependencies upon CreateModule.

Bug: 131708148
Test: 1) try building sysprop_library module.
Test: 2) see liblog is correctly linked.
Change-Id: I702cedc255ee0b6a30c15e474dd6a88d9607b145
2019-06-10 14:18:13 +00:00