I am upgrading one of the Nougat libraries - external/v8. The changes 
required for upgrading are replacing the Android.mk with Android.bp. 
Android.bp is not fully supported in Nougat as clarified as part of this 
thread <https://groups.google.com/g/android-building/c/IufaPleeo5Q>, I am 
converting the Android.bp to equivalent the Android.mk.

I am able to translate most of the part of the Android.bp but I am not 
aware what should be the equivalent of the following sections in Android.mk.










*genrule {    name: "v8_generate_bytecode_builtins_list",    tools: 
["v8_bytecode_builtins_list_generator"],    srcs: [],    cmd: "mkdir -p 
$(genDir)/builtins-generated/ && $(location 
v8_bytecode_builtins_list_generator) $(out)",    out: [        
"builtins-generated/bytecodes-builtins-list.h"    ],}*

Similarly the filegroup section:







*filegroup {    name: "v8_init",    srcs: [        
"src/init/setup-isolate-full.cc",        ":v8_initializers",    ]}*

Does anyone know how do I translate the sections mentioned above to 
Android.mk or point to some resources where I can read more on this?

Also, feel free to suggest if this is not the right approach for upgrading 
the external/v8 in Nougat and if there is any other way I can follow to 
upgrade the library from 5.8 to 8.8

Thanks!

-- 
-- 
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/56de0f79-977f-4504-867c-8cee8cde3746n%40googlegroups.com.

Reply via email to