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

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

Issue 1417673004: Make unit_tests compile in Mac GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mac
Patch Set: . Created 5 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/chrome_manifest_url_handlers.cc » ('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 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7 import("//chrome/version.gni") 7 import("//chrome/version.gni")
8 8
9 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_common.gypi") ], 10 [ rebase_path("../chrome_common.gypi") ],
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 ".", 132 ".",
133 "//chrome") 133 "//chrome")
134 public_deps += [ 134 public_deps += [
135 "//device/usb", 135 "//device/usb",
136 "//chrome/common/extensions/api", 136 "//chrome/common/extensions/api",
137 "//extensions/common", 137 "//extensions/common",
138 "//extensions/common/api", 138 "//extensions/common/api",
139 "//extensions:extensions_resources", 139 "//extensions:extensions_resources",
140 "//extensions/strings", 140 "//extensions/strings",
141 "//media/cast:net", 141 "//media/cast:net",
142
143 # This dependency is for a header used only by extensions code.
144 "//ui/keyboard:keyboard_with_content",
145 ] 142 ]
146 if (is_chromeos) { 143 if (is_chromeos) {
147 sources += 144 sources +=
148 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources, 145 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources,
149 ".", 146 ".",
150 "//chrome") 147 "//chrome")
151 } 148 }
149 if (use_aura) {
150 # This dependency is for a header used only by extensions code.
151 public_deps += [ "//ui/keyboard:keyboard_with_content" ]
152 }
152 } 153 }
153 154
154 if (is_win || is_mac) { 155 if (is_win || is_mac) {
155 sources += 156 sources +=
156 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome") 157 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome")
157 public_deps += [ "//breakpad:client" ] 158 public_deps += [ "//breakpad:client" ]
158 } 159 }
159 if (is_win || is_mac || is_chromeos) { 160 if (is_win || is_mac || is_chromeos) {
160 sources += rebase_path(gypi_values.chrome_common_networking_private_sources, 161 sources += rebase_path(gypi_values.chrome_common_networking_private_sources,
161 ".", 162 ".",
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 ":constants", 382 ":constants",
382 "//base", 383 "//base",
383 ] 384 ]
384 } 385 }
385 386
386 mojom("mojo_bindings") { 387 mojom("mojo_bindings") {
387 sources = [ 388 sources = [
388 "resource_usage_reporter.mojom", 389 "resource_usage_reporter.mojom",
389 ] 390 ]
390 } 391 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/chrome_manifest_url_handlers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698