• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Revisãoc99582dc51b7183e16bde17168ef06c893301b59 (tree)
Hora2019-06-19 08:06:54
AutorSteven Moreland <smoreland@goog...>
CommiterAndroid (Google) Code Review

Mensagem de Log

Merge "libprocessgroup users use libcutils" into qt-dev

Mudança Sumário

Diff

--- a/libcutils/Android.bp
+++ b/libcutils/Android.bp
@@ -169,9 +169,13 @@ cc_library {
169169 // releases, exclude qtaguid.cpp from the VNDK-SP variant.
170170 "qtaguid.cpp",
171171 ],
172- }
172+ },
173173 },
174174
175+ defaults: [
176+ "libprocessgroup_impl_provider",
177+ ],
178+
175179 shared_libs: [
176180 "liblog",
177181 "libbase",
@@ -180,11 +184,9 @@ cc_library {
180184 "libbase_headers",
181185 "libcutils_headers",
182186 "libutils_headers",
183- "libprocessgroup_headers",
184187 ],
185188 export_header_lib_headers: [
186189 "libcutils_headers",
187- "libprocessgroup_headers",
188190 ],
189191 local_include_dirs: ["include"],
190192
--- a/libprocessgroup/Android.bp
+++ b/libprocessgroup/Android.bp
@@ -14,13 +14,8 @@ cc_library_headers {
1414 },
1515 }
1616
17+// TODO: remove all usages
1718 cc_library {
18- srcs: [
19- "cgroup_map.cpp",
20- "processgroup.cpp",
21- "sched_policy.cpp",
22- "task_profiles.cpp",
23- ],
2419 name: "libprocessgroup",
2520 host_supported: true,
2621 recovery_available: true,
@@ -29,13 +24,47 @@ cc_library {
2924 enabled: true,
3025 support_system_process: true,
3126 },
32- shared_libs: [
33- "libbase",
34- "libcgrouprc",
35- ],
36- static_libs: [
37- "libjsoncpp",
27+}
28+
29+cc_defaults {
30+ name: "libprocessgroup_impl_libs",
31+ target: {
32+ linux: {
33+ shared_libs: [
34+ "libbase",
35+ "libcgrouprc",
36+ ],
37+ static_libs: [
38+ "libjsoncpp",
39+ ],
40+ },
41+ },
42+}
43+
44+cc_defaults {
45+ name: "libprocessgroup_impl_provider",
46+ defaults: ["libprocessgroup_impl_libs"],
47+ target: {
48+ linux: {
49+ whole_static_libs: [
50+ "libprocessgroup_impl",
51+ ],
52+ },
53+ },
54+}
55+
56+cc_library {
57+ name: "libprocessgroup_impl",
58+ defaults: ["libprocessgroup_impl_libs"],
59+ srcs: [
60+ "cgroup_map.cpp",
61+ "processgroup.cpp",
62+ "sched_policy.cpp",
63+ "task_profiles.cpp",
3864 ],
65+ host_supported: true,
66+ recovery_available: true,
67+ vendor_available: true,
3968 // for cutils/android_filesystem_config.h
4069 header_libs: [
4170 "libcutils_headers",
--- a/logcat/Android.bp
+++ b/logcat/Android.bp
@@ -24,8 +24,8 @@ cc_defaults {
2424 ],
2525 shared_libs: [
2626 "libbase",
27+ "libcutils",
2728 "libpcrecpp",
28- "libprocessgroup",
2929 ],
3030 static_libs: ["liblog"],
3131 logtags: ["event.logtags"],