Re: [android-building] soong: cc_prebuilt_library_static

2017-09-18 Thread Michael Lekman
I get "error: undefined reference to" during linkage. The symbol are 
located in libteststatic.a

On Monday, 18 September 2017 23:01:59 UTC+2, Colin Cross wrote:
>
> What is the error?  Soong won't unnecessarily copy the prebuilt to 
> out/soong/.intermediates if it doesn't need to, it will use it in place if 
> it can.
>
> On Mon, Sep 18, 2017 at 1:19 PM, Michael Lekman  > wrote:
>
>> It fails to link when using cc_prebuilt_library_static.
>>
>> cc_prebuilt_library_static {
>> name: "libteststatic",
>> defaults: ["test-defaults"],
>>
>> compile_multilib: "both",
>> multilib: {
>> lib32: {
>> srcs: ["prebuilts/static-lib/lib/libteststatic.a"],
>> },
>> lib64: {
>> srcs: ["prebuilts/static-lib/lib64/libteststatic.a"],
>> },
>> },
>>
>> export_include_dirs: ["include"],
>> }
>>
>> cc_library_static {
>> name: "libtest2",
>> defaults: ["libtest2_defaults"],
>> srcs: ["src/test.cpp"],
>>
>> whole_static_libs: [
>> "libc_logging",
>> "libteststatic",
>> ],
>>
>> include_dirs: ["vendor/test/test/include"],
>>
>> export_include_dirs: ["include"],
>> }
>>
>>
>> The prebuilt static libs are copied to 
>> %OUT/obj/STATIC_LIBRARIES/libteststatic_intermediates/libteststatic.a and 
>> %OUT/obj_arm/STATIC_LIBRARIES/libteststatic_intermediates/libteststatic.a 
>> but not to out/soong/.intermediates/
>>
>> BR
>> /Michael
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to android-...@googlegroups.com 
>> 
>> To unsubscribe from this group, send email to
>> android-buildi...@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-buildi...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] soong: cc_prebuilt_library_static

2017-09-18 Thread Colin Cross
What is the error?  Soong won't unnecessarily copy the prebuilt to
out/soong/.intermediates if it doesn't need to, it will use it in place if
it can.

On Mon, Sep 18, 2017 at 1:19 PM, Michael Lekman 
wrote:

> It fails to link when using cc_prebuilt_library_static.
>
> cc_prebuilt_library_static {
> name: "libteststatic",
> defaults: ["test-defaults"],
>
> compile_multilib: "both",
> multilib: {
> lib32: {
> srcs: ["prebuilts/static-lib/lib/libteststatic.a"],
> },
> lib64: {
> srcs: ["prebuilts/static-lib/lib64/libteststatic.a"],
> },
> },
>
> export_include_dirs: ["include"],
> }
>
> cc_library_static {
> name: "libtest2",
> defaults: ["libtest2_defaults"],
> srcs: ["src/test.cpp"],
>
> whole_static_libs: [
> "libc_logging",
> "libteststatic",
> ],
>
> include_dirs: ["vendor/test/test/include"],
>
> export_include_dirs: ["include"],
> }
>
>
> The prebuilt static libs are copied to %OUT/obj/STATIC_LIBRARIES/
> libteststatic_intermediates/libteststatic.a and
> %OUT/obj_arm/STATIC_LIBRARIES/libteststatic_intermediates/libteststatic.a
> but not to out/soong/.intermediates/
>
> BR
> /Michael
>
> --
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] soong: cc_prebuilt_library_static

2017-09-18 Thread Michael Lekman
It fails to link when using cc_prebuilt_library_static.

cc_prebuilt_library_static {
name: "libteststatic",
defaults: ["test-defaults"],

compile_multilib: "both",
multilib: {
lib32: {
srcs: ["prebuilts/static-lib/lib/libteststatic.a"],
},
lib64: {
srcs: ["prebuilts/static-lib/lib64/libteststatic.a"],
},
},

export_include_dirs: ["include"],
}

