That page expects that you're using AOSP master, not 10.0.0_r30, which did
not yet have support for cc_fuzz (it had some support in Make instead, but
I know the fuzzing tooling as been changing over time, so I don't know if
there are other things on that page that may work differently as well.

The [2] module reference you're using is also coming from master, which is
why cc_fuzz is showing up as valid. You can get the equivalent docs locally
that are specific to your checkout by running `m soong_docs` and browsing
to out/soong/docs/soong_build.html (which shouldn't include cc_fuzz).

- Dan

On Thu, Mar 26, 2020 at 4:47 PM jrw <[email protected]> wrote:

> Hello,
>
> (i also postet this in the libfuzzer google group but maybe you guys might
> be able to help)
>
> i'm trying to implement a fuzzer described in [1].
> When i follow the directions and try to compile the fuzzer,
> i get the Error that soong does not know the module reference "cc_fuzz"
> which is listed in [2] as valid module.
> i tried to add the missing file "fuzz.go" [3] file to the folder
> "android/platform/build/soong/cc/"
> and added fuzz.go to the soong's folders "Android.bp" but did also result
> in errors.
> Did i miss a crucial step or is there a reason this file is gone?
> Is it recommended using the old build system or am i copying a deprecated
> file?
>
> i'm using branch "android-10.0.0_r30" (Pixel 2XL)
>
> [1] https://source.android.com/devices/tech/debug/libfuzzer
> [2]
> https://ci.android.com/builds/submitted/6334833/linux/latest/view/soong_build.html
> [3]
> https://android.googlesource.com/platform/build/soong/+/master/cc/fuzz.go
>
> Thanks for any help!
>
> Hannes
>
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/cd25a98c-b5e4-4e0d-a68a-d33b394085e9%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/cd25a98c-b5e4-4e0d-a68a-d33b394085e9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdkTJ4gRs2k7b-99vaiWGLSsUJYgoAZRC90MF1DNVPuvjw%40mail.gmail.com.

Reply via email to