Commit Graph

6561 Commits

Author SHA1 Message Date
Jiyong Park
47fecf2b51 Support sdk_version: "core_current" am: 750e557011 am: 313c1cde06
am: 904f53799d

Change-Id: I125f49678bc6979456e3d646c057ef0b4a4cc44a
2018-02-07 01:30:15 +00:00
Jiyong Park
904f53799d Support sdk_version: "core_current" am: 750e557011
am: 313c1cde06

Change-Id: I0fcd39aac347aff88c043e8a1bcac5825636567a
2018-02-06 23:45:31 +00:00
Jiyong Park
313c1cde06 Support sdk_version: "core_current"
am: 750e557011

Change-Id: Ia08877be036ad874dd01fe4a35e5d2e28322a764
2018-02-06 23:10:49 +00:00
Nan Zhang
69b86ee6df Merge "Add property to enable adding tools.jar to bootclasspath." am: 97754359cc am: 0965552a5b
am: 18ce234234

Change-Id: Ibb10696e7aa17b789987eb1d05d5ecd99f226f0a
2018-02-06 23:00:15 +00:00
Nan Zhang
18ce234234 Merge "Add property to enable adding tools.jar to bootclasspath." am: 97754359cc
am: 0965552a5b

Change-Id: I8a93193a79bd4f099621cfd875020f9119d9738f
2018-02-06 22:52:13 +00:00
Nan Zhang
0965552a5b Merge "Add property to enable adding tools.jar to bootclasspath."
am: 97754359cc

Change-Id: I0ed9c3390531504d8cc091ebe3e151250eea4802
2018-02-06 22:40:25 +00:00
Jiyong Park
750e557011 Support sdk_version: "core_current"
core_current is a pseudo SDK version which is a core Java API subset of
the Android API. It is expected to be mainly used for external Java
projects which are agnostic to Android; such as junit, guava, etc.

A module built with this SDK version can only link to java modules of
the same kind. It can't depend on modules built with other sdk  (e.g.
current) or without sdk.

Bug: 72206056
Test: m -j
Change-Id: I778e7b4fcb9456a12b418ffd633ea78e29951e84
2018-02-07 07:35:36 +09:00
Treehugger Robot
97754359cc Merge "Add property to enable adding tools.jar to bootclasspath." 2018-02-06 21:12:16 +00:00
Stephen Hines
ecdf4a5996 Merge "Switch to clang-4579689." am: fa54e751d9 am: 3bcedd91cf
am: b6b386bf91

Change-Id: Ide6a047fae76ba61b5a755ca74a927c1128a1c91
2018-02-06 19:10:36 +00:00
Stephen Hines
b6b386bf91 Merge "Switch to clang-4579689." am: fa54e751d9
am: 3bcedd91cf

Change-Id: I957e4f11b965a97702d54ab3cdf71a11d1f3c25b
2018-02-06 19:03:51 +00:00
Nan Zhang
5f8cb424aa Add property to enable adding tools.jar to bootclasspath.
Converting Doclava to Soong need tools.jar as one of its bootclasspaths.

Test:  m doclava
Bug: b/70351683
Change-Id: I0ac65fcbe1eadfc57239cde2e83b80cf441a9b69
2018-02-06 11:01:51 -08:00
Stephen Hines
3bcedd91cf Merge "Switch to clang-4579689."
am: fa54e751d9

Change-Id: I2c230f9200514c6dbc82feeca91ee77e08cebe16
2018-02-06 18:53:34 +00:00
Stephen Hines
fa54e751d9 Merge "Switch to clang-4579689." 2018-02-06 18:35:41 +00:00
Stephen Hines
438a714559 Merge "Add srhines to the OWNERS for clang.go and global.go." am: 035f779fbe am: b1bbaebac8
am: a6c2361373

Change-Id: Ie48c88bbe80b1bb9a0c50caadc79c0a235c7d35a
2018-02-06 03:00:42 +00:00
Stephen Hines
a6c2361373 Merge "Add srhines to the OWNERS for clang.go and global.go." am: 035f779fbe
am: b1bbaebac8

Change-Id: Id3e3532b4feb5fa58d29c28b12ccaf0f255e548c
2018-02-06 02:49:52 +00:00
Stephen Hines
b1bbaebac8 Merge "Add srhines to the OWNERS for clang.go and global.go."
am: 035f779fbe

Change-Id: I1f97fdc17c409162cccd8160c25879c9c66a73a8
2018-02-06 02:21:57 +00:00
Stephen Hines
035f779fbe Merge "Add srhines to the OWNERS for clang.go and global.go." 2018-02-05 23:57:46 +00:00
Stephen Hines
f5b969cd2b Add srhines to the OWNERS for clang.go and global.go.
These files contain the flags and selection logic for our C/C++
toolchain.

