forked from firka/flutter
Make gen_snapshot compile on Windows (flutter/engine#3355)
This commit is contained in:
committed by
GitHub
parent
023ebac36d
commit
42c2625950
@@ -15,6 +15,8 @@ group("platform") {
|
||||
deps = [
|
||||
"linux",
|
||||
]
|
||||
} else if (is_win) {
|
||||
print("Shell currently not supported on Windows.")
|
||||
} else {
|
||||
assert(false, "Unknown/Unsupported platform.")
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ def to_gn_args(args):
|
||||
|
||||
gn_args['is_debug'] = args.unoptimized
|
||||
gn_args['android_full_debug'] = args.target_os == 'android' and args.unoptimized
|
||||
gn_args['is_clang'] = True
|
||||
gn_args['is_clang'] = not sys.platform.startswith(('cygwin', 'win'))
|
||||
|
||||
ios_target_cpu = 'arm64'
|
||||
|
||||
@@ -189,7 +189,7 @@ def main(argv):
|
||||
if gn_call_result == 0:
|
||||
# Generate/Replace the compile commands database in out.
|
||||
compile_cmd_gen_cmd = [
|
||||
'%s/buildtools/%s/ninja' % (SRC_ROOT, subdir),
|
||||
'ninja',
|
||||
'-C',
|
||||
out_dir,
|
||||
'-t',
|
||||
|
||||
@@ -1887,6 +1887,7 @@ class RepositoryRootThirdPartyDirectory extends RepositoryGenericThirdPartyDirec
|
||||
return entry.name != 'appurify-python' // only used by tests
|
||||
&& entry.name != 'dart-sdk' // redundant with //engine/dart; https://github.com/flutter/flutter/issues/2618
|
||||
&& entry.name != 'firebase' // only used by bots; https://github.com/flutter/flutter/issues/3722
|
||||
&& entry.name != 'gyp' // build-time only
|
||||
&& entry.name != 'jinja2' // build-time code generation
|
||||
&& entry.name != 'junit' // only mentioned in build files, not used
|
||||
&& entry.name != 'libxml' // dependency of the testing system that we don't actually use
|
||||
|
||||
Reference in New Issue
Block a user