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 23 matching lines...) Expand all Loading... |
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 'apk_tests_path%': '<(DEPTH)/third_party/webrtc/build/apk_tests_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 'apk_tests_path%': '<(DEPTH)/webrtc/build/apk_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 | |
45 # Controls whether we use libevent on posix platforms. | |
46 ['OS=="win" or OS=="mac" or OS=="ios"', { | |
47 'build_libevent%': 0, | |
48 }, { | |
49 'build_libevent%': 1, | |
50 }], | |
51 ], | 44 ], |
52 }, | 45 }, |
53 'build_with_chromium%': '<(build_with_chromium)', | 46 'build_with_chromium%': '<(build_with_chromium)', |
54 'build_with_mozilla%': '<(build_with_mozilla)', | 47 'build_with_mozilla%': '<(build_with_mozilla)', |
55 'build_libevent%': '<(build_libevent)', | |
56 'webrtc_root%': '<(webrtc_root)', | 48 'webrtc_root%': '<(webrtc_root)', |
57 'apk_tests_path%': '<(apk_tests_path)', | 49 'apk_tests_path%': '<(apk_tests_path)', |
58 'modules_java_gyp_path%': '<(modules_java_gyp_path)', | 50 'modules_java_gyp_path%': '<(modules_java_gyp_path)', |
59 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8', | 51 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8', |
60 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9', | 52 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9', |
61 'include_ilbc%': '<(include_ilbc)', | 53 'include_ilbc%': '<(include_ilbc)', |
62 'include_opus%': '<(include_opus)', | 54 'include_opus%': '<(include_opus)', |
63 'opus_dir%': '<(DEPTH)/third_party/opus', | 55 'opus_dir%': '<(DEPTH)/third_party/opus', |
64 }, | 56 }, |
65 'build_with_chromium%': '<(build_with_chromium)', | 57 'build_with_chromium%': '<(build_with_chromium)', |
66 'build_with_mozilla%': '<(build_with_mozilla)', | 58 'build_with_mozilla%': '<(build_with_mozilla)', |
67 'build_libevent%': '<(build_libevent)', | |
68 'webrtc_root%': '<(webrtc_root)', | 59 'webrtc_root%': '<(webrtc_root)', |
69 'apk_tests_path%': '<(apk_tests_path)', | 60 'apk_tests_path%': '<(apk_tests_path)', |
70 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', | 61 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', |
71 'modules_java_gyp_path%': '<(modules_java_gyp_path)', | 62 'modules_java_gyp_path%': '<(modules_java_gyp_path)', |
72 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)', | 63 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)', |
73 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)', | 64 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)', |
74 'include_ilbc%': '<(include_ilbc)', | 65 'include_ilbc%': '<(include_ilbc)', |
75 'include_opus%': '<(include_opus)', | 66 'include_opus%': '<(include_opus)', |
76 'rtc_relative_path%': 1, | 67 'rtc_relative_path%': 1, |
77 'external_libraries%': '0', | 68 'external_libraries%': '0', |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 ], | 310 ], |
320 }], | 311 }], |
321 ['clang==1', { | 312 ['clang==1', { |
322 'cflags': [ | 313 'cflags': [ |
323 '-Wimplicit-fallthrough', | 314 '-Wimplicit-fallthrough', |
324 '-Wthread-safety', | 315 '-Wthread-safety', |
325 ], | 316 ], |
326 }], | 317 }], |
327 ], | 318 ], |
328 }], | 319 }], |
329 ['build_libevent==1', { | |
330 'defines': [ | |
331 'WEBRTC_BUILD_LIBEVENT', | |
332 ], | |
333 }], | |
334 ['target_arch=="arm64"', { | 320 ['target_arch=="arm64"', { |
335 'defines': [ | 321 'defines': [ |
336 'WEBRTC_ARCH_ARM64', | 322 'WEBRTC_ARCH_ARM64', |
337 'WEBRTC_HAS_NEON', | 323 'WEBRTC_HAS_NEON', |
338 ], | 324 ], |
339 }], | 325 }], |
340 ['target_arch=="arm"', { | 326 ['target_arch=="arm"', { |
341 'defines': [ | 327 'defines': [ |
342 'WEBRTC_ARCH_ARM', | 328 'WEBRTC_ARCH_ARM', |
343 ], | 329 ], |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 # For access to standard POSIXish features, use WEBRTC_POSIX instead | 502 # For access to standard POSIXish features, use WEBRTC_POSIX instead |
517 # of a more specific macro. | 503 # of a more specific macro. |
518 'defines': [ | 504 'defines': [ |
519 'WEBRTC_POSIX', | 505 'WEBRTC_POSIX', |
520 ], | 506 ], |
521 }], | 507 }], |
522 ], | 508 ], |
523 }, | 509 }, |
524 }, # target_defaults | 510 }, # target_defaults |
525 } | 511 } |
OLD | NEW |