Skip to content
Snippets Groups Projects
  1. Mar 04, 2021
    • Abhishek Pandit-Subedi's avatar
      Add option to build libbluetooth as staticlib · cac9ab3f
      Abhishek Pandit-Subedi authored
      For ChromeOS/Linux, we want to build a static libbluetooth to make it
      easier to find build breakages earlier and to simplify some of the build
      issues. This change adds a compile time define to choose between using
      dlsym to load libbluetooth and using extern to access the symbols
      directly.
      
      Bug: 176847256
      Tag: #floss
      Test: atest --host bluetooth_test_gd
      Change-Id: I818c0f4a7baf414e73dc6f6ae73bb3e3bc3f357f
      cac9ab3f
    • Abhishek Pandit-Subedi's avatar
      Prevent building some codecs when not supported · d3b679dc
      Abhishek Pandit-Subedi authored
      When building outside Android, we may not have support for the non
      Bluetooth standard codecs (i.e. everything except SBC). So put all
      references to aptx, ldac, aac and vendor codecs inside the
      EXCLUDE_NONSTANDARD_CODECS ifdef.
      
      Bug: 176847256
      Tag: #floss
      Test: atest --host bluetooth_test_gd
      Change-Id: I80914f2944b5466b88e221ba10ceae4dd30c16cf
      d3b679dc
    • Abhishek Pandit-Subedi's avatar
      Build support and abstractions for Linux build · 9bd8242a
      Abhishek Pandit-Subedi authored
      This has a large number of fixes to build on Linux/ChromeOS. In general,
      it is making sure the BUILD.gn and Android.bp for a directory structure
      match and it has all the configs + deps needed to build.
      
      Besides a number of simple fixups (missing headers), there are also
      a few abstractions that need to be noted:
      
      * All of audio HAL is stubbed out (using the host implementation)
      * Parameter provider and system_properties (under gd/os) now have
        a linux variant that changes where configuration files are kept. The
        current location for linux is now /etc/systembt. This implementation
        was copied from the host versions (which seems to be used for host
        testing).
      
      Bug: 176847256
      Tag: #floss
      Test: atest --host bluetooth_test_gd
      Change-Id: I1a6b3b362cedbe5f675794a115a330cc7f85f9c1
      9bd8242a
    • Abhishek Pandit-Subedi's avatar
      Add source_root parameter to bluetooth_packetgen · b3fe88bf
      Abhishek Pandit-Subedi authored
      In packetgen, add a source-root parameter that we use to rebase paths
      from. This was necessary to get the same directory output structure on
      Linux builds with GN.
      
      Bug: 176847256
      Tag: #floss
      Test: atest --host bluetooth_test_gd
      Change-Id: I75cdb1693655356ad1470d29a8a45440c775df8f
      b3fe88bf
    • Abhishek Pandit-Subedi's avatar
      Fix bison 3.7 incompatability · 423a2e3d
      Abhishek Pandit-Subedi authored
      On bison 3.7, YYSTYPE and YYLTYPE don't get defined in the header so
      define them directly in the lexer
      
      Bug: 176847256
      Tag: #floss
      Test: atest --host bluetooth_test_gd
      Change-Id: I02b9b615dc6d013efdace733491e7a73c3e1eb69
      423a2e3d
    • Abhishek Pandit-Subedi's avatar
      Host tools support · e2009c7d
      Abhishek Pandit-Subedi authored
      This adds support for the dumpsys bundler tool (which combines multiple
      flatbuffer schemas) and the packetgen tool (which converts pdls to
      a language parser).
      
      Bug: 176847256
      Tag: #floss
      Test: atest --host bluetooth_test_gd
      Change-Id: I1315979093668f60a476b85f41bb1d707995b2a7
      e2009c7d
    • Chienyuan's avatar
      gd: Fix address manager bug · a41cd707
      Chienyuan authored
      Tag: #gd-refactor
      Bug: 180869951
      Test: gd/cert/run
      Change-Id: Ia04aea10c686c8c4ec8985f2ba3f3424691ea825
      a41cd707
    • Myles Watson's avatar
      d9279d66
  2. Mar 03, 2021
  3. Mar 02, 2021
Loading