Reattach some comments to what they apply to.
Also remove comments about runtime_options.h that have been copied out
of their context (they're only relevant in runtime/Android.bp).
Test: n/a - comment change
Change-Id: I03753f273c148937ce04d4e0b44f3ec4b2303d27
diff --git a/libprofile/Android.bp b/libprofile/Android.bp
index 1c484ac..c30a2b2 100644
--- a/libprofile/Android.bp
+++ b/libprofile/Android.bp
@@ -39,7 +39,7 @@
// ZipArchive support, the order matters here to get all symbols.
"libziparchive",
],
- export_shared_lib_headers: ["libbase"],
+ export_shared_lib_headers: ["libbase"], // ART's macros.h depends on libbase's macros.h.
},
not_windows: {
shared_libs: [
@@ -48,7 +48,7 @@
"libz",
"libbase",
],
- export_shared_lib_headers: ["libbase"],
+ export_shared_lib_headers: ["libbase"], // ART's macros.h depends on libbase's macros.h.
},
windows: {
cflags: ["-Wno-thread-safety"],
@@ -58,7 +58,7 @@
"libz",
"libbase",
],
- export_static_lib_headers: ["libbase"],
+ export_static_lib_headers: ["libbase"], // ART's macros.h depends on libbase's macros.h.
},
darwin: {
enabled: true,
@@ -67,9 +67,6 @@
//generated_sources: ["art_libartbase_operator_srcs"],
cflags: ["-DBUILDING_LIBART=1"],
export_include_dirs: ["."],
- // ART's macros.h depends on libbase's macros.h.
- // Note: runtime_options.h depends on cmdline. But we don't really want to export this
- // generically. dex2oat takes care of it itself.
}
cc_defaults {