OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 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 # This file contains common settings for building WebRTC components. | 9 # This file contains common settings for building WebRTC components. |
10 | 10 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 # use full paths (e.g. headers inside testing/ or third_party/). | 312 # use full paths (e.g. headers inside testing/ or third_party/). |
313 '<(DEPTH)', | 313 '<(DEPTH)', |
314 # The overrides must be included before the WebRTC root as that's the | 314 # The overrides must be included before the WebRTC root as that's the |
315 # mechanism for selecting the override headers in Chromium. | 315 # mechanism for selecting the override headers in Chromium. |
316 '../../webrtc_overrides', | 316 '../../webrtc_overrides', |
317 # The WebRTC root is needed to allow includes in the WebRTC code base | 317 # The WebRTC root is needed to allow includes in the WebRTC code base |
318 # to be prefixed with webrtc/. | 318 # to be prefixed with webrtc/. |
319 '../..', | 319 '../..', |
320 ], | 320 ], |
321 }, { | 321 }, { |
| 322 'includes': [ |
| 323 # Rules for excluding e.g. foo_win.cc from the build on non-Windows. |
| 324 'filename_rules.gypi', |
| 325 ], |
322 # Include the top-level dir so the WebRTC code can use full paths. | 326 # Include the top-level dir so the WebRTC code can use full paths. |
323 'include_dirs': [ | 327 'include_dirs': [ |
324 '../..', | 328 '../..', |
325 ], | 329 ], |
326 'conditions': [ | 330 'conditions': [ |
327 ['os_posix==1', { | 331 ['os_posix==1', { |
328 'conditions': [ | 332 'conditions': [ |
329 # -Wextra is currently disabled in Chromium's common.gypi. Enable | 333 # -Wextra is currently disabled in Chromium's common.gypi. Enable |
330 # for targets that can handle it. For Android/arm64 right now | 334 # for targets that can handle it. For Android/arm64 right now |
331 # there will be an 'enumeral and non-enumeral type in conditional | 335 # there will be an 'enumeral and non-enumeral type in conditional |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 }], | 609 }], |
606 ['OS=="freebsd"', { | 610 ['OS=="freebsd"', { |
607 'defines': [ | 611 'defines': [ |
608 'FREEBSD', | 612 'FREEBSD', |
609 ], | 613 ], |
610 }], | 614 }], |
611 ], | 615 ], |
612 }, | 616 }, |
613 }, # target_defaults | 617 }, # target_defaults |
614 } | 618 } |
OLD | NEW |