Test: N/A
Change-Id: I860ea34c226ec01ae4127a18d80e1c8be6393a83
2018-02-02 19:06:34 -08:00
Yi Kong
599a6032fc Switch to clang-4579689.
Bug: 68397894
Test: http://go/clang-4523590-testing
Change-Id: Ief806250572fe2cc5f39b4c47ff74863acbbb26d
2018-02-01 10:23:32 -08:00
Yi Kong
ad7ea7e5d3 Add environment variable to globally disable LTO am: 03d383d038 am: 96548ad441
am: 5bb2933ded

Change-Id: Ia6638cf4f23b3ad9af634b589b9cbedb09cdcc46
2018-02-01 14:33:24 +00:00
Yi Kong
5bb2933ded Add environment variable to globally disable LTO am: 03d383d038
am: 96548ad441

Change-Id: I9876e420de160d34df9b920470a3bb894ff0bde8
2018-02-01 11:35:20 +00:00
Yi Kong
96548ad441 Add environment variable to globally disable LTO
am: 03d383d038

Change-Id: I4b14aaf2380ca7f768e84574778f769ce3b54d98
2018-02-01 08:45:03 +00:00
Yi Kong
03d383d038 Add environment variable to globally disable LTO
Allow developers to disable LTO to reduce build time.

Test: m checkbuild
Test: DISABLE_LTO=true m checkbuild
Bug: 62839002
Change-Id: I30642e3cfff60c4874a2f8797d08105b4e07cc6d
2018-01-31 16:26:12 -08:00
Pirama Arumuga Nainar
e990665f2b Merge "Store missing profile files into a Make variable" am: 407c2434c8 am: db22f2a700
am: 4bc833f362

Change-Id: Ic64bee7113eb1c59cc4cd9a417e210e2a078fc23
2018-01-30 06:48:13 +00:00
Pirama Arumuga Nainar
4bc833f362 Merge "Store missing profile files into a Make variable" am: 407c2434c8
am: db22f2a700

Change-Id: Ie1ea7f6958e2c642f2ed1f0ad7cc612b0e9d857a
2018-01-30 06:46:09 +00:00
Pirama Arumuga Nainar
db22f2a700 Merge "Store missing profile files into a Make variable"
am: 407c2434c8

Change-Id: Iacb15d1bdb64e3a10d97fbeace8572308488ed5a
2018-01-30 06:41:09 +00:00
Treehugger Robot
407c2434c8 Merge "Store missing profile files into a Make variable" 2018-01-30 06:34:15 +00:00
Dan Willemsen
8d7322a396 Merge "Move namespace mutator earlier to support defaults" am: 750024367e am: 4a93b0ea47
am: 73b2c92b82

Change-Id: I1910c4cff1d30d31c17a7c030dc55b58820580b7
2018-01-30 00:41:35 +00:00
Dan Willemsen
73b2c92b82 Merge "Move namespace mutator earlier to support defaults" am: 750024367e
am: 4a93b0ea47

Change-Id: I71cf27b087ca16bcb4b24694150630b57c3c359f
2018-01-30 00:34:00 +00:00
Dan Willemsen
4a93b0ea47 Merge "Move namespace mutator earlier to support defaults"
am: 750024367e

Change-Id: I847c756fa7be5d75d09b9b2e70577b09b4ecec42
2018-01-30 00:28:34 +00:00
Dan Willemsen
750024367e Merge "Move namespace mutator earlier to support defaults" 2018-01-30 00:16:13 +00:00
Nan Zhang
6b37d18bda Change syntax for jacoco filter wildcard params. am: ffe2c1c369 am: f522b991a7
am: 6f98d5a1d2  -s ours

Change-Id: If3adf5cb93d856456c4f0eb15df6ac0fad9f6c30
2018-01-29 22:23:25 +00:00
Nan Zhang
6f98d5a1d2 Change syntax for jacoco filter wildcard params. am: ffe2c1c369
am: f522b991a7

Change-Id: I5d5d8ff33b05dd36b8d1b07b2eec965b943a1e9b
2018-01-29 22:19:44 +00:00
Nan Zhang
f522b991a7 Change syntax for jacoco filter wildcard params.
am: ffe2c1c369

Change-Id: If12e81ccfcf765b09439f14e1f848bed95209e6f
2018-01-29 22:16:39 +00:00
Nan Zhang
ffe2c1c369 Change syntax for jacoco filter wildcard params.
originally:
.* -> /**/*.class
now:
.* -> /*.class
.** -> /**/*.class

Also add NinjaAndShellEscape to allow filtering inner classes with $ in
the name.

