OLD | NEW |
---|---|
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
76 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 76 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
77 } | 77 } |
78 } | 78 } |
79 } | 79 } |
80 | 80 |
81 if (rtc_enable_protobuf) { | 81 if (rtc_enable_protobuf) { |
82 proto_library("rtc_event_log_proto") { | 82 proto_library("rtc_event_log_proto") { |
83 sources = [ | 83 sources = [ |
84 "rtc_event_log/rtc_event_log.proto", | 84 "rtc_event_log/rtc_event_log.proto", |
85 ] | 85 ] |
86 proto_out_dir = "webrtc/logging/rtc_event_log" | 86 proto_in_dir = "//" |
the sun
2016/12/13 16:31:18
Enlighten me - what is the reasoning with this cha
michaelt
2016/12/14 14:41:37
To be able to include debug_dump.proto in rtc_even
| |
87 proto_out_dir = "." | |
87 } | 88 } |
88 } | 89 } |
89 | 90 |
90 if (rtc_enable_protobuf) { | 91 if (rtc_enable_protobuf) { |
91 rtc_static_library("rtc_event_log_parser") { | 92 rtc_static_library("rtc_event_log_parser") { |
92 sources = [ | 93 sources = [ |
93 "rtc_event_log/rtc_event_log_parser.cc", | 94 "rtc_event_log/rtc_event_log_parser.cc", |
94 "rtc_event_log/rtc_event_log_parser.h", | 95 "rtc_event_log/rtc_event_log_parser.h", |
95 ] | 96 ] |
96 | 97 |
97 public_deps = [ | 98 public_deps = [ |
98 ":rtc_event_log_proto", | 99 ":rtc_event_log_proto", |
99 "..:webrtc_common", | 100 "..:webrtc_common", |
100 ] | 101 ] |
101 | 102 |
102 if (!build_with_chromium && is_clang) { | 103 if (!build_with_chromium && is_clang) { |
103 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 104 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
104 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 105 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
105 } | 106 } |
106 } | 107 } |
107 } | 108 } |
OLD | NEW |