addons/isl/src/platform/androidStudioRemotePlatform.tsblame
View source
b69ab311/**
b69ab312 * Copyright (c) Meta Platforms, Inc. and affiliates.
b69ab313 *
b69ab314 * This source code is licensed under the MIT license found in the
b69ab315 * LICENSE file in the root directory of this source tree.
b69ab316 */
b69ab317
b69ab318import type {Platform} from '../platform';
b69ab319
b69ab3110import {makeBrowserLikePlatformImpl} from './browserPlatformImpl';
b69ab3111
b69ab3112// important: this file should not try to import other code from 'isl',
b69ab3113// since it will end up getting duplicated when bundling.
b69ab3114
b69ab3115const androidStudioRemotePlatform: Platform = {
b69ab3116 // just act like the browser platform by default, since the remote use case is almost identical.
b69ab3117 ...makeBrowserLikePlatformImpl('androidStudioRemote'),
b69ab3118 upsellExternalMergeTool: false,
b69ab3119};
b69ab3120
b69ab3121window.islPlatform = androidStudioRemotePlatform;
b69ab3122
b69ab3123// Load the actual app entry, which must be done after the platform has been set up.
b69ab3124import('../index');