| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | import type {Platform} from '../platform'; |
| 9 | |
| 10 | import {makeBrowserLikePlatformImpl} from './browserPlatformImpl'; |
| 11 | |
| 12 | // important: this file should not try to import other code from 'isl', |
| 13 | // since it will end up getting duplicated when bundling. |
| 14 | |
| 15 | const androidStudioRemotePlatform: Platform = { |
| 16 | // just act like the browser platform by default, since the remote use case is almost identical. |
| 17 | ...makeBrowserLikePlatformImpl('androidStudioRemote'), |
| 18 | upsellExternalMergeTool: false, |
| 19 | }; |
| 20 | |
| 21 | window.islPlatform = androidStudioRemotePlatform; |
| 22 | |
| 23 | // Load the actual app entry, which must be done after the platform has been set up. |
| 24 | import('../index'); |
| 25 | |