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

Side by Side Diff: content/BUILD.gn

Issue 293963007: Make content/common compile on Linux GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add stub header dirs Created 6 years, 7 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 | « BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 # TODO(brettw) remove this and add a proper dependency on blink once that
6 # target has been converted to GN. This config sets up the include directories
7 # so content can compile in the meantime.
8 #
9 # This corresponds to third_party/WebKit/public/blink_headers.gyp:blink_headers
10 config("blink_headers_stub_config") {
11 include_dirs = [ "//third_party/WebKit" ]
12 }
13
14 # TODO(brettw) remove this and add a proper dependency on libjingle once that
15 # target has been converted to GN. This config sets up the include directories
16 # so content can compile in the meantime.
17 config("libjingle_stub_config") {
18 include_dirs = [
19 "//third_party/libjingle/overrides",
20 "//third_party/libjingle/source",
21 "//third_party",
22 "//third_party/libyuv/include",
23 "//third_party/usrsctp",
24 "//third_party/webrtc",
25 ]
26
27 defines = [
28 "FEATURE_ENABLE_SSL",
29 "FEATURE_ENABLE_VOICEMAIL",
30 "EXPAT_RELATIVE_PATH",
31 "GTEST_RELATIVE_PATH",
32 "NO_MAIN_THREAD_WRAPPING",
33 "NO_SOUND_SYSTEM",
34 ]
35
36 if (is_mac) {
37 defines += [ "OSX" ]
38 } else if (is_linux) {
39 defines += [ "LINUX" ]
40 } else if (is_android) {
41 defines += [ "ANDROID" ]
42 } else if (is_win) {
43 libs = [ "secur32.lib", "crypt32.lib", "iphlpapi.lib" ]
44 }
45
46 if (is_posix) {
47 defines += [ "POSIX" ]
48 }
49 if (is_chromeos) {
50 defines += [ "CHROMEOS" ]
51 }
52 }
53
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698