mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d7f5153cd8
Summary: Yesterday we shipped hermesengine.dev as part of the current 0.60 release. This PR brings those changes to master. ## Changelog [General] [Added] - Added support for Hermes Pull Request resolved: https://github.com/facebook/react-native/pull/25613 Test Plan: * CI is green both on GitHub and at FB * Creating a new app from source can use Hermes on Android Reviewed By: cpojer Differential Revision: D16221777 Pulled By: willholen fbshipit-source-id: aa6be10537863039cb666292465ba2e1d44b64ef
34 lines
840 B
Makefile
34 lines
840 B
Makefile
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := reactnative
|
|
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
|
|
|
LOCAL_CFLAGS := \
|
|
-DLOG_TAG=\"ReactNative\"
|
|
|
|
LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture
|
|
|
|
LOCAL_STATIC_LIBRARIES := boost jsi
|
|
LOCAL_SHARED_LIBRARIES := jsinspector libfolly_json glog
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
$(call import-module,fb)
|
|
$(call import-module,folly)
|
|
$(call import-module,jsc)
|
|
$(call import-module,glog)
|
|
$(call import-module,jsi)
|
|
$(call import-module,jsinspector)
|
|
$(call import-module,hermes/inspector)
|