1# 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} 34 35if (is_linux) { 36 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 } 46} 47