OLD | NEW |
(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 |
OLD | NEW |