Chinmay Garde f9281a1edf Allow specification of the FLX bundle (containing no Dart snapshot) outside the iOS/Mac application bundle.
Allows launching of apps without having any Xcodebuild step in the simulator.
2016-02-29 13:16:01 -08:00

25 lines
684 B
C++

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SKY_SHELL_PLATFORM_MAC_PLATFORM_MAC_H_
#define SKY_SHELL_PLATFORM_MAC_PLATFORM_MAC_H_
#include "sky/services/engine/sky_engine.mojom.h"
namespace sky {
namespace shell {
typedef int (^PlatformMacMainCallback)(void);
int PlatformMacMain(int argc,
const char* argv[],
PlatformMacMainCallback callback);
bool AttemptLaunchFromCommandLineSwitches(sky::SkyEnginePtr& engine);
} // namespace shell
} // namespace sky
#endif // SKY_SHELL_PLATFORM_MAC_PLATFORM_MAC_H_