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

Side by Side Diff: content/BUILD.gn

Issue 411543005: Encode all grit outputs in .gn files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « components/strings/BUILD.gn ('k') | device/bluetooth/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
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 20 matching lines...) Expand all
31 deps = content_components 31 deps = content_components
32 } 32 }
33 } else { 33 } else {
34 group("content") { 34 group("content") {
35 deps = content_components 35 deps = content_components
36 } 36 }
37 } 37 }
38 38
39 grit("resources") { 39 grit("resources") {
40 source = "content_resources.grd" 40 source = "content_resources.grd"
41 outputs = [
42 "grit/content_resources.h",
43 "content_resources.pak",
44 "content_resources.rc",
45 ]
41 } 46 }
42 47
43 # This target exists to "hold" the content_export header so we can do proper 48 # This target exists to "hold" the content_export header so we can do proper
44 # inclusion testing of it. 49 # inclusion testing of it.
45 source_set("export") { 50 source_set("export") {
46 visibility = "//content/*" 51 visibility = "//content/*"
47 sources = [ 52 sources = [
48 "content/common/content_export.h" 53 "content/common/content_export.h"
49 ] 54 ]
50 } 55 }
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 import("//build/config/crypto.gni") 121 import("//build/config/crypto.gni")
117 if (use_openssl) { 122 if (use_openssl) {
118 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] 123 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ]
119 } 124 }
120 } 125 }
121 126
122 if (is_posix) { 127 if (is_posix) {
123 defines += [ "WEBRTC_POSIX" ] 128 defines += [ "WEBRTC_POSIX" ]
124 } 129 }
125 } 130 }
OLDNEW
« no previous file with comments | « components/strings/BUILD.gn ('k') | device/bluetooth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698