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

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

Issue 1085923002: Rename use_nss to use_nss_certs in gyp and grit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wrapping Created 5 years, 8 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 | « remoting/remoting_nacl.gyp ('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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 | `use_aura` (0/1) | `use_aura` (true/false) | `//build/config/ui.gni` | 241 | `use_aura` (0/1) | `use_aura` (true/false) | `//build/config/ui.gni` |
242 | `use_brlapi` (0/1) | `use_brlapi` (true/false) | `//build/config/features.gni` | 242 | `use_brlapi` (0/1) | `use_brlapi` (true/false) | `//build/config/features.gni` |
243 | `use_cairo` (0/1) | `use_cairo` (true/false) | `//build/config/ui.gni` | 243 | `use_cairo` (0/1) | `use_cairo` (true/false) | `//build/config/ui.gni` |
244 | `use_clipboard_aurax11` (0/1) | `use_aura && use_x11` | | 244 | `use_clipboard_aurax11` (0/1) | `use_aura && use_x11` | |
245 | `use_cups` (0/1) | `use_cups` (true/false) | `//build/config/features.gni` | 245 | `use_cups` (0/1) | `use_cups` (true/false) | `//build/config/features.gni` |
246 | `use_dbus` (0/1) | `use_dbus` (true/false) | `//build/config/features.gni` | 246 | `use_dbus` (0/1) | `use_dbus` (true/false) | `//build/config/features.gni` |
247 | `use_gconf` (0/1) | `use_gconf` (true/false) | `//build/config/features.gni` | 247 | `use_gconf` (0/1) | `use_gconf` (true/false) | `//build/config/features.gni` |
248 | `use_glib` (0/1) | `is_linux` (true/false) | (global) | 248 | `use_glib` (0/1) | `is_linux` (true/false) | (global) |
249 | `use_gnome_keyring` (0/1) | `is_desktop_linux` (true/false) | | 249 | `use_gnome_keyring` (0/1) | `is_desktop_linux` (true/false) | |
250 | `use_goma` (0/1) | `use_goma` (true/false) | `//build/toolchain/goma.gni` | 250 | `use_goma` (0/1) | `use_goma` (true/false) | `//build/toolchain/goma.gni` |
251 | `use_nss` (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.) | 251 | `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.) |
252 | `use_openssl` (0/1) | `use_openssl` (true/false) | `//build/config/crypto.gni` (Many of these conditions can be delete d, see the "SSL" notes on targets below.) | 252 | `use_openssl` (0/1) | `use_openssl` (true/false) | `//build/config/crypto.gni` (Many of these conditions can be delete d, see the "SSL" notes on targets below.) |
253 | `use_pango` (0/1) | `use_pango` (true/false) | `//build/config/ui.gni` | 253 | `use_pango` (0/1) | `use_pango` (true/false) | `//build/config/ui.gni` |
254 | `use_ozone` (0/1) | `use_ozone` (true/false) | `//build/config/ui.gni` | 254 | `use_ozone` (0/1) | `use_ozone` (true/false) | `//build/config/ui.gni` |
255 | `use_seccomp_bpf` (0/1) | `use_seccomp_bpf` (true/false) | `//build/config/features.gni` | 255 | `use_seccomp_bpf` (0/1) | `use_seccomp_bpf` (true/false) | `//build/config/features.gni` |
256 | `use_udev` (0/1) | `use_udev` (true/false) | `//build/config/features.gni` | 256 | `use_udev` (0/1) | `use_udev` (true/false) | `//build/config/features.gni` |
257 | `use_x11` (0/1) | `use_x11` (true/false) | `//build/config/ui.gni` | 257 | `use_x11` (0/1) | `use_x11` (true/false) | `//build/config/ui.gni` |
258 | `use_xi2_mt` (0/1) | `use_xi2_mt` (true/false) | `//build/config/ui.gni` | 258 | `use_xi2_mt` (0/1) | `use_xi2_mt` (true/false) | `//build/config/ui.gni` |
259 | `win_pdf_metafile_for_printing` (0/1) | `win_pdf_metafile_for_printing` (tru e/false) | `//build/config/features.gni` | 259 | `win_pdf_metafile_for_printing` (0/1) | `win_pdf_metafile_for_printing` (tru e/false) | `//build/config/features.gni` |
260 | `win_use_allocator_shim` (0/1) | | (See "Allocator" below) | 260 | `win_use_allocator_shim` (0/1) | | (See "Allocator" below) |
261 261
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 642
643 ``` 643 ```
644 import("//mojo/public/tools/bindings/mojom.gni") 644 import("//mojo/public/tools/bindings/mojom.gni")
645 645
646 mojom("mojo_bindings") { 646 mojom("mojo_bindings") {
647 sources = [ 647 sources = [
648 "foo.mojom", 648 "foo.mojom",
649 ] 649 ]
650 } 650 }
651 ``` 651 ```
OLDNEW
« no previous file with comments | « remoting/remoting_nacl.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698