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

Side by Side Diff: docs/closure_compilation.md

Issue 1756483006: docs: update the links to the get-the-code page to use the https url (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | docs/common_build_tasks.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Closure Compilation 1 # Closure Compilation
2 2
3 ## I just need to fix the compile! 3 ## I just need to fix the compile!
4 4
5 To locally run closure compiler like the bots, do this: 5 To locally run closure compiler like the bots, do this:
6 6
7 ```shell 7 ```shell
8 cd $CHROMIUM_SRC 8 cd $CHROMIUM_SRC
9 # sudo apt-get install openjdk-7-jre # may be required 9 # sudo apt-get install openjdk-7-jre # may be required
10 GYP_GENERATORS=ninja tools/gyp/gyp --depth . third_party/closure_compiler/compil ed_resources.gyp 10 GYP_GENERATORS=ninja tools/gyp/gyp --depth . third_party/closure_compiler/compil ed_resources.gyp
(...skipping 21 matching lines...) Expand all
32 The type information is 32 The type information is
33 [annotated in comment tags](https://developers.google.com/closure/compiler/docs/ js-for-compiler) 33 [annotated in comment tags](https://developers.google.com/closure/compiler/docs/ js-for-compiler)
34 that are briefly described below. 34 that are briefly described below.
35 35
36 See also: 36 See also:
37 [the design doc](https://docs.google.com/a/chromium.org/document/d/1Ee9ggmp6U-lM -w9WmxN5cSLkK9B5YAq14939Woo-JY0/edit). 37 [the design doc](https://docs.google.com/a/chromium.org/document/d/1Ee9ggmp6U-lM -w9WmxN5cSLkK9B5YAq14939Woo-JY0/edit).
38 38
39 ## Assumptions 39 ## Assumptions
40 40
41 A working Chrome checkout. See here: 41 A working Chrome checkout. See here:
42 http://www.chromium.org/developers/how-tos/get-the-code 42 https://www.chromium.org/developers/how-tos/get-the-code
43 43
44 ## Typechecking Your Javascript 44 ## Typechecking Your Javascript
45 45
46 So you'd like to compile your JavaScript! 46 So you'd like to compile your JavaScript!
47 47
48 Maybe you're working on a page that looks like this: 48 Maybe you're working on a page that looks like this:
49 49
50 ```html 50 ```html
51 <script src="other_file.js"></script> 51 <script src="other_file.js"></script>
52 <script src="my_product/my_file.js"></script> 52 <script src="my_product/my_file.js"></script>
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 'jscomp_error=duplicate', 279 'jscomp_error=duplicate',
280 'jscomp_error=misplacedTypeAnnotation', 280 'jscomp_error=misplacedTypeAnnotation',
281 ], 281 ],
282 'disabled_closure_args': [], # remove the disabled closure args for more strict compilation 282 'disabled_closure_args': [], # remove the disabled closure args for more strict compilation
283 }, 283 },
284 'includes': ['../third_party/closure_compiler/compile_js.gypi'], 284 'includes': ['../third_party/closure_compiler/compile_js.gypi'],
285 }, 285 },
286 ], 286 ],
287 } 287 }
288 ``` 288 ```
OLDNEW
« no previous file with comments | « no previous file | docs/common_build_tasks.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698