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

Side by Side Diff: tools/gn/docs/cookbook.md

Issue 2407483002: Make enable_service_discovery a chrome/ feature. (Closed)
Patch Set: Created 4 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/common/url_constants.cc ('k') | tools/grit/grit_rule.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # GYP->GN Conversion Cookbook 1 # GYP->GN Conversion Cookbook
2 2
3 [TOC] 3 [TOC]
4 4
5 ## Targets 5 ## Targets
6 6
7 | *GYP* | *GN* | 7 | *GYP* | *GN* |
8 |:-------------------------------------------------|:--------------------------- ------------------------| 8 |:-------------------------------------------------|:--------------------------- ------------------------|
9 | `'type': 'static_library', 'name': 'foo',` | `static_library("foo") {` o r `source_set("foo") {` | 9 | `'type': 'static_library', 'name': 'foo',` | `static_library("foo") {` o r `source_set("foo") {` |
10 | `'type': 'shared_library', 'name': 'foo',` | `shared_library("foo") {` | 10 | `'type': 'shared_library', 'name': 'foo',` | `shared_library("foo") {` |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 | `enable_hidpi` (0/1) | `enable_hidpi` (true/false) | `//ui/base/ui_features.gni` | 252 | `enable_hidpi` (0/1) | `enable_hidpi` (true/false) | `//ui/base/ui_features.gni` |
253 | `enable_managed_users` (0/1) | `enable_managed_users` (true/false) | `//build/config/features.gni` | 253 | `enable_managed_users` (0/1) | `enable_managed_users` (true/false) | `//build/config/features.gni` |
254 | `enable_mdns` (0/1) | `enable_mdns` (true/false) | `//build/config/features.gni` | 254 | `enable_mdns` (0/1) | `enable_mdns` (true/false) | `//build/config/features.gni` |
255 | `enable_one_click_signin` (0/1) | `enable_one_click_signin` (true/fals e) | `//chrome/common/features.gni` | 255 | `enable_one_click_signin` (0/1) | `enable_one_click_signin` (true/fals e) | `//chrome/common/features.gni` |
256 | `enable_pepper_cdms` (0/1) | `enable_pepper_cdms` (true/false) | `//build/config/features.gni` | 256 | `enable_pepper_cdms` (0/1) | `enable_pepper_cdms` (true/false) | `//build/config/features.gni` |
257 | `enable_plugins` (0/1) | `enable_plugins` (true/false) | `//build/config/features.gni` | 257 | `enable_plugins` (0/1) | `enable_plugins` (true/false) | `//build/config/features.gni` |
258 | `enable_plugin_installation` (0/1) | `enable_plugin_installation` (true/f alse) | `//build/config/features.gni` | 258 | `enable_plugin_installation` (0/1) | `enable_plugin_installation` (true/f alse) | `//build/config/features.gni` |
259 | `enable_basic_printing` (0/1) | `enable_basic_printing` (true/false) | `//build/config/features.gni` | 259 | `enable_basic_printing` (0/1) | `enable_basic_printing` (true/false) | `//build/config/features.gni` |
260 | `enable_print_preview` (0/1) | `enable_print_preview` (true/false) | `//build/config/features.gni` | 260 | `enable_print_preview` (0/1) | `enable_print_preview` (true/false) | `//build/config/features.gni` |
261 | `enable_rlz` (0/1) | `enable_rlz` (true/false) | `//build/config/features.gni` | 261 | `enable_rlz` (0/1) | `enable_rlz` (true/false) | `//build/config/features.gni` |
262 | `enable_service_discovery` (0/1) | `enable_service_discovery` (true/fal se) | `//build/config/features.gni` |
263 | `enable_spellcheck` (0/1) | `enable_spellcheck` (true/false) | `//build/config/features.gni` | 262 | `enable_spellcheck` (0/1) | `enable_spellcheck` (true/false) | `//build/config/features.gni` |
264 | `enable_session_service` (0/1) | `enable_session_service` (true/false ) | `//build/config/features.gni` | 263 | `enable_session_service` (0/1) | `enable_session_service` (true/false ) | `//build/config/features.gni` |
265 | `enable_task_manager` (0/1) | `enable_task_manager` (true/false) | `//build/config/features.gni` | 264 | `enable_task_manager` (0/1) | `enable_task_manager` (true/false) | `//build/config/features.gni` |
266 | `enable_themes` (0/1) | `enable_themes` (true/false) | `//build/config/features.gni` | 265 | `enable_themes` (0/1) | `enable_themes` (true/false) | `//build/config/features.gni` |
267 | `enable_webrtc` (0/1) | `enable_webrtc` (true/false) | `//build/config/features.gni` | 266 | `enable_webrtc` (0/1) | `enable_webrtc` (true/false) | `//build/config/features.gni` |
268 | `image_loader_extension` (0/1) | `enable_image_loader_extension` (tru e/false) | `//build/config/features.gni` | 267 | `image_loader_extension` (0/1) | `enable_image_loader_extension` (tru e/false) | `//build/config/features.gni` |
269 | `input_speech` (0/1) | `enable_speech_input` (true/false) | `//build/config/features.gni` | 268 | `input_speech` (0/1) | `enable_speech_input` (true/false) | `//build/config/features.gni` |
270 | `notifications` (0/1) | `enable_notifications` (true/false) | `//build/config/features.gni` | 269 | `notifications` (0/1) | `enable_notifications` (true/false) | `//build/config/features.gni` |
271 | `ozone_platform_dri` (0/1) | `ozone_platform_dri` (true/false) | `//build/config/ui.gni` | 270 | `ozone_platform_dri` (0/1) | `ozone_platform_dri` (true/false) | `//build/config/ui.gni` |
272 | `remoting` (0/1) | `enable_remoting` (true/false) | `//build/config/features.gni` | 271 | `remoting` (0/1) | `enable_remoting` (true/false) | `//build/config/features.gni` |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 675
677 ``` 676 ```
678 import("//mojo/public/tools/bindings/mojom.gni") 677 import("//mojo/public/tools/bindings/mojom.gni")
679 678
680 mojom("mojo_bindings") { 679 mojom("mojo_bindings") {
681 sources = [ 680 sources = [
682 "foo.mojom", 681 "foo.mojom",
683 ] 682 ]
684 } 683 }
685 ``` 684 ```
OLDNEW
« no previous file with comments | « chrome/common/url_constants.cc ('k') | tools/grit/grit_rule.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698