Permalink
Switch branches/tags
ndk-r14 ndk-r14-beta2 ndk-r14-beta1 ndk-r13 ndk-r13-beta2 ndk-r13-beta1 ndk-r12b ndk-r12-beta2 ndk-r12-beta1 ndk-r11 ndk-r11c ndk-r11b android-wear-n-preview-2 android-wear-n-preview-1 android-wear-7.1.1_r1 android-wear-5.1.1_r1 android-wear-5.1.0_r1 android-wear-5.0.0_r1 android-sdk-support_r11 android-sdk-adt_r20 android-sdk-adt_r16.0.1 android-sdk-4.4.2_r1.0.1 android-sdk-4.4.2_r1 android-sdk-4.0.3_r1 android-sdk-4.0.3-tools_r1 android-o-preview-1 android-n-preview-5 android-n-preview-4 android-n-preview-3 android-n-preview-2 android-n-preview-1 android-n-mr2-preview-2 android-n-mr2-preview-1 android-n-mr1-preview-2 android-n-mr1-preview-1 android-n-iot-preview-2 android-m-preview android-m-preview-2 android-m-preview-1 android-l-preview_r2 android-cts-verifier-4.0.3_r1 android-cts-verifier-4.0_r1 android-cts-7.1_r4 android-cts-7.1_r3 android-cts-7.1_r2 android-cts-7.1_r1 android-cts-7.0_r8 android-cts-7.0_r7 android-cts-7.0_r6 android-cts-7.0_r5 android-cts-7.0_r4 android-cts-7.0_r3 android-cts-7.0_r2 android-cts-7.0_r1 android-cts-6.0_r17 android-cts-6.0_r16 android-cts-6.0_r15 android-cts-6.0_r14 android-cts-6.0_r13 android-cts-6.0_r12 android-cts-6.0_r9 android-cts-6.0_r8 android-cts-6.0_r7 android-cts-6.0_r6 android-cts-6.0_r5 android-cts-6.0_r4 android-cts-6.0_r3 android-cts-6.0_r2 android-cts-6.0_r1 android-cts-5.1_r18 android-cts-5.1_r17 android-cts-5.1_r16 android-cts-5.1_r15 android-cts-5.1_r14 android-cts-5.1_r13 android-cts-5.1_r10 android-cts-5.1_r9 android-cts-5.1_r8 android-cts-5.1_r7 android-cts-5.1_r6 android-cts-5.1_r5 android-cts-5.1_r4 android-cts-5.1_r3 android-cts-5.1_r2 android-cts-5.1_r1 android-cts-5.0_r9 android-cts-5.0_r8 android-cts-5.0_r7 android-cts-5.0_r6 android-cts-5.0_r5 android-cts-5.0_r4 android-cts-5.0_r3 android-cts-4.4_r4 android-cts-4.4_r1 android-cts-4.2_r2 android-cts-4.2_r1 android-cts-4.1_r4 android-cts-4.1_r2 android-cts-4.1_r1 android-cts-4.0.3_r2
Nothing to show
Commits on Apr 19, 2017
  1. Merge changes Ie9fa31da,I32d0d54f

    * changes:
      vndk-def: check-dep: Print symbols and module_path
      vndk-def: Add fuzzy path matching to insight
    Treehugger Robot committed with Gerrit Code Review Apr 19, 2017
Commits on Apr 17, 2017
  1. vndk-def: check-dep: Print symbols and module_path

    This commit add the functionality to print depended symbols from
    ineligible libs and violating module source path to check-dep
    subcommand.
    
    Test: ./tests/run.py
    
    Test: Run `vndk_definition_tool.py deps --symbols` on various tree and
    the output should remain identical.
    
    Test: Run `vndk_definition_tool.py check-dep --module-info ...`
    
    Bug: 32811412
    
    Change-Id: Ie9fa31da4ac18425604e27e0377c7da2b88bd4eb
    Logan Chien committed Apr 14, 2017
  2. vndk-def: Add fuzzy path matching to insight

    This commit adds fuzzy path matching to the deps-insight output html.
    With fuzzy path matching, it will be easier to find a module especially
    when the module has been moved to a different directory during the VNDK
    computation.
    
    Test: Run `vndk_definition_tool.py deps-insight` and find
    /system/lib/libandroid_runtime.so (which was renamed as
    /system/lib/vndk/libandroid_runtime.so.)
    
    Bug: 32811412
    
    Change-Id: I32d0d54f4f9bc8c8294255d2ed8b85c1da36e81b
    Logan Chien committed Apr 14, 2017
