# Use of this source code is governed by a BSD-style license that can be
# Copyright 2017 The Chromium Authors. All rights reserved.
# found in the LICENSE file.

if (is_win) {
  executable("ax_dump_events") {
    testonly = true

    sources = [
      "ax_dump_events.cc",
      "ax_event_server.cc",
    ]

    deps = [
      "//base",
      "//base/test:test_support",
      "//content/test:test_support",
    ]

    if (is_win) {
      libs = [ "oleacc.lib" ]
    }
  }

  executable("ax_dump_tree") {
    testonly = true

    sources = [
      "ax_dump_tree.cc",
      "ax_tree_server.cc",
    ]

    deps = [
      "//base",
      "//base/test:test_support",
      "//content/test:test_support",
    ]

    if (is_win) {
      libs = [ "oleacc.lib" ]
    }
  }
}