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 17 matching lines...) Expand all Loading... |
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', | 37 'android_tests_path%': '<(DEPTH)/third_party/webrtc/build/android_te
sts_noop.gyp', |
38 'modules_java_gyp_path%': '<(DEPTH)/third_party/webrtc/modules/modul
es_java_chromium.gyp', | |
39 }, { | 38 }, { |
40 'webrtc_root%': '<(DEPTH)/webrtc', | 39 'webrtc_root%': '<(DEPTH)/webrtc', |
41 'android_tests_path%': '<(DEPTH)/webrtc/build/android_tests.gyp', | 40 'android_tests_path%': '<(DEPTH)/webrtc/build/android_tests.gyp', |
42 'modules_java_gyp_path%': '<(DEPTH)/webrtc/modules/modules_java.gyp'
, | |
43 }], | 41 }], |
44 | 42 |
45 # Controls whether we use libevent on posix platforms. | 43 # Controls whether we use libevent on posix platforms. |
46 # TODO(phoglund): should arguably be controlled by platform #ifdefs | 44 # TODO(phoglund): should arguably be controlled by platform #ifdefs |
47 # in the code instead. | 45 # in the code instead. |
48 ['OS=="win" or OS=="mac" or OS=="ios"', { | 46 ['OS=="win" or OS=="mac" or OS=="ios"', { |
49 'build_libevent%': 0, | 47 'build_libevent%': 0, |
50 'enable_libevent%': 0, | 48 'enable_libevent%': 0, |
51 }, { | 49 }, { |
52 'build_libevent%': 1, | 50 'build_libevent%': 1, |
53 'enable_libevent%': 1, | 51 'enable_libevent%': 1, |
54 }], | 52 }], |
55 ], | 53 ], |
56 }, | 54 }, |
57 'build_with_chromium%': '<(build_with_chromium)', | 55 'build_with_chromium%': '<(build_with_chromium)', |
58 'build_with_mozilla%': '<(build_with_mozilla)', | 56 'build_with_mozilla%': '<(build_with_mozilla)', |
59 'build_libevent%': '<(build_libevent)', | 57 'build_libevent%': '<(build_libevent)', |
60 'enable_libevent%': '<(enable_libevent)', | 58 'enable_libevent%': '<(enable_libevent)', |
61 'webrtc_root%': '<(webrtc_root)', | 59 'webrtc_root%': '<(webrtc_root)', |
62 'android_tests_path%': '<(android_tests_path)', | 60 'android_tests_path%': '<(android_tests_path)', |
63 'modules_java_gyp_path%': '<(modules_java_gyp_path)', | |
64 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8', | 61 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8', |
65 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9', | 62 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9', |
66 'include_ilbc%': '<(include_ilbc)', | 63 'include_ilbc%': '<(include_ilbc)', |
67 'include_opus%': '<(include_opus)', | 64 'include_opus%': '<(include_opus)', |
68 'opus_dir%': '<(DEPTH)/third_party/opus', | 65 'opus_dir%': '<(DEPTH)/third_party/opus', |
69 }, | 66 }, |
70 'build_with_chromium%': '<(build_with_chromium)', | 67 'build_with_chromium%': '<(build_with_chromium)', |
71 'build_with_mozilla%': '<(build_with_mozilla)', | 68 'build_with_mozilla%': '<(build_with_mozilla)', |
72 'build_libevent%': '<(build_libevent)', | 69 'build_libevent%': '<(build_libevent)', |
73 'enable_libevent%': '<(enable_libevent)', | 70 'enable_libevent%': '<(enable_libevent)', |
74 'webrtc_root%': '<(webrtc_root)', | 71 'webrtc_root%': '<(webrtc_root)', |
75 'android_tests_path%': '<(android_tests_path)', | 72 'android_tests_path%': '<(android_tests_path)', |
76 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', | 73 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', |
77 'modules_java_gyp_path%': '<(modules_java_gyp_path)', | |
78 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)', | 74 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)', |
79 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)', | 75 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)', |
80 'include_ilbc%': '<(include_ilbc)', | 76 'include_ilbc%': '<(include_ilbc)', |
81 'include_opus%': '<(include_opus)', | 77 'include_opus%': '<(include_opus)', |
82 'rtc_relative_path%': 1, | 78 'rtc_relative_path%': 1, |
83 'external_libraries%': '0', | 79 'external_libraries%': '0', |
84 'json_root%': '<(DEPTH)/third_party/jsoncpp/source/include/', | 80 'json_root%': '<(DEPTH)/third_party/jsoncpp/source/include/', |
85 # openssl needs to be defined or gyp will complain. Is is only used when | 81 # openssl needs to be defined or gyp will complain. Is is only used when |
86 # when providing external libraries so just use current directory as a | 82 # when providing external libraries so just use current directory as a |
87 # placeholder. | 83 # placeholder. |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 }], | 585 }], |
590 ['OS=="freebsd"', { | 586 ['OS=="freebsd"', { |
591 'defines': [ | 587 'defines': [ |
592 'FREEBSD', | 588 'FREEBSD', |
593 ], | 589 ], |
594 }], | 590 }], |
595 ], | 591 ], |
596 }, | 592 }, |
597 }, # target_defaults | 593 }, # target_defaults |
598 } | 594 } |
OLD | NEW |