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

Unified Diff: sdk_build/data/cpp/cpp.sdk

Issue 1720433003: SDK stuff: Add a script to download the mojom parser binary. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk_build/data/common/download_mojom_parser.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk_build/data/cpp/cpp.sdk
diff --git a/sdk_build/data/cpp/cpp.sdk b/sdk_build/data/cpp/cpp.sdk
index 3e061acd2d154c62682e0482d25e0dec26aafee9..66d000bb10370c3620ef7301070deeffc604e9f9 100644
--- a/sdk_build/data/cpp/cpp.sdk
+++ b/sdk_build/data/cpp/cpp.sdk
@@ -9,34 +9,44 @@
EXCLUDE_FILES=[".*", "*.gn", "*.gni", "PRESUBMIT.py", "*_win.*"]
EXCLUDE_PATHS=["*/tests/*"]
-CopyFiles("mojo/public",
- "third_party/mojo/public",
- recursive=False,
- exclude_file_patterns=EXCLUDE_FILES)
+CopyDir("mojo/public",
+ "third_party/mojo/public",
+ recursive=False,
+ exclude_file_patterns=EXCLUDE_FILES)
-CopyFiles("mojo/public/c",
- "third_party/mojo/public/c",
- recursive=True,
- exclude_file_patterns=EXCLUDE_FILES,
- exclude_path_patterns=EXCLUDE_PATHS)
-CopyFiles("mojo/public/cpp",
- "third_party/mojo/public/cpp",
- recursive=True,
- exclude_file_patterns=EXCLUDE_FILES,
- exclude_path_patterns=EXCLUDE_PATHS+
- ["mojo/public/cpp/test_support/*"])
+CopyDir("mojo/public/c",
+ "third_party/mojo/public/c",
+ recursive=True,
+ exclude_file_patterns=EXCLUDE_FILES,
+ exclude_path_patterns=EXCLUDE_PATHS)
+CopyDir("mojo/public/cpp",
+ "third_party/mojo/public/cpp",
+ recursive=True,
+ exclude_file_patterns=EXCLUDE_FILES,
+ exclude_path_patterns=EXCLUDE_PATHS+["mojo/public/cpp/test_support/*"])
# For simplicity, copy all of the bindings generators, even though we really
# only need/want C++.
-CopyFiles("mojo/public/tools/bindings",
- "third_party/mojo/public/tools/bindings",
- recursive=True,
- exclude_file_patterns=EXCLUDE_FILES,
- exclude_path_patterns=EXCLUDE_PATHS+["*/mojom_tests/*"])
+CopyDir("mojo/public/tools/bindings",
+ "third_party/mojo/public/tools/bindings",
+ recursive=True,
+ exclude_file_patterns=EXCLUDE_FILES,
+ exclude_path_patterns=EXCLUDE_PATHS+["*/mojom_tests/*"])
# The generators need jinja2, which needs markupsafe. Sigh.
-CopyFiles("mojo/public/third_party/jinja2",
- "third_party/mojo/public/third_party/jinja2",
- recursive=True)
-CopyFiles("mojo/public/third_party/markupsafe",
- "third_party/mojo/public/third_party/markupsafe",
- recursive=True)
+CopyDir("mojo/public/third_party/jinja2",
+ "third_party/mojo/public/third_party/jinja2",
+ recursive=True)
+CopyDir("mojo/public/third_party/markupsafe",
+ "third_party/mojo/public/third_party/markupsafe",
+ recursive=True)
+
+# Seed an example.
+CopyDir("examples/hello_mojo",
+ "examples/hello_mojo",
+ recursive=True,
+ exclude_file_patterns=EXCLUDE_FILES)
+
+# Scripts to download binaries.
+CopyFiles(["sdk_build/data/common/download_file_from_google_storage.py",
+ "sdk_build/data/common/download_mojom_parser.sh"],
+ "third_party/mojo_sdk_setup")
« no previous file with comments | « sdk_build/data/common/download_mojom_parser.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698