summaryrefslogtreecommitdiff
path: root/profcollectd
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2020-08-19 16:30:16 -0700
committerChih-Hung Hsieh <chh@google.com>2020-08-19 16:30:16 -0700
commitf84c1a94e3396b228caf7c88d3723742b25a15af (patch)
tree468bf7eab7129a2a06f7b4ccc3777197956bda5a /profcollectd
parent3e6ed7b638b50791996c94dadaefdff5757a0f48 (diff)
downloadextras-f84c1a94e3396b228caf7c88d3723742b25a15af.tar.gz
Move include/libprofcollectd.rs
* It shouldn't be C++ export_include_dirs. * Rust library source file is usually lib.rs in its own or src directory. Bug: 163175424 Test: make Change-Id: Ia4a7e7f43ce03b2d9d5fd18a0d3f3f36e633abe5
Diffstat (limited to 'profcollectd')
-rw-r--r--profcollectd/libprofcollectd/Android.bp2
-rw-r--r--profcollectd/libprofcollectd/lib.rs (renamed from profcollectd/libprofcollectd/include/libprofcollectd.rs)0
2 files changed, 1 insertions, 1 deletions
diff --git a/profcollectd/libprofcollectd/Android.bp b/profcollectd/libprofcollectd/Android.bp
index ead6ea6c..fa02cf5f 100644
--- a/profcollectd/libprofcollectd/Android.bp
+++ b/profcollectd/libprofcollectd/Android.bp
@@ -25,7 +25,7 @@ rust_library {
name: "libprofcollectd_rust",
stem: "liblibprofcollectd",
crate_name: "libprofcollectd",
- srcs: ["include/libprofcollectd.rs"],
+ srcs: ["lib.rs"],
rustlibs: ["libprofcollectd_bindgen"],
shared_libs: ["libprofcollectd"],
}
diff --git a/profcollectd/libprofcollectd/include/libprofcollectd.rs b/profcollectd/libprofcollectd/lib.rs
index 90bca990..90bca990 100644
--- a/profcollectd/libprofcollectd/include/libprofcollectd.rs
+++ b/profcollectd/libprofcollectd/lib.rs