# Copyright (c) 2020 Project CHIP 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.

import("//build_overrides/build.gni")
import("//build_overrides/chip.gni")

config("includes") {
  include_dirs = [
    ".",
    "include",
  ]
}

executable("chip-dishwasher-app") {
  sources = [
    "${chip_root}/examples/dishwasher-app/dishwasher-common/src/operational-state-delegate-impl.cpp",
    "${chip_root}/examples/dishwasher-app/dishwasher-common/src/operational-state-delegates.cpp",
    "include/CHIPProjectAppConfig.h",
    "main.cpp",
  ]

  deps = [
    "${chip_root}/examples/dishwasher-app/dishwasher-common",
    "${chip_root}/examples/platform/linux:app-main",
    "${chip_root}/src/lib",
  ]

  include_dirs = [
    "include",
    "${chip_root}/examples/dishwasher-app/dishwasher-common/include",
  ]
  output_dir = root_out_dir
}

group("linux") {
  deps = [ ":chip-dishwasher-app" ]
}

group("default") {
  deps = [ ":linux" ]
}
