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

Side by Side Diff: chrome/BUILD.gn

Issue 554393009: Make chrome GN build work in component mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo gyp changes Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/locales.gni") 6 import("//build/config/locales.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/chrome_repack_locales.gni") 8 import("//chrome/chrome_repack_locales.gni")
9 import("//chrome/version.gni") 9 import("//chrome/version.gni")
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 } 166 }
167 167
168 if (use_aura) { 168 if (use_aura) {
169 deps += [ "//ui/compositor" ] 169 deps += [ "//ui/compositor" ]
170 } 170 }
171 171
172 #TODO(GYP) add chrome_multiple_dll support 172 #TODO(GYP) add chrome_multiple_dll support
173 if (false) { #chrome_multiple_dll) { 173 if (false) { #chrome_multiple_dll) {
174 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] 174 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ]
175 deps += [ 175 deps += [
176 "//content/app:browser", 176 "//content/public/app:browser",
177 ] 177 ]
178 } else { 178 } else {
179 deps += [ 179 deps += [
180 ":child_dependencies", 180 ":child_dependencies",
181 "//content/app:both", 181 "//content/public/app:both",
182 ] 182 ]
183 } 183 }
184 184
185 if (cld_version == 0 || cld_version == 2) { 185 if (cld_version == 0 || cld_version == 2) {
186 deps += [ 186 deps += [
187 "//third_party/cld_2", 187 "//third_party/cld_2",
188 ] 188 ]
189 } 189 }
190 190
191 if (is_mac) { 191 if (is_mac) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 deps = [ 223 deps = [
224 "//chrome/common", 224 "//chrome/common",
225 "//sync", 225 "//sync",
226 ] 226 ]
227 if (!is_ios) { 227 if (!is_ios) {
228 deps += [ 228 deps += [
229 "//chrome/browser/devtools", 229 "//chrome/browser/devtools",
230 "//chrome/plugin", 230 "//chrome/plugin",
231 "//chrome/renderer", 231 "//chrome/renderer",
232 "//chrome/utility", 232 "//chrome/utility",
233 "//content/gpu", 233 "//content/public/child",
234 "//content/ppapi_plugin",
235 "//third_party/WebKit/public:blink_devtools_frontend_resources", 234 "//third_party/WebKit/public:blink_devtools_frontend_resources",
236 ] 235 ]
237 } 236 }
238 } 237 }
239 238
240 if (is_win) { 239 if (is_win) {
241 # TODO(brettw) this duplicates "//chrome/common:version" which applies to 240 # TODO(brettw) this duplicates "//chrome/common:version" which applies to
242 # Linux. 241 # Linux.
243 process_version("version_header") { 242 process_version("version_header") {
244 # TODO(brettW) this should have more reduced visibility, but chrome/browser 243 # TODO(brettW) this should have more reduced visibility, but chrome/browser
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 "$root_gen_dir/athena/resources/athena_resources_${percent}_percent.pak" , 473 "$root_gen_dir/athena/resources/athena_resources_${percent}_percent.pak" ,
475 ] 474 ]
476 deps += [ "//athena/resources" ] 475 deps += [ "//athena/resources" ]
477 } 476 }
478 if (is_chromeos) { 477 if (is_chromeos) {
479 sources += [ 478 sources += [
480 "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_${percent}_pe rcent.pak", 479 "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_${percent}_pe rcent.pak",
481 ] 480 ]
482 deps += [ "//ui/chromeos/resources" ] 481 deps += [ "//ui/chromeos/resources" ]
483 } 482 }
483 if (enable_extensions) {
484 sources += [
485 "$root_gen_dir/extensions/extensions_browser_resources_${percent}_percen t.pak",
486 ]
487 }
484 488
485 output = repack_output_file 489 output = repack_output_file
486 } 490 }
487 491
488 copy(copy_name) { 492 copy(copy_name) {
489 visibility = ":*" 493 visibility = ":*"
490 deps = [ ":$repack_name" ] 494 deps = [ ":$repack_name" ]
491 sources = [ repack_output_file ] 495 sources = [ repack_output_file ]
492 outputs = [ "$root_build_dir/chrome_${percent}_percent.pak" ] 496 outputs = [ "$root_build_dir/chrome_${percent}_percent.pak" ]
493 } 497 }
(...skipping 11 matching lines...) Expand all
505 509
506 # GYP version: chrome/chrome_resources.gyp:chrome_strings 510 # GYP version: chrome/chrome_resources.gyp:chrome_strings
507 group("strings") { 511 group("strings") {
508 deps = [ 512 deps = [
509 "//chrome/app:chromium_strings", 513 "//chrome/app:chromium_strings",
510 "//chrome/app:generated_resources", 514 "//chrome/app:generated_resources",
511 "//chrome/app:google_chrome_strings", 515 "//chrome/app:google_chrome_strings",
512 "//chrome/app/resources:locale_settings", 516 "//chrome/app/resources:locale_settings",
513 ] 517 ]
514 } 518 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698