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 | 6 |
7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 ] | 124 ] |
125 } | 125 } |
126 deps += [ "//breakpad:client" ] | 126 deps += [ "//breakpad:client" ] |
127 } | 127 } |
128 if (is_mac) { | 128 if (is_mac) { |
129 sources += rebase_path( | 129 sources += rebase_path( |
130 gypi_values.chrome_common_mac_sources, | 130 gypi_values.chrome_common_mac_sources, |
131 ".", "//chrome") | 131 ".", "//chrome") |
132 } | 132 } |
133 | 133 |
134 if (enable_nacl) { | |
135 deps += [ | |
136 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) | |
137 ] | |
138 sources += [ | |
139 "extensions/manifest_handlers/nacl_modules_handler.cc", | |
140 "extensions/manifest_handlers/nacl_modules_handler.h", | |
141 ] | |
142 } | |
143 | |
144 # Printing. | 134 # Printing. |
145 if (printing_mode == 0) { | 135 if (printing_mode == 0) { |
146 sources -= [ | 136 sources -= [ |
147 "print_messages.cc", | 137 "print_messages.cc", |
148 "print_messages.h", | 138 "print_messages.h", |
149 ] | 139 ] |
150 } else { | 140 } else { |
151 deps += [ "//printing" ] | 141 deps += [ "//printing" ] |
152 if (printing_mode == 1) { | 142 if (printing_mode == 1) { |
153 # Full printing support. | 143 # Full printing support. |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 "//components/bookmarks/common", | 294 "//components/bookmarks/common", |
305 "//third_party/widevine/cdm:version_h", | 295 "//third_party/widevine/cdm:version_h", |
306 ] | 296 ] |
307 | 297 |
308 if (enable_nacl) { | 298 if (enable_nacl) { |
309 deps += [ | 299 deps += [ |
310 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 300 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
311 ] | 301 ] |
312 } | 302 } |
313 } | 303 } |
OLD | NEW |