You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.5 KiB
40 lines
1.5 KiB
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
/*
|
|
* StandaloneBuildFlags is owned by a StandaloneContext and carries information about
|
|
* how to compile native code during the build step.
|
|
*/
|
|
|
|
class StandaloneBuildFlags {
|
|
constructor() {
|
|
_defineProperty(this, "configuration", 'Debug');
|
|
_defineProperty(this, "isExpoClientBuild", () => false);
|
|
_defineProperty(this, "android", void 0);
|
|
_defineProperty(this, "ios", void 0);
|
|
}
|
|
}
|
|
_defineProperty(StandaloneBuildFlags, "createEmpty", () => {
|
|
return new StandaloneBuildFlags();
|
|
});
|
|
_defineProperty(StandaloneBuildFlags, "createIos", (configuration, ios) => {
|
|
const flags = new StandaloneBuildFlags();
|
|
flags.configuration = configuration;
|
|
flags.ios = ios;
|
|
flags.isExpoClientBuild = () => (ios === null || ios === void 0 ? void 0 : ios.buildType) === 'client';
|
|
return flags;
|
|
});
|
|
_defineProperty(StandaloneBuildFlags, "createAndroid", (configuration, android) => {
|
|
const flags = new StandaloneBuildFlags();
|
|
flags.configuration = configuration;
|
|
flags.android = android;
|
|
flags.isExpoClientBuild = () => false;
|
|
return flags;
|
|
});
|
|
var _default = StandaloneBuildFlags;
|
|
exports.default = _default;
|
|
//# sourceMappingURL=StandaloneBuildFlags.js.map
|