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

Side by Side Diff: chrome/browser/BUILD.gn

Issue 2405013002: Move some global feature defines to buildflags (Closed)
Patch Set: Comment Created 4 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
« no previous file with comments | « build/config/features.gni ('k') | chrome/browser/browser_process_impl.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 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 3927 matching lines...) Expand 10 before | Expand all | Expand 10 after
3938 3938
3939 proto_library("resource_prefetch_predictor_proto") { 3939 proto_library("resource_prefetch_predictor_proto") {
3940 sources = [ 3940 sources = [
3941 "predictors/resource_prefetch_predictor.proto", 3941 "predictors/resource_prefetch_predictor.proto",
3942 ] 3942 ]
3943 } 3943 }
3944 3944
3945 grit("resources") { 3945 grit("resources") {
3946 source = "browser_resources.grd" 3946 source = "browser_resources.grd"
3947 use_qualified_include = true 3947 use_qualified_include = true
3948
3948 defines = chrome_grit_defines 3949 defines = chrome_grit_defines
3950 if (enable_hangout_services_extension) {
3951 defines += [ "enable_hangout_services_extension" ]
3952 }
3953
3949 output_dir = "$root_gen_dir/chrome" 3954 output_dir = "$root_gen_dir/chrome"
3950 outputs = [ 3955 outputs = [
3951 "grit/browser_resources.h", 3956 "grit/browser_resources.h",
3952 "browser_resources.pak", 3957 "browser_resources.pak",
3953 ] 3958 ]
3954 3959
3955 grit_flags = [ 3960 grit_flags = [
3956 "-E", 3961 "-E",
3957 "additional_modules_list_file=" + 3962 "additional_modules_list_file=" +
3958 rebase_path(additional_modules_list_file, root_build_dir), 3963 rebase_path(additional_modules_list_file, root_build_dir),
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
4286 # linking all of the test support. 4291 # linking all of the test support.
4287 static_library("pepper_cdm_test_constants") { 4292 static_library("pepper_cdm_test_constants") {
4288 testonly = true 4293 testonly = true
4289 visibility = [ "//chrome/*" ] 4294 visibility = [ "//chrome/*" ]
4290 sources = [ 4295 sources = [
4291 "media/pepper_cdm_test_constants.cc", 4296 "media/pepper_cdm_test_constants.cc",
4292 "media/pepper_cdm_test_constants.h", 4297 "media/pepper_cdm_test_constants.h",
4293 ] 4298 ]
4294 } 4299 }
4295 } 4300 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698