OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. | 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. |
10 | 10 |
11 import("//build/config/crypto.gni") | |
12 import("//build/config/linux/pkg_config.gni") | 11 import("//build/config/linux/pkg_config.gni") |
13 import("build/webrtc.gni") | 12 import("build/webrtc.gni") |
14 import("//third_party/protobuf/proto_library.gni") | 13 import("//third_party/protobuf/proto_library.gni") |
15 | 14 |
16 # Contains the defines and includes in common.gypi that are duplicated both as | 15 # Contains the defines and includes in common.gypi that are duplicated both as |
17 # target_defaults and direct_dependent_settings. | 16 # target_defaults and direct_dependent_settings. |
18 config("common_inherited_config") { | 17 config("common_inherited_config") { |
19 defines = [] | 18 defines = [] |
20 if (build_with_mozilla) { | 19 if (build_with_mozilla) { |
21 defines += [ "WEBRTC_MOZILLA_BUILD" ] | 20 defines += [ "WEBRTC_MOZILLA_BUILD" ] |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 if (rtc_enable_protobuf) { | 271 if (rtc_enable_protobuf) { |
273 defines += [ "ENABLE_RTC_EVENT_LOG" ] | 272 defines += [ "ENABLE_RTC_EVENT_LOG" ] |
274 deps += [ ":rtc_event_log_proto" ] | 273 deps += [ ":rtc_event_log_proto" ] |
275 } | 274 } |
276 if (is_clang && !is_nacl) { | 275 if (is_clang && !is_nacl) { |
277 # Suppress warnings from Chrome's Clang plugins. | 276 # Suppress warnings from Chrome's Clang plugins. |
278 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 277 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
279 configs -= [ "//build/config/clang:find_bad_constructs" ] | 278 configs -= [ "//build/config/clang:find_bad_constructs" ] |
280 } | 279 } |
281 } | 280 } |
OLD | NEW |