Commit Graph

13040 Commits

Author SHA1 Message Date
Yi Kong 2e03bb7296 Merge "Move -Wno-inconsistent-missing-override to ClangExtraCflags" 2019-03-28 22:37:47 +00:00
Patrice Arruda 83c89e0f4e Soong: Add synopsis to cc_library_* modules
Added synopsis to the following modules under cc package:
   * cc_library_static
   * cc_library_shared
   * cc_library
   * cc_library_host_static
   * cc_library_host_shared
   * cc_library_headers

Bug: b/128337482
Test: Generated the documentation and verified that the synopsis was
added to each of the module.

Change-Id: I4d9bb622dc75aad9ea1b9f331c80ed56ddbc9a15
2019-03-28 10:36:26 -07:00
Inseob Kim 64d8e8bbce Merge "Remove libbase dependency of sysprop_library" am: 9e50e6955f am: 93079643a1
am: 918b8ed0b2

Change-Id: If5d70d42b9fe1c320e22950ff98892b6a233b653
2019-03-27 20:19:38 -07:00
Inseob Kim 918b8ed0b2 Merge "Remove libbase dependency of sysprop_library" am: 9e50e6955f
am: 93079643a1

Change-Id: I07b2ba9f2e7f1ba12ffefe3637fa5d59b06e7ef6
2019-03-27 20:15:34 -07:00
Inseob Kim 93079643a1 Merge "Remove libbase dependency of sysprop_library"
am: 9e50e6955f

Change-Id: I32144aef537c89ff0a623cb4e3ceaf8acff12b4d
2019-03-27 20:11:29 -07:00
Treehugger Robot 9e50e6955f Merge "Remove libbase dependency of sysprop_library" 2019-03-28 03:01:27 +00:00
Yi Kong 4d048d5972 Move -Wno-inconsistent-missing-override to ClangExtraCflags
So that projects can override the flag through cflag (CPPFlags are
appended after CFlags).

Test: m checkbuild
Change-Id: Ib72f4ed4731f41982a0eb8a90c782c09810aa8c9
2019-03-27 18:26:22 -07:00
Jaewoong Jung a4edf844da Merge "Fix an override_module bug." am: 044ead6b1a am: 5ce95f2eaf
am: ac24969630

Change-Id: I352a380486600c0b48a61daa0457eff09ceb8f66
2019-03-27 16:13:22 -07:00
Jaewoong Jung ac24969630 Merge "Fix an override_module bug." am: 044ead6b1a
am: 5ce95f2eaf

Change-Id: Ica18abbc0619eafe5a9fe7198b47c630121ca9e0
2019-03-27 16:09:21 -07:00
Yi Kong 1093f63255 Merge "Turn on new pass manager for PGO projects" am: edd7fdd891 am: 2692cfac0d
am: b979eb5bb2

Change-Id: Iff3236a595f2542b7e4c341304ff632befa78d44
2019-03-27 16:05:47 -07:00
Patrice Arruda 2903c0d370 Merge "Soong: Add synopsis to cc_object module." am: 5c45f684dd am: 3f056b869d
am: aeca13f9ab

Change-Id: Iddcf698d10683e41dc9336f91d6e5bc3d531d743
2019-03-27 16:05:18 -07:00
Jaewoong Jung 5ce95f2eaf Merge "Fix an override_module bug."
am: 044ead6b1a

Change-Id: Idbd90b5505466639b847ca1937446c8414b5e46c
2019-03-27 16:03:19 -07:00
Yi Kong b979eb5bb2 Merge "Turn on new pass manager for PGO projects" am: edd7fdd891
am: 2692cfac0d

Change-Id: I2df4dd1c805392e37e2b18eb10a2956d8a39c061
2019-03-27 16:01:38 -07:00
Patrice Arruda aeca13f9ab Merge "Soong: Add synopsis to cc_object module." am: 5c45f684dd
am: 3f056b869d

Change-Id: Ibdd4f7dc72658b05d9f8e4a0012390931f4dab32
2019-03-27 16:01:15 -07:00
Treehugger Robot 044ead6b1a Merge "Fix an override_module bug." 2019-03-27 22:56:09 +00:00
Yi Kong 2692cfac0d Merge "Turn on new pass manager for PGO projects"
am: edd7fdd891

Change-Id: Ic7eec8832d1397f741a579121ad8ad73bbf75189
2019-03-27 15:55:47 -07:00
Patrice Arruda 3f056b869d Merge "Soong: Add synopsis to cc_object module."
am: 5c45f684dd

