• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/android/config.gni")
6
7if (use_order_profiling && target_cpu == "arm") {
8  static_library("orderfile_instrumentation") {
9    sources = [
10      "orderfile_instrumentation.cc",
11      "orderfile_instrumentation.h",
12    ]
13    deps = [
14      "//base",
15    ]
16  }
17
18  executable("orderfile_instrumentation_perftest") {
19    testonly = true
20
21    sources = [
22      "orderfile_instrumentation_perftest.cc",
23    ]
24
25    deps = [
26      ":orderfile_instrumentation",
27      "//base",
28      "//testing/gtest",
29      "//testing/perf",
30    ]
31
32    configs -= [ "//build/config/android:default_orderfile_instrumentation" ]
33  }
34}
35