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

Side by Side Diff: compiler/technique/technique.gyp

Issue 131116: This adds in the GYP files needed for our GYP build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « build/nacl.gyp ('k') | converter/converter.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 0,
8 'technique_out_dir': '<(SHARED_INTERMEDIATE_DIR)/technique',
9 },
10 'includes': [
11 '../../build/common.gypi',
12 ],
13 'targets': [
14 {
15 'target_name': 'parser_generator',
16 'type': 'none',
17 'rules': [
18 {
19 'rule_name': 'technique_parser',
20 'extension': 'g3pl',
21 'inputs' : [
22 '../../../<(antlrdir)/lib/antlr-3.1.1.jar',
23 ],
24 'outputs': [
25 '<(technique_out_dir)/<(RULE_INPUT_ROOT)Lexer.c',
26 '<(technique_out_dir)/<(RULE_INPUT_ROOT)Lexer.h',
27 '<(technique_out_dir)/<(RULE_INPUT_ROOT)Parser.c',
28 '<(technique_out_dir)/<(RULE_INPUT_ROOT)Parser.h',
29 ],
30 'action': [
31 'java',
32 '-cp', '../../../<(antlrdir)/lib/antlr-3.1.1.jar',
33 'org.antlr.Tool',
34 '<(RULE_INPUT_PATH)',
35 '-fo', '<(technique_out_dir)',
36 ],
37 },
38 ],
39 'sources': [
40 'Technique.g3pl',
41 ],
42 'direct_dependent_settings': {
43 'include_dirs': [
44 '<(technique_out_dir)',
45 ],
46 },
47 },
48 {
49 'target_name': 'technique',
50 'type': 'static_library',
51 'dependencies': [
52 'parser_generator',
53 '../../../<(antlrdir)/antlr.gyp:antlr3c',
54 '../../../base/base.gyp:base',
55 '../../core/core.gyp:o3dCore',
56 ],
57 'include_dirs': [
58 '<(technique_out_dir)',
59 ],
60 'sources': [
61 '<(technique_out_dir)/TechniqueLexer.c',
62 '<(technique_out_dir)/TechniqueLexer.h',
63 '<(technique_out_dir)/TechniqueParser.c',
64 '<(technique_out_dir)/TechniqueParser.h',
65 'technique_error.cc',
66 'technique_error.h',
67 'technique_parser.cc',
68 'technique_parser.h',
69 'technique_structures.cc',
70 'technique_structures.h',
71 ],
72 'msvs_settings': {
73 'VCCLCompilerTool': {
74 'CompileAs': '2',
75 },
76 },
77 'direct_dependent_settings': {
78 'include_dirs': [
79 '<(technique_out_dir)',
80 ],
81 },
82 },
83 ],
84 }
OLDNEW
« no previous file with comments | « build/nacl.gyp ('k') | converter/converter.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698