Change-Id: Ic48e0d6800d3e0a00f45d72a6c5994fa3414281c
2019-03-27 15:55:17 -07:00
Yi Kong edd7fdd891 Merge "Turn on new pass manager for PGO projects" 2019-03-27 22:44:31 +00:00
Patrice Arruda 5c45f684dd Merge "Soong: Add synopsis to cc_object module." 2019-03-27 22:38:28 +00:00
Jaewoong Jung a641ee9cc7 Fix an override_module bug.
proptools.PrependProperties doesn't replace a pointer when both the src
and the dst have one. This prevented override_module from overriding
simple value pointer properties when the base module has existing
values. It turns out this was why the name property needed to be
overwritten manually.

Bug: 122957760
Test: app_test.go
Change-Id: I3302287c31a560422548c22fade95261ddbe606a
2019-03-27 11:21:24 -07:00
Yi Kong e966338b71 Merge "Switch to clang-r353983b" am: ac7f27eab0 am: 09836cfa49
am: 12ec28e712

Change-Id: I0a9f518627d0758dfdb87fdc93a04bbe00bcfea0
2019-03-27 09:10:20 -07:00
Colin Cross fdd34fae76 Merge "Always package JNI libs into android_test modules" am: eae12cf400 am: f394fb0a27
am: b1af785608

Change-Id: I73d8243ae1bd428098f4f60b4a22c9b50785c481
2019-03-27 09:07:26 -07:00
Patrice Arruda 010bc3f077 Merge "Soong: Add synopsis to soong_namespace module." am: 39302bbcb9 am: acca92e981
am: e54b65abc2

Change-Id: I3b2de8d90dff9a398588cf0e2677e57ba05dfb12
2019-03-27 09:06:33 -07:00
Yi Kong 12ec28e712 Merge "Switch to clang-r353983b" am: ac7f27eab0
am: 09836cfa49

Change-Id: I13a3b37aac18d88dca5d04b42989162d28f4d30b
2019-03-27 08:59:26 -07:00
Colin Cross b1af785608 Merge "Always package JNI libs into android_test modules" am: eae12cf400
am: f394fb0a27

Change-Id: Ie0543153863ead6ca7aaa41681c4c634b052d9cc
2019-03-27 08:57:14 -07:00
Patrice Arruda e54b65abc2 Merge "Soong: Add synopsis to soong_namespace module." am: 39302bbcb9
am: acca92e981

Change-Id: I8cd557e3d38bb88c44fcbdd22a696598f40133c5
2019-03-27 08:56:23 -07:00
Yi Kong 09836cfa49 Merge "Switch to clang-r353983b"
am: ac7f27eab0

Change-Id: I1925ea786ce8d122cb3bffebae9824f5f4e7efaf
2019-03-27 08:55:16 -07:00
Colin Cross f394fb0a27 Merge "Always package JNI libs into android_test modules"
am: eae12cf400

Change-Id: Id849cc0b9971a19d761b0be57312d9c170017544
2019-03-27 08:52:48 -07:00
Yi Kong ac7f27eab0 Merge "Switch to clang-r353983b" 2019-03-27 15:52:05 +00:00
Patrice Arruda acca92e981 Merge "Soong: Add synopsis to soong_namespace module."
am: 39302bbcb9

Change-Id: Ie01144aac23f2c62f5a6f5b275395ba5cd282fc5
2019-03-27 08:51:59 -07:00
Colin Cross eae12cf400 Merge "Always package JNI libs into android_test modules" 2019-03-27 15:39:17 +00:00
Patrice Arruda 39302bbcb9 Merge "Soong: Add synopsis to soong_namespace module." 2019-03-27 15:37:17 +00:00
Colin Cross 47fa9d3d83 Always package JNI libs into android_test modules
android_test modules should always have native libraries packaged
into the APK even when use_embedded_native_libs: false is set.

Fixes: 129298278
Test: TestJNIPackaging
Change-Id: Idfcc630f7c6579c1280a920b5d71808b0a502e06
2019-03-27 15:09:52 +00:00
Jaewoong Jung a97234fc3a Merge "Add package_name property to android_app." am: c7dd408f89 am: 2afb72b7a0
am: fa1f34f99f

Change-Id: I59d3f61a8624a2ad4f356d95c67c4d97cbd4c0a4
2019-03-27 07:31:03 -07:00
Jaewoong Jung fa1f34f99f Merge "Add package_name property to android_app." am: c7dd408f89
am: 2afb72b7a0

