mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
26 lines
815 B
Plaintext
26 lines
815 B
Plaintext
// 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.
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "sky/shell/ios/sky_app_delegate.h"
|
|
|
|
#include "sky/shell/mac/platform_mac.h"
|
|
|
|
extern "C" {
|
|
// TODO(csg): HACK! boringssl accesses this on Android using a weak symbol
|
|
// instead of a global. Till the patch for that lands and propagates to Sky, we
|
|
// specify the same here to get workable builds on iOS. This is a hack! Will
|
|
// go away.
|
|
unsigned long getauxval(unsigned long type) {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
int main(int argc, const char * argv[]) {
|
|
return PlatformMacMain(argc, argv, ^(){
|
|
return UIApplicationMain(argc, (char **)argv, nil,
|
|
NSStringFromClass([SkyAppDelegate class]));
|
|
});
|
|
}
|