pass FLUTTER_TARGET_PLATFORM flag to cmake. (#150)
* pass FLUTTER_TARGET_PLATFORM flag to cmake. * chore: update AUTHORS. * Update elinux_build_target.dart
This commit is contained in:
@@ -8,3 +8,4 @@ Sony Group Corporation
|
|||||||
Michael Lamers ([email protected])
|
Michael Lamers ([email protected])
|
||||||
Andrea Daoud ([email protected])
|
Andrea Daoud ([email protected])
|
||||||
Taha Firoz ([email protected])
|
Taha Firoz ([email protected])
|
||||||
|
Weiwei Duan ([email protected])
|
||||||
|
|||||||
@@ -365,6 +365,7 @@ class NativeBundle {
|
|||||||
'cmake',
|
'cmake',
|
||||||
'-DCMAKE_BUILD_TYPE=$cmakeBuildType',
|
'-DCMAKE_BUILD_TYPE=$cmakeBuildType',
|
||||||
'-DFLUTTER_TARGET_BACKEND_TYPE=${buildInfo.targetBackendType}',
|
'-DFLUTTER_TARGET_BACKEND_TYPE=${buildInfo.targetBackendType}',
|
||||||
|
'-DFLUTTER_TARGET_PLATFORM=elinux-${buildInfo.targetArch}',
|
||||||
if (targetSysroot != '/') '-DCMAKE_SYSROOT=$targetSysroot',
|
if (targetSysroot != '/') '-DCMAKE_SYSROOT=$targetSysroot',
|
||||||
if (buildInfo.targetArch != hostArch)
|
if (buildInfo.targetArch != hostArch)
|
||||||
'-DCMAKE_SYSTEM_PROCESSOR=$targetArch',
|
'-DCMAKE_SYSTEM_PROCESSOR=$targetArch',
|
||||||
|
|||||||
Reference in New Issue
Block a user