Test: unittests.
Bug: b/71889972
Merged-In: Ifb8d7daa22bee02346885171edb15180af18f0de
Change-Id: Ifb8d7daa22bee02346885171edb15180af18f0de
(cherry picked from commit c61066684d5c8ddf600af602852c32fce6e6c6f4)
2018-01-29 12:46:26 -08:00
TreeHugger Robot
19b4555593 Merge "Change the syntax for jacoco filter wildcard parameters." 2018-01-29 20:31:37 +00:00
Pirama Arumuga Nainar
28316d4e3b Store missing profile files into a Make variable
Bug: http://b/72642679

Store missing profile files and the modules that refer to them in the
SOONG_MODULES_MISSING_PGO_PROFILE_FILE variable passed to Make.  The
contents of this variable will be written to
$DIST_DIR/pgo_profile_file_missing.txt as part of the 'dist' target.

Test: 'm dist' and verify creation of pgo_profile_file_missing.txt.
Change-Id: I237cd0398be418be2b7db6fa65ece5ef347ecbc1
2018-01-29 10:02:27 -08:00
Dan Willemsen
6e72ef7225 Move namespace mutator earlier to support defaults
The prebuilts and defaults mutators start adding some dependencies, so
for them to be able to reference imported modules, we need to
run the namespace mutator earlier.

Test: m nothing
Test: Try to use a global defaults module from a namespace
Change-Id: I6e853d20e32251d0fd33c8b2dcc26c0695b808fd
2018-01-26 20:21:18 -08:00
Pirama Arumuga Nainar
b2cea038ee Merge "Support instrumenting all PGO-enabled modules" am: ad4692d5af am: 4bae924254
am: 6fc800403a

Change-Id: I091340d175045b6964ea1bbc1e569d29271fe555
2018-01-26 03:07:46 +00:00
Pirama Arumuga Nainar
6fc800403a Merge "Support instrumenting all PGO-enabled modules" am: ad4692d5af
am: 4bae924254

Change-Id: I675d5f528923a6bf8e243ea700469798176acac6
2018-01-26 03:05:19 +00:00
Pirama Arumuga Nainar
4bae924254 Merge "Support instrumenting all PGO-enabled modules"
am: ad4692d5af

Change-Id: I4fad8cae6b95bfcbed8e5598b6c331d60bd7fb0c
2018-01-26 03:02:45 +00:00
Treehugger Robot
ad4692d5af Merge "Support instrumenting all PGO-enabled modules" 2018-01-26 02:52:44 +00:00
Dan Willemsen
c239f39f2b Export system module library list to Make am: 1dde427375 am: 159ac4044b
am: aa01659bd1

Change-Id: I9954fc90acefe639d135a87b0507eb091f761a34
2018-01-26 01:57:34 +00:00
Dan Willemsen
aa01659bd1 Export system module library list to Make am: 1dde427375
am: 159ac4044b

Change-Id: Icf2b1331861084dbcca4eac895c896e49031e8cb
2018-01-26 01:07:31 +00:00
Dan Willemsen
159ac4044b Export system module library list to Make
am: 1dde427375

Change-Id: I51ec4199faa8b088fe9fd4679c690d8855a64dc9
2018-01-26 01:05:00 +00:00
Nan Zhang
05fc4542ac Change the syntax for jacoco filter wildcard parameters.
originally:
.* -> /**/*.class
now:
.* -> /*.class
.** -> /**/*.class

Also add NinjaAndShellEscape to allow filtering inner classes with $ in
the name.

Test: unittests.
Bug: b/71889972
Change-Id: Ifb8d7daa22bee02346885171edb15180af18f0de
2018-01-25 16:01:06 -08:00
Dan Willemsen
1dde427375 Export system module library list to Make
Bug: 38177569
Test: EXPERIMENTAL_USE_OPENJDK9=true m nothing
      check out/soong/Android-aosp_arm.mk
Change-Id: If35e913c7203c12f4305e74919c0df76a8443253
2018-01-25 14:51:50 -08:00
Stephen Hines
828484cc95 Prebuilt sanitizer libraries should always come from linux-x86. am: 755fe07256 am: 11a27f61e3
am: af0d71c83b

Change-Id: I462fc0542755c59b542c921dee3194dc8b048045
2018-01-25 15:00:05 +00:00
Stephen Hines
af0d71c83b Prebuilt sanitizer libraries should always come from linux-x86. am: 755fe07256
am: 11a27f61e3

Change-Id: Ie0a02d25ee83c5d42a052a7df3f2372f45427323
2018-01-25 14:57:34 +00:00
Stephen Hines
11a27f61e3 Prebuilt sanitizer libraries should always come from linux-x86.
am: 755fe07256

Change-Id: If34b470432858ede8af06dc2d1a6fe970fa16346
2018-01-25 14:55:03 +00:00