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

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

Issue 1136623003: Media Router GYP/GN cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge file lists into chrome_tests*.gypi Created 5 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/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 gypi_values = exec_script("//build/gypi_to_gn.py", 7 gypi_values = exec_script("//build/gypi_to_gn.py",
8 [ rebase_path("../chrome_common.gypi") ], 8 [ rebase_path("../chrome_common.gypi") ],
9 "scope", 9 "scope",
10 [ "../chrome_common.gypi" ]) 10 [ "../chrome_common.gypi" ])
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 "//chrome") 103 "//chrome")
104 deps += [ 104 deps += [
105 "//device/usb", 105 "//device/usb",
106 "//chrome/common/extensions/api", 106 "//chrome/common/extensions/api",
107 "//extensions/common", 107 "//extensions/common",
108 "//extensions/common/api", 108 "//extensions/common/api",
109 "//extensions:extensions_resources", 109 "//extensions:extensions_resources",
110 "//extensions/strings", 110 "//extensions/strings",
111 "//media/cast:net", 111 "//media/cast:net",
112 ] 112 ]
113 if (enable_media_router) {
114 defines += [ "ENABLE_MEDIA_ROUTER=1" ]
115 }
116 if (is_chromeos) { 113 if (is_chromeos) {
117 sources += 114 sources +=
118 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources, 115 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources,
119 ".", 116 ".",
120 "//chrome") 117 "//chrome")
121 } 118 }
122 } 119 }
123 120
124 if (is_win || is_mac) { 121 if (is_win || is_mac) {
125 sources += 122 sources +=
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 } 233 }
237 if (enable_configuration_policy) { 234 if (enable_configuration_policy) {
238 deps += [ "//components/policy" ] 235 deps += [ "//components/policy" ]
239 } 236 }
240 237
241 if (safe_browsing_mode == 1) { 238 if (safe_browsing_mode == 1) {
242 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, 239 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources,
243 ".", 240 ".",
244 "//chrome") 241 "//chrome")
245 } 242 }
246 if (enable_media_router) {
247 defines += [ "ENABLE_MEDIA_ROUTER=1" ]
248 }
249 } 243 }
250 244
251 import("//chrome/version.gni") 245 import("//chrome/version.gni")
252 process_version("version") { 246 process_version("version") {
253 visibility = [ ":common" ] 247 visibility = [ ":common" ]
254 template_file = "chrome_version_info_values.h.version" 248 template_file = "chrome_version_info_values.h.version"
255 output = "$target_gen_dir/chrome_version_info_values.h" 249 output = "$target_gen_dir/chrome_version_info_values.h"
256 } 250 }
257 251
258 process_version("make_chrome_version") { 252 process_version("make_chrome_version") {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 "mac/app_mode_chrome_locator.mm", 333 "mac/app_mode_chrome_locator.mm",
340 "mac/app_mode_common.h", 334 "mac/app_mode_common.h",
341 "mac/app_mode_common.mm", 335 "mac/app_mode_common.mm",
342 ] 336 ]
343 337
344 deps = [ 338 deps = [
345 ":constants", 339 ":constants",
346 "//base", 340 "//base",
347 ] 341 ]
348 } 342 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698