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 16 matching lines...) Expand all Loading... |
27 'conditions': [ | 27 'conditions': [ |
28 # Include the iLBC audio codec? | 28 # Include the iLBC audio codec? |
29 ['build_with_chromium==1 or build_with_mozilla==1', { | 29 ['build_with_chromium==1 or build_with_mozilla==1', { |
30 'include_ilbc%': 0, | 30 'include_ilbc%': 0, |
31 }, { | 31 }, { |
32 'include_ilbc%': 1, | 32 'include_ilbc%': 1, |
33 }], | 33 }], |
34 | 34 |
35 ['build_with_chromium==1', { | 35 ['build_with_chromium==1', { |
36 'webrtc_root%': '<(DEPTH)/third_party/webrtc', | 36 'webrtc_root%': '<(DEPTH)/third_party/webrtc', |
37 'android_tests_path%': '<(DEPTH)/third_party/webrtc/build/android_te
sts_noop.gyp', | |
38 }, { | 37 }, { |
39 'webrtc_root%': '<(DEPTH)/webrtc', | 38 'webrtc_root%': '<(DEPTH)/webrtc', |
40 'android_tests_path%': '<(DEPTH)/webrtc/build/android_tests.gyp', | |
41 }], | 39 }], |
42 | 40 |
43 # Controls whether we use libevent on posix platforms. | 41 # Controls whether we use libevent on posix platforms. |
44 # TODO(phoglund): should arguably be controlled by platform #ifdefs | 42 # TODO(phoglund): should arguably be controlled by platform #ifdefs |
45 # in the code instead. | 43 # in the code instead. |
46 ['OS=="win" or OS=="mac" or OS=="ios"', { | 44 ['OS=="win" or OS=="mac" or OS=="ios"', { |
47 'build_libevent%': 0, | 45 'build_libevent%': 0, |
48 'enable_libevent%': 0, | 46 'enable_libevent%': 0, |
49 }, { | 47 }, { |
50 'build_libevent%': 1, | 48 'build_libevent%': 1, |
51 'enable_libevent%': 1, | 49 'enable_libevent%': 1, |
52 }], | 50 }], |
53 ], | 51 ], |
54 }, | 52 }, |
55 'build_with_chromium%': '<(build_with_chromium)', | 53 'build_with_chromium%': '<(build_with_chromium)', |
56 'build_with_mozilla%': '<(build_with_mozilla)', | 54 'build_with_mozilla%': '<(build_with_mozilla)', |
57 'build_libevent%': '<(build_libevent)', | 55 'build_libevent%': '<(build_libevent)', |
58 'enable_libevent%': '<(enable_libevent)', | 56 'enable_libevent%': '<(enable_libevent)', |
59 'webrtc_root%': '<(webrtc_root)', | 57 'webrtc_root%': '<(webrtc_root)', |
60 'android_tests_path%': '<(android_tests_path)', | |
61 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8', | 58 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8', |
62 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9', | 59 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9', |
63 'include_ilbc%': '<(include_ilbc)', | 60 'include_ilbc%': '<(include_ilbc)', |
64 'include_opus%': '<(include_opus)', | 61 'include_opus%': '<(include_opus)', |
65 'opus_dir%': '<(DEPTH)/third_party/opus', | 62 'opus_dir%': '<(DEPTH)/third_party/opus', |
66 }, | 63 }, |
67 'build_with_chromium%': '<(build_with_chromium)', | 64 'build_with_chromium%': '<(build_with_chromium)', |
68 'build_with_mozilla%': '<(build_with_mozilla)', | 65 'build_with_mozilla%': '<(build_with_mozilla)', |
69 'build_libevent%': '<(build_libevent)', | 66 'build_libevent%': '<(build_libevent)', |
70 'enable_libevent%': '<(enable_libevent)', | 67 'enable_libevent%': '<(enable_libevent)', |
71 'webrtc_root%': '<(webrtc_root)', | 68 'webrtc_root%': '<(webrtc_root)', |
72 'android_tests_path%': '<(android_tests_path)', | |
73 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', | 69 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', |
74 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)', | 70 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)', |
75 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)', | 71 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)', |
76 'include_ilbc%': '<(include_ilbc)', | 72 'include_ilbc%': '<(include_ilbc)', |
77 'include_opus%': '<(include_opus)', | 73 'include_opus%': '<(include_opus)', |
78 'rtc_relative_path%': 1, | 74 'rtc_relative_path%': 1, |
79 'external_libraries%': '0', | 75 'external_libraries%': '0', |
80 'json_root%': '<(DEPTH)/third_party/jsoncpp/source/include/', | 76 'json_root%': '<(DEPTH)/third_party/jsoncpp/source/include/', |
81 # openssl needs to be defined or gyp will complain. Is is only used when | 77 # openssl needs to be defined or gyp will complain. Is is only used when |
82 # when providing external libraries so just use current directory as a | 78 # when providing external libraries so just use current directory as a |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 }], | 605 }], |
610 ['OS=="freebsd"', { | 606 ['OS=="freebsd"', { |
611 'defines': [ | 607 'defines': [ |
612 'FREEBSD', | 608 'FREEBSD', |
613 ], | 609 ], |
614 }], | 610 }], |
615 ], | 611 ], |
616 }, | 612 }, |
617 }, # target_defaults | 613 }, # target_defaults |
618 } | 614 } |
OLD | NEW |