| OLD | NEW |
| 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 } |
| 11 | 11 |
| 12 grit("resources") { | 12 grit("resources") { |
| 13 source = "content_resources.grd" | 13 source = "content_resources.grd" |
| 14 } | 14 } |
| 15 | 15 |
| 16 # Stubs ------------------------------------------------------------------------ | 16 # Stubs ------------------------------------------------------------------------ |
| 17 | 17 |
| 18 # TODO(brettw) remove this and add a proper dependency on blink once that | |
| 19 # target has been converted to GN. This config sets up the include directories | |
| 20 # so content can compile in the meantime. | |
| 21 # | |
| 22 # This corresponds to third_party/WebKit/public/blink_headers.gyp:blink_headers | |
| 23 config("blink_headers_stub_config") { | |
| 24 include_dirs = [ "//third_party/WebKit" ] | |
| 25 } | |
| 26 | |
| 27 # TODO(brettw) remove this and add a proper dependency on libjingle once that | 18 # TODO(brettw) remove this and add a proper dependency on libjingle once that |
| 28 # target has been converted to GN. This config sets up the include directories | 19 # target has been converted to GN. This config sets up the include directories |
| 29 # so content can compile in the meantime. | 20 # so content can compile in the meantime. |
| 30 config("libjingle_stub_config") { | 21 config("libjingle_stub_config") { |
| 31 include_dirs = [ | 22 include_dirs = [ |
| 32 "//third_party/libjingle/overrides", | 23 "//third_party/libjingle/overrides", |
| 33 "//third_party/libjingle/source", | 24 "//third_party/libjingle/source", |
| 34 "//third_party/libyuv/include", | 25 "//third_party/libyuv/include", |
| 35 "//third_party/usrsctp", | 26 "//third_party/usrsctp", |
| 36 | 27 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 # This config is a placeholder to set up the V8 include path while the V8 GN | 61 # This config is a placeholder to set up the V8 include path while the V8 GN |
| 71 # build is being worked on. | 62 # build is being worked on. |
| 72 config("v8_stub_config") { | 63 config("v8_stub_config") { |
| 73 include_dirs = [ "//v8/include" ] | 64 include_dirs = [ "//v8/include" ] |
| 74 } | 65 } |
| 75 | 66 |
| 76 config("widevine_stub_config") { | 67 config("widevine_stub_config") { |
| 77 # The real implementation does a copy rule to copy the header to the gen dir. | 68 # The real implementation does a copy rule to copy the header to the gen dir. |
| 78 include_dirs = [ "//third_party/widevine/cdm" ] | 69 include_dirs = [ "//third_party/widevine/cdm" ] |
| 79 } | 70 } |
| OLD | NEW |