diff --git a/interfaces/innerkits/sandbox/sandbox.c b/interfaces/innerkits/sandbox/sandbox.c index dac77a8556b294808fc255a775a1a69ee0d29ee5..c132e497667e2bf8a932a40a75c7e47c400553dd 100755 --- a/interfaces/innerkits/sandbox/sandbox.c +++ b/interfaces/innerkits/sandbox/sandbox.c @@ -42,13 +42,8 @@ #define SANDBOX_SYMLINK_TARGET "target-name" #define SANDBOX_SYMLINK_NAME "link-name" -#ifndef SUPPORT_64BIT #define SANDBOX_SYSTEM_CONFIG_FILE "etc/sandbox/system-sandbox.json" #define SANDBOX_CHIPSET_CONFIG_FILE "etc/sandbox/chipset-sandbox.json" -#else -#define SANDBOX_SYSTEM_CONFIG_FILE "etc/sandbox/system-sandbox64.json" -#define SANDBOX_CHIPSET_CONFIG_FILE "etc/sandbox/chipset-sandbox64.json" -#endif #ifdef STARTUP_INIT_TEST #define SANDBOX_TEST_CONFIG_FILE "/data/init_ut/test-sandbox.json" diff --git a/services/etc/BUILD.gn b/services/etc/BUILD.gn index 9d91c865ab11c16fc36a933f187db2171f1662ad..45b18756b3c6c8019d7e9d862d4a3da8f48e4fc2 100755 --- a/services/etc/BUILD.gn +++ b/services/etc/BUILD.gn @@ -192,6 +192,8 @@ if (defined(ohos_lite)) { source = "//base/startup/init/interfaces/innerkits/sandbox/system-sandbox.json" } + output = + "//base/startup/init/interfaces/innerkits/sandbox/system-sandbox.json" part_name = "init" subsystem_name = "startup" module_install_dir = "etc/sandbox" @@ -203,6 +205,8 @@ if (defined(ohos_lite)) { } else { source = "//base/startup/init/interfaces/innerkits/sandbox/chipset-sandbox.json" } + output = + "//base/startup/init/interfaces/innerkits/sandbox/chipset-sandbox.json" part_name = "init" subsystem_name = "startup" module_install_dir = "etc/sandbox"