2018-07-31 16:50:03 +00:00
|
|
|
# Copyright 2018 The Dawn Authors
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2018-10-31 10:49:21 +00:00
|
|
|
import("//build_overrides/build.gni")
|
2019-02-13 18:42:38 +00:00
|
|
|
import("scripts/dawn_features.gni")
|
|
|
|
import("scripts/dawn_overrides_with_defaults.gni")
|
2018-12-08 10:35:53 +00:00
|
|
|
|
2020-04-10 08:20:10 +00:00
|
|
|
group("all") {
|
|
|
|
testonly = true
|
2020-01-15 13:14:12 +00:00
|
|
|
deps = [
|
2020-04-10 08:20:10 +00:00
|
|
|
"src/fuzzers:dawn_fuzzers",
|
|
|
|
"src/tests:dawn_tests",
|
2020-01-15 13:14:12 +00:00
|
|
|
]
|
2020-04-10 08:20:10 +00:00
|
|
|
if (dawn_standalone) {
|
|
|
|
deps += [ "examples:dawn_samples" ]
|
2020-01-15 13:14:12 +00:00
|
|
|
}
|
2019-08-13 21:45:44 +00:00
|
|
|
}
|
|
|
|
|
2020-04-07 07:29:45 +00:00
|
|
|
###############################################################################
|
|
|
|
# Temporary groups
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
# Temporary groups to make a 5-way patch to fix crbug.com/913171
|
|
|
|
group("dawn_unittests_temp_group") {
|
|
|
|
testonly = true
|
2020-04-07 16:16:37 +00:00
|
|
|
public_deps = [
|
2020-04-10 08:20:10 +00:00
|
|
|
"src/tests:dawn_unittests",
|
2020-04-07 07:29:45 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("dawn_end2end_tests_temp_group") {
|
|
|
|
testonly = true
|
2020-04-07 16:16:37 +00:00
|
|
|
public_deps = [
|
2020-04-13 21:23:46 +00:00
|
|
|
"src/tests:dawn_end2end_tests",
|
2020-04-07 07:29:45 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("dawn_perf_tests_temp_group") {
|
|
|
|
testonly = true
|
2020-04-07 16:16:37 +00:00
|
|
|
public_deps = [
|
2020-04-10 08:20:10 +00:00
|
|
|
"src/tests:dawn_perf_tests",
|
2020-04-07 07:29:45 +00:00
|
|
|
]
|
|
|
|
data_deps = [
|
2020-04-10 08:20:10 +00:00
|
|
|
"src/tests:dawn_perf_tests",
|
2020-04-07 07:29:45 +00:00
|
|
|
]
|
|
|
|
}
|