Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("//build/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
| 10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 42 } | 42 } |
| 43 | 43 |
| 44 config("rtc_base_all_dependent_config") { | 44 config("rtc_base_all_dependent_config") { |
| 45 if (is_ios) { | 45 if (is_ios) { |
| 46 libs = [ | 46 libs = [ |
| 47 "CFNetwork.framework", | 47 "CFNetwork.framework", |
| 48 | 48 |
| 49 #"Foundation.framework", # Already in //build/config:default_libs. | 49 #"Foundation.framework", # Already in //build/config:default_libs. |
| 50 "Security.framework", | 50 "Security.framework", |
| 51 "SystemConfiguration.framework", | 51 "SystemConfiguration.framework", |
| 52 "UIKit.framework", # Already in //build/config:default_libs. | 52 "UIKit.framework", |
|
tkchin_webrtc
2016/06/07 22:14:54
I feel like this isn't the best place to add these
kjellander_webrtc
2016/06/08 08:03:21
You're absolutely right, but I don't want to invol
| |
| 53 ] | 53 ] |
| 54 } | 54 } |
| 55 if (is_mac) { | 55 if (is_mac) { |
| 56 libs = [ | 56 libs = [ |
| 57 "Cocoa.framework", | 57 "Cocoa.framework", |
| 58 "Foundation.framework", | 58 "Foundation.framework", |
| 59 "IOKit.framework", | 59 "IOKit.framework", |
| 60 "Security.framework", | 60 "Security.framework", |
| 61 "SystemConfiguration.framework", | 61 "SystemConfiguration.framework", |
| 62 ] | 62 ] |
| 63 if (current_cpu == "x86") { | 63 if (current_cpu == "x86") { |
| 64 libs = [ "Carbon.framework" ] # Already in //build/config:default_libs. | 64 libs = [ "Carbon.framework" ] |
|
Nico
2016/06/13 11:32:34
This must be +=, not =, else gn will fail with "th
| |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 } | 67 } |
| 68 | 68 |
| 69 if (is_linux && !build_with_chromium) { | 69 if (is_linux && !build_with_chromium) { |
| 70 # Provides the same functionality as the //crypto:platform target, which | 70 # Provides the same functionality as the //crypto:platform target, which |
| 71 # WebRTC cannot use as we don't sync src/crypto from Chromium. | 71 # WebRTC cannot use as we don't sync src/crypto from Chromium. |
| 72 group("linux_system_ssl") { | 72 group("linux_system_ssl") { |
| 73 deps = [ | 73 deps = [ |
| 74 "//third_party/boringssl", | 74 "//third_party/boringssl", |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 551 "dl", | 551 "dl", |
| 552 "rt", | 552 "rt", |
| 553 ] | 553 ] |
| 554 } | 554 } |
| 555 | 555 |
| 556 if (is_mac) { | 556 if (is_mac) { |
| 557 sources += [ | 557 sources += [ |
| 558 "macutils.cc", | 558 "macutils.cc", |
| 559 "macutils.h", | 559 "macutils.h", |
| 560 ] | 560 ] |
| 561 libs += [ "CoreServices.framework" ] # For GetGestalt in macutils.cc. | 561 libs += [ |
| 562 # For ProcessInformationCopyDictionary in unixfilesystem.cc. | |
| 563 "ApplicationServices.framework", | |
| 564 | |
| 565 # For GetGestalt in macutils.cc. | |
| 566 "CoreServices.framework", | |
| 567 ] | |
| 562 } | 568 } |
| 563 | 569 |
| 564 if (is_win) { | 570 if (is_win) { |
| 565 sources += [ | 571 sources += [ |
| 566 "win32.cc", | 572 "win32.cc", |
| 567 "win32.h", | 573 "win32.h", |
| 568 "win32filesystem.cc", | 574 "win32filesystem.cc", |
| 569 "win32filesystem.h", | 575 "win32filesystem.h", |
| 570 "win32securityerrors.cc", | 576 "win32securityerrors.cc", |
| 571 "win32window.cc", | 577 "win32window.cc", |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 659 ] | 665 ] |
| 660 deps = [ | 666 deps = [ |
| 661 ":rtc_base", | 667 ":rtc_base", |
| 662 "../test:field_trial", | 668 "../test:field_trial", |
| 663 ] | 669 ] |
| 664 public_deps = [ | 670 public_deps = [ |
| 665 "//testing/gtest", | 671 "//testing/gtest", |
| 666 ] | 672 ] |
| 667 } | 673 } |
| 668 } | 674 } |
| OLD | NEW |