Commits on Apr 15, 2017
  1. Merge "Remove libprotobuf-cpp-lite dependency."

    Treehugger Robot committed with Gerrit Code Review Apr 15, 2017
Commits on Apr 14, 2017
  1. Remove libprotobuf-cpp-lite dependency.

    Also make libheader-abi-util static.
    
    Test: mm -j64;header-abi-dumper -o example1.dump
    tests/input/example1.cpp -I tests -- -x c++ -std=c++11 -I . -I
    ~/android/aosp/external/clang/lib/Headers
    
    prebuilts/build-tools/build_prebuilt.sh , libprotobuf-cpp-lite.so
    doesn't appear in $OUT/dist/lib64
    
    Change-Id: I788306db91523ea9bfe32673fcb0fb1b70a4c3f6
    Jayant Chowdhary committed Apr 14, 2017
  2. Merge "vndk-def: Remove debug code."

    Treehugger Robot committed with Gerrit Code Review Apr 14, 2017
Commits on Apr 13, 2017
  1. Merge "Add option to parse version script during linking."

    Treehugger Robot committed with Gerrit Code Review Apr 13, 2017
  2. vndk-def: Remove debug code.

    This commit removes debug code which were carelessly committed in the
    previous commit.
    
    Test: Run `vndk_definition_tool.py check-dep` and debug lines disappear.
    Change-Id: I502c1d66fc63ac18e0bad047118e51b53e533b2c
    Logan Chien committed Apr 13, 2017
  3. Add option to parse version script during linking.

    1) Add option to parse version script file specifying exported symbols and
    variables during link time.
    2) Added test version script file.
    3) Minor style cleanup.
    4) Remove HandleVTable as it is no longer needed.
    5) header-abi-diff has a mode to enable advice-only mode. This means no
    failures on abi extensions / incompatiblity. Only report generation.
    5) Seperate out functionality into util lib.
    
    Test: 1) header-abi-dumper -o example1.dump tests/input/example1.cpp -I
    tests -- -x c++ -std=c++11 -I . -I
    ~/android/aosp/external/clang/lib/Headers
    
    2) header-abi-linker -o test.lsdump example1.dump -v
    tests/input/test_version_script.map -arch arm64 -api 24,
    test.lsdump has only the symbols specified by test_version_script.amp
    
    Change-Id: Ib539db4a886abe4917e09cd8643ab35ffecb0df1
    Jayant Chowdhary committed Apr 3, 2017
Commits on Apr 12, 2017
  1. Merge "vndk-def: Add vendor module dependency check tool"

    Treehugger Robot committed with Gerrit Code Review Apr 12, 2017
  2. vndk-def: Add vendor module dependency check tool

    This commit adds dependencies check tool to check whether the there are
    design violations in the vendor partition.
    
    Test: Run vndk_definition_tool.py check-dep --system ... --vendor ...
    Change-Id: I98f00f851b31fbedf56337b2b8a90763d9031b1a
    Logan Chien committed Apr 12, 2017
