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

Side by Side Diff: content/BUILD.gn

Issue 299113002: Add content renderer to the GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: widevine fix 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
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")
6
7 # Applied by targets internal to content.
8 config("content_implementation") {
9 defines = [ "CONTENT_IMPLEMENTATION" ]
10 }
11
12 grit("resources") {
13 source = "content_resources.grd"
14 }
15
16 # Stubs ------------------------------------------------------------------------
17
5 # TODO(brettw) remove this and add a proper dependency on blink once that 18 # 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 19 # target has been converted to GN. This config sets up the include directories
7 # so content can compile in the meantime. 20 # so content can compile in the meantime.
8 # 21 #
9 # This corresponds to third_party/WebKit/public/blink_headers.gyp:blink_headers 22 # This corresponds to third_party/WebKit/public/blink_headers.gyp:blink_headers
10 config("blink_headers_stub_config") { 23 config("blink_headers_stub_config") {
11 include_dirs = [ "//third_party/WebKit" ] 24 include_dirs = [ "//third_party/WebKit" ]
12 } 25 }
13 26
14 # TODO(brettw) remove this and add a proper dependency on libjingle once that 27 # TODO(brettw) remove this and add a proper dependency on libjingle once that
(...skipping 29 matching lines...) Expand all
44 } 57 }
45 58
46 if (is_posix) { 59 if (is_posix) {
47 defines += [ "POSIX" ] 60 defines += [ "POSIX" ]
48 } 61 }
49 if (is_chromeos) { 62 if (is_chromeos) {
50 defines += [ "CHROMEOS" ] 63 defines += [ "CHROMEOS" ]
51 } 64 }
52 } 65 }
53 66
67 # This config is a placeholder to set up the V8 include path while the V8 GN
68 # build is being worked on.
69 config("v8_stub_config") {
70 include_dirs = [ "//v8/include" ]
71 }
72
73 config("widevine_stub_config") {
74 # The real implementation does a copy rule to copy the header to the gen dir.
75 include_dirs = [ "//third_party/widevine/cdm" ]
76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698