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

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

Issue 2412493003: Revert of Move ENABLE_PEPPER_CDMS to a buildflag header. (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 | « third_party/widevine/cdm/widevine_cdm_common.h ('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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 | `enable_autofill_dialog` (0/1) | `enable_autofill_dialog` (true/false ) | `//build/config/features.gni` | 246 | `enable_autofill_dialog` (0/1) | `enable_autofill_dialog` (true/false ) | `//build/config/features.gni` |
247 | `enable_background` (0/1) | `enable_background` (true/false) | `//build/config/features.gni` | 247 | `enable_background` (0/1) | `enable_background` (true/false) | `//build/config/features.gni` |
248 | `enable_captive_portal_detection` (0/1) | `enable_captive_portal_detection` (t rue/false) | `//build/config/features.gni` | 248 | `enable_captive_portal_detection` (0/1) | `enable_captive_portal_detection` (t rue/false) | `//build/config/features.gni` |
249 | `enable_chromevox_next` (0/1) | `enable_chromevox_next` (true/false) | `//build/config/features.gni` | 249 | `enable_chromevox_next` (0/1) | `enable_chromevox_next` (true/false) | `//build/config/features.gni` |
250 | `enable_extensions` (0/1) | `enable_extensions` (true/false) | `//build/config/features.gni` | 250 | `enable_extensions` (0/1) | `enable_extensions` (true/false) | `//build/config/features.gni` |
251 | `enable_google_now` (0/1) | `enable_google_now` (true/false) | `//build/config/features.gni` | 251 | `enable_google_now` (0/1) | `enable_google_now` (true/false) | `//build/config/features.gni` |
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) | `//ppapi/features/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_spellcheck` (0/1) | `enable_spellcheck` (true/false) | `//build/config/features.gni` | 262 | `enable_spellcheck` (0/1) | `enable_spellcheck` (true/false) | `//build/config/features.gni` |
263 | `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` |
264 | `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` |
265 | `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` |
266 | `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` |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 675
676 ``` 676 ```
677 import("//mojo/public/tools/bindings/mojom.gni") 677 import("//mojo/public/tools/bindings/mojom.gni")
678 678
679 mojom("mojo_bindings") { 679 mojom("mojo_bindings") {
680 sources = [ 680 sources = [
681 "foo.mojom", 681 "foo.mojom",
682 ] 682 ]
683 } 683 }
684 ``` 684 ```
OLDNEW
« no previous file with comments | « third_party/widevine/cdm/widevine_cdm_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698