Commits on Apr 11, 2017
  1. Merge "Fix: Inaccurate mangled names."

    Treehugger Robot committed with Gerrit Code Review Apr 11, 2017
  2. Merge changes I345f9bf5,I20f23f7f,I22720864,Ic43df22a,I3b1a630b, ...

    * changes:
      vndk-def: Fix compute_vndk() w/o generic refs
      vndk-def: Add deps-insight
      vndk-def: Add sp-both-vndk-stable
      vndk-def: Compute sp-lib in compute_vndk()
      vndk-def: Code cleanup: Remove duplicated code
      vndk-def: Rename VNDKHeuristics to VNDKResult
      vndk-def: Refactor compute_sp_lib() return value
    Treehugger Robot committed with Gerrit Code Review Apr 11, 2017
  3. vndk-def: Fix compute_vndk() w/o generic refs

    This commit fixes VNDK computation when generic references are not
    specified.
    
    Test: ./tests/test_vndk.py
    Change-Id: I345f9bf565843a65eabe082a8e7329b773506e91
    Logan Chien committed Apr 11, 2017
  4. Fix: Inaccurate mangled names.

    1) + Minor code cleanup.
    
    Test: header-abi-dumper -o example1.dump tests/input/example1.cpp -I tests --
    -x c++ -std=c++11 -I . -I ~/android/aosp/external/clang/lib/Headers.
    Inspected example1.dump. It doesn't contain mangled names of the form
    "name_mangled_name"  anymore.
    
    Bug: 36871006
    
    Change-Id: I3a12ae36d59e1db6db473532d10c36b1f77861ef
    Jayant Chowdhary committed Apr 4, 2017
Commits on Apr 7, 2017
  1. vndk-def: Add deps-insight

    deps-insight is a HTML-based tool to show the dependencies between the
    libraries.  This is designed to ease the module dependencies review
    work.
    
    Test: Run deps-insight subcommand against sailfish tree.
    
    Change-Id: I20f23f7f604da289a22477ed82abe4361e5252c7
    Logan Chien committed Apr 5, 2017
  2. vndk-def: Add sp-both-vndk-stable

    This commit extracts sp-both-vndk-stable from sp-ndk-vndk-stable.
    If a vndk-stable library is used by both SP-NDK and SP-HAL, then it
    will belong to sp-both-vndk-stable.
    
    Separating these libraries into another set makes it easier to:
    
    1. Check whether a library is used by SP-HAL.
    2. Estimate how many libraries will be loaded twice.
    
    Test: Run vndk_definition_tool.py against sailfish image and only
    sp-ndk-vndk-stable set is changed.
    
    Change-Id: I2272086417c7dca515544520df5877bf6804a5e9
    Logan Chien committed Apr 7, 2017
  3. vndk-def: Compute sp-lib in compute_vndk()

    This commit extracts some sp-lib related code from VNDKCommand.main()
    into compute_vndk() to simplify the API.
    
    For the unit test, we will run ELFLinker._compute_vndk() so that we can
    mock SPLibResult.
    
    Test: ./tests/run.py
    Change-Id: Ic43df22a4d178b96a4228097af625b153f8cc5a3
    Logan Chien committed Apr 7, 2017
  4. vndk-def: Code cleanup: Remove duplicated code

    This commit extracts duplicated code between test cases in
    tests/test_vndk.py.
    
    Test: ./tests/test_vndk.py
    Change-Id: I3b1a630bef5aeab61c5ac5861ff709f6418066e5
    Logan Chien committed Apr 7, 2017
  5. vndk-def: Rename VNDKHeuristics to VNDKResult

    This commit renames VNDKHeuristics to VNDKResult so that the naming
    convention is consistent with SPLibResult.
    
    Test: ./tests/run.py
    Change-Id: I248ce23d9203848baf3670f5bbd31b9fa034f596
    Logan Chien committed Apr 7, 2017
  6. vndk-def: Refactor compute_sp_lib() return value

    This commit adds SPLibResult namedtuple to hold the return value of
    ELFLinker.compute_sp_lib().
    
    Test: ./tests/run.py
    Change-Id: I53704e5fdb41571a375f41c6917f57f489b40e92
    Logan Chien committed Apr 7, 2017
