diff options
author | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-27 19:04:39 +0000 |
---|---|---|
committer | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-27 19:04:39 +0000 |
commit | dd3d08ea8e3394da42e2dd9631ea5eccb3fb24b6 (patch) | |
tree | e796bbb47a0e73902877d6d6a08c7941bfcef6bc | |
parent | 26344cfaffa6a78c545c3e2253ec26cc277f82c9 (diff) |
When building for Android, package executables in APKs (trunk)
Review URL: https://codereview.appspot.com/6307101
git-svn-id: http://skia.googlecode.com/svn/trunk@4368 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | gyp/apptype_console.gypi | 7 | ||||
-rw-r--r-- | gyp/bench.gyp | 5 | ||||
-rw-r--r-- | skia.gyp | 7 |
4 files changed, 23 insertions, 0 deletions
@@ -31,6 +31,10 @@ BUILDTYPE ?= Debug CWD := $(shell pwd) ALL_TARGETS := core SampleApp bench gm tests tools +ifneq (,$(findstring skia_os=android, $(GYP_DEFINES))) + ALL_TARGETS += SkiaAndroidApp +endif + # Default target. This must be listed before all other targets. .PHONY: default default: all diff --git a/gyp/apptype_console.gypi b/gyp/apptype_console.gypi index f2f6e1cfec..6971b6a59e 100644 --- a/gyp/apptype_console.gypi +++ b/gyp/apptype_console.gypi @@ -11,6 +11,13 @@ 'EntryPointSymbol': 'mainCRTStartup', }, }, + 'conditions': [ + [ 'skia_os == "android"', { + 'dependencies': [ + 'android_system.gyp:Android_EntryPoint', + ], + }], + ], }, } diff --git a/gyp/bench.gyp b/gyp/bench.gyp index dcf9b5f8c2..b0fe517e6c 100644 --- a/gyp/bench.gyp +++ b/gyp/bench.gyp @@ -75,6 +75,11 @@ '../bench/BenchSysTimer_windows.cpp', ], }], + [ 'skia_os == "android"', { + 'dependencies!': [ + 'android_system.gyp:Android_EntryPoint', + ], + }], ], } ], @@ -21,6 +21,13 @@ 'gyp/tests.gyp:tests', 'gyp/tools.gyp:tools', ], + 'conditions': [ + ['skia_os == "android"', { + 'dependencies': [ + 'gyp/android_system.gyp:SkiaAndroidApp', + ], + }], + ], }, ], } |