From 58c9ec0e61e522697d0a41e8bee9661a7727e39e Mon Sep 17 00:00:00 2001 From: Swift Kim Date: Mon, 12 Jul 2021 14:38:31 +0900 Subject: [PATCH] Check non-public API usage 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