naiveproxy/services/service_manager/sandbox/mac/BUILD.gn
2018-01-28 13:32:06 -05:00

34 lines
769 B
Plaintext

# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
action_foreach("package_sb_files") {
script = "package_sb_file.py"
sources = [
"cdm.sb",
"common.sb",
"gpu.sb",
"nacl_loader.sb",
"ppapi.sb",
"renderer.sb",
"renderer_v2.sb",
"utility.sb",
]
outputs = [
"$target_gen_dir/{{source_name_part}}.sb.h",
"$target_gen_dir/{{source_name_part}}.sb.cc",
]
args = [
"{{source}}",
rebase_path(target_gen_dir, root_build_dir),
]
}
source_set("packaged_sb_files") {
sources = get_target_outputs(":package_sb_files")
defines = [ "SERVICE_MANAGER_SANDBOX_IMPL" ]
deps = [
":package_sb_files",
]
}