Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
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. * Use rules_gwt? * How about rules_closure?

  5. iOS

  6. Could work around it, but waiting for j2objc_library to work.

  7. macOS! 1. Waiting for crosstool support in ObjC rules.

You can’t perform that action at this time.