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

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

Issue 1719343002: Move ENABLE_HIDPI to new build flags system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 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/installer/mini_installer/BUILD.gn ('k') | ui/base/BUILD.gn » ('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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 | `debug_devtools` (0/1) | `debug_devtools` (true/false) | `//build/config/features.gni` | 234 | `debug_devtools` (0/1) | `debug_devtools` (true/false) | `//build/config/features.gni` |
235 | `disable_ftp_support` (0/1) | `disable_ftp_support` (true/false) | `//build/config/features.gni` | 235 | `disable_ftp_support` (0/1) | `disable_ftp_support` (true/false) | `//build/config/features.gni` |
236 | `disable_nacl` (0/1) | `enable_nacl` (true/false) | `//build/config/features.gni` | 236 | `disable_nacl` (0/1) | `enable_nacl` (true/false) | `//build/config/features.gni` |
237 | `enable_app_list` (0/1) | `enable_app_list` (true/false) | `//build/config/features.gni` | 237 | `enable_app_list` (0/1) | `enable_app_list` (true/false) | `//build/config/features.gni` |
238 | `enable_autofill_dialog` (0/1) | `enable_autofill_dialog` (true/false ) | `//build/config/features.gni` | 238 | `enable_autofill_dialog` (0/1) | `enable_autofill_dialog` (true/false ) | `//build/config/features.gni` |
239 | `enable_background` (0/1) | `enable_background` (true/false) | `//build/config/features.gni` | 239 | `enable_background` (0/1) | `enable_background` (true/false) | `//build/config/features.gni` |
240 | `enable_captive_portal_detection` (0/1) | `enable_captive_portal_detection` (t rue/false) | `//build/config/features.gni` | 240 | `enable_captive_portal_detection` (0/1) | `enable_captive_portal_detection` (t rue/false) | `//build/config/features.gni` |
241 | `enable_chromevox_next` (0/1) | `enable_chromevox_next` (true/false) | `//build/config/features.gni` | 241 | `enable_chromevox_next` (0/1) | `enable_chromevox_next` (true/false) | `//build/config/features.gni` |
242 | `enable_extensions` (0/1) | `enable_extensions` (true/false) | `//build/config/features.gni` | 242 | `enable_extensions` (0/1) | `enable_extensions` (true/false) | `//build/config/features.gni` |
243 | `enable_google_now` (0/1) | `enable_google_now` (true/false) | `//build/config/features.gni` | 243 | `enable_google_now` (0/1) | `enable_google_now` (true/false) | `//build/config/features.gni` |
244 | `enable_hidpi` (0/1) | `enable_hidpi` (true/false) | `//build/config/ui.gni` | 244 | `enable_hidpi` (0/1) | `enable_hidpi` (true/false) | `//ui/base/ui_features.gni` |
245 | `enable_managed_users` (0/1) | `enable_managed_users` (true/false) | `//build/config/features.gni` | 245 | `enable_managed_users` (0/1) | `enable_managed_users` (true/false) | `//build/config/features.gni` |
246 | `enable_mdns` (0/1) | `enable_mdns` (true/false) | `//build/config/features.gni` | 246 | `enable_mdns` (0/1) | `enable_mdns` (true/false) | `//build/config/features.gni` |
247 | `enable_one_click_signin` (0/1) | `enable_one_click_signin` (true/fals e) | `//chrome/common/features.gni` | 247 | `enable_one_click_signin` (0/1) | `enable_one_click_signin` (true/fals e) | `//chrome/common/features.gni` |
248 | `enable_pepper_cdms` (0/1) | `enable_pepper_cdms` (true/false) | `//build/config/features.gni` | 248 | `enable_pepper_cdms` (0/1) | `enable_pepper_cdms` (true/false) | `//build/config/features.gni` |
249 | `enable_plugins` (0/1) | `enable_plugins` (true/false) | `//build/config/features.gni` | 249 | `enable_plugins` (0/1) | `enable_plugins` (true/false) | `//build/config/features.gni` |
250 | `enable_plugin_installation` (0/1) | `enable_plugin_installation` (true/f alse) | `//build/config/features.gni` | 250 | `enable_plugin_installation` (0/1) | `enable_plugin_installation` (true/f alse) | `//build/config/features.gni` |
251 | `enable_basic_printing` (0/1) | `enable_basic_printing` (true/false) | `//build/config/features.gni` | 251 | `enable_basic_printing` (0/1) | `enable_basic_printing` (true/false) | `//build/config/features.gni` |
252 | `enable_print_preview` (0/1) | `enable_print_preview` (true/false) | `//build/config/features.gni` | 252 | `enable_print_preview` (0/1) | `enable_print_preview` (true/false) | `//build/config/features.gni` |
253 | `enable_rlz` (0/1) | `enable_rlz` (true/false) | `//build/config/features.gni` | 253 | `enable_rlz` (0/1) | `enable_rlz` (true/false) | `//build/config/features.gni` |
254 | `enable_service_discovery` (0/1) | `enable_service_discovery` (true/fal se) | `//build/config/features.gni` | 254 | `enable_service_discovery` (0/1) | `enable_service_discovery` (true/fal se) | `//build/config/features.gni` |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 670
671 ``` 671 ```
672 import("//mojo/public/tools/bindings/mojom.gni") 672 import("//mojo/public/tools/bindings/mojom.gni")
673 673
674 mojom("mojo_bindings") { 674 mojom("mojo_bindings") {
675 sources = [ 675 sources = [
676 "foo.mojom", 676 "foo.mojom",
677 ] 677 ]
678 } 678 }
679 ``` 679 ```
OLDNEW
« no previous file with comments | « chrome/installer/mini_installer/BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698