blob: 044562af1df503832c512033e55807a3ec31fa5f [file] [log] [blame]
Hector Dearmanfcbafda2018-01-18 11:13:57 +00001# Copyright (C) 2018 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15copy("copy_protoc_helper") {
16 testonly = true
17 sources = [
18 "protoc_helper.py",
19 ]
20 outputs = [
21 "${root_out_dir}/protoc_helper",
22 ]
23}
24
25group("protoc_helper") {
26 testonly = true
27 public_deps = [
28 ":copy_protoc_helper",
29 ]
30 deps = [
31 "../buildtools:protoc($host_toolchain)",
32 ]
33}
Florian Mayer75905df2018-05-08 17:44:08 +010034
Primiano Tucci1640ffa2018-05-14 18:25:33 +010035if (is_linux) {
Florian Mayerbb54f5e2018-10-22 12:13:03 +010036 executable("profiling_sample_distribution") {
37 sources = [
38 "profiling_sample_distribution.cc",
39 ]
40 deps = [
41 "../gn:default_deps",
42 "../src/base",
43 "../src/profiling/memory:client",
44 ]
45 }
Florian Mayer75905df2018-05-08 17:44:08 +010046}