Add licenses and remove third party libraries

This commit is contained in:
Christopher Chedeau
2014-10-29 08:01:22 -07:00
parent 2f5ad66077
commit c2aa92cd0b
41 changed files with 355 additions and 3171 deletions

View File

@@ -1,3 +1,9 @@
# Copyright (c) 2014, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
FILES=src/__tests__/Layout-test.c src/Layout.c src/Layout-test-utils.c
@@ -10,6 +16,7 @@ c_test: c
@rm a.out
java: transpile_all src/java
@if [ ! -f lib/junit4.jar ]; then mkdir lib/; wget -O lib/junit4.jar http://search.maven.org/remotecontent?filepath=junit/junit/4.10/junit-4.10.jar; fi
@javac -cp ./lib/junit4.jar -sourcepath ./src/java/src:./src/java/tests src/java/tests/com/facebook/csslayout/*.java
java_test: java
@@ -17,7 +24,7 @@ java_test: java
com.facebook.csslayout.LayoutEngineTest \
com.facebook.csslayout.LayoutCachingTest \
com.facebook.csslayout.CSSNodeTest
transpile_all: ./src/transpile.js
@node ./src/transpile.js