SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Android: allow app/build.gradle to specify how node gets invoked for the packager

Summary:
**Test plan:** With the given patch applied to `react.gradle`, I specified the following in my `android/app/build.gradle`:
```
project.ext.react = [
  nodeExecutableAndArgs: ["node", "--max_old_space_size=4096"]
]
```
and ensured in a `./gradlew installDebug --debug` run that the packager gets indeed invoked with these parameters.
Closes https://github.com/facebook/react-native/pull/7903

Differential Revision: D3390543

fbshipit-source-id: cf440b36633420b8f67070f47dfabf4c84cb28a7
P
Philipp von Weitershausen committed
58fb91e62bbab1db648725367f5b1af3350a1954
Parent: 28b16dd
Committed by Facebook Github Bot 8 <[email protected]> on 6/4/2016, 10:58:24 PM