cc_library_static {
name: "libtest2",
defaults: ["libtest2_defaults"],
srcs: ["src/test.cpp"],

whole_static_libs: [
"libc_logging",
"libteststatic",
],

include_dirs: ["vendor/test/test/include"],

export_include_dirs: ["include"],
}


The prebuilt static libs are copied to 
%OUT/obj/STATIC_LIBRARIES/libteststatic_intermediates/libteststatic.a and 
%OUT/obj_arm/STATIC_LIBRARIES/libteststatic_intermediates/libteststatic.a 
but not to out/soong/.intermediates/

BR
/Michael

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] Soong convert Android.mk file for shared lib that uses LOCAL_AIDL_INCLUDES

2017-09-18 Thread Michael Lekman
$ androidmk  Android.mk > Android.bp

androidmk must be built first. build/soong/androidmk/Android.bp


On Monday, 18 September 2017 16:25:12 UTC+2, filzap...@gmail.com wrote:
>
> How you convert android.mk to android.bp file. I am looking for 
> documentation but haven't find any thing? Can you please write the 
> procedure here?
>
> Regards,
>
> On Saturday, September 16, 2017 at 9:54:44 PM UTC+2, Michael Lekman wrote:
>>
>> I found it. aidl export flag was missing:
>>
>> aidl: {
>> local_include_dirs: ["api"],
>> export_aidl_headers: true,
>> }
>>
>>
>> On Friday, 15 September 2017 16:15:31 UTC+2, Michael Lekman wrote:
>>>
>>> follow up question about aidl code generation: I have added this to my 
>>> Android.bp file
>>>
>>> cc_library_shared {
>>> name: "libtest",
>>> srcs: [
>>> "api/corp/proj/IGreatService.aidl",
>>> ],
>>> cppflags: [
>>> "-std=gnu++11",
>>> "-Wall",
>>> ],
>>> include_dirs: ["external/rapidjson/include"],
>>> local_include_dirs: ["."],
>>> export_include_dirs: ["."],
>>> compile_multilib: "both",
>>> shared_libs: [
>>> "liblog",
>>> "libbinder",
>>> "libutils",
>>> ],
>>>
>>> static_libs: ["libcutils"],
>>> aidl: {
>>> local_include_dirs: ["api"],
>>> }
>>> }
>>>
>>>
>>> Unfortunately it doesn't generated the header file from aidl.
>>>
>>> vendor/proj/proprietary/system/test/MyState.h:4:10: fatal error: 
>>> 'corp/proj/IGreatService.h' file not found
>>>
>>> BR
>>> /Michael
>>>  
>>> On Tuesday, 12 September 2017 23:38:16 UTC+2, Colin Cross wrote:

 Java support for soong is still a work in progress and not ready for 
 wide use yet.

 On Tue, Sep 12, 2017 at 10:37 AM, Michael Lekman  
 wrote:

