2014-05-13 18:00:26 +00:00
|
|
|
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
'includes': [ '../build/common.gypi', ],
|
|
|
|
|
'conditions': [
|
2016-04-05 08:13:31 -07:00
|
|
|
['os_posix==1 and OS!="mac" and OS!="ios"', {
|
2014-05-13 18:00:26 +00:00
|
|
|
'conditions': [
|
|
|
|
|
['sysroot!=""', {
|
|
|
|
|
'variables': {
|
|
|
|
|
'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
|
|
|
|
|
},
|
|
|
|
|
}, {
|
|
|
|
|
'variables': {
|
|
|
|
|
'pkg-config': 'pkg-config'
|
|
|
|
|
},
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
'targets': [
|
2014-09-16 01:03:29 +00:00
|
|
|
{
|
|
|
|
|
# The subset of rtc_base approved for use outside of libjingle.
|
|
|
|
|
'target_name': 'rtc_base_approved',
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'sources': [
|
2016-09-15 05:11:55 -07:00
|
|
|
'arraysize.h',
|
2015-10-26 19:51:29 +01:00
|
|
|
'array_view.h',
|
2015-04-30 14:16:07 +02:00
|
|
|
'atomicops.h',
|
2016-04-22 19:34:59 +02:00
|
|
|
'bind.h',
|
2015-04-22 15:43:08 -07:00
|
|
|
'bitbuffer.cc',
|
|
|
|
|
'bitbuffer.h',
|
rtc::Buffer improvements
1. Constructors, SetData(), and AppendData() now accept uint8_t*,
int8_t*, and char*. Previously, they accepted void*, meaning that
any kind of pointer was accepted. I think requiring an explicit
cast in cases where the input array isn't already of a byte-sized
type is a better compromise between convenience and safety.
2. data() can now return a uint8_t* instead of a char*, which seems
more appropriate for a byte array, and is harder to mix up with
zero-terminated C strings. data<int8_t>() is also available so
that callers that want that type instead won't have to cast, as
is data<char>() (which remains the default until all existing
callers have been fixed).
3. Constructors, SetData(), and AppendData() now accept arrays
natively, not just decayed to pointers. The advantage of this is
that callers don't have to pass the size separately.
4. There are new constructors that allow setting size and capacity
without initializing the array. Previously, this had to be done
separately after construction.
5. Instead of TransferTo(), Buffer now supports swap(), and move
construction and assignment, and has a Pass() method that works
just like std::move(). (The Pass method is modeled after
scoped_ptr::Pass().)
R=jmarusic@webrtc.org, tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/42989004
Cr-Commit-Position: refs/heads/master@{#9033}
2015-04-20 14:03:07 +02:00
|
|
|
'buffer.h',
|
2015-05-21 17:52:01 +02:00
|
|
|
'bufferqueue.cc',
|
|
|
|
|
'bufferqueue.h',
|
2015-04-22 15:43:08 -07:00
|
|
|
'bytebuffer.cc',
|
|
|
|
|
'bytebuffer.h',
|
|
|
|
|
'byteorder.h',
|
2014-09-16 01:03:29 +00:00
|
|
|
'checks.cc',
|
|
|
|
|
'checks.h',
|
2015-04-22 15:43:08 -07:00
|
|
|
'constructormagic.h',
|
2016-03-19 11:36:18 -07:00
|
|
|
'copyonwritebuffer.cc',
|
|
|
|
|
'copyonwritebuffer.h',
|
2015-04-27 17:39:23 +02:00
|
|
|
'criticalsection.cc',
|
|
|
|
|
'criticalsection.h',
|
2015-12-16 01:09:16 -08:00
|
|
|
'deprecation.h',
|
2015-02-09 10:23:27 +00:00
|
|
|
'event.cc',
|
|
|
|
|
'event.h',
|
2015-03-17 14:25:37 +00:00
|
|
|
'event_tracer.cc',
|
|
|
|
|
'event_tracer.h',
|
2014-09-16 01:03:29 +00:00
|
|
|
'exp_filter.cc',
|
|
|
|
|
'exp_filter.h',
|
2016-09-02 13:38:32 +02:00
|
|
|
'file.cc',
|
|
|
|
|
'file.h',
|
2016-08-25 04:43:45 -07:00
|
|
|
'format_macros.h',
|
2016-09-28 11:57:10 -07:00
|
|
|
'function_view.h',
|
2016-09-28 17:42:01 -07:00
|
|
|
'ignore_wundef.h',
|
2016-06-10 14:17:27 -07:00
|
|
|
'location.h',
|
|
|
|
|
'location.cc',
|
2014-09-16 01:03:29 +00:00
|
|
|
'md5.cc',
|
|
|
|
|
'md5.h',
|
2015-03-09 22:21:53 +00:00
|
|
|
'md5digest.cc',
|
2014-09-16 01:03:29 +00:00
|
|
|
'md5digest.h',
|
2016-03-08 03:36:15 -08:00
|
|
|
'mod_ops.h',
|
2016-04-07 15:36:45 -07:00
|
|
|
'onetimeevent.h',
|
2016-09-09 03:35:24 -07:00
|
|
|
'optional.cc',
|
2015-11-10 22:34:18 +01:00
|
|
|
'optional.h',
|
2014-10-10 08:36:56 +00:00
|
|
|
'platform_file.cc',
|
|
|
|
|
'platform_file.h',
|
2015-05-18 09:51:42 +02:00
|
|
|
'platform_thread.cc',
|
|
|
|
|
'platform_thread.h',
|
2015-11-23 14:47:56 -08:00
|
|
|
'platform_thread_types.h',
|
2016-07-01 12:45:15 +02:00
|
|
|
'race_checker.cc',
|
|
|
|
|
'race_checker.h',
|
2015-12-10 01:50:55 -08:00
|
|
|
'random.cc',
|
|
|
|
|
'random.h',
|
2016-02-23 22:49:42 -08:00
|
|
|
'rate_statistics.cc',
|
|
|
|
|
'rate_statistics.h',
|
2016-07-13 09:11:28 -07:00
|
|
|
'rate_limiter.cc',
|
|
|
|
|
'rate_limiter.h',
|
2015-06-22 07:57:16 +02:00
|
|
|
'ratetracker.cc',
|
|
|
|
|
'ratetracker.h',
|
2016-02-14 08:11:10 -08:00
|
|
|
'refcount.h',
|
Revert of Safe numeric library: base/numerics (copied from Chromium) (patchset #11 id:250001 of https://codereview.webrtc.org/1753293002/ )
Reason for revert:
Looks like the Chrome iOS build is broken because of these two changes. So I'm going to have to revert. Here's the error:
https://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/185624/steps/compile/logs/stdio
FAILED: rm -f arch/libsafe_numerics.arm64.a && ./gyp-mac-tool filter-libtool libtool -static -o arch/libsafe_numerics.arm64.a
error: /Applications/Xcode7.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: no files specified
Usage: /Applications/Xcode7.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: /Applications/Xcode7.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
FAILED: rm -f arch/libsafe_numerics.armv7.a && ./gyp-mac-tool filter-libtool libtool -static -o arch/libsafe_numerics.armv7.a
error: /Applications/Xcode7.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: no files specified
Usage: /Applications/Xcode7.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: /Applications/Xcode7.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
ninja: build stopped: subcommand failed.
Original issue's description:
> Safe numeric library added: base/numerics (copied from Chromium)
>
> This copies the contents (unittest excluded) of base/numerics in
> chromium to base/numerics in webrtc. Files added:
> - safe_conversions.h
> - safe_conversions_impl.h
> - safe_math.h
> - safe_math_impl.h
>
> A really old version of safe_conversions[_impl].h previously existed in
> base/, this has been deleted and sources using it have been updated
> to include the new base/numerics/safe_converions.h.
>
> This CL also adds a DEPS file to webrtc/base.
>
> NOPRESUBMIT=True
> BUG=webrtc:5548, webrtc:5623
>
> Committed: https://crrev.com/de1c81b2d2196be611674aa6019b9db3a9329042
> Cr-Commit-Position: refs/heads/master@{#11907}
TBR=kjellander@webrtc.org,kwiberg@webrtc.org,tina.legrand@webrtc.org,hbos@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:5548, webrtc:5623
Review URL: https://codereview.webrtc.org/1792613002 .
Cr-Commit-Position: refs/heads/master@{#11965}
2016-03-11 17:12:32 -08:00
|
|
|
'safe_conversions.h',
|
|
|
|
|
'safe_conversions_impl.h',
|
2016-09-02 00:39:33 -07:00
|
|
|
'sanitizer.h',
|
2016-02-14 08:11:10 -08:00
|
|
|
'scoped_ref_ptr.h',
|
2014-09-16 01:03:29 +00:00
|
|
|
'stringencode.cc',
|
|
|
|
|
'stringencode.h',
|
|
|
|
|
'stringutils.cc',
|
|
|
|
|
'stringutils.h',
|
2016-03-24 01:51:52 -07:00
|
|
|
'swap_queue.h',
|
2015-08-20 05:04:09 -07:00
|
|
|
'systeminfo.cc',
|
|
|
|
|
'systeminfo.h',
|
2015-01-13 20:32:04 +00:00
|
|
|
'template_util.h',
|
2014-09-24 06:05:00 +00:00
|
|
|
'thread_annotations.h',
|
2015-01-26 15:27:29 +00:00
|
|
|
'thread_checker.h',
|
|
|
|
|
'thread_checker_impl.cc',
|
|
|
|
|
'thread_checker_impl.h',
|
2016-06-22 08:36:53 -07:00
|
|
|
'timestampaligner.cc',
|
|
|
|
|
'timestampaligner.h',
|
2014-09-16 01:03:29 +00:00
|
|
|
'timeutils.cc',
|
|
|
|
|
'timeutils.h',
|
2015-03-17 14:25:37 +00:00
|
|
|
'trace_event.h',
|
2016-09-05 07:46:20 -07:00
|
|
|
'type_traits.h',
|
2015-04-22 15:43:08 -07:00
|
|
|
],
|
|
|
|
|
'conditions': [
|
2016-09-02 13:38:32 +02:00
|
|
|
['os_posix==1', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'file_posix.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['OS=="win"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'file_win.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2015-04-22 15:43:08 -07:00
|
|
|
['build_with_chromium==1', {
|
2015-11-25 21:36:14 +01:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/base/base.gyp:base',
|
|
|
|
|
],
|
2015-04-22 15:43:08 -07:00
|
|
|
'include_dirs': [
|
2015-09-30 03:48:52 -07:00
|
|
|
'../../webrtc_overrides',
|
2015-04-22 15:43:08 -07:00
|
|
|
],
|
2015-11-25 21:36:14 +01:00
|
|
|
'sources': [
|
|
|
|
|
'../../webrtc_overrides/webrtc/base/logging.cc',
|
|
|
|
|
'../../webrtc_overrides/webrtc/base/logging.h',
|
|
|
|
|
],
|
2016-04-05 08:13:31 -07:00
|
|
|
}, {
|
|
|
|
|
'sources': [
|
2015-05-25 10:45:43 +02:00
|
|
|
'logging.cc',
|
|
|
|
|
'logging.h',
|
2016-04-24 17:32:48 +02:00
|
|
|
'logging_mac.mm',
|
2015-04-22 15:43:08 -07:00
|
|
|
],
|
2016-05-14 11:31:40 -07:00
|
|
|
}],
|
2016-05-24 11:40:35 -07:00
|
|
|
['OS=="mac" and build_with_chromium==0', {
|
|
|
|
|
'all_dependent_settings': {
|
|
|
|
|
'xcode_settings': {
|
|
|
|
|
'OTHER_LDFLAGS': [
|
|
|
|
|
# needed for logging_mac.mm
|
|
|
|
|
'-framework Foundation',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}], # OS=="mac" and build_with_chromium==0
|
2016-08-23 08:08:23 -07:00
|
|
|
['OS=="android"', {
|
|
|
|
|
'link_settings': {
|
|
|
|
|
'libraries': [
|
|
|
|
|
'-llog',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
}],
|
2016-05-24 11:40:35 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'rtc_task_queue',
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'rtc_base_approved',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
2016-07-12 15:04:07 -07:00
|
|
|
'sequenced_task_checker.h',
|
|
|
|
|
'sequenced_task_checker_impl.cc',
|
|
|
|
|
'sequenced_task_checker_impl.h',
|
2016-10-03 00:30:04 -07:00
|
|
|
'weak_ptr.cc',
|
|
|
|
|
'weak_ptr.h',
|
2016-05-24 11:40:35 -07:00
|
|
|
],
|
|
|
|
|
'conditions': [
|
2016-08-30 23:01:06 -07:00
|
|
|
['build_with_chromium==1', {
|
|
|
|
|
'include_dirs': [
|
|
|
|
|
'../../webrtc_overrides'
|
2016-05-15 13:42:45 +02:00
|
|
|
],
|
2016-08-30 23:01:06 -07:00
|
|
|
'sources' : [
|
|
|
|
|
'../../webrtc_overrides/webrtc/base/task_queue.cc',
|
|
|
|
|
'../../webrtc_overrides/webrtc/base/task_queue.h',
|
|
|
|
|
]
|
|
|
|
|
} , {
|
|
|
|
|
# If not build for chromium, use our own implementation.
|
|
|
|
|
'sources' : [
|
|
|
|
|
'task_queue.h',
|
|
|
|
|
'task_queue_posix.h',
|
2016-05-17 03:44:28 -07:00
|
|
|
],
|
2016-05-14 11:31:40 -07:00
|
|
|
'conditions': [
|
2016-08-30 23:01:06 -07:00
|
|
|
['build_libevent==1', {
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent',
|
|
|
|
|
],
|
2016-05-14 11:31:40 -07:00
|
|
|
}],
|
2016-08-30 23:01:06 -07:00
|
|
|
['enable_libevent==1', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'task_queue_libevent.cc',
|
|
|
|
|
'task_queue_posix.cc',
|
|
|
|
|
],
|
|
|
|
|
'defines': [ 'WEBRTC_BUILD_LIBEVENT' ],
|
|
|
|
|
'all_dependent_settings': {
|
|
|
|
|
'defines': [ 'WEBRTC_BUILD_LIBEVENT' ]
|
|
|
|
|
},
|
|
|
|
|
}, {
|
|
|
|
|
# If not libevent, fall back to the other task queues.
|
|
|
|
|
'conditions': [
|
|
|
|
|
['OS=="mac" or OS=="ios"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'task_queue_gcd.cc',
|
|
|
|
|
'task_queue_posix.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['OS=="win"', {
|
|
|
|
|
'sources': [ 'task_queue_win.cc' ],
|
|
|
|
|
}]
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
]
|
2016-05-14 11:31:40 -07:00
|
|
|
}],
|
2014-09-16 01:03:29 +00:00
|
|
|
],
|
|
|
|
|
},
|
2014-05-13 18:00:26 +00:00
|
|
|
{
|
2014-09-10 17:28:19 +00:00
|
|
|
'target_name': 'rtc_base',
|
2014-05-13 18:00:26 +00:00
|
|
|
'type': 'static_library',
|
2014-09-16 01:03:29 +00:00
|
|
|
'dependencies': [
|
2015-02-26 13:59:22 +00:00
|
|
|
'<(webrtc_root)/common.gyp:webrtc_common',
|
2014-09-16 01:03:29 +00:00
|
|
|
'rtc_base_approved',
|
|
|
|
|
],
|
2016-01-12 09:46:55 -08:00
|
|
|
'export_dependent_settings': [
|
|
|
|
|
'rtc_base_approved',
|
|
|
|
|
],
|
2014-05-13 18:00:26 +00:00
|
|
|
'defines': [
|
|
|
|
|
'FEATURE_ENABLE_SSL',
|
2015-09-22 11:58:04 -07:00
|
|
|
'SSL_USE_OPENSSL',
|
|
|
|
|
'HAVE_OPENSSL_SSL_H',
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
Reland of move all reference to carbon api (patchset #1 id:1 of https://codereview.webrtc.org/2317343003/ )
Reason for revert:
Build issues have now _really_ been fixed
Original issue's description:
> Revert of move all reference to carbon api (patchset #2 id:300001 of https://codereview.webrtc.org/2321493002/ )
>
> Reason for revert:
> Still breaks Chromium mac compile:
> [4542/22193] CXX obj/third_party/webrtc/base/rtc_base/unixfilesystem.o
> FAILED: obj/third_party/webrtc/base/rtc_base/unixfilesystem.o
> /b/c/cipd/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/webrtc/base/rtc_base/unixfilesystem.o.d -DLOGGING=1 -DV8_DEPRECATION_WARNINGS -DENABLE_NOTIFICATIONS -DENABLE_PEPPER_CDMS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DDCHECK_ALWAYS_ON=1 -DNO_TCMALLOC -DUSE_EXTERNAL_POPUP_MENU=1 -DENABLE_WEBRTC=1 -DENABLE_EXTENSIONS=1 -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DUSE_PROPRIETARY_CODECS -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=280106-1 -DCR_XCODE_VERSION=0511 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_RESTRICT_LOGGING -DEXPAT_RELATIVE_PATH -DENABLE_EXTERNAL_AUTH -DHAVE_OPENSSL_SSL_H -DHAVE_SCTP -DHAVE_SRTP -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE -DLOGGING_INSIDE_WEBRTC -DSRTP_RELATIVE_PATH -DSSL_USE_OPENSSL -DUSE_WEBRTC_DEV_BRANCH -DSSL_USE_OPENSSL -DHAVE_OPENSSL_SSL_H -DFEATURE_ENABLE_SSL -DLOGGING=1 -DFEATURE_ENABLE_SSL -DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH -DNO_MAIN_THREAD_WRAPPING -DNO_SOUND_SYSTEM -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_MAC -DNO_MAIN_THREAD_WRAPPING -I../../third_party/webrtc_overrides -I../../third_party/boringssl/src/include -I../.. -Igen -I../../third_party/jsoncpp/overrides/include -I../../third_party/jsoncpp/source/include -I../../third_party/webrtc_overrides -I../../third_party -I../../third_party/boringssl/src/include -Wno-uninitialized -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -arch x86_64 -O2 -g1 -isysroot /Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Wheader-hygiene -Wstring-conversion -Werror -Wall -Wno-unused-variable -Wpartial-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-deprecated-register -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -fno-threadsafe-statics -fvisibility-inlines-hidden -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -c ../../third_party/webrtc/base/unixfilesystem.cc -o obj/third_party/webrtc/base/rtc_base/unixfilesystem.o
> ../../third_party/webrtc/base/unixfilesystem.cc:375:11: error: variable has incomplete type 'FSRef'
> FSRef fr;
> ^
> /Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:467:8: note: forward declaration of 'FSRef'
> struct FSRef;
> ^
> ../../third_party/webrtc/base/unixfilesystem.cc:376:27: error: use of undeclared identifier 'kUserDomain'
> if (0 != FSFindFolder(kUserDomain, kApplicationSupportFolderType,
> ^
> ../../third_party/webrtc/base/unixfilesystem.cc:376:40: error: use of undeclared identifier 'kApplicationSupportFolderType'
> if (0 != FSFindFolder(kUserDomain, kApplicationSupportFolderType,
> ^
> ../../third_party/webrtc/base/unixfilesystem.cc:377:27: error: use of undeclared identifier 'kCreateFolder'; did you mean 'CreateFolder'?
> kCreateFolder, &fr))
> ^~~~~~~~~~~~~
> CreateFolder
> ../../third_party/webrtc/base/unixfilesystem.cc:92:22: note: 'CreateFolder' declared here
> bool UnixFilesystem::CreateFolder(const Pathname &path, mode_t mode) {
>
> Original issue's description:
> > Reland of move all reference to carbon api (patchset #1 id:1 of https://codereview.webrtc.org/2316563002/ )
> >
> > Reason for revert:
> > Chromium build issues have been resolved.
> >
> > Original issue's description:
> > > Revert of Remove all reference to carbon api (patchset #2 id:20001 of https://codereview.webrtc.org/2299633002/ )
> > >
> > > Reason for revert:
> > > Breaks chromium build
> > >
> > > Original issue's description:
> > > > Remove all reference to carbon api
> > > >
> > > > BUG=webrtc:6282
> > > >
> > > > Committed: https://crrev.com/dbd8b6bec4143c940b2f2ca8cd85c25d17327964
> > > > Cr-Commit-Position: refs/heads/master@{#14080}
> > >
> > > TBR=magjed@webrtc.org,mflodman@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:6282
> > >
> > > Committed: https://crrev.com/b096aa7fd375a980daab3a986596548ca5de2a1c
> > > Cr-Commit-Position: refs/heads/master@{#14081}
> >
> > TBR=magjed@webrtc.org,mflodman@webrtc.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:6282
> >
> > Committed: https://crrev.com/a90879b64fd8db57c0274169311d6b51dd59f1a0
> > Cr-Commit-Position: refs/heads/master@{#14125}
>
> TBR=mflodman@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6282
>
> Committed: https://crrev.com/4e0581f543b026cbc31c3b24cf65c7f51dcd6124
> Cr-Commit-Position: refs/heads/master@{#14133}
TBR=mflodman@webrtc.org,magjed@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6282
Review-Url: https://codereview.webrtc.org/2327573002
Cr-Commit-Position: refs/heads/master@{#14155}
2016-09-09 03:19:48 -07:00
|
|
|
'applefilesystem.mm',
|
2014-05-13 18:00:26 +00:00
|
|
|
'asyncfile.cc',
|
|
|
|
|
'asyncfile.h',
|
|
|
|
|
'asyncinvoker.cc',
|
|
|
|
|
'asyncinvoker.h',
|
2014-06-16 07:11:19 +00:00
|
|
|
'asyncinvoker-inl.h',
|
2015-03-09 22:21:53 +00:00
|
|
|
'asyncpacketsocket.cc',
|
2014-05-13 18:00:26 +00:00
|
|
|
'asyncpacketsocket.h',
|
2015-03-09 22:21:53 +00:00
|
|
|
'asyncresolverinterface.cc',
|
2014-05-13 18:00:26 +00:00
|
|
|
'asyncresolverinterface.h',
|
|
|
|
|
'asyncsocket.cc',
|
|
|
|
|
'asyncsocket.h',
|
|
|
|
|
'asynctcpsocket.cc',
|
|
|
|
|
'asynctcpsocket.h',
|
|
|
|
|
'asyncudpsocket.cc',
|
|
|
|
|
'asyncudpsocket.h',
|
|
|
|
|
'autodetectproxy.cc',
|
|
|
|
|
'autodetectproxy.h',
|
|
|
|
|
'base64.cc',
|
|
|
|
|
'base64.h',
|
|
|
|
|
'common.cc',
|
|
|
|
|
'common.h',
|
|
|
|
|
'crc32.cc',
|
|
|
|
|
'crc32.h',
|
2015-03-09 22:21:53 +00:00
|
|
|
'cryptstring.cc',
|
2014-05-13 18:00:26 +00:00
|
|
|
'cryptstring.h',
|
|
|
|
|
'diskcache.cc',
|
|
|
|
|
'diskcache.h',
|
2015-07-22 12:12:17 -07:00
|
|
|
'filerotatingstream.cc',
|
|
|
|
|
'filerotatingstream.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'fileutils.cc',
|
|
|
|
|
'fileutils.h',
|
|
|
|
|
'firewallsocketserver.cc',
|
|
|
|
|
'firewallsocketserver.h',
|
|
|
|
|
'flags.cc',
|
|
|
|
|
'flags.h',
|
|
|
|
|
'gunit_prod.h',
|
|
|
|
|
'helpers.cc',
|
|
|
|
|
'helpers.h',
|
|
|
|
|
'httpbase.cc',
|
|
|
|
|
'httpbase.h',
|
2016-10-05 01:23:16 -07:00
|
|
|
'httpclient.cc',
|
|
|
|
|
'httpclient.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'httpcommon-inl.h',
|
|
|
|
|
'httpcommon.cc',
|
|
|
|
|
'httpcommon.h',
|
2016-10-05 01:23:16 -07:00
|
|
|
'httprequest.cc',
|
|
|
|
|
'httprequest.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'ipaddress.cc',
|
|
|
|
|
'ipaddress.h',
|
|
|
|
|
'linked_ptr.h',
|
|
|
|
|
'messagedigest.cc',
|
|
|
|
|
'messagedigest.h',
|
|
|
|
|
'messagehandler.cc',
|
|
|
|
|
'messagehandler.h',
|
|
|
|
|
'messagequeue.cc',
|
|
|
|
|
'messagequeue.h',
|
|
|
|
|
'nethelpers.cc',
|
|
|
|
|
'nethelpers.h',
|
|
|
|
|
'network.cc',
|
|
|
|
|
'network.h',
|
2015-10-19 09:39:32 -07:00
|
|
|
'networkmonitor.cc',
|
|
|
|
|
'networkmonitor.h',
|
2016-04-28 01:32:48 -07:00
|
|
|
'nullsocketserver.cc',
|
2014-05-13 18:00:26 +00:00
|
|
|
'nullsocketserver.h',
|
2015-09-22 11:58:04 -07:00
|
|
|
'openssl.h',
|
|
|
|
|
'openssladapter.cc',
|
|
|
|
|
'openssladapter.h',
|
|
|
|
|
'openssldigest.cc',
|
|
|
|
|
'openssldigest.h',
|
|
|
|
|
'opensslidentity.cc',
|
|
|
|
|
'opensslidentity.h',
|
|
|
|
|
'opensslstreamadapter.cc',
|
|
|
|
|
'opensslstreamadapter.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'pathutils.cc',
|
|
|
|
|
'pathutils.h',
|
|
|
|
|
'physicalsocketserver.cc',
|
|
|
|
|
'physicalsocketserver.h',
|
|
|
|
|
'proxydetect.cc',
|
|
|
|
|
'proxydetect.h',
|
|
|
|
|
'proxyinfo.cc',
|
|
|
|
|
'proxyinfo.h',
|
|
|
|
|
'ratelimiter.cc',
|
|
|
|
|
'ratelimiter.h',
|
2015-08-20 12:15:54 +02:00
|
|
|
'rtccertificate.cc',
|
|
|
|
|
'rtccertificate.h',
|
RTCCertificateGenerator added.
This is a new way of generating RTCCertificate objects that is meant
to replace DtlsIdentityStoreInterface and all of its implementations
(clean up work).
It is similar to the identity store in that it generates on the worker
thread and does callback on the signaling thread, but:
- It does not generate identities in the background that you did not
ask for (preemptive generation made more sense before certificates
were parameterized, not so much anymore, and ECDSA which will be most
common takes like <=2 ms to generate).
- As such this code is less complicated than the store's code.
- The API is different, it takes Optional<uint64_t> expires and it
returns RTCCertificates, not SSLIdentities.
- It supports a blocking version of GenerateCertificate that can be
called from any thread, necessary for Chrome which can generate
certificates before the signaling/worker threads have been
initialized as WebRTC-threads (Chrome can invoke this version on
the worker thread outside of WebRTC).
This CL does not remove the identity store, only adds the alternative.
Follow-up CLs will start using it, the store will be removed once it
is no longer used anywhere.
BUG=webrtc:5707, webrtc:5708
R=hta@webrtc.org, torbjorng@webrtc.org
Review URL: https://codereview.webrtc.org/1883813002 .
Cr-Commit-Position: refs/heads/master@{#12381}
2016-04-15 17:55:21 +02:00
|
|
|
'rtccertificategenerator.cc',
|
|
|
|
|
'rtccertificategenerator.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'sha1.cc',
|
|
|
|
|
'sha1.h',
|
2015-03-09 22:21:53 +00:00
|
|
|
'sha1digest.cc',
|
2014-05-13 18:00:26 +00:00
|
|
|
'sha1digest.h',
|
2015-02-07 22:35:54 +00:00
|
|
|
'sharedexclusivelock.cc',
|
|
|
|
|
'sharedexclusivelock.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'signalthread.cc',
|
|
|
|
|
'signalthread.h',
|
2015-03-09 22:21:53 +00:00
|
|
|
'sigslot.cc',
|
2014-05-13 18:00:26 +00:00
|
|
|
'sigslot.h',
|
|
|
|
|
'sigslotrepeater.h',
|
|
|
|
|
'socket.h',
|
|
|
|
|
'socketadapters.cc',
|
|
|
|
|
'socketadapters.h',
|
|
|
|
|
'socketaddress.cc',
|
|
|
|
|
'socketaddress.h',
|
|
|
|
|
'socketaddresspair.cc',
|
|
|
|
|
'socketaddresspair.h',
|
|
|
|
|
'socketfactory.h',
|
2016-10-05 01:23:16 -07:00
|
|
|
'socketpool.cc',
|
|
|
|
|
'socketpool.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'socketserver.h',
|
|
|
|
|
'socketstream.cc',
|
|
|
|
|
'socketstream.h',
|
|
|
|
|
'ssladapter.cc',
|
|
|
|
|
'ssladapter.h',
|
|
|
|
|
'sslfingerprint.cc',
|
|
|
|
|
'sslfingerprint.h',
|
|
|
|
|
'sslidentity.cc',
|
|
|
|
|
'sslidentity.h',
|
|
|
|
|
'sslsocketfactory.cc',
|
|
|
|
|
'sslsocketfactory.h',
|
|
|
|
|
'sslstreamadapter.cc',
|
|
|
|
|
'sslstreamadapter.h',
|
|
|
|
|
'stream.cc',
|
|
|
|
|
'stream.h',
|
|
|
|
|
'task.cc',
|
|
|
|
|
'task.h',
|
|
|
|
|
'taskparent.cc',
|
|
|
|
|
'taskparent.h',
|
|
|
|
|
'taskrunner.cc',
|
|
|
|
|
'taskrunner.h',
|
|
|
|
|
'thread.cc',
|
|
|
|
|
'thread.h',
|
|
|
|
|
'urlencode.cc',
|
|
|
|
|
'urlencode.h',
|
|
|
|
|
],
|
2014-09-10 17:28:19 +00:00
|
|
|
# TODO(henrike): issue 3307, make rtc_base build without disabling
|
2014-05-13 18:00:26 +00:00
|
|
|
# these flags.
|
|
|
|
|
'cflags!': [
|
|
|
|
|
'-Wextra',
|
|
|
|
|
'-Wall',
|
|
|
|
|
],
|
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
|
'defines': [
|
|
|
|
|
'FEATURE_ENABLE_SSL',
|
2015-09-22 11:58:04 -07:00
|
|
|
'SSL_USE_OPENSSL',
|
|
|
|
|
'HAVE_OPENSSL_SSL_H',
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
'conditions': [
|
|
|
|
|
['build_with_chromium==1', {
|
|
|
|
|
'include_dirs': [
|
2015-09-30 03:48:52 -07:00
|
|
|
'../../webrtc_overrides',
|
2014-08-11 21:06:30 +00:00
|
|
|
'../../boringssl/src/include',
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
2016-04-05 08:13:31 -07:00
|
|
|
'conditions': [
|
|
|
|
|
['OS=="win"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'../../webrtc_overrides/webrtc/base/win32socketinit.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
'defines': [
|
|
|
|
|
'NO_MAIN_THREAD_WRAPPING',
|
2015-10-02 10:07:50 -07:00
|
|
|
],
|
2016-04-05 08:13:31 -07:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
|
'defines': [
|
|
|
|
|
'NO_MAIN_THREAD_WRAPPING',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
}, {
|
|
|
|
|
'sources': [
|
2014-05-13 18:00:26 +00:00
|
|
|
'callback.h',
|
|
|
|
|
'fileutils_mock.h',
|
|
|
|
|
'httpserver.cc',
|
|
|
|
|
'httpserver.h',
|
|
|
|
|
'json.cc',
|
|
|
|
|
'json.h',
|
2015-07-22 12:12:17 -07:00
|
|
|
'logsinks.cc',
|
|
|
|
|
'logsinks.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'mathutils.h',
|
|
|
|
|
'natserver.cc',
|
|
|
|
|
'natserver.h',
|
|
|
|
|
'natsocketfactory.cc',
|
|
|
|
|
'natsocketfactory.h',
|
|
|
|
|
'nattypes.cc',
|
|
|
|
|
'nattypes.h',
|
|
|
|
|
'optionsfile.cc',
|
|
|
|
|
'optionsfile.h',
|
|
|
|
|
'proxyserver.cc',
|
|
|
|
|
'proxyserver.h',
|
|
|
|
|
'rollingaccumulator.h',
|
|
|
|
|
'scopedptrcollection.h',
|
|
|
|
|
'sslconfig.h',
|
|
|
|
|
'sslroots.h',
|
|
|
|
|
'testbase64.h',
|
|
|
|
|
'testclient.cc',
|
|
|
|
|
'testclient.h',
|
2016-10-06 01:37:37 -07:00
|
|
|
'transformadapter.cc',
|
|
|
|
|
'transformadapter.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'virtualsocketserver.cc',
|
|
|
|
|
'virtualsocketserver.h',
|
|
|
|
|
'window.h',
|
2016-04-05 05:23:26 -07:00
|
|
|
'windowpicker.h',
|
2016-04-05 08:13:31 -07:00
|
|
|
'windowpickerfactory.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
2014-06-16 21:35:20 +00:00
|
|
|
'conditions': [
|
2014-06-17 14:48:44 +00:00
|
|
|
['build_json==1', {
|
2014-06-16 21:35:20 +00:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
|
|
|
|
|
],
|
|
|
|
|
}, {
|
|
|
|
|
'include_dirs': [
|
|
|
|
|
'<(json_root)',
|
|
|
|
|
],
|
|
|
|
|
'defines': [
|
|
|
|
|
# When defined changes the include path for json.h to where it
|
|
|
|
|
# is expected to be when building json outside of the standalone
|
|
|
|
|
# build.
|
2014-06-17 14:48:44 +00:00
|
|
|
'WEBRTC_EXTERNAL_JSON',
|
2014-06-16 21:35:20 +00:00
|
|
|
],
|
|
|
|
|
}],
|
2016-04-05 08:13:31 -07:00
|
|
|
['OS=="linux"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'dbus.cc',
|
|
|
|
|
'dbus.h',
|
|
|
|
|
'libdbusglibsymboltable.cc',
|
|
|
|
|
'libdbusglibsymboltable.h',
|
|
|
|
|
'linuxfdwalk.c',
|
|
|
|
|
'linuxfdwalk.h',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['os_posix==1', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'latebindingsymboltable.cc',
|
|
|
|
|
'latebindingsymboltable.h',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['OS=="mac"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'macwindowpicker.cc',
|
|
|
|
|
'macwindowpicker.h',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['OS=="win"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'diskcache_win32.cc',
|
|
|
|
|
'diskcache_win32.h',
|
|
|
|
|
'win32regkey.cc',
|
|
|
|
|
'win32regkey.h',
|
|
|
|
|
'win32socketinit.cc',
|
|
|
|
|
'win32socketinit.h',
|
|
|
|
|
'win32socketserver.cc',
|
|
|
|
|
'win32socketserver.h',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2015-12-16 14:05:29 -08:00
|
|
|
['OS=="win" and clang==1', {
|
|
|
|
|
'msvs_settings': {
|
|
|
|
|
'VCCLCompilerTool': {
|
|
|
|
|
'AdditionalOptions': [
|
|
|
|
|
# Disable warnings failing when compiling with Clang on Windows.
|
|
|
|
|
# https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
|
2016-01-19 04:47:17 -08:00
|
|
|
'-Wno-sign-compare',
|
2015-12-16 14:05:29 -08:00
|
|
|
'-Wno-missing-braces',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}],
|
2016-04-05 08:13:31 -07:00
|
|
|
], # conditions
|
|
|
|
|
}], # build_with_chromium==0
|
|
|
|
|
['OS=="android"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'ifaddrs-android.cc',
|
|
|
|
|
'ifaddrs-android.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
|
|
|
|
'link_settings': {
|
|
|
|
|
'libraries': [
|
|
|
|
|
'-llog',
|
|
|
|
|
'-lGLESv2',
|
|
|
|
|
],
|
|
|
|
|
},
|
2016-04-05 08:13:31 -07:00
|
|
|
}],
|
2016-05-20 09:52:43 +02:00
|
|
|
['(OS=="mac" or OS=="ios") and nacl_untrusted_build==0', {
|
2016-04-05 08:13:31 -07:00
|
|
|
'sources': [
|
|
|
|
|
'maccocoathreadhelper.h',
|
|
|
|
|
'maccocoathreadhelper.mm',
|
|
|
|
|
'macconversion.cc',
|
|
|
|
|
'macconversion.h',
|
|
|
|
|
'macifaddrs_converter.cc',
|
|
|
|
|
'scoped_autorelease_pool.h',
|
|
|
|
|
'scoped_autorelease_pool.mm',
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['OS=="ios"', {
|
|
|
|
|
'all_dependent_settings': {
|
|
|
|
|
'xcode_settings': {
|
|
|
|
|
'OTHER_LDFLAGS': [
|
2015-07-14 12:55:44 -07:00
|
|
|
'-framework CFNetwork',
|
2014-05-13 18:00:26 +00:00
|
|
|
'-framework Foundation',
|
|
|
|
|
'-framework Security',
|
|
|
|
|
'-framework SystemConfiguration',
|
|
|
|
|
'-framework UIKit',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}],
|
2016-04-05 08:13:31 -07:00
|
|
|
['use_x11==1', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'x11windowpicker.cc',
|
|
|
|
|
'x11windowpicker.h',
|
|
|
|
|
],
|
2014-05-13 18:00:26 +00:00
|
|
|
'link_settings': {
|
|
|
|
|
'libraries': [
|
|
|
|
|
'-ldl',
|
|
|
|
|
'-lrt',
|
|
|
|
|
'-lXext',
|
|
|
|
|
'-lX11',
|
|
|
|
|
'-lXcomposite',
|
|
|
|
|
'-lXrender',
|
|
|
|
|
],
|
|
|
|
|
},
|
2014-08-15 14:44:13 +00:00
|
|
|
}],
|
|
|
|
|
['OS=="linux"', {
|
|
|
|
|
'link_settings': {
|
|
|
|
|
'libraries': [
|
|
|
|
|
'-ldl',
|
|
|
|
|
'-lrt',
|
|
|
|
|
],
|
|
|
|
|
},
|
2014-05-13 18:00:26 +00:00
|
|
|
}],
|
|
|
|
|
['OS=="mac"', {
|
2016-04-05 08:13:31 -07:00
|
|
|
'sources': [
|
|
|
|
|
'macutils.cc',
|
|
|
|
|
'macutils.h',
|
|
|
|
|
],
|
2014-05-13 18:00:26 +00:00
|
|
|
'all_dependent_settings': {
|
|
|
|
|
'link_settings': {
|
|
|
|
|
'xcode_settings': {
|
|
|
|
|
'OTHER_LDFLAGS': [
|
|
|
|
|
'-framework Cocoa',
|
|
|
|
|
'-framework Foundation',
|
|
|
|
|
'-framework IOKit',
|
|
|
|
|
'-framework Security',
|
|
|
|
|
'-framework SystemConfiguration',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}],
|
2016-05-20 09:52:43 +02:00
|
|
|
['OS=="win" and nacl_untrusted_build==0', {
|
2016-04-05 08:13:31 -07:00
|
|
|
'sources': [
|
|
|
|
|
'win32.cc',
|
|
|
|
|
'win32.h',
|
|
|
|
|
'win32filesystem.cc',
|
|
|
|
|
'win32filesystem.h',
|
|
|
|
|
'win32securityerrors.cc',
|
|
|
|
|
'win32window.cc',
|
|
|
|
|
'win32window.h',
|
|
|
|
|
'win32windowpicker.cc',
|
|
|
|
|
'win32windowpicker.h',
|
|
|
|
|
'winping.cc',
|
|
|
|
|
'winping.h',
|
2015-12-28 14:06:55 -08:00
|
|
|
],
|
2014-05-13 18:00:26 +00:00
|
|
|
'link_settings': {
|
|
|
|
|
'libraries': [
|
|
|
|
|
'-lcrypt32.lib',
|
|
|
|
|
'-liphlpapi.lib',
|
|
|
|
|
'-lsecur32.lib',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
# Suppress warnings about WIN32_LEAN_AND_MEAN.
|
|
|
|
|
'msvs_disabled_warnings': [4005, 4703],
|
|
|
|
|
'defines': [
|
|
|
|
|
'_CRT_NONSTDC_NO_DEPRECATE',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2016-04-05 08:13:31 -07:00
|
|
|
['os_posix==1', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'ifaddrs_converter.cc',
|
|
|
|
|
'ifaddrs_converter.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'unixfilesystem.cc',
|
|
|
|
|
'unixfilesystem.h',
|
|
|
|
|
],
|
|
|
|
|
'configurations': {
|
|
|
|
|
'Debug_Base': {
|
|
|
|
|
'defines': [
|
|
|
|
|
# Chromium's build/common.gypi defines this for all posix
|
|
|
|
|
# _except_ for ios & mac. We want it there as well, e.g.
|
|
|
|
|
# because ASSERT and friends trigger off of it.
|
|
|
|
|
'_DEBUG',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}],
|
2016-04-05 08:13:31 -07:00
|
|
|
['OS=="linux" or OS=="android"', {
|
|
|
|
|
'sources': [
|
2014-05-13 18:00:26 +00:00
|
|
|
'linux.cc',
|
|
|
|
|
'linux.h',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2015-09-22 11:58:04 -07:00
|
|
|
['build_ssl==1', {
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
|
|
|
|
|
],
|
|
|
|
|
}, {
|
|
|
|
|
'include_dirs': [
|
|
|
|
|
'<(ssl_root)',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
|
|
|
|
},
|
2016-02-05 00:23:50 -08:00
|
|
|
{
|
|
|
|
|
'target_name': 'gtest_prod',
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'sources': [
|
|
|
|
|
'gtest_prod_util.h',
|
|
|
|
|
],
|
|
|
|
|
},
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
|
|
|
|
}
|