Commits on Apr 6, 2017
  1. Merge changes Ib5dc7f29,I5b64d435

    * changes:
      vndk-def: Update README.md
      vndk-def: Separate {sp-hal,sp-ndk}-vndk-stable
    Treehugger Robot committed with Gerrit Code Review Apr 6, 2017
  2. vndk-def: Update README.md

    This commit removes some stale descriptions in README.md.
    
    Test: Run vndk_definition_tool.py as described.
    Change-Id: Ib5dc7f2983d728105cfc2a41eeb4d5d4ae3fa965
    Logan Chien committed Apr 6, 2017
  3. vndk-def: Separate {sp-hal,sp-ndk}-vndk-stable

    This commit separates the vndk-stable set, which was printed by vndk
    subcommand, into sp-hal-vndk-stable and sp-ndk-vndk-stable.  This will
    make it easier to diagnose the shared library usages.
    
    Note: The sp-lib subcommand was printing separated vndk-stable sets even
    before this commit.  This commit unifies the output format of vndk and
    sp-lib subcommands.
    
    Test: Run vndk subcommand over sailfish image.
    Change-Id: I5b64d4359da8aa344dc87a5b3a8469c0030c115c
    Logan Chien committed Apr 6, 2017
Commits on Apr 5, 2017
  1. Merge "vndk-def: Add command line option checks."

    Treehugger Robot committed with Gerrit Code Review Apr 5, 2017
  2. vndk-def: Add command line option checks.

    This commit adds path existence checks to --system and --vendor command
    line options.  The error message will make it easier for users to
    figure out what's wrong with the output.
    
    Bug: b/32811412
    Test: ./vndk_definition_tool.py vndk --system [non-existing-dir]
    Change-Id: Ia910f88781fa76803909921ae1be2cfcfb002b6d
    Logan Chien committed Apr 5, 2017
  3. Merge changes I15bd7c12,Ibc59c610,I8c827e2b

    * changes:
      vndk-def: Fix vndk-core path assertion.
      vndk-def: Code cleanup: Remove redundant code.
      vndk-def: Fix typo in unit test name.
    Treehugger Robot committed with Gerrit Code Review Apr 5, 2017
  4. vndk-def: Fix vndk-core path assertion.

    This commit fixes an assertion in the vndk-core computation.  The
    assertion should check the path of the newly added generic library.
    Before this commit, it is checking the input library, which might be
    outward-customized.
    
    Test: ./tests/run.py
    Change-Id: I15bd7c122a4442281bc735e16b6c615ea8190411
    Logan Chien committed Mar 31, 2017
  5. vndk-def: Code cleanup: Remove redundant code.

    This commit removes redundant code from test_vndk.py.
    
    Test: ./tests/test_vndk.py
    Change-Id: Ibc59c610dcf08ae2eb296e1f3a20dfa752734bc6
    Logan Chien committed Mar 31, 2017
  6. vndk-def: Fix typo in unit test name.

    Test: ./tests/test_elf_linker.py
    Change-Id: I8c827e2b181937926716ecc693ac36068b939489
    Logan Chien committed Mar 31, 2017
  7. Merge "Add ApiDemos to device-tests as it's needed by JankMicroBenchm…

    …arkTests"
    Dan Shi committed with Gerrit Code Review Apr 5, 2017
Commits on Apr 2, 2017
  1. Import translations. DO NOT MERGE

    Auto-generated-cl: translation import
    
    Bug: 36832302
    Change-Id: I89f6c161b81e69cca75ce44d329e95f2fa687f1c
    Bill Yi committed Apr 2, 2017
Commits on Apr 1, 2017
  1. Add ApiDemos to device-tests as it's needed by JankMicroBenchmarkTests

    Bug: 35882476
    Test: local test
    make -j32 JankMicroBenchmarkTests ApiDemos  && \
    tradefed.sh run template/local --template:map test=JankMicroBenchmarkTests \
          --test-tag testname --log-level-display VERBOSE
    
    Change-Id: I6d6eceaaefa1d78656630e950022e3b1636b6f05
    Dan Shi committed Apr 1, 2017
Commits on Mar 31, 2017
  1. Merge changes Ieb74d3fa,I7df3374f,Ia6894b63,I332af0d5

    am: 7ce91a4
    
    Change-Id: Ib5a286cee22f352c8ace99ddbc87c62f09f0f507
    Logan Chien committed with android-build-merger Mar 31, 2017
  2. Merge "vndk-def: Update pre-defined vndk-stable list."

    am: 843615b
    
    Change-Id: I2649154d8e67f8267b2a96f4f69296b5028c36a1
    Logan Chien committed with android-build-merger Mar 31, 2017