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

Side by Side Diff: tools/gn/secondary/chrome/BUILD.gn

Issue 26267003: Add the concept of a source set to GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | « tools/gn/secondary/build/toolchain/nacl/BUILD.gn ('k') | tools/gn/target.h » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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("//crypto/ssl/flags.gni") 5 import("//crypto/ssl/flags.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 executable("chrome") { 8 executable("chrome") {
9 sources = [ 9 sources = [
10 "app/breakpad_field_trial_win.cc", 10 "app/breakpad_field_trial_win.cc",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 # common/net uses NSS. 89 # common/net uses NSS.
90 # TODO(brettw) have a better way to express this without having to do 90 # TODO(brettw) have a better way to express this without having to do
91 # "if (use_nss)" everywhere. 91 # "if (use_nss)" everywhere.
92 configs += "//third_party/nss:nss_linux_config" 92 configs += "//third_party/nss:nss_linux_config"
93 } 93 }
94 deps = [ 94 deps = [
95 ] 95 ]
96 } 96 }
97 97
98 # TODO(brettw) move to browser/devtools/BUILD.gn 98 # TODO(brettw) move to browser/devtools/BUILD.gn
99 static_library("debugger") { 99 source_set("debugger") {
100 sources = [ 100 sources = [
101 "browser/devtools/adb/android_rsa.cc", 101 "browser/devtools/adb/android_rsa.cc",
102 "browser/devtools/adb/android_rsa.h", 102 "browser/devtools/adb/android_rsa.h",
103 "browser/devtools/adb/android_usb_device.cc", 103 "browser/devtools/adb/android_usb_device.cc",
104 "browser/devtools/adb/android_usb_device.h", 104 "browser/devtools/adb/android_usb_device.h",
105 "browser/devtools/adb/android_usb_socket.cc", 105 "browser/devtools/adb/android_usb_socket.cc",
106 "browser/devtools/adb/android_usb_socket.h", 106 "browser/devtools/adb/android_usb_socket.h",
107 "browser/devtools/adb_client_socket.cc", 107 "browser/devtools/adb_client_socket.cc",
108 "browser/devtools/adb_client_socket.h", 108 "browser/devtools/adb_client_socket.h",
109 "browser/devtools/adb_web_socket.cc", 109 "browser/devtools/adb_web_socket.cc",
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 # defines = [ "DEBUG_DEVTOOLS=1" ] 160 # defines = [ "DEBUG_DEVTOOLS=1" ]
161 # } 161 # }
162 # TODO(brettw) this may be required on Windows: 162 # TODO(brettw) this may be required on Windows:
163 # if (is_win) { 163 # if (is_win) {
164 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 164 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
165 # 'msvs_disabled_warnings': [ 4267, ] 165 # 'msvs_disabled_warnings': [ 4267, ]
166 # } 166 # }
167 167
168 } 168 }
169 169
170 static_library("plugin") { 170 source_set("plugin") {
171 external = true 171 external = true
172 } 172 }
173 173
174 static_library("renderer") { 174 source_set("renderer") {
175 external = true 175 external = true
176 } 176 }
177 177
178 static_library("utility") { 178 source_set("utility") {
179 external = true 179 external = true
180 } 180 }
181 181
182 182
183 # Credits ---------------------------------------------------------------------- 183 # Credits ----------------------------------------------------------------------
184 184
185 about_credits_file = "$root_gen_dir/about_credits.html" 185 about_credits_file = "$root_gen_dir/about_credits.html"
186 build_relative_about_credits_file = 186 build_relative_about_credits_file =
187 rebase_path(about_credits_file, ".", root_build_dir) 187 rebase_path(about_credits_file, ".", root_build_dir)
188 188
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 ":theme_resources_gen", 299 ":theme_resources_gen",
300 #"//ui:ui_resources", 300 #"//ui:ui_resources",
301 ] 301 ]
302 } 302 }
303 303
304 # TODO(brettw) rename "app_theme_resources" or something when we don't support 304 # TODO(brettw) rename "app_theme_resources" or something when we don't support
305 # GYP any more. This name is required to match the GYP build. 305 # GYP any more. This name is required to match the GYP build.
306 grit("theme_resources_gen") { 306 grit("theme_resources_gen") {
307 source = "app/theme/theme_resources.grd" 307 source = "app/theme/theme_resources.grd"
308 } 308 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/build/toolchain/nacl/BUILD.gn ('k') | tools/gn/target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698