• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_PROFILER_DIR = get_path_info("..", "abspath")
15OHOS_PROFILER_3RDPARTY_DIR = get_path_info("../../../third_party/", "abspath")
16OHOS_PROFILER_3RDPARTY_GRPC_DIR = "${OHOS_PROFILER_3RDPARTY_DIR}/grpc"
17OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR = "${OHOS_PROFILER_3RDPARTY_DIR}/protobuf"
18OHOS_PROFILER_3RDPARTY_GOOGLETEST_DIR =
19    "${OHOS_PROFILER_3RDPARTY_DIR}/googletest"
20
21OHOS_PROFILER_SUBSYS_NAME = "developtools"
22OHOS_PROFILER_PART_NAME = "profiler"
23OHOS_PROFILER_TEST_MODULE_OUTPUT_PATH = "profiler"
24
25build_l2 = false
26if (getenv("BUILD_L2") == "true") {
27  build_l2 = true
28}
29
30declare_args() {
31  profiler_SmartPerf = true
32}
33