UNPKG

@apache-royale/royale-js

Version:

Apache Royale (formerly FlexJS)

62 lines (60 loc) 2.19 kB
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ { "config": "royale", "type": "lib", "compilerOptions": { "debug": true, "targets": [ "JSRoyale", "SWF" ], "include-classes": [ "SparkRoyaleClasses" ], "include-sources": [ "src/main/royale" ], "source-path": [ "src/main/royale" ], "js-external-library-path": [ "../../js/libs/MXRoyaleJS.swc", "../../js/libs/MXRoyaleBaseJS.swc" ], "external-library-path": [ "../../../../frameworks/libs/air/airglobal.swc", "../../libs/MXRoyale.swc", "../../libs/MXRoyaleBase.swc" ], "namespace": [ { "uri": "library://ns.apache.org/royale/spark", "manifest": "src/main/resources/spark-royale-manifest.xml" } ], "output": "target/SparkRoyale.swc" }, "additionalOptions": [ "-compiler.define+=GOOG::DEBUG,true", "-compiler.define+=ROYALE::DISPLAYOBJECT,DisplayObject", "-js-compiler-define+=GOOG::DEBUG,goog.DEBUG", "-js-compiler-define+=ROYALE::DISPLAYOBJECT,IUIComponent", "-js-compiler-define+=COMPILE::SWF,false", "-js-compiler-define+=COMPILE::JS,true" ] }