Skip to content

Instantly share code, notes, and snippets.

View chinmaygarde's full-sized avatar

Chinmay Garde chinmaygarde

  • San Francisco, CA
  • 22:11 (UTC -07:00)
View GitHub Profile
{
"build_systems":
[
{
"file_regex": "^(?:\\.\\.\\/)*(.*):([0-9]*):([0-9]*): error",
"name": "Build Flutter Host Debug Unopt",
"shell": true,
"shell_cmd": "(./flutter/tools/gn --runtime-mode debug --unopt --no-lto && autoninja -C out/host_debug_unopt)",
"working_dir": "${project_path}/src"
}
python ../../third_party/dart/build/gn_run_binary.py compiled_action dart --deterministic --packages=/Volumes/SourceCode/engine/src/third_party/dart/.packages --snapshot=gen/analysis_server.dart.snapshot --snapshot-depfile=/Volumes/SourceCode/engine/src/out/host_debug_unopt/gen/analysis_server.dart.snapshot.d --snapshot-kind=app-jit /Volumes/SourceCode/engine/src/third_party/dart/pkg/analysis_server/bin/server.dart --help
Command failed: ./dart --deterministic --packages=/Volumes/SourceCode/engine/src/third_party/dart/.packages --snapshot=gen/analysis_server.dart.snapshot --snapshot-depfile=/Volumes/SourceCode/engine/src/out/host_debug_unopt/gen/analysis_server.dart.snapshot.d --snapshot-kind=app-jit /Volumes/SourceCode/engine/src/third_party/dart/pkg/analysis_server/bin/server.dart --help
output: file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:64:50: Error: Method not found: 'MultipartRequest'.
final http.MultipartRequest req = new http.MultipartRequest('PO
$ ./out/host_debug_unopt/embedder_unittests
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from EmbedderTest
[ RUN ] EmbedderTest.MustNotRunWithInvalidArgs
[ OK ] EmbedderTest.MustNotRunWithInvalidArgs (0 ms)
[ RUN ] EmbedderTest.CanLaunchAndShutdownWithValidProjectArgs
[ERROR:flutter/runtime/dart_isolate.cc(574)] <<< Got callback to start VM service isolate.
vm-service: Booting dart:vmservice library.
vm-service: Registering running isolates.
$ ./out/host_debug_unopt/embedder_unittests
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from EmbedderTest
[ RUN ] EmbedderTest.MustNotRunWithInvalidArgs
[ OK ] EmbedderTest.MustNotRunWithInvalidArgs (0 ms)
[ RUN ] EmbedderTest.CanLaunchAndShutdownWithValidProjectArgs
vm-service: Booting dart:vmservice library.
vm-service: Registering running isolates.
[ERROR:flutter/shell/gpu/gpu_surface_gl.cc(46)] Could not make the context current to setup the gr context.
diff --git a/shell/testing/tester_main.cc b/shell/testing/tester_main.cc
index 207e35301..1eb47637e 100644
--- a/shell/testing/tester_main.cc
+++ b/shell/testing/tester_main.cc
@@ -96,12 +96,16 @@ int RunTester(const blink::Settings& settings, bool run_forever) {
auto current_task_runner = fml::MessageLoop::GetCurrent().GetTaskRunner();
+ ThreadHost host("whatever", ThreadHost::Type::UI | ThreadHost::Type::GPU |
+ ThreadHost::Type::IO);
diff --git a/flow/layers/layer_tree.cc b/flow/layers/layer_tree.cc
index 29f9c93b5..80eda152d 100644
--- a/flow/layers/layer_tree.cc
+++ b/flow/layers/layer_tree.cc
@@ -6,7 +6,9 @@
#include "flutter/flow/layers/layer.h"
#include "flutter/fml/trace_event.h"
+#include "third_party/skia/include/core/SkImageInfo.h"
#include "third_party/skia/include/core/SkPictureRecorder.h"
diff --git a/bin/flutter b/bin/flutter
index e7cf407ba..c2b27d36c 100755
--- a/bin/flutter
+++ b/bin/flutter
@@ -102,7 +102,7 @@ function upgrade_flutter () {
fi
local revision="$(cd "$FLUTTER_ROOT"; git rev-parse HEAD)"
- if [[ ! -f "$SNAPSHOT_PATH" || ! -s "$STAMP_PATH" || "$(cat "$STAMP_PATH")" != "$revision" || "$FLUTTER_TOOLS_DIR/pubspec.yaml" -nt "$FLUTTER_TOOLS_DIR/pubspec.lock" ]]; then
+ # if [[ ! -f "$SNAPSHOT_PATH" || ! -s "$STAMP_PATH" || "$(cat "$STAMP_PATH")" != "$revision" || "$FLUTTER_TOOLS_DIR/pubspec.yaml" -nt "$FLUTTER_TOOLS_DIR/pubspec.lock" ]]; then
diff --git a/packages/flutter_tools/lib/src/bundle.dart b/packages/flutter_tools/lib/src/bundle.dart
index f2e64f81a..ec844eea1 100644
--- a/packages/flutter_tools/lib/src/bundle.dart
+++ b/packages/flutter_tools/lib/src/bundle.dart
@@ -30,7 +30,7 @@ const String _kVMSnapshotInstr = 'vm_snapshot_instr';
const String _kIsolateSnapshotData = 'isolate_snapshot_data';
const String _kIsolateSnapshotInstr = 'isolate_snapshot_instr';
const String _kDylibKey = 'libapp.so';
-const String _kPlatformKernelKey = 'platform.dill';
+const String _kPlatformKernelKey = 'platform_strong.dill';
diff --git a/bin/flutter b/bin/flutter
index 7aecf5c14..e39559c2c 100755
--- a/bin/flutter
+++ b/bin/flutter
@@ -85,7 +85,7 @@ function upgrade_flutter () {
fi
local revision="$(cd "$FLUTTER_ROOT"; git rev-parse HEAD)"
- if [[ ! -f "$SNAPSHOT_PATH" ]] || [[ ! -s "$STAMP_PATH" ]] || [[ "$(cat "$STAMP_PATH")" != "$revision" ]] || [[ "$FLUTTER_TOOLS_DIR/pubspec.yaml" -nt "$FLUTTER_TOOLS_DIR/pubspec.lock" ]]; then
+ # if [[ ! -f "$SNAPSHOT_PATH" ]] || [[ ! -s "$STAMP_PATH" ]] || [[ "$(cat "$STAMP_PATH")" != "$revision" ]] || [[ "$FLUTTER_TOOLS_DIR/pubspec.yaml" -nt "$FLUTTER_TOOLS_DIR/pubspec.lock" ]]; then
$ nm -gU out/android_release_unopt/libflutter.so
00074b60 T JNI_OnLoad
00920d00 T VP8CheckSignature
00f480a4 D VP8GetCPUInfo
00920d50 T VP8GetInfo
0092233c T VP8LCheckSignature
00922380 T VP8LGetInfo
009701bc T WebPAnimEncoderAdd
00970c38 T WebPAnimEncoderAssemble
0096fb96 T WebPAnimEncoderDelete