Change-Id: I09f9cea015e94f386b702f91d8d4842135d63fcc
2019-03-27 07:27:00 -07:00
Jaewoong Jung 2afb72b7a0 Merge "Add package_name property to android_app."
am: c7dd408f89

Change-Id: I3e4db22b493c333a25e0d7b776958899e905fc22
2019-03-27 07:22:56 -07:00
Jaewoong Jung c7dd408f89 Merge "Add package_name property to android_app." 2019-03-27 14:13:15 +00:00
Nikita Ioffe 8fdf81578e Merge "Add support for clang-tidy -warnings-as-errors in Android.bp files" am: ca57e57837 am: cc92d0203f
am: cf2c651116

Change-Id: Ia68ea717db13cf10d6a5c4e0da7dea23235761fc
2019-03-27 03:34:13 -07:00
Nikita Ioffe cf2c651116 Merge "Add support for clang-tidy -warnings-as-errors in Android.bp files" am: ca57e57837
am: cc92d0203f

Change-Id: I4bd3a9aa5f231d00f850f7b71f028f454cf63629
2019-03-27 03:30:06 -07:00
Nikita Ioffe cc92d0203f Merge "Add support for clang-tidy -warnings-as-errors in Android.bp files"
am: ca57e57837

Change-Id: I8545d90aeb6eeea40a455b413796f428be9724c9
2019-03-27 03:26:03 -07:00
Nikita Ioffe ca57e57837 Merge "Add support for clang-tidy -warnings-as-errors in Android.bp files" 2019-03-27 10:18:15 +00:00
Inseob Kim 1f959769f3 Remove libbase dependency of sysprop_library
libbase dependency is not really needed, but it has been causing build
failure while linking with static variant of sysprop_library. This cuts
the dependency and only depend on libbase_headers and liblog.

Bug: 129301987
Test: 1) flash and boot walleye
Test: 2) try to build various properties with sysprop_library.
Test: 3) sysprop_test
Change-Id: I027e01c754b782818f52103184301267d4cdd576
2019-03-27 17:27:05 +09:00
Yi Kong 5d7aeeac24 Switch to clang-r353983b
Test: TreeHugger
Bug: 122993569
Bug: 128427449
Bug: 128937182
Bug: 128973188
Change-Id: I300efbbad47973d265f636645b83dad0c4d6630a
2019-03-27 02:09:40 +00:00
Jaewoong Jung 6f373f60c4 Add package_name property to android_app.
This enables users to override the package name of their apps either
directly in android_app or through override_android_app.

Bug: 122957760
Test: app_test.go
Change-Id: I98080a4076ce970fc85e58fc33495ba9b363eec9
2019-03-26 15:17:17 -07:00
Nikita Ioffe 32c4986268 Add support for clang-tidy -warnings-as-errors in Android.bp files
Test: manually change Android.bp and checked clang-tidy invocation cmd
Change-Id: I51a64b3f7da82428b896f46f739c93d76a050aaf
2019-03-26 20:47:08 +00:00
Patrice Arruda baff0ce5e4 Soong: Add synopsis to cc_object module.
Added synopsis to the cc_object module.

Bug: b/128337482
Test: Generated the documentation and verified that the synopsis was
properly added.

Change-Id: Icba4522a3aafa1b8b8a0b780d111f8b48cbdd270
2019-03-26 13:41:28 -07:00
Patrice Arruda 64765aaef9 Soong: Add synopsis to soong_namespace module.
Synopsis was missing to soong_namespace module. Also added documentation
to imports properties. This required the namespaceProperties struct to be
pulled out of the NamespaceModule struct in order for the documentation
tool to extract the property documentation.

Bug: b/128337482
Test: Ran the doc generation command and verified that the synopsis was
added to soong_namespace and imports properties is listed too.

Change-Id: I519b14629bdbc85f35fbc8fa03e78dc2ad3f655e
2019-03-26 09:09:41 -07:00
Paul Duffin e301bb88f9 Merge "Add java_test_helper_library" am: d637872f44 am: e988582019
am: 036526adad

Change-Id: Ie734f0aec3b503d0cc767772bc7422c435f9fbe6
2019-03-26 07:30:51 -07:00
Paul Duffin 036526adad Merge "Add java_test_helper_library" am: d637872f44
am: e988582019

Change-Id: Icff458b24623422446c049122d19cadc270e5e5f
2019-03-26 07:22:41 -07:00
Paul Duffin e988582019 Merge "Add java_test_helper_library"
am: d637872f44

Change-Id: Iccaba0ee53b4e5a8928d935bb2419d435e6e4507
2019-03-26 07:14:38 -07:00