We've got a public code search site that can help find these:
https://cs.android.com/search?q=deployagent.inc&sq=&ss=android%2Fplatform%2Fsuperproject
--
in this case, it's defined in packages/modules/adb/Android.bp.

- Dan

On Mon, Apr 26, 2021 at 9:07 AM Daniel Caruso <d.caruso...@gmail.com> wrote:

> Hi all,
>
>      This is my first experience working with the AOSP. My goal is to
> build a standalone ADB1.0.41 binary that is cross-compiled for aarch32. To
> do this, I am first trying to build ADB for 64-bit ubuntu (and move on to
> the CC step after). Because of my tasks requirements, I need to get this
> source to build with automake and gcc/g++ instead of soong, so I am slowly
> creating my own makefile based on the contents of Android.bp in the
> system/core/adb directory.
>
>      I am at a point where my build fails for "deployagent.inc: No such
> file or directory" when trying to compile adb/client/fastdeploy.cpp. The
> comment in the code says "// Generated include via build rule." Running the
> linux "locate" command, I can find a DeployAgent.java file but nothing that
> looks like it can generate a .inc file.
>
>      Here is the relevant compiler output:
>
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> Compiler executable checksum: 435c9a72f92ce04eba08a47828fa63c4
> In file included from ./adb_trace.h:20,
>                  from ./adb.h:28,
>                  from ./client/commandline.h:22,
>                  from ./client/fastdeploy.cpp:29:
> ../base/include/android-base/logging.h:454: warning: ignoring ‘#pragma
> clang diagnostic’ [-Wunknown-pragmas]
>   454 | #pragma clang diagnostic push
>       |
> ../base/include/android-base/logging.h:455: warning: ignoring ‘#pragma
> clang diagnostic’ [-Wunknown-pragmas]
>   455 | #pragma clang diagnostic ignored "-Wgcc-compat"
>       |
> ../base/include/android-base/logging.h:462: warning: ignoring ‘#pragma
> clang diagnostic’ [-Wunknown-pragmas]
>   462 | #pragma clang diagnostic pop
>       |
> ./client/fastdeploy.cpp:30:10: fatal error: deployagent.inc: No such file
> or directory
>    30 | #include "deployagent.inc"        // Generated include via build
> rule.
>       |          ^~~~~~~~~~~~~~~~~
> compilation terminated.
> Makefile:100: recipe for target '.build/fastdeploy.o' failed
> make: *** [.build/fastdeploy.o] Error 1
>
>
>      Where can I find this required file? Or alternatively, how can I
> generate this file? The code comment gives a hint that it is part of a
> build rule, but I am lost as to what rule, where, and what relevant files I
> need to generate it in my own makefile rules. If any other system
> output/context is needed let me know. Any help will be greatly appreciated!
>
> Thank you,
> Dan
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/0b5f06ec-1a58-493c-b47c-49595bee49bfn%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/0b5f06ec-1a58-493c-b47c-49595bee49bfn%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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdkf3OYcTU7s%3DpWrEjOOOXVtqROtMLGZhpWx2ueZ86zQWA%40mail.gmail.com.

Reply via email to