forked from facebookarchive/libfbjs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using fbconfig/fbmake for libfbjs and jsxmin
Summary: 1. move applications from libfbjs to fbjstools directory; 2. create fbconfg/fbmake TARGETS files for libfbjs and fbjstools; Fbconfig/fbmake's handling of flex/bison files are limited, the make rule for generated files does not include original directory in the path. To keep old libfbjs/Makefile working, I have to add a workaround, passing NOT_FBMAKE to g++. A simple fix in fbconfig should fix this issue by including the original directory in the include path. Reviewed By: marcel Test Plan: Tested fbconfig/fbmake both dbg|opt and run all JS tests. Revert: OK DiffCamp Revision: 75837
- Loading branch information
Feng Qian
committed
Nov 21, 2009
1 parent
5a7d0e6
commit 5f3a8ee
Showing
49 changed files
with
55 additions
and
4,935 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cpp_library( | ||
name = 'libfbjs', | ||
srcs = ['parser.ll', | ||
'parser.yy', | ||
'node.cpp', | ||
'parser.cpp', | ||
], | ||
deps = [ ':libfbjs_support' ], | ||
) | ||
|
||
cpp_library( | ||
name = 'libfbjs_support', | ||
srcs = ['dmg_fp_dtoa.c', | ||
'dmg_fp_g_fmt.c', | ||
], | ||
known_warnings = ['dmg_fp_dtoa.c', 'dmg_fp_g_fmt.c'], | ||
preprocessor_flags = ['-DIEEE_8087=1', | ||
'-DNO_HEX_FP=1', | ||
'-DLong=int32_t', | ||
'-DULong=uint32_t', | ||
'-include stdint.h'], | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.