Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 221 | `enable_basic_printing` (0/1) | `enable_basic_printing` (true/false) | `//build/config/features.gni` | | 221 | `enable_basic_printing` (0/1) | `enable_basic_printing` (true/false) | `//build/config/features.gni` | |
| 222 | `enable_print_preview` (0/1) | `enable_print_preview` (true/false) | `//build/config/features.gni` | | 222 | `enable_print_preview` (0/1) | `enable_print_preview` (true/false) | `//build/config/features.gni` | |
| 223 | `enable_rlz` (0/1) | `enable_rlz` (true/false) | `//build/config/features.gni` | | 223 | `enable_rlz` (0/1) | `enable_rlz` (true/false) | `//build/config/features.gni` | |
| 224 | `enable_service_discovery` (0/1) | `enable_service_discovery` (true/fal se) | `//build/config/features.gni` | | 224 | `enable_service_discovery` (0/1) | `enable_service_discovery` (true/fal se) | `//build/config/features.gni` | |
| 225 | `enable_spellcheck` (0/1) | `enable_spellcheck` (true/false) | `//build/config/features.gni` | | 225 | `enable_spellcheck` (0/1) | `enable_spellcheck` (true/false) | `//build/config/features.gni` | |
| 226 | `enable_session_service` (0/1) | `enable_session_service` (true/false ) | `//build/config/features.gni` | | 226 | `enable_session_service` (0/1) | `enable_session_service` (true/false ) | `//build/config/features.gni` | |
| 227 | `enable_settings_app` (0/1) | `enable_settings_app` (true/false) | `//build/config/features.gni` | | 227 | `enable_settings_app` (0/1) | `enable_settings_app` (true/false) | `//build/config/features.gni` | |
| 228 | `enable_task_manager` (0/1) | `enable_task_manager` (true/false) | `//build/config/features.gni` | | 228 | `enable_task_manager` (0/1) | `enable_task_manager` (true/false) | `//build/config/features.gni` | |
| 229 | `enable_themes` (0/1) | `enable_themes` (true/false) | `//build/config/features.gni` | | 229 | `enable_themes` (0/1) | `enable_themes` (true/false) | `//build/config/features.gni` | |
| 230 | `enable_webrtc` (0/1) | `enable_webrtc` (true/false) | `//build/config/features.gni` | | 230 | `enable_webrtc` (0/1) | `enable_webrtc` (true/false) | `//build/config/features.gni` | |
| 231 | `enable_wifi_bootstrapping` (0/1) | `enable_wifi_bootstrapping` (true/fa lse) | `//build/config/features.gni` | | |
|
tfarina
2016/01/20 16:25:55
lgtm. cs.chromium.org shows only this entry. Thank
| |
| 232 | `image_loader_extension` (0/1) | `enable_image_loader_extension` (tru e/false) | `//build/config/features.gni` | | 231 | `image_loader_extension` (0/1) | `enable_image_loader_extension` (tru e/false) | `//build/config/features.gni` | |
| 233 | `input_speech` (0/1) | `enable_speech_input` (true/false) | `//build/config/features.gni` | | 232 | `input_speech` (0/1) | `enable_speech_input` (true/false) | `//build/config/features.gni` | |
| 234 | `notifications` (0/1) | `enable_notifications` (true/false) | `//build/config/features.gni` | | 233 | `notifications` (0/1) | `enable_notifications` (true/false) | `//build/config/features.gni` | |
| 235 | `ozone_platform_dri` (0/1) | `ozone_platform_dri` (true/false) | `//build/config/ui.gni` | | 234 | `ozone_platform_dri` (0/1) | `ozone_platform_dri` (true/false) | `//build/config/ui.gni` | |
| 236 | `remoting` (0/1) | `enable_remoting` (true/false) | `//build/config/features.gni` | | 235 | `remoting` (0/1) | `enable_remoting` (true/false) | `//build/config/features.gni` | |
| 237 | `safe_browsing` (0/1/2) | `safe_browsing_mode` (0/1/2) | `//build/config/features.gni` | | 236 | `safe_browsing` (0/1/2) | `safe_browsing_mode` (0/1/2) | `//build/config/features.gni` | |
| 238 | `use_allocator` (`'none'`|`'tcmalloc'`) | `use_allocator` (`"none"`|`"tcmalloc "`) | (See "Allocator" below) | | 237 | `use_allocator` (`'none'`|`'tcmalloc'`) | `use_allocator` (`"none"`|`"tcmalloc "`) | (See "Allocator" below) | |
| 239 | `ui_compositor_image_transport` (0/1) | `ui_compositor_image_transport` (tru e/false) | `//build/config/ui.gni` | | 238 | `ui_compositor_image_transport` (0/1) | `ui_compositor_image_transport` (tru e/false) | `//build/config/ui.gni` | |
| 240 | `use_ash` (0/1) | `use_ash` (true/false) | `//build/config/ui.gni` | | 239 | `use_ash` (0/1) | `use_ash` (true/false) | `//build/config/ui.gni` | |
| 241 | `use_athena` (0/1) | `use_athena` (true/false) | `//build/config/ui.gni` | | 240 | `use_athena` (0/1) | `use_athena` (true/false) | `//build/config/ui.gni` | |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 641 | 640 |
| 642 ``` | 641 ``` |
| 643 import("//mojo/public/tools/bindings/mojom.gni") | 642 import("//mojo/public/tools/bindings/mojom.gni") |
| 644 | 643 |
| 645 mojom("mojo_bindings") { | 644 mojom("mojo_bindings") { |
| 646 sources = [ | 645 sources = [ |
| 647 "foo.mojom", | 646 "foo.mojom", |
| 648 ] | 647 ] |
| 649 } | 648 } |
| 650 ``` | 649 ``` |
| OLD | NEW |