Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: content/BUILD.gn

Issue 435823002: Revert "Update webrtc&libjingle 6774:6799." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « DEPS ('k') | content/browser/renderer_host/p2p/socket_dispatcher_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 # Applied by targets internal to content. 7 # Applied by targets internal to content.
8 config("content_implementation") { 8 config("content_implementation") {
9 defines = [ "CONTENT_IMPLEMENTATION" ] 9 defines = [ "CONTENT_IMPLEMENTATION" ]
10 } 10 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 defines = [ 74 defines = [
75 "FEATURE_ENABLE_SSL", 75 "FEATURE_ENABLE_SSL",
76 "FEATURE_ENABLE_VOICEMAIL", 76 "FEATURE_ENABLE_VOICEMAIL",
77 "EXPAT_RELATIVE_PATH", 77 "EXPAT_RELATIVE_PATH",
78 "GTEST_RELATIVE_PATH", 78 "GTEST_RELATIVE_PATH",
79 "NO_MAIN_THREAD_WRAPPING", 79 "NO_MAIN_THREAD_WRAPPING",
80 "NO_SOUND_SYSTEM", 80 "NO_SOUND_SYSTEM",
81 ] 81 ]
82 82
83 if (is_mac) { 83 if (is_mac) {
84 defines += [ "OSX", "WEBRTC_MAC" ] 84 defines += [ "OSX" ]
85 } else if (is_linux) { 85 } else if (is_linux) {
86 defines += [ "LINUX", "WEBRTC_LINUX" ] 86 defines += [ "LINUX" ]
87 } else if (is_android) { 87 } else if (is_android) {
88 defines += [ "ANDROID", "WEBRTC_LINUX", "WEBRTC_ANDROID" ] 88 defines += [ "ANDROID" ]
89 } else if (is_win) { 89 } else if (is_win) {
90 libs = [ "secur32.lib", "crypt32.lib", "iphlpapi.lib" ] 90 libs = [ "secur32.lib", "crypt32.lib", "iphlpapi.lib" ]
91 defines += [ "WEBRTC_WIN" ]
92 } 91 }
93 92
94 if (is_posix) { 93 if (is_posix) {
95 defines += [ "POSIX", "WEBRTC_POSIX" ] 94 defines += [ "POSIX" ]
96 } 95 }
97 if (is_chromeos) { 96 if (is_chromeos) {
98 defines += [ "CHROMEOS" ] 97 defines += [ "CHROMEOS" ]
99 } 98 }
100 } 99 }
101 100
102 # Sets up include dirs while webrtc is being converted to GN. 101 # Sets up include dirs while webrtc is being converted to GN.
103 # TODO(GYP) remove when webrtc is ready. 102 # TODO(GYP) remove when webrtc is ready.
104 config("webrtc_stub_config") { 103 config("webrtc_stub_config") {
105 defines = [ "WEBRTC_CHROMIUM_BUILD" ] 104 defines = [ "WEBRTC_CHROMIUM_BUILD" ]
(...skipping 15 matching lines...) Expand all
121 import("//build/config/crypto.gni") 120 import("//build/config/crypto.gni")
122 if (use_openssl) { 121 if (use_openssl) {
123 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] 122 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ]
124 } 123 }
125 } 124 }
126 125
127 if (is_posix) { 126 if (is_posix) {
128 defines += [ "WEBRTC_POSIX" ] 127 defines += [ "WEBRTC_POSIX" ]
129 } 128 }
130 } 129 }
OLDNEW
« no previous file with comments | « DEPS ('k') | content/browser/renderer_host/p2p/socket_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698