OSDN Git Service

core/binary.mk: Add missing Objective-C objects to the build.
authorDavid 'Digit' Turner <digit@android.com>
Fri, 11 Feb 2011 15:19:31 +0000 (16:19 +0100)
committerDavid 'Digit' Turner <digit@android.com>
Fri, 11 Feb 2011 16:52:52 +0000 (17:52 +0100)
For some reason, all_objects was not listing objects generated from
objective-C sources. We need these for the emulator (which builds its
own version of SDL which uses Quartz on OS X).

+ Fix a typo in transform-host-m-to-o definition.

This also explains why https://review.source.android.com/#change,21074
had to be reverted, since it gets rid of the prebuilt SDL libraries when
building the emulator.

Change-Id: I173811cf11cdb5b045073aade59364236145bc77

core/binary.mk
core/definitions.mk

index 88c356a..b9e884e 100644 (file)
@@ -388,6 +388,7 @@ all_objects := \
        $(gen_asm_objects) \
        $(c_objects) \
        $(gen_c_objects) \
+       $(objc_objects) \
        $(yacc_objects) \
        $(lex_objects) \
        $(proto_generated_objects) \
index 36285b8..9112af6 100644 (file)
@@ -970,7 +970,7 @@ define transform-host-m-to-o-no-deps
 $(call transform-host-c-or-s-to-o-no-deps)
 endef
 
-define tranform-host-m-to-o
+define transform-host-m-to-o
 $(transform-host-m-to-o-no-deps)
 $(transform-d-to-p)
 endef