)]}'
{
  "commit": "64afefaa40a5c1f90f1197b24ffdae329cacea3a",
  "tree": "f325e7feab08ecea472fa15b1fc8114f9f752665",
  "parents": [
    "a6d8cbee5834897a2f7b89591270374799048f49"
  ],
  "author": {
    "name": "Manuel Klimek",
    "email": "klimek@google.com",
    "time": "Wed Aug 05 09:07:51 2015 +0000"
  },
  "committer": {
    "name": "Florian Weikert",
    "email": "fwe@google.com",
    "time": "Wed Aug 05 20:54:09 2015 +0000"
  },
  "message": "Use pic mode for cc_fake_binary if pic actions are used for binaries.\n\nTo allow the commands in the cc_fake_binary to work with modules (which is\na precondition to writing nocompile tests for modules), we need to create\nheader modules in the same pic/nopic mode as the rest of the commandline\nindicates.\n\nThere are two ways to resolve this problem:\na) Make cc_fake_binary use the same pic mode as other binaries.\nb) Make sure fake compile actions get all their inputs in non-pic mode.\n\nThis patch proposes solution a), as that makes sure cc_fake_binary is as close\nto the actual compilation going on as possible; for example, if we decide to\nalways use pic in the future, this will simply work; additionally, we will\ncurrently get more test coverage through different compilation modes.\n\nRELNOTES: \u0027cc_fake_binary\u0027 uses the same pic/nopic mode as other binaries.\n\n--\nMOS_MIGRATED_REVID\u003d99902738\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4be3a57e6969468dbf70b7c32e388ab179873106",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java",
      "new_id": "815af7005d2eb80142593c62890a7c93ceeda108",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java"
    },
    {
      "type": "modify",
      "old_id": "41ebc91ac9b6c4df916d52bc155d7acf010f3e7f",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java",
      "new_id": "a94305703013bd8aa1d2a4c8ff2e6073f3681df2",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java"
    },
    {
      "type": "modify",
      "old_id": "ceeff8cd1206af351938de006ad1a5734ed1d0c6",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java",
      "new_id": "cc0caa11d4511f6711b8088ece7af6189d0e2948",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java"
    },
    {
      "type": "modify",
      "old_id": "0556819d9048779e110e90762f30c582588a5f50",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/CppModel.java",
      "new_id": "5282dc118831676ea4f2ff5a80f3f53827b4efd0",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/CppModel.java"
    },
    {
      "type": "modify",
      "old_id": "e273031a7224a710944d2d9e91540380c95623ad",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java",
      "new_id": "f309c689b65865fc918b4def68464d8589866ea8",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java"
    }
  ]
}
