| Index: scripts/slave/recipes/pdfium.expected/try-linux_xfa_asan.json
|
| diff --git a/scripts/slave/recipes/pdfium.expected/try-linux_xfa_asan.json b/scripts/slave/recipes/pdfium.expected/try-linux_xfa_asan.json
|
| index 89c92e31cb78b143d7b453ecd25295fad8ed97fd..c69727eb99fcba7632c2e07188b1f35afc66fabe 100644
|
| --- a/scripts/slave/recipes/pdfium.expected/try-linux_xfa_asan.json
|
| +++ b/scripts/slave/recipes/pdfium.expected/try-linux_xfa_asan.json
|
| @@ -61,13 +61,27 @@
|
| ],
|
| "cwd": "[SLAVE_BUILD]/pdfium",
|
| "env": {
|
| - "GYP_DEFINES": "pdf_enable_v8=1 pdf_enable_xfa=0",
|
| + "GYP_PDFIUM_NO_ACTION": "1",
|
| + "GYP_DEFINES": "pdf_enable_v8=1 pdf_enable_xfa=1 asan=1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| "name": "gclient runhooks"
|
| },
|
| {
|
| "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/gn.py",
|
| + "--root=[SLAVE_BUILD]/pdfium",
|
| + "gen",
|
| + "//out/Debug",
|
| + "--args=is_debug=true pdf_enable_v8=true pdf_enable_xfa=true pdf_use_skia=false pdf_is_standalone=true is_asan=true"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]/pdfium",
|
| + "name": "gn gen"
|
| + },
|
| + {
|
| + "cmd": [
|
| "ninja",
|
| "-C",
|
| "[SLAVE_BUILD]/pdfium/out/Debug"
|
| @@ -79,6 +93,9 @@
|
| "[SLAVE_BUILD]/pdfium/out/Debug/pdfium_unittests"
|
| ],
|
| "cwd": "[SLAVE_BUILD]/pdfium",
|
| + "env": {
|
| + "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1"
|
| + },
|
| "name": "unittests"
|
| },
|
| {
|
| @@ -86,6 +103,9 @@
|
| "[SLAVE_BUILD]/pdfium/out/Debug/pdfium_embeddertests"
|
| ],
|
| "cwd": "[SLAVE_BUILD]/pdfium",
|
| + "env": {
|
| + "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1"
|
| + },
|
| "name": "embeddertests"
|
| },
|
| {
|
| @@ -97,6 +117,9 @@
|
| "out/Debug"
|
| ],
|
| "cwd": "[SLAVE_BUILD]/pdfium",
|
| + "env": {
|
| + "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1"
|
| + },
|
| "name": "javascript tests"
|
| },
|
| {
|
| @@ -108,6 +131,9 @@
|
| "out/Debug"
|
| ],
|
| "cwd": "[SLAVE_BUILD]/pdfium",
|
| + "env": {
|
| + "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1"
|
| + },
|
| "name": "pixel tests"
|
| },
|
| {
|
| @@ -119,6 +145,9 @@
|
| "out/Debug"
|
| ],
|
| "cwd": "[SLAVE_BUILD]/pdfium",
|
| + "env": {
|
| + "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1"
|
| + },
|
| "name": "corpus tests"
|
| },
|
| {
|
| @@ -126,4 +155,4 @@
|
| "recipe_result": null,
|
| "status_code": 0
|
| }
|
| -]
|
| +]
|
|
|