From 07ef3cb1fd0d444f46eb30dc1ba5c15071d6a0ea Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Wed, 11 Mar 2020 18:17:42 +0000 Subject: Output properties before sets in snapshot module This ensures a consistent output irrespective of whether property sets are created before or after the properties are added. This provides a little more flexibility in the creation code which allows that to be simplfied. Also switches from using reflection to a type switch. Bug: 142918168 Test: m nothing Change-Id: Ia025bfc751f1217d1658de6fb8e15091ea0ea9ff --- sdk/cc_sdk_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdk/cc_sdk_test.go') diff --git a/sdk/cc_sdk_test.go b/sdk/cc_sdk_test.go index bba111b08..6f9dc3c17 100644 --- a/sdk/cc_sdk_test.go +++ b/sdk/cc_sdk_test.go @@ -1212,12 +1212,12 @@ module_exports_snapshot { name: "myexports@current", device_supported: false, host_supported: true, + native_static_libs: ["myexports_mynativelib@current"], target: { host: { compile_multilib: "64", }, }, - native_static_libs: ["myexports_mynativelib@current"], }`), checkAllCopyRules(` include/Test.h -> include/include/Test.h -- cgit v1.2.3-59-g8ed1b