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

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

Issue 2497653002: Move use_brlapi build flag to chrome. (Closed)
Patch Set: Created 4 years, 1 month 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
« build/linux/BUILD.gn ('K') | « chrome/common/features.gni ('k') | no next file » | 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 | `input_speech` (0/1) | `enable_speech_input` (true/false) | `//build/config/features.gni` | 267 | `input_speech` (0/1) | `enable_speech_input` (true/false) | `//build/config/features.gni` |
268 | `notifications` (0/1) | `enable_notifications` (true/false) | `//build/config/features.gni` | 268 | `notifications` (0/1) | `enable_notifications` (true/false) | `//build/config/features.gni` |
269 | `ozone_platform_dri` (0/1) | `ozone_platform_dri` (true/false) | `//build/config/ui.gni` | 269 | `ozone_platform_dri` (0/1) | `ozone_platform_dri` (true/false) | `//build/config/ui.gni` |
270 | `remoting` (0/1) | `enable_remoting` (true/false) | `//build/config/features.gni` | 270 | `remoting` (0/1) | `enable_remoting` (true/false) | `//build/config/features.gni` |
271 | `safe_browsing` (0/1/2) | `safe_browsing_mode` (0/1/2) | `//build/config/features.gni` | 271 | `safe_browsing` (0/1/2) | `safe_browsing_mode` (0/1/2) | `//build/config/features.gni` |
272 | `use_allocator` (`'none'`|`'tcmalloc'`) | `use_allocator` (`"none"`|`"tcmalloc "`) | (See "Allocator" below) | 272 | `use_allocator` (`'none'`|`'tcmalloc'`) | `use_allocator` (`"none"`|`"tcmalloc "`) | (See "Allocator" below) |
273 | `ui_compositor_image_transport` (0/1) | `ui_compositor_image_transport` (tru e/false) | `//build/config/ui.gni` | 273 | `ui_compositor_image_transport` (0/1) | `ui_compositor_image_transport` (tru e/false) | `//build/config/ui.gni` |
274 | `use_ash` (0/1) | `use_ash` (true/false) | `//build/config/ui.gni` | 274 | `use_ash` (0/1) | `use_ash` (true/false) | `//build/config/ui.gni` |
275 | `use_athena` (0/1) | `use_athena` (true/false) | `//build/config/ui.gni` | 275 | `use_athena` (0/1) | `use_athena` (true/false) | `//build/config/ui.gni` |
276 | `use_aura` (0/1) | `use_aura` (true/false) | `//build/config/ui.gni` | 276 | `use_aura` (0/1) | `use_aura` (true/false) | `//build/config/ui.gni` |
277 | `use_brlapi` (0/1) | `use_brlapi` (true/false) | `//build/config/features.gni` |
278 | `use_cairo` (0/1) | `use_cairo` (true/false) | `//build/config/ui.gni` | 277 | `use_cairo` (0/1) | `use_cairo` (true/false) | `//build/config/ui.gni` |
279 | `use_clipboard_aurax11` (0/1) | `use_aura && use_x11` | | 278 | `use_clipboard_aurax11` (0/1) | `use_aura && use_x11` | |
280 | `use_cups` (0/1) | `use_cups` (true/false) | `//build/config/features.gni` | 279 | `use_cups` (0/1) | `use_cups` (true/false) | `//build/config/features.gni` |
281 | `use_dbus` (0/1) | `use_dbus` (true/false) | `//build/config/features.gni` | 280 | `use_dbus` (0/1) | `use_dbus` (true/false) | `//build/config/features.gni` |
282 | `use_gconf` (0/1) | `use_gconf` (true/false) | `//build/config/features.gni` | 281 | `use_gconf` (0/1) | `use_gconf` (true/false) | `//build/config/features.gni` |
283 | `use_glib` (0/1) | `is_linux` (true/false) | (global) | 282 | `use_glib` (0/1) | `is_linux` (true/false) | (global) |
284 | `use_gnome_keyring` (0/1) | `use_gnome_keyring` (true/false) | | 283 | `use_gnome_keyring` (0/1) | `use_gnome_keyring` (true/false) | |
285 | `use_goma` (0/1) | `use_goma` (true/false) | `//build/toolchain/goma.gni` | 284 | `use_goma` (0/1) | `use_goma` (true/false) | `//build/toolchain/goma.gni` |
286 | `use_nss_certs` (0/1) | `use_nss_certs` (true/false) | `//build/config/crypto.gni` (Many of these conditions can be delete d, see the "SSL" notes on targets below.) | 285 | `use_nss_certs` (0/1) | `use_nss_certs` (true/false) | `//build/config/crypto.gni` (Many of these conditions can be delete d, see the "SSL" notes on targets below.) |
287 | `use_pango` (0/1) | `use_pango` (true/false) | `//build/config/ui.gni` | 286 | `use_pango` (0/1) | `use_pango` (true/false) | `//build/config/ui.gni` |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 673
675 ``` 674 ```
676 import("//mojo/public/tools/bindings/mojom.gni") 675 import("//mojo/public/tools/bindings/mojom.gni")
677 676
678 mojom("mojo_bindings") { 677 mojom("mojo_bindings") {
679 sources = [ 678 sources = [
680 "foo.mojom", 679 "foo.mojom",
681 ] 680 ]
682 } 681 }
683 ``` 682 ```
OLDNEW
« build/linux/BUILD.gn ('K') | « chrome/common/features.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698