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

Side by Side Diff: content/BUILD.gn

Issue 429113002: Webrtc deps roll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use webrtc version 6825 and rebase and switch back to original workspace. 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 | Annotate | Revision Log
« 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" ] 84 defines += [ "OSX", "WEBRTC_MAC" ]
85 } else if (is_linux) { 85 } else if (is_linux) {
86 defines += [ "LINUX" ] 86 defines += [ "LINUX", "WEBRTC_LINUX" ]
87 } else if (is_android) { 87 } else if (is_android) {
88 defines += [ "ANDROID" ] 88 defines += [ "ANDROID", "WEBRTC_LINUX", "WEBRTC_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" ]
91 } 92 }
92 93
93 if (is_posix) { 94 if (is_posix) {
94 defines += [ "POSIX" ] 95 defines += [ "POSIX", "WEBRTC_POSIX" ]
95 } 96 }
96 if (is_chromeos) { 97 if (is_chromeos) {
97 defines += [ "CHROMEOS" ] 98 defines += [ "CHROMEOS" ]
98 } 99 }
99 } 100 }
100 101
101 # Sets up include dirs while webrtc is being converted to GN. 102 # Sets up include dirs while webrtc is being converted to GN.
102 # TODO(GYP) remove when webrtc is ready. 103 # TODO(GYP) remove when webrtc is ready.
103 config("webrtc_stub_config") { 104 config("webrtc_stub_config") {
104 defines = [ "WEBRTC_CHROMIUM_BUILD" ] 105 defines = [ "WEBRTC_CHROMIUM_BUILD" ]
(...skipping 15 matching lines...) Expand all
120 import("//build/config/crypto.gni") 121 import("//build/config/crypto.gni")
121 if (use_openssl) { 122 if (use_openssl) {
122 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] 123 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ]
123 } 124 }
124 } 125 }
125 126
126 if (is_posix) { 127 if (is_posix) {
127 defines += [ "WEBRTC_POSIX" ] 128 defines += [ "WEBRTC_POSIX" ]
128 } 129 }
129 } 130 }
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