| 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 # Instantiate grit. This will produce a script target to run grit, and a | 5 # Instantiate grit. This will produce a script target to run grit, and a |
| 6 # static library that compiles the .cc files. | 6 # static library that compiles the .cc files. |
| 7 # | 7 # |
| 8 # Parameters | 8 # Parameters |
| 9 # | 9 # |
| 10 # source (required) | 10 # source (required) |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 grit_defines += [ "-D", "enable_settings_app" ] | 175 grit_defines += [ "-D", "enable_settings_app" ] |
| 176 } | 176 } |
| 177 if (enable_google_now) { | 177 if (enable_google_now) { |
| 178 grit_defines += [ "-D", "enable_google_now" ] | 178 grit_defines += [ "-D", "enable_google_now" ] |
| 179 } | 179 } |
| 180 # Note: use_concatenated_impulse_responses is omitted. It is never used and | 180 # Note: use_concatenated_impulse_responses is omitted. It is never used and |
| 181 # should probably be removed from GYP build. | 181 # should probably be removed from GYP build. |
| 182 if (enable_webrtc) { | 182 if (enable_webrtc) { |
| 183 grit_defines += [ "-D", "enable_webrtc" ] | 183 grit_defines += [ "-D", "enable_webrtc" ] |
| 184 } | 184 } |
| 185 # Note: enable_hangout_services_extension is omitted. It is never set in the | 185 if (enable_hangout_services_extension) { |
| 186 # GYP build. Need to figure out what it's for. | 186 grit_defines += [ "-D", "enable_hangout_services_extension" ] |
| 187 } |
| 187 if (enable_task_manager) { | 188 if (enable_task_manager) { |
| 188 grit_defines += [ "-D", "enable_task_manager" ] | 189 grit_defines += [ "-D", "enable_task_manager" ] |
| 189 } | 190 } |
| 190 if (enable_notifications) { | 191 if (enable_notifications) { |
| 191 grit_defines += [ "-D", "enable_notifications" ] | 192 grit_defines += [ "-D", "enable_notifications" ] |
| 192 } | 193 } |
| 193 if (enable_wifi_bootstrapping) { | 194 if (enable_wifi_bootstrapping) { |
| 194 grit_defines += [ "-D", "enable_wifi_bootstrapping" ] | 195 grit_defines += [ "-D", "enable_wifi_bootstrapping" ] |
| 195 } | 196 } |
| 196 if (enable_service_discovery) { | 197 if (enable_service_discovery) { |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 if (defined(invoker.public_configs)) { | 334 if (defined(invoker.public_configs)) { |
| 334 public_configs += invoker.public_configs | 335 public_configs += invoker.public_configs |
| 335 } | 336 } |
| 336 | 337 |
| 337 if (defined(invoker.visibility)) { | 338 if (defined(invoker.visibility)) { |
| 338 visibility = invoker.visibility | 339 visibility = invoker.visibility |
| 339 } | 340 } |
| 340 output_name = grit_output_name | 341 output_name = grit_output_name |
| 341 } | 342 } |
| 342 } | 343 } |
| OLD | NEW |