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