> Thanks.
>
> It didn't translate LOCAL_RESOURCE_DIR and LOCAL_MANIFEST_FILE. Are 
> they not supported anymore?
>
>
> On Tuesday, 12 September 2017 19:12:16 UTC+2, Colin Cross wrote:
>>
>> That's a mistake in the androidmk tool, it should have produced:
>> aidl: {
>> local_include_dirs: ["api"],
>> }
>>
>> On Tue, Sep 12, 2017 at 6:10 AM, Michael Lekman > > wrote:
>>
>>> Hello,
>>>
>>> I am trying to convert my Android.mk file to Android.bp.
>>> But it fails when I use aidl_includes. ANdroid.mk was converted 
>>> using androidmk.
>>>
>>>
>>> include $(CLEAR_VARS)
>>> LOCAL_MODULE := libmysharedlib
>>> LOCAL_SRC_FILES := \
>>> file.cpp \
>>> $(call all-Iaidl-files-under, api)
>>> LOCAL_CPPFLAGS := -std=gnu++11 -Wall
>>> LOCAL_C_INCLUDES += \
>>>  $(LOCAL_PATH) \
>>>  external/rapidjson/include
>>> LOCAL_LDFLAGS := -llog
>>> LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
>>> LOCAL_MULTILIB := both
>>> LOCAL_SHARED_LIBRARIES := \
>>> liblog \
>>> libbinder \
>>> libutils \
>>> libpowermanager \
>>>
>>> LOCAL_STATIC_LIBRARIES := libcutils
>>> LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/api
>>>
>>> include $(BUILD_SHARED_LIBRARY)
>>>
>>> FAILED: out/soong/build.ninja
>>> out/soong/.bootstrap/bin/soong_build -t -b out/soong -d 
>>> out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
>>> Clang SA is not enabled
>>> error: vendor/my-shared-lib/Android.bp:38:18: unrecognized property 
>>> "aidl_includes"
>>> error: vendor/my-shared-lib/Android.bp:74:18: unrecognized property 
>>> "aidl_includes"
>>> ninja: build stopped: subcommand failed.
>>> 13:59:19 soong bootstrap failed with: exit status 1
>>> make: *** [run_soong_ui] Error 1
>>>
>>> BR
>>> /Michael
>>>
>>> -- 
>>> -- 
>>> You received this message because you are subscribed to the "Android 
>>> Building" mailing list.
>>> To post to this group, send email to android-...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-buildi...@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-buildi...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
> -- 
> You received this message because you are subscribed to the "Android 
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@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 

Re: [android-building] Soong convert Android.mk file for shared lib that uses LOCAL_AIDL_INCLUDES

2017-09-18 Thread Colin Cross
See
https://android.googlesource.com/platform/build/soong/+/master/README.md#convert-android_mk-files

On Mon, Sep 18, 2017 at 3:09 AM,  wrote:

> How you convert android.mk to android.bp file. I am looking for
> documentation but haven't find any thing? Can you please write the
> procedure here?
>
> Regards,
>
>
> On Saturday, September 16, 2017 at 9:54:44 PM UTC+2, Michael Lekman wrote:
>>
>> I found it. aidl export flag was missing:
>>
>> aidl: {
>> local_include_dirs: ["api"],
>> export_aidl_headers: true,
>> }
>>
>>
>> On Friday, 15 September 2017 16:15:31 UTC+2, Michael Lekman wrote:
>>>
>>> follow up question about aidl code generation: I have added this to my
>>> Android.bp file
>>>
>>> cc_library_shared {
>>> name: "libtest",
>>> srcs: [
>>> "api/corp/proj/IGreatService.aidl",
>>> ],
>>> cppflags: [
>>> "-std=gnu++11",
>>> "-Wall",
>>> ],
>>> include_dirs: ["external/rapidjson/include"],
>>> local_include_dirs: ["."],
>>> export_include_dirs: ["."],
>>> compile_multilib: "both",
>>> shared_libs: [
>>> "liblog",
>>> "libbinder",
>>> "libutils",
>>> ],
>>>
>>> static_libs: ["libcutils"],
>>> aidl: {
>>> local_include_dirs: ["api"],
>>> }
>>> }
>>>
>>>
>>> Unfortunately it doesn't generated the header file from aidl.
>>>
>>> vendor/proj/proprietary/system/test/MyState.h:4:10: fatal error:
>>> 'corp/proj/IGreatService.h' file not found
>>>
>>> BR
>>> /Michael
>>>
>>> On Tuesday, 12 September 2017 23:38:16 UTC+2, Colin Cross wrote:

 Java support for soong is still a work in progress and not ready for
 wide use yet.

 On Tue, Sep 12, 2017 at 10:37 AM, Michael Lekman 
 wrote:

> Thanks.
>
> It didn't translate LOCAL_RESOURCE_DIR and LOCAL_MANIFEST_FILE. Are
> they not supported anymore?
>
>
> On Tuesday, 12 September 2017 19:12:16 UTC+2, Colin Cross wrote:
>>
>> That's a mistake in the androidmk tool, it should have produced:
>> aidl: {
>> local_include_dirs: ["api"],
>> }
>>
>> On Tue, Sep 12, 2017 at 6:10 AM, Michael Lekman > > wrote:
>>
>>> Hello,
>>>
>>> I am trying to convert my Android.mk file to Android.bp.
>>> But it fails when I use aidl_includes. ANdroid.mk was converted
>>> using androidmk.
>>>
>>>
>>> include $(CLEAR_VARS)
>>> LOCAL_MODULE := libmysharedlib
>>> LOCAL_SRC_FILES := \
>>> file.cpp \
>>> $(call all-Iaidl-files-under, api)
>>> LOCAL_CPPFLAGS := -std=gnu++11 -Wall
>>> LOCAL_C_INCLUDES += \
>>>  $(LOCAL_PATH) \
>>>  external/rapidjson/include
>>> LOCAL_LDFLAGS := -llog
>>> LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
>>> LOCAL_MULTILIB := both
>>> LOCAL_SHARED_LIBRARIES := \
>>> liblog \
>>> libbinder \
>>> libutils \
>>> libpowermanager \
>>>
>>> LOCAL_STATIC_LIBRARIES := libcutils
>>> LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/api
>>>
>>> include $(BUILD_SHARED_LIBRARY)
>>>
>>> FAILED: out/soong/build.ninja
>>> out/soong/.bootstrap/bin/soong_build -t -b out/soong -d
>>> out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
>>> Clang SA is not enabled
>>> error: vendor/my-shared-lib/Android.bp:38:18: unrecognized property
>>> "aidl_includes"
>>> error: vendor/my-shared-lib/Android.bp:74:18: unrecognized property
>>> "aidl_includes"
>>> ninja: build stopped: subcommand failed.
>>> 13:59:19 soong bootstrap failed with: exit status 1
>>> make: *** [run_soong_ui] Error 1
>>>
>>> BR
>>> /Michael
>>>
>>> --
>>> --
>>> You received this message because you are subscribed to the "Android
>>> Building" mailing list.
>>> To post to this group, send email to android-...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-buildi...@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-buildi...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@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 Buildin

[android-building] Re: AOSP repo sync fails on Mac OSX/MacOS with UnicodeDecodeError: 'ascii' codec can't decode byte

2017-09-18 Thread Bence Szalai
Probably you also want to get rid of `._.DS_Store` files, which may appear 
sometimes as well.

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] Soong convert Android.mk file for shared lib that uses LOCAL_AIDL_INCLUDES

2017-09-18 Thread filzapasha91
How you convert android.mk to android.bp file. I am looking for 
documentation but haven't find any thing? Can you please write the 
procedure here?

Regards,

On Saturday, September 16, 2017 at 9:54:44 PM UTC+2, Michael Lekman wrote:
>
> I found it. aidl export flag was missing:
>
> aidl: {
> local_include_dirs: ["api"],
> export_aidl_headers: true,
> }
>
>
> On Friday, 15 September 2017 16:15:31 UTC+2, Michael Lekman wrote:
>>
>> follow up question about aidl code generation: I have added this to my 
>> Android.bp file
>>
>> cc_library_shared {
>> name: "libtest",
>> srcs: [
>> "api/corp/proj/IGreatService.aidl",
>> ],
>> cppflags: [
>> "-std=gnu++11",
>> "-Wall",
>> ],
>> include_dirs: ["external/rapidjson/include"],
>> local_include_dirs: ["."],
>> export_include_dirs: ["."],
>> compile_multilib: "both",
>> shared_libs: [
>> "liblog",
>> "libbinder",
>> "libutils",
>> ],
>>
>> static_libs: ["libcutils"],
>> aidl: {
>> local_include_dirs: ["api"],
>> }
>> }
>>
>>
>> Unfortunately it doesn't generated the header file from aidl.
>>
>> vendor/proj/proprietary/system/test/MyState.h:4:10: fatal error: 
>> 'corp/proj/IGreatService.h' file not found
>>
>> BR
>> /Michael
>>  
>> On Tuesday, 12 September 2017 23:38:16 UTC+2, Colin Cross wrote:
>>>
>>> Java support for soong is still a work in progress and not ready for 
>>> wide use yet.
>>>
>>> On Tue, Sep 12, 2017 at 10:37 AM, Michael Lekman  
>>> wrote:
>>>
 Thanks.

 It didn't translate LOCAL_RESOURCE_DIR and LOCAL_MANIFEST_FILE. Are 
 they not supported anymore?


 On Tuesday, 12 September 2017 19:12:16 UTC+2, Colin Cross wrote:
>
> That's a mistake in the androidmk tool, it should have produced:
> aidl: {
> local_include_dirs: ["api"],
> }
>
> On Tue, Sep 12, 2017 at 6:10 AM, Michael Lekman  
> wrote:
>
>> Hello,
>>
>> I am trying to convert my Android.mk file to Android.bp.
>> But it fails when I use aidl_includes. ANdroid.mk was converted using 
>> androidmk.
>>
>>
>> include $(CLEAR_VARS)
>> LOCAL_MODULE := libmysharedlib
>> LOCAL_SRC_FILES := \
>> file.cpp \
>> $(call all-Iaidl-files-under, api)
>> LOCAL_CPPFLAGS := -std=gnu++11 -Wall
>> LOCAL_C_INCLUDES += \
>>  $(LOCAL_PATH) \
>>  external/rapidjson/include
>> LOCAL_LDFLAGS := -llog
>> LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
>> LOCAL_MULTILIB := both
>> LOCAL_SHARED_LIBRARIES := \
>> liblog \
>> libbinder \
>> libutils \
>> libpowermanager \
>>
>> LOCAL_STATIC_LIBRARIES := libcutils
>> LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/api
>>
>> include $(BUILD_SHARED_LIBRARY)
>>
>> FAILED: out/soong/build.ninja
>> out/soong/.bootstrap/bin/soong_build -t -b out/soong -d 
>> out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
>> Clang SA is not enabled
>> error: vendor/my-shared-lib/Android.bp:38:18: unrecognized property 
>> "aidl_includes"
>> error: vendor/my-shared-lib/Android.bp:74:18: unrecognized property 
>> "aidl_includes"
>> ninja: build stopped: subcommand failed.
>> 13:59:19 soong bootstrap failed with: exit status 1
>> make: *** [run_soong_ui] Error 1
>>
>> BR
>> /Michael
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to android-...@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-buildi...@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-buildi...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> -- 
 -- 
 You received this message because you are subscribed to the "Android 
 Building" mailing list.
 To post to this group, send email to android-...@googlegroups.com
 To unsubscribe from this group, send email to
 android-buildi...@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-buildi...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>

-- 
-- 
You received this message because you are subscribed to

[android-building] Re: fatal error: linux/netfilter/xt_DSCP.h: No such file or directory

2017-09-18 Thread Bence Szalai
This solved the issue for me! Thanks!

On Monday, 26 May 2014 17:41:50 UTC+2, Greg Tarsa wrote:
>
> It looks like most of these files are paired so that an UPPERcase or 
> lowercase version will match.  This one did not.  I created a symlink 
> in linux/netfilter of xt_DSCP.h to xt_dscp.h to get around the problem 
> without changing any source code. That seems to have gotten me going again.
>
> cd external/iptables/extensions/../include/linux/netfilter
> ln -s xt_dscp.h xt_DSCP.h
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] soong: init_rc doesn't copy to target when used in cc_prebuilt_binary

2017-09-18 Thread Michael Lekman
Hello.

init_rc tag for cc_prebuilt_binary doesn't copy the file to 
/system/etc/init/.

Ex:
cc_prebuilt_binary {
name: "foobin",
srcs: ["prebuilts/system/bin/foobin"],
init_rc: ["init/foobin.rc"],
shared_libs: [
"liblog",
],
}

BR
/Michael

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.