1# Copyright (C) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14OHOS_PROTO_DIR = "" 15 16if (target_os == "linux" || target_os == "windows") { 17 OHOS_FTRACE_PROTO_DIR = "//third_party/protogen" 18 OHOS_MEMORY_PROTO_DIR = "//third_party/protogen" 19 OHOS_PROTO_GEN = "//third_party/protogen/gen" 20 OHOS_SERVICE_PROTO_DIR = "//third_party/protogen" 21} else { 22 OHOS_FTRACE_PROTO_DIR = 23 "//developtools/profiler/protos/types/plugins/ftrace_data" 24 OHOS_MEMORY_PROTO_DIR = 25 "//developtools/profiler/protos/types/plugins/memory_data" 26 OHOS_SERVICE_PROTO_DIR = "//developtools/profiler/protos/services" 27 OHOS_PROTO_GEN = "//out/ohos-arm-release/gen/cpp/developtools/profiler/protos" 28} 29enable_ts_utest = true 30