diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 23:45:00 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 23:45:00 +0000 |
commit | 91331289a995eef199a0f3d715f306b3b92a1e6b (patch) | |
tree | e75abcc0be29691df13fc87b56e53e2b2c1fbe26 /o3d/samples/samples.gyp | |
parent | 04d4d5433e517210c77fcd0bccaba76a0de57e66 (diff) | |
download | chromium_src-91331289a995eef199a0f3d715f306b3b92a1e6b.zip chromium_src-91331289a995eef199a0f3d715f306b3b92a1e6b.tar.gz chromium_src-91331289a995eef199a0f3d715f306b3b92a1e6b.tar.bz2 |
This adds splitting of samples for the interactive sampler,
and docs building to the GYP build.
Review URL: http://codereview.chromium.org/159825
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples/samples.gyp')
-rw-r--r-- | o3d/samples/samples.gyp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/o3d/samples/samples.gyp b/o3d/samples/samples.gyp index 5c5a195..27d96f1 100644 --- a/o3d/samples/samples.gyp +++ b/o3d/samples/samples.gyp @@ -11,9 +11,35 @@ ], 'targets': [ { + 'target_name': 'split_samples', + 'type': 'none', + 'rules': [ + { + 'rule_name': 'split_sample', + 'extension': 'html', + 'inputs': [ + 'split_samples.py', + ], + 'outputs': [ + '<(PRODUCT_DIR)/samples/<(RULE_INPUT_NAME)', + '<(PRODUCT_DIR)/samples/<(RULE_INPUT_ROOT).js', + ], + 'action': ['python', '<@(_inputs)', + '--products', '<(PRODUCT_DIR)/samples', + '--samples', '.', + '<(RULE_INPUT_PATH)', + ], + }, + ], + 'sources': [ + '<!@(python split_samples.py --samples . --find_candidates)', + ], + }, + { 'target_name': 'samples', 'type': 'none', 'dependencies': [ + 'split_samples', '<!(python samples_gen.py):build_samples', ], }, |