blob: 89ec4a7776f5a245c1a4435195157038ede609ed [file] [log] [blame]
# Copyright 2018 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.
import("//build/config/python.gni")
# Used by Android's binary size trybot's "gn analyze" step in order to trigger
# builds when changes are made to these scripts.
python_library("binary_size_trybot_py") {
pydeps_file = "supersize.pydeps"
data = [
"diagnose_bloat.py",
"trybot_commit_size_checker.py",
"//build/android/resource_sizes.py",
]
}
python_library("sizes_py") {
testonly = true
pydeps_file = "sizes.pydeps"
data_deps = [ "//third_party/catapult/tracing:convert_chart_json" ]
}
if (is_linux) {
group("caspian") {
deps = [ "//tools/binary_size/libsupersize/caspian:cli($host_toolchain)" ]
}
}
# is_wasm is defined in BUILDCONFIG.gn only when wasmbuild.patch is applied.
if (defined(is_wasm)) {
group("caspian_web") {
deps = [ "//tools/binary_size/libsupersize/caspian:caspian_web(//build/toolchain/wasm:wasm)" ]
}
}