No description, website, or topics provided.
Java Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
third_party
tools
.gitignore
.travis.yml
README.md
WORKSPACE

README.md

Getting Started

  1. brew install bazel

Common

Command Line

  1. bazel build //src:common

IntelliJ

  1. Install IntelliJ.
  2. Install the Intellij with Bazel plugin.
  3. "Import from workspace" the src/common.bazelproject file.

Android

Command Line

Using Android Studio to get the Android SDK here...

  1. Install Android Studio.
  2. ln -s ~/Library/Android third_party/android
  3. ./tools/android
  • Tools
    • Android SDK Build-tools 22.0.1
  • Android 5.1.1 (API 22)
    • SDK Platform
    • Intel x86 Atom 64 System Image
    • Sources for Android SDK
  1. bazel build //src:android

Virtual Device

  1. ./tools/android create avd -t android-22 -device "Nexus 4" -n matthewtodd
  2. In Android Studio -> Tools -> Android -> AVD Manager, check Enable Device Frame.
  3. ./tools/emulator -avd matthewtodd &
  4. bazel mobile-install //src:android

Physical Device

  1. Turn on Settings -> Developer options -> USB Debugging.
  2. bazel mobile-install //src:android

Android Studio

  1. Install the Android Studio with Bazel plugin.
  2. "Import from workspace" the src/android.bazelproject file.

Adding dependencies

./tools/third_party com.google.guava:guava:20.0

Roadmap

  1. Common

  2. Android

  3. Web

  4. Spike on GWT transpiling.

  1. iOS
  2. Could work around it, but waiting for j2objc_library to work.
  3. macOS!
  4. Waiting for crosstool support in ObjC rules.