mirror of
https://gitee.com/openharmony/hiviewdfx_hitrace
synced 2024-11-23 15:59:51 +00:00
添加是否编译可执行二进制判断
Signed-off-by: lutao <lutao31@huawei.com>
This commit is contained in:
parent
97506d3717
commit
c3da6a7fb6
@ -126,7 +126,7 @@ ohos_rust_executable("hitrace_example_rust") {
|
||||
}
|
||||
|
||||
group("hitrace_target") {
|
||||
if (!is_emulator && device_company != "qemu") {
|
||||
if (!is_emulator && device_company != "qemu" && support_executable_file) {
|
||||
deps = [
|
||||
":bytrace",
|
||||
":hitrace",
|
||||
|
@ -9,6 +9,10 @@
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# limitations under the License.
|
||||
|
||||
OHOS_HITRACE_DIR = get_path_info(".", "abspath")
|
||||
|
||||
declare_args() {
|
||||
support_executable_file = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user