| OLD | NEW |
| 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 Loading... |
| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 ":constants", | 374 ":constants", |
| 374 "//base", | 375 "//base", |
| 375 ] | 376 ] |
| 376 } | 377 } |
| 377 | 378 |
| 378 mojom("mojo_bindings") { | 379 mojom("mojo_bindings") { |
| 379 sources = [ | 380 sources = [ |
| 380 "resource_usage_reporter.mojom", | 381 "resource_usage_reporter.mojom", |
| 381 ] | 382 ] |
| 382 } | 383 } |
| OLD | NEW |