From d1d1432c3c623df3b90bfd8f69152010116bde36 Mon Sep 17 00:00:00 2001 From: Swift Kim Date: Wed, 14 Jul 2021 07:25:18 +0900 Subject: [PATCH] Check non-public API usage (#140) Check if any undocumented API is used by the engine or the embedder binary (wearable only). --- azure-pipelines.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 71312b5b060e9..9800a45387427 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -59,7 +59,7 @@ jobs: pool: name: Default demands: agent.os -equals Linux - timeoutInMinutes: 60 + timeoutInMinutes: 80 cancelTimeoutInMinutes: 1 steps: - checkout: self @@ -80,6 +80,13 @@ jobs: displayName: Build workingDirectory: $(Pipeline.Workspace)/src failOnStderr: true + - bash: | + ../check_symbols.py out/linux_$(mode)_$(arch)/libflutter_engine.so + ../check_symbols.py out/linux_$(mode)_$(arch)/libflutter_tizen_wearable.so + displayName: Verify symbol references + workingDirectory: $(Pipeline.Workspace)/src + failOnStderr: true + condition: eq(variables['System.JobName'], 'tizen-arm-release') - bash: | OUTDIR=$(Build.StagingDirectory) cp out/linux_$(mode)_$(arch)/libflutter_*.so $OUTDIR