Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
PATCH: Compile options for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed May 14, 2013
1 parent 4d819bb commit 047d305
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Android.mk
@@ -1,5 +1,10 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
LOCAL_PATH := $(call my-dir)

# empty file to block B2G/Gonk from trying to build anything inside mozilla-central
include $(CLEAR_VARS)
LOCAL_MODULE := spidermonkey_static
LOCAL_MODULE_FILENAME := js_static
LOCAL_SRC_FILES := ./lib/$(TARGET_ARCH_ABI)/libjs_static.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_CPPFLAGS := -D__STDC_LIMIT_MACROS=1
LOCAL_EXPORT_CPPFLAGS := -D__STDC_LIMIT_MACROS=1
include $(PREBUILT_STATIC_LIBRARY)

0 comments on commit 047d305

Please sign in to comment.