diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/objc/BUILD | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/examples/objc/BUILD b/examples/objc/BUILD index 3aeee3918f..e7e4bfb233 100644 --- a/examples/objc/BUILD +++ b/examples/objc/BUILD @@ -12,20 +12,15 @@ # See the License for the specific language governing permissions and # limitations under the License. -objc_binary( +ios_application( name = "PrenotCalculator", - srcs = [ - "PrenotCalculator/main.m", - ], + binary = ":PrenotCalculator_binary", infoplist = "PrenotCalculator/PrenotCalculator-Info.plist", visibility = ["//visibility:public"], - deps = [ - ":PrenotCalculatorClasses", - ], ) -objc_library( - name = "PrenotCalculatorClasses", +objc_binary( + name = "PrenotCalculator_binary", srcs = [ "PrenotCalculator/AppDelegate.m", "PrenotCalculator/CalculatedValues.m", @@ -34,6 +29,7 @@ objc_library( "PrenotCalculator/Equation.m", "PrenotCalculator/Literal.m", "PrenotCalculator/ValuesViewController.m", + "PrenotCalculator/main.m", ], hdrs = glob( ["**/*.h"], |