caiyongnjupt / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Android backend uses deprecated rules #367

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Any project built with -f android will generate .mk files using deprecated 
rules. For example:
- use of 'local-intermediates-dir' and 'intermediates-dir-for', both of which 
have not existed in the ndk for a long time.
gyp_intermediate_dir := $(call local-intermediates-dir)
gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
- use of 'LOCAL_GENERATED_SOURCES', ignored.

What is the expected output? What do you see instead?
expected output would use existing rules, or generate appropriate paths. 
Calling deprecated (and removed) rules just returns "", which will fail when 
concatenated with path suffixes (eg: will try to generate file /foo.cc)

What version of the product are you using? On what operating system?
svn r1716.
OS: Linux 3.8.0-21-generic #32-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.
N/A

Original issue reported on code.google.com by marc.ber...@gmail.com on 10 Sep 2013 at 1:01

GoogleCodeExporter commented 9 years ago
I'm also affected by this problem in another project. Can you tell which is the 
newer alternative for local-intermediates-dir ?

Original comment by Sarim2...@gmail.com on 14 Nov 2013 at 7:40