blob: f66d8d5d5ef07037cd0522d0ae43e2cff8fe7b34 [file] [log] [blame]
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02 +00001# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("../build/webrtc.gni")
10
11source_set("tools") {
12 deps = [
13 ":command_line_parser",
14 ]
15}
16
17source_set("command_line_parser") {
18 sources = [
19 "simple_command_line_parser.h",
20 "simple_command_line_parser.cc",
21 ]
22}
23
24# TODO(kjellander): Convert all of tools.gyp into GN here.
25
26if (!build_with_chromium) {
27 executable("tools_unittests") {
28 testonly = true
29
30 sources = [
31 "simple_command_line_parser_unittest.cc",
32 ]
33
34 deps = [
35 ":command_line_parser",
36 "../test:test_support_main",
37 "//testing/gtest",
38 